From ac12ca4b7db4eb57a2a214a8e30baa8862c95d82 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 21 Jun 2023 12:46:25 -0300 Subject: [PATCH 01/83] (feat) Created the API component for the auction module (with the unit tests) --- pyinjective/__init__.py | 2 +- pyinjective/client/__init__.py | 0 pyinjective/client/chain/__init__.py | 0 pyinjective/client/chain/grpc/__init__.py | 0 .../chain/grpc/chain_grpc_auction_api.py | 66 +++++++++ pyinjective/{client.py => sync_client.py} | 2 +- pyinjective/transaction.py | 4 +- tests/client/__init__.py | 0 tests/client/chain/__init__.py | 0 tests/client/chain/grpc/__init__.py | 0 .../configurable_auction_query_servicer.py | 24 ++++ .../chain/grpc/test_chain_grpc_auction_api.py | 131 ++++++++++++++++++ 12 files changed, 225 insertions(+), 4 deletions(-) create mode 100644 pyinjective/client/__init__.py create mode 100644 pyinjective/client/chain/__init__.py create mode 100644 pyinjective/client/chain/grpc/__init__.py create mode 100644 pyinjective/client/chain/grpc/chain_grpc_auction_api.py rename pyinjective/{client.py => sync_client.py} (99%) create mode 100644 tests/client/__init__.py create mode 100644 tests/client/chain/__init__.py create mode 100644 tests/client/chain/grpc/__init__.py create mode 100644 tests/client/chain/grpc/configurable_auction_query_servicer.py create mode 100644 tests/client/chain/grpc/test_chain_grpc_auction_api.py diff --git a/pyinjective/__init__.py b/pyinjective/__init__.py index e17ef7b1..0c579588 100644 --- a/pyinjective/__init__.py +++ b/pyinjective/__init__.py @@ -1,3 +1,3 @@ -from .client import Client +from .sync_client import SyncClient from .transaction import Transaction from .wallet import PrivateKey, PublicKey, Address diff --git a/pyinjective/client/__init__.py b/pyinjective/client/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/chain/__init__.py b/pyinjective/client/chain/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/chain/grpc/__init__.py b/pyinjective/client/chain/grpc/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/chain/grpc/chain_grpc_auction_api.py b/pyinjective/client/chain/grpc/chain_grpc_auction_api.py new file mode 100644 index 00000000..1e54cc27 --- /dev/null +++ b/pyinjective/client/chain/grpc/chain_grpc_auction_api.py @@ -0,0 +1,66 @@ +from typing import Dict, Any + +from grpc.aio import Channel + +from pyinjective.proto.injective.auction.v1beta1 import ( + query_pb2_grpc as auction_query_grpc, + query_pb2 as auction_query_pb, +) + + +class ChainGrpcAuctionApi: + + def __init__(self, channel: Channel): + self._stub = auction_query_grpc.QueryStub(channel) + + async def fetch_module_params(self) -> Dict[str, Any]: + request = auction_query_pb.QueryAuctionParamsRequest() + response = await self._stub.AuctionParams(request) + + module_params = { + "auction_period": response.params.auction_period, + "min_next_bid_increment_rate": response.params.min_next_bid_increment_rate, + } + + return module_params + + async def fetch_module_state(self) -> Dict[str, Any]: + request = auction_query_pb.QueryModuleStateRequest() + response = await self._stub.AuctionModuleState(request) + + if response.state.highest_bid is None: + highest_bid = { + "bidder": "", + "amount": "", + } + else: + highest_bid = { + "bidder": response.state.highest_bid.bidder, + "amount": response.state.highest_bid.amount, + } + + module_state = { + "params": { + "auction_period": response.state.params.auction_period, + "min_next_bid_increment_rate": response.state.params.min_next_bid_increment_rate, + }, + "auction_round": response.state.auction_round, + "highest_bid": highest_bid, + "auction_ending_timestamp": response.state.auction_ending_timestamp, + } + + return module_state + + async def fetch_current_basket(self) -> Dict[str, Any]: + request = auction_query_pb.QueryCurrentAuctionBasketRequest() + response = await self._stub.CurrentAuctionBasket(request) + + current_basket = { + "amount_list": [{"amount": coin.amount, "denom": coin.denom} for coin in response.amount], + "auction_round": response.auctionRound, + "auction_closing_time": response.auctionClosingTime, + "highest_bidder": response.highestBidder, + "highest_bid_amount": response.highestBidAmount, + } + + return current_basket diff --git a/pyinjective/client.py b/pyinjective/sync_client.py similarity index 99% rename from pyinjective/client.py rename to pyinjective/sync_client.py index 10b82329..5045420e 100644 --- a/pyinjective/client.py +++ b/pyinjective/sync_client.py @@ -54,7 +54,7 @@ DEFAULT_SESSION_RENEWAL_OFFSET = 120 # seconds DEFAULT_BLOCK_TIME = 3 # seconds -class Client: +class SyncClient: def __init__( self, network: Network, diff --git a/pyinjective/transaction.py b/pyinjective/transaction.py index 0a83ec9e..59d5e159 100644 --- a/pyinjective/transaction.py +++ b/pyinjective/transaction.py @@ -5,7 +5,7 @@ from .proto.cosmos.tx.v1beta1 import tx_pb2 as cosmos_tx_type from .proto.cosmos.tx.signing.v1beta1 import signing_pb2 as tx_sign -from .client import Client +from .sync_client import SyncClient from .constant import MAX_MEMO_CHARACTERS from .exceptions import EmptyMsgError, NotFoundError, UndefinedError, ValueTooLargeError from .wallet import PublicKey @@ -44,7 +44,7 @@ def with_messages(self, *msgs: message.Message) -> "Transaction": self.msgs.extend(self.__convert_msgs(msgs)) return self - def with_sender(self, client: Client, sender: str) -> "Transaction": + def with_sender(self, client: SyncClient, sender: str) -> "Transaction": if len(self.msgs) == 0: raise EmptyMsgError("messsage is empty, please use with_messages at least 1 message") account = client.get_account(sender) diff --git a/tests/client/__init__.py b/tests/client/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/client/chain/__init__.py b/tests/client/chain/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/client/chain/grpc/__init__.py b/tests/client/chain/grpc/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/client/chain/grpc/configurable_auction_query_servicer.py b/tests/client/chain/grpc/configurable_auction_query_servicer.py new file mode 100644 index 00000000..aa7ba51a --- /dev/null +++ b/tests/client/chain/grpc/configurable_auction_query_servicer.py @@ -0,0 +1,24 @@ +from collections import deque + +from pyinjective.proto.injective.auction.v1beta1 import ( + query_pb2_grpc as auction_query_grpc, + query_pb2 as auction_query_pb, +) + + +class ConfigurableAuctionQueryServicer(auction_query_grpc.QueryServicer): + + def __init__(self): + super().__init__() + self.auction_params = deque() + self.module_states = deque() + self.current_baskets = deque() + + async def AuctionParams(self, request: auction_query_pb.QueryAuctionParamsRequest, context=None): + return self.auction_params.pop() + + async def AuctionModuleState(self, request: auction_query_pb.QueryModuleStateRequest, context=None): + return self.module_states.pop() + + async def CurrentAuctionBasket(self, request: auction_query_pb.QueryCurrentAuctionBasketRequest, context=None): + return self.current_baskets.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_auction_api.py b/tests/client/chain/grpc/test_chain_grpc_auction_api.py new file mode 100644 index 00000000..39912c0f --- /dev/null +++ b/tests/client/chain/grpc/test_chain_grpc_auction_api.py @@ -0,0 +1,131 @@ +import grpc +import pytest + +from pyinjective.client.chain.grpc.chain_grpc_auction_api import ChainGrpcAuctionApi +from pyinjective.constant import Network +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb +from pyinjective.proto.injective.auction.v1beta1 import ( + auction_pb2 as auction_pb, + genesis_pb2 as genesis_pb, + query_pb2 as auction_query_pb, +) +from tests.client.chain.grpc.configurable_auction_query_servicer import ConfigurableAuctionQueryServicer + + +@pytest.fixture +def auction_servicer(): + return ConfigurableAuctionQueryServicer() + + +class TestChainGrpcAuctionApi: + + @pytest.mark.asyncio + async def test_fetch_module_params( + self, + auction_servicer, + ): + params = auction_pb.Params( + auction_period=604800, + min_next_bid_increment_rate="2500000000000000" + ) + auction_servicer.auction_params.append(auction_query_pb.QueryAuctionParamsResponse( + params=params + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuctionApi(channel=channel) + api._stub = auction_servicer + + module_params = await api.fetch_module_params() + expected_params = { + "auction_period": 604800, + "min_next_bid_increment_rate": "2500000000000000", + } + + assert (expected_params == module_params) + + @pytest.mark.asyncio + async def test_fetch_module_state( + self, + auction_servicer, + ): + params = auction_pb.Params( + auction_period=604800, + min_next_bid_increment_rate="2500000000000000" + ) + highest_bid = auction_pb.Bid( + bidder="inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", + amount="\n\003inj\022\0232347518723906280000", + ) + state = genesis_pb.GenesisState( + params=params, + auction_round=50, + highest_bid=highest_bid, + auction_ending_timestamp=1687504387, + ) + auction_servicer.module_states.append(auction_query_pb.QueryModuleStateResponse( + state=state + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuctionApi(channel=channel) + api._stub = auction_servicer + + module_state = await api.fetch_module_state() + expected_state = { + "params": { + "auction_period": 604800, + "min_next_bid_increment_rate": "2500000000000000", + }, + "auction_round": 50, + "highest_bid": { + "bidder": "inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", + "amount": "\n\003inj\022\0232347518723906280000", + }, + "auction_ending_timestamp": 1687504387, + } + + assert (expected_state == module_state) + + @pytest.mark.asyncio + async def test_fetch_current_basket( + self, + auction_servicer, + ): + first_amount = coin_pb.Coin( + amount="15059786755", + denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", + ) + second_amount = coin_pb.Coin( + amount="200000", + denom="peggy0xf9152067989BDc8783fF586624124C05A529A5D1", + ) + + auction_servicer.current_baskets.append(auction_query_pb.QueryCurrentAuctionBasketResponse( + amount=[first_amount, second_amount], + auctionRound=50, + auctionClosingTime=1687504387, + highestBidder="inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", + highestBidAmount="2347518723906280000", + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuctionApi(channel=channel) + api._stub = auction_servicer + + current_basket = await api.fetch_current_basket() + expected_basket = { + "amount_list": [{"amount": coin.amount, "denom": coin.denom} for coin in [first_amount, second_amount]], + "auction_round": 50, + "auction_closing_time": 1687504387, + "highest_bidder": "inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", + "highest_bid_amount": "2347518723906280000", + } + + assert (expected_basket == current_basket) From cf4dc617bb73ea74baabe95da4db13b686863f7b Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 21 Jun 2023 23:58:22 -0300 Subject: [PATCH 02/83] (feat) Created the API class for the bank module (with its unit tests) --- pyinjective/async_client.py | 11 +- .../client/chain/grpc/chain_grpc_bank_api.py | 58 ++++++ .../grpc/configurable_bank_query_servicer.py | 28 +++ .../chain/grpc/test_chain_grpc_auction_api.py | 40 ++++ .../chain/grpc/test_chain_grpc_bank_api.py | 179 ++++++++++++++++++ 5 files changed, 309 insertions(+), 7 deletions(-) create mode 100644 pyinjective/client/chain/grpc/chain_grpc_bank_api.py create mode 100644 tests/client/chain/grpc/configurable_bank_query_servicer.py create mode 100644 tests/client/chain/grpc/test_chain_grpc_bank_api.py diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 429b73ef..562914b2 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -12,6 +12,7 @@ from pyinjective.composer import Composer from . import constant +from .client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi from .core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from .core.token import Token from .exceptions import NotFoundError @@ -123,7 +124,7 @@ def __init__( ) self.stubAuth = auth_query_grpc.QueryStub(self.chain_channel) self.stubAuthz = authz_query_grpc.QueryStub(self.chain_channel) - self.stubBank = bank_query_grpc.QueryStub(self.chain_channel) + self.bank_api = ChainGrpcBankApi(channel=self.chain_channel) self.stubTx = tx_service_grpc.ServiceStub(self.chain_channel) # attempt to load from disk @@ -422,14 +423,10 @@ async def get_grants(self, granter: str, grantee: str, **kwargs): ) async def get_bank_balances(self, address: str): - return await self.stubBank.AllBalances( - bank_query.QueryAllBalancesRequest(address=address) - ) + return await self.bank_api.fetch_balances(account_address=address) async def get_bank_balance(self, address: str, denom: str): - return await self.stubBank.Balance( - bank_query.QueryBalanceRequest(address=address, denom=denom) - ) + return await self.bank_api.fetch_balance(account_address=address, denom=denom) # Injective Exchange client methods diff --git a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py new file mode 100644 index 00000000..7e916fba --- /dev/null +++ b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py @@ -0,0 +1,58 @@ +from typing import Dict, Any + +from grpc.aio import Channel + +from pyinjective.proto.cosmos.bank.v1beta1 import ( + query_pb2_grpc as bank_query_grpc, + query_pb2 as bank_query_pb, +) + +class ChainGrpcBankApi: + + def __init__(self, channel: Channel): + self._stub = bank_query_grpc.QueryStub(channel) + + async def fetch_module_params(self) -> Dict[str, Any]: + request = bank_query_pb.QueryParamsRequest() + response = await self._stub.Params(request) + + module_params = { + "default_send_enabled": response.params.default_send_enabled, + } + + return module_params + + async def fetch_balance(self, account_address: str, denom: str) -> Dict[str, Any]: + request = bank_query_pb.QueryBalanceRequest(address=account_address, denom=denom) + response = await self._stub.Balance(request) + + bank_balance = { + "amount": response.balance.amount, + "denom": response.balance.denom, + } + + return bank_balance + + async def fetch_balances(self, account_address: str) -> Dict[str, Any]: + request = bank_query_pb.QueryAllBalancesRequest(address=account_address) + response = await self._stub.AllBalances(request) + + bank_balances = { + "balances": [{"amount": coin.amount, "denom": coin.denom} for coin in response.balances], + "pagination": {"total": response.pagination.total}} + + return bank_balances + + async def fetch_total_supply(self) -> Dict[str, Any]: + request = bank_query_pb.QueryTotalSupplyRequest() + response = await self._stub.TotalSupply(request) + + total_supply = { + "supply": [{"amount": coin.amount, "denom": coin.denom} for coin in response.supply], + "pagination": { + "next": response.pagination.next_key, + "total": response.pagination.total + } + } + + return total_supply diff --git a/tests/client/chain/grpc/configurable_bank_query_servicer.py b/tests/client/chain/grpc/configurable_bank_query_servicer.py new file mode 100644 index 00000000..c9c27968 --- /dev/null +++ b/tests/client/chain/grpc/configurable_bank_query_servicer.py @@ -0,0 +1,28 @@ +from collections import deque + +from pyinjective.proto.cosmos.bank.v1beta1 import ( + query_pb2_grpc as bank_query_grpc, + query_pb2 as bank_query_pb, +) + + +class ConfigurableBankQueryServicer(bank_query_grpc.QueryServicer): + + def __init__(self): + super().__init__() + self.bank_params = deque() + self.balance_responses = deque() + self.balances_responses = deque() + self.total_supply_responses = deque() + + async def Params(self, request: bank_query_pb.QueryParamsRequest, context=None): + return self.bank_params.pop() + + async def Balance(self, request: bank_query_pb.QueryBalanceRequest, context=None): + return self.balance_responses.pop() + + async def AllBalances(self, request: bank_query_pb.QueryAllBalancesRequest, context=None): + return self.balances_responses.pop() + + async def TotalSupply(self, request: bank_query_pb.QueryTotalSupplyRequest, context=None): + return self.total_supply_responses.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_auction_api.py b/tests/client/chain/grpc/test_chain_grpc_auction_api.py index 39912c0f..3e55b3cf 100644 --- a/tests/client/chain/grpc/test_chain_grpc_auction_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_auction_api.py @@ -91,6 +91,46 @@ async def test_fetch_module_state( assert (expected_state == module_state) + @pytest.mark.asyncio + async def test_fetch_module_state_when_no_highest_bid_present( + self, + auction_servicer, + ): + params = auction_pb.Params( + auction_period=604800, + min_next_bid_increment_rate="2500000000000000" + ) + state = genesis_pb.GenesisState( + params=params, + auction_round=50, + auction_ending_timestamp=1687504387, + ) + auction_servicer.module_states.append(auction_query_pb.QueryModuleStateResponse( + state=state + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuctionApi(channel=channel) + api._stub = auction_servicer + + module_state = await api.fetch_module_state() + expected_state = { + "params": { + "auction_period": 604800, + "min_next_bid_increment_rate": "2500000000000000", + }, + "auction_round": 50, + "highest_bid": { + "bidder": "", + "amount": "", + }, + "auction_ending_timestamp": 1687504387, + } + + assert (expected_state == module_state) + @pytest.mark.asyncio async def test_fetch_current_basket( self, diff --git a/tests/client/chain/grpc/test_chain_grpc_bank_api.py b/tests/client/chain/grpc/test_chain_grpc_bank_api.py new file mode 100644 index 00000000..b628916b --- /dev/null +++ b/tests/client/chain/grpc/test_chain_grpc_bank_api.py @@ -0,0 +1,179 @@ +import grpc +import pytest + +from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi +from pyinjective.constant import Network +from pyinjective.proto.cosmos.bank.v1beta1 import ( + bank_pb2 as bank_pb, + query_pb2_grpc as bank_query_grpc, + query_pb2 as bank_query_pb, +) +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb +from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer + + +@pytest.fixture +def bank_servicer(): + return ConfigurableBankQueryServicer() + + +class TestChainGrpcBankApi: + + @pytest.mark.asyncio + async def test_fetch_module_params( + self, + bank_servicer, + ): + params = bank_pb.Params(default_send_enabled=True) + bank_servicer.bank_params.append(bank_query_pb.QueryParamsResponse( + params=params + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel) + api._stub = bank_servicer + + module_params = await api.fetch_module_params() + expected_params = { + "default_send_enabled": True, + } + + assert (expected_params == module_params) + + @pytest.mark.asyncio + async def test_fetch_balance( + self, + bank_servicer, + ): + balance = coin_pb.Coin( + denom="inj", + amount="988987297011197594664" + ) + bank_servicer.balance_responses.append(bank_query_pb.QueryBalanceResponse( + balance=balance + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel) + api._stub = bank_servicer + + bank_balance = await api.fetch_balance( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + denom="inj" + ) + expected_balance = { + "denom": "inj", + "amount": "988987297011197594664" + } + + assert (expected_balance == bank_balance) + + @pytest.mark.asyncio + async def test_fetch_balance( + self, + bank_servicer, + ): + balance = coin_pb.Coin( + denom="inj", + amount="988987297011197594664" + ) + bank_servicer.balance_responses.append(bank_query_pb.QueryBalanceResponse( + balance=balance + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel) + api._stub = bank_servicer + + bank_balance = await api.fetch_balance( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + denom="inj" + ) + expected_balance = { + "denom": "inj", + "amount": "988987297011197594664" + } + + assert (expected_balance == bank_balance) + + @pytest.mark.asyncio + async def test_fetch_balances( + self, + bank_servicer, + ): + first_balance = coin_pb.Coin( + denom="inj", + amount="988987297011197594664" + ) + second_balance = coin_pb.Coin( + denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", + amount="54497408" + ) + pagination = pagination_pb.PageResponse(total=2) + + bank_servicer.balances_responses.append(bank_query_pb.QueryAllBalancesResponse( + balances=[first_balance, second_balance], + pagination=pagination, + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel) + api._stub = bank_servicer + + bank_balances = await api.fetch_balances( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + ) + expected_balances = { + "balances": [{"denom": coin.denom, "amount": coin.amount} for coin in [first_balance, second_balance]], + "pagination": {"total": 2}, + } + + assert (expected_balances == bank_balances) + + @pytest.mark.asyncio + async def test_fetch_total_supply( + self, + bank_servicer, + ): + first_supply = coin_pb.Coin( + denom="factory/inj108t3mlej0dph8er6ca2lq5cs9pdgzva5mqsn5p/position", + amount="5556700000000000000" + ) + second_supply = coin_pb.Coin( + denom="factory/inj10uycavvkc4uqr8tns3599r0t2xux4rz3y8apym/1684002313InjUsdt1d110C", + amount="1123456789111100000" + ) + pagination = pagination_pb.PageResponse( + next_key="factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja".encode(), + total=179 + ) + + bank_servicer.total_supply_responses.append(bank_query_pb.QueryTotalSupplyResponse( + supply=[first_supply, second_supply], + pagination=pagination, + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel) + api._stub = bank_servicer + + total_supply = await api.fetch_total_supply() + expected_supply = { + "supply": [{"denom": coin.denom, "amount": coin.amount} for coin in [first_supply, second_supply]], + "pagination": { + "next": "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja".encode(), + "total": 179}, + } + + assert (expected_supply == total_supply) From 011b9ee69c3c9a68f96e8a4175920c7f803a0761 Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 23 Jun 2023 00:27:19 -0300 Subject: [PATCH 03/83] (feat) Created the API component for the auth module. Created also the required classes to handle pagination options and results pagination information. --- pyinjective/async_client.py | 29 +--- .../client/chain/grpc/chain_grpc_auth_api.py | 44 +++++ pyinjective/client/chain/model/__init__.py | 0 pyinjective/client/chain/model/account.py | 42 +++++ pyinjective/client/chain/model/auth_params.py | 31 ++++ pyinjective/client/model/__init__.py | 0 pyinjective/client/model/pagination.py | 62 +++++++ .../grpc/configurable_auth_query_serciver.py | 24 +++ .../chain/grpc/test_chain_grpc_auth_api.py | 159 ++++++++++++++++++ .../chain/grpc/test_chain_grpc_bank_api.py | 1 - 10 files changed, 370 insertions(+), 22 deletions(-) create mode 100644 pyinjective/client/chain/grpc/chain_grpc_auth_api.py create mode 100644 pyinjective/client/chain/model/__init__.py create mode 100644 pyinjective/client/chain/model/account.py create mode 100644 pyinjective/client/chain/model/auth_params.py create mode 100644 pyinjective/client/model/__init__.py create mode 100644 pyinjective/client/model/pagination.py create mode 100644 tests/client/chain/grpc/configurable_auth_query_serciver.py create mode 100644 tests/client/chain/grpc/test_chain_grpc_auth_api.py diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 562914b2..2522a7f5 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -12,6 +12,7 @@ from pyinjective.composer import Composer from . import constant +from .client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi from .client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi from .core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from .core.token import Token @@ -23,12 +24,6 @@ query_pb2_grpc as tendermint_query_grpc, query_pb2 as tendermint_query, ) - -from .proto.cosmos.auth.v1beta1 import ( - query_pb2_grpc as auth_query_grpc, - query_pb2 as auth_query, - auth_pb2 as auth_type, -) from .proto.cosmos.authz.v1beta1 import ( query_pb2_grpc as authz_query_grpc, query_pb2 as authz_query, @@ -39,10 +34,6 @@ query_pb2 as authz_query, authz_pb2 as authz_type, ) -from .proto.cosmos.bank.v1beta1 import ( - query_pb2_grpc as bank_query_grpc, - query_pb2 as bank_query, -) from .proto.cosmos.tx.v1beta1 import ( service_pb2_grpc as tx_service_grpc, service_pb2 as tx_service, @@ -122,9 +113,7 @@ def __init__( self.stubCosmosTendermint = tendermint_query_grpc.ServiceStub( self.chain_channel ) - self.stubAuth = auth_query_grpc.QueryStub(self.chain_channel) self.stubAuthz = authz_query_grpc.QueryStub(self.chain_channel) - self.bank_api = ChainGrpcBankApi(channel=self.chain_channel) self.stubTx = tx_service_grpc.ServiceStub(self.chain_channel) # attempt to load from disk @@ -193,6 +182,9 @@ def __init__( self._derivative_markets: Optional[Dict[str, DerivativeMarket]] = None self._binary_option_markets: Optional[Dict[str, BinaryOptionMarket]] = None + self.bank_api = ChainGrpcBankApi(channel=self.chain_channel) + self.auth_api = ChainGrpcAuthApi(channel=self.chain_channel) + async def all_tokens(self) -> Dict[str, Token]: if self._tokens is None: async with self._tokens_and_markets_initialization_lock: @@ -342,15 +334,10 @@ async def get_latest_block(self) -> tendermint_query.GetLatestBlockResponse: async def get_account(self, address: str) -> Optional[account_pb2.EthAccount]: try: - metadata = await self.load_cookie(type="chain") - account_any = (await self.stubAuth.Account( - auth_query.QueryAccountRequest.__call__(address=address), metadata=metadata - )).account - account = account_pb2.EthAccount() - if account_any.Is(account.DESCRIPTOR): - account_any.Unpack(account) - self.number = int(account.base_account.account_number) - self.sequence = int(account.base_account.sequence) + await self.load_cookie(type="chain") + account = await self.auth_api.fetch_account(address=address) + self.number = account.account_number + self.sequence = account.sequence except Exception as e: LoggerProvider().logger_for_class(logging_class=self.__class__).debug( f"error while fetching sequence and number {e}") diff --git a/pyinjective/client/chain/grpc/chain_grpc_auth_api.py b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py new file mode 100644 index 00000000..c9265029 --- /dev/null +++ b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py @@ -0,0 +1,44 @@ +from typing import List, Tuple + +from grpc.aio import Channel + +from pyinjective.client.chain.model.account import Account +from pyinjective.client.chain.model.auth_params import AuthParams +from pyinjective.client.model.pagination import PaginationOption + +from pyinjective.client.model.pagination import Pagination +from pyinjective.proto.cosmos.auth.v1beta1 import ( + query_pb2_grpc as auth_query_grpc, + query_pb2 as auth_query_pb, +) + + +class ChainGrpcAuthApi: + + def __init__(self, channel: Channel): + self._stub = auth_query_grpc.QueryStub(channel) + + async def fetch_module_params(self) -> AuthParams: + request = auth_query_pb.QueryParamsRequest() + response = await self._stub.Params(request) + + module_params = AuthParams.from_proto_response(response=response) + + return module_params + + async def fetch_account(self, address: str) -> Account: + request = auth_query_pb.QueryAccountRequest(address=address) + response = await self._stub.Account(request) + + account = Account.from_proto(proto_account=response.account) + + return account + + async def fetch_accounts(self, pagination_option: PaginationOption) -> Tuple[List[Account], PaginationOption]: + request = auth_query_pb.QueryAccountsRequest(pagination=pagination_option.create_pagination_request()) + response = await self._stub.Accounts(request) + + accounts = [Account.from_proto(proto_account=proto_account) for proto_account in response.accounts] + response_pagination = Pagination.from_proto(proto_pagination=response.pagination) + + return accounts, response_pagination \ No newline at end of file diff --git a/pyinjective/client/chain/model/__init__.py b/pyinjective/client/chain/model/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/chain/model/account.py b/pyinjective/client/chain/model/account.py new file mode 100644 index 00000000..da497464 --- /dev/null +++ b/pyinjective/client/chain/model/account.py @@ -0,0 +1,42 @@ +from google.protobuf import any_pb2 + +from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb + +class Account: + + def __init__( + self, + address: str, + pub_key_type_url: str, + pub_key_value: bytes, + account_number: int, + sequence: int, + code_hash: str, + ): + super().__init__() + self.address = address + self.pub_key_type_url = pub_key_type_url + self.pub_key_value = pub_key_value + self.account_number = account_number + self.sequence = sequence + self.code_hash = code_hash + + @classmethod + def from_proto(cls, proto_account: any_pb2.Any): + eth_account = account_pb.EthAccount() + proto_account.Unpack(eth_account) + pub_key_type_url = None + pub_key_value = None + + if eth_account.base_account.pub_key is not None: + pub_key_type_url = eth_account.base_account.pub_key.type_url + pub_key_value = eth_account.base_account.pub_key.value + + return cls( + address=eth_account.base_account.address, + pub_key_type_url=pub_key_type_url, + pub_key_value=pub_key_value, + account_number=eth_account.base_account.account_number, + sequence=eth_account.base_account.sequence, + code_hash=f"0x{eth_account.code_hash.hex()}", + ) diff --git a/pyinjective/client/chain/model/auth_params.py b/pyinjective/client/chain/model/auth_params.py new file mode 100644 index 00000000..a19d92c6 --- /dev/null +++ b/pyinjective/client/chain/model/auth_params.py @@ -0,0 +1,31 @@ +from pyinjective.proto.cosmos.auth.v1beta1 import ( + query_pb2_grpc as auth_query_grpc, + query_pb2 as auth_query_pb, +) + +class AuthParams: + + def __init__( + self, + max_memo_characters: int, + tx_sig_limit: int, + tx_size_cost_per_byte: int, + sig_verify_cost_ed25519: int, + sig_verify_cost_secp256k1: int, + ): + super().__init__() + self.max_memo_characters = max_memo_characters + self.tx_sig_limit = tx_sig_limit + self.tx_size_cost_per_byte = tx_size_cost_per_byte + self.sig_verify_cost_ed25519 = sig_verify_cost_ed25519 + self.sig_verify_cost_secp256k1 = sig_verify_cost_secp256k1 + + @classmethod + def from_proto_response(cls, response: auth_query_pb.QueryParamsResponse): + return cls( + max_memo_characters=response.params.max_memo_characters, + tx_sig_limit=response.params.tx_sig_limit, + tx_size_cost_per_byte=response.params.tx_size_cost_per_byte, + sig_verify_cost_ed25519=response.params.sig_verify_cost_ed25519, + sig_verify_cost_secp256k1=response.params.sig_verify_cost_secp256k1 + ) \ No newline at end of file diff --git a/pyinjective/client/model/__init__.py b/pyinjective/client/model/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/model/pagination.py b/pyinjective/client/model/pagination.py new file mode 100644 index 00000000..c425b173 --- /dev/null +++ b/pyinjective/client/model/pagination.py @@ -0,0 +1,62 @@ +from typing import Optional + +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb + + +class PaginationOption: + + def __init__( + self, + key: Optional[str], + offset: Optional[int], + limit: Optional[int], + reverse: Optional[bool], + count_total: Optional[bool], + ): + super().__init__() + self.key = key + self.offset = offset + self.limit = limit + self.reverse = reverse + self.count_total = count_total + + def create_pagination_request(self) -> pagination_pb.PageRequest: + page_request = pagination_pb.PageRequest() + + if self.key is not None: + page_request.key = bytes.fromhex(self.key) + if self.offset is not None: + page_request.offset = self.offset + 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, + ) \ No newline at end of file diff --git a/tests/client/chain/grpc/configurable_auth_query_serciver.py b/tests/client/chain/grpc/configurable_auth_query_serciver.py new file mode 100644 index 00000000..7e856af9 --- /dev/null +++ b/tests/client/chain/grpc/configurable_auth_query_serciver.py @@ -0,0 +1,24 @@ +from collections import deque + +from pyinjective.proto.cosmos.auth.v1beta1 import ( + query_pb2_grpc as auth_query_grpc, + query_pb2 as auth_query_pb, +) + + +class ConfigurableAuthQueryServicer(auth_query_grpc.QueryServicer): + + def __init__(self): + super().__init__() + self.auth_params = deque() + self.account_responses = deque() + self.accounts_responses = deque() + + async def Params(self, request: auth_query_pb.QueryParamsRequest, context=None): + return self.auth_params.pop() + + async def Account(self, request: auth_query_pb.QueryAccountRequest, context=None): + return self.account_responses.pop() + + async def Accounts(self, request: auth_query_pb.QueryAccountsRequest, context=None): + return self.accounts_responses.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_auth_api.py b/tests/client/chain/grpc/test_chain_grpc_auth_api.py new file mode 100644 index 00000000..71436e59 --- /dev/null +++ b/tests/client/chain/grpc/test_chain_grpc_auth_api.py @@ -0,0 +1,159 @@ +import grpc +import pytest +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.constant import 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 +from pyinjective.proto.injective.crypto.v1beta1.ethsecp256k1 import keys_pb2 as keys_pb +from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb +from tests.client.chain.grpc.configurable_auth_query_serciver import ConfigurableAuthQueryServicer + +@pytest.fixture +def auth_servicer(): + return ConfigurableAuthQueryServicer() + + +class TestChainGrpcAuthApi: + + @pytest.mark.asyncio + async def test_fetch_module_params( + self, + auth_servicer, + ): + params = auth_pb.Params( + max_memo_characters=256, + tx_sig_limit=7, + tx_size_cost_per_byte=10, + sig_verify_cost_ed25519=590, + sig_verify_cost_secp256k1=1000, + ) + auth_servicer.auth_params.append(auth_query_pb.QueryParamsResponse( + params=params + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuthApi(channel=channel) + api._stub = auth_servicer + + module_params = await api.fetch_module_params() + + assert (params.max_memo_characters == module_params.max_memo_characters) + assert (params.tx_sig_limit == module_params.tx_sig_limit) + assert (params.tx_size_cost_per_byte == module_params.tx_size_cost_per_byte) + assert (params.sig_verify_cost_ed25519 == module_params.sig_verify_cost_ed25519) + assert (params.sig_verify_cost_secp256k1 == module_params.sig_verify_cost_secp256k1) + + @pytest.mark.asyncio + async def test_fetch_account( + self, + auth_servicer, + ): + pub_key = keys_pb.PubKey( + key=b"\002\200T< /\340\341IC\260n\372\373\314&\3751A\034HfMk\255[ai\334\3303t\375" + ) + any_pub_key = any_pb2.Any() + any_pub_key.Pack(pub_key, type_url_prefix="") + + base_account = auth_pb.BaseAccount( + address="inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr", + pub_key=any_pub_key, + account_number=39, + sequence=697457, + ) + account = account_pb.EthAccount( + base_account=base_account, + code_hash=b"\305\322F\001\206\367#<\222~}\262\334\307\003\300\345\000\266S\312\202\';{\372\330\004]\205\244p" + ) + + any_account = any_pb2.Any() + any_account.Pack(account, type_url_prefix="") + auth_servicer.account_responses.append(auth_query_pb.QueryAccountResponse( + account=any_account + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuthApi(channel=channel) + api._stub = auth_servicer + + response_account = await api.fetch_account(address="inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr") + + assert (f"0x{account.code_hash.hex()}" == response_account.code_hash) + assert (base_account.address == response_account.address) + assert (any_pub_key.type_url == response_account.pub_key_type_url) + assert (any_pub_key.value == response_account.pub_key_value) + assert (base_account.account_number == response_account.account_number) + assert (base_account.sequence == response_account.sequence) + + @pytest.mark.asyncio + async def test_fetch_accounts( + self, + auth_servicer, + ): + pub_key = keys_pb.PubKey( + key=b"\002\200T< /\340\341IC\260n\372\373\314&\3751A\034HfMk\255[ai\334\3303t\375" + ) + any_pub_key = any_pb2.Any() + any_pub_key.Pack(pub_key, type_url_prefix="") + + base_account = auth_pb.BaseAccount( + address="inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr", + pub_key=any_pub_key, + account_number=39, + sequence=697457, + ) + account = account_pb.EthAccount( + base_account=base_account, + code_hash=b"\305\322F\001\206\367#<\222~}\262\334\307\003\300\345\000\266S\312\202\';{\372\330\004]\205\244p" + ) + + result_pagination = pagination_pb.PageResponse( + next_key=b"\001\032\264\007Z\224$]\377s8\343\004-\265\267\314?B\341", + total=16036, + ) + + any_account = any_pb2.Any() + any_account.Pack(account, type_url_prefix="") + auth_servicer.accounts_responses.append(auth_query_pb.QueryAccountsResponse( + accounts=[any_account], + pagination=result_pagination, + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuthApi(channel=channel) + api._stub = auth_servicer + + pagination_option = PaginationOption( + key="011ab4075a94245dff7338e3042db5b7cc3f42e1", + offset=10, + limit=30, + reverse=False, + count_total=True, + ) + + response_accounts, response_pagination = await api.fetch_accounts(pagination_option=pagination_option) + + assert (1 == len(response_accounts)) + + response_account = response_accounts[0] + + assert (f"0x{account.code_hash.hex()}" == response_account.code_hash) + assert (base_account.address == response_account.address) + assert (any_pub_key.type_url == response_account.pub_key_type_url) + assert (any_pub_key.value == response_account.pub_key_value) + assert (base_account.account_number == response_account.account_number) + assert (base_account.sequence == response_account.sequence) + + assert (f"0x{result_pagination.next_key.hex()}" == response_pagination.next) + assert (result_pagination.total == response_pagination.total) \ No newline at end of file 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 b628916b..3e27e69c 100644 --- a/tests/client/chain/grpc/test_chain_grpc_bank_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_bank_api.py @@ -5,7 +5,6 @@ from pyinjective.constant import Network from pyinjective.proto.cosmos.bank.v1beta1 import ( bank_pb2 as bank_pb, - query_pb2_grpc as bank_query_grpc, query_pb2 as bank_query_pb, ) from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb From 80c97ff2717e1580689e3fb7a01d675766b8b30d Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 6 Sep 2023 15:02:26 -0300 Subject: [PATCH 04/83] (feat) Regenerated proto files based on Injective Core with support for chain streams --- pyinjective/async_client.py | 24 +- pyinjective/composer.py | 9 + pyinjective/core/network.py | 13 + pyinjective/proto/amino/amino_pb2.py | 7 +- .../proto/capability/v1/capability_pb2.py | 23 +- .../proto/capability/v1/genesis_pb2.py | 15 +- .../cosmos/app/runtime/v1alpha1/module_pb2.py | 15 +- .../proto/cosmos/app/v1alpha1/config_pb2.py | 19 +- .../proto/cosmos/app/v1alpha1/module_pb2.py | 19 +- .../proto/cosmos/app/v1alpha1/query_pb2.py | 19 +- .../proto/cosmos/auth/module/v1/module_pb2.py | 15 +- .../proto/cosmos/auth/v1beta1/auth_pb2.py | 31 +- .../proto/cosmos/auth/v1beta1/genesis_pb2.py | 11 +- .../proto/cosmos/auth/v1beta1/query_pb2.py | 95 +-- .../proto/cosmos/auth/v1beta1/tx_pb2.py | 19 +- .../cosmos/authz/module/v1/module_pb2.py | 11 +- .../proto/cosmos/authz/v1beta1/authz_pb2.py | 29 +- .../proto/cosmos/authz/v1beta1/event_pb2.py | 15 +- .../proto/cosmos/authz/v1beta1/genesis_pb2.py | 11 +- .../proto/cosmos/authz/v1beta1/query_pb2.py | 35 +- .../proto/cosmos/authz/v1beta1/tx_pb2.py | 35 +- .../proto/cosmos/autocli/v1/options_pb2.py | 35 +- .../proto/cosmos/autocli/v1/query_pb2.py | 23 +- .../proto/cosmos/bank/module/v1/module_pb2.py | 11 +- .../proto/cosmos/bank/v1beta1/authz_pb2.py | 15 +- .../proto/cosmos/bank/v1beta1/bank_pb2.py | 53 +- .../proto/cosmos/bank/v1beta1/genesis_pb2.py | 23 +- .../proto/cosmos/bank/v1beta1/query_pb2.py | 121 ++-- .../proto/cosmos/bank/v1beta1/tx_pb2.py | 51 +- .../cosmos/base/abci/v1beta1/abci_pb2.py | 55 +- .../proto/cosmos/base/kv/v1beta1/kv_pb2.py | 15 +- .../cosmos/base/node/v1beta1/query_pb2.py | 19 +- .../base/query/v1beta1/pagination_pb2.py | 15 +- .../base/reflection/v1beta1/reflection_pb2.py | 27 +- .../reflection/v2alpha1/reflection_pb2.py | 115 ++-- .../base/snapshots/v1beta1/snapshot_pb2.py | 43 +- .../base/tendermint/v1beta1/query_pb2.py | 87 +-- .../base/tendermint/v1beta1/types_pb2.py | 19 +- .../proto/cosmos/base/v1beta1/coin_pb2.py | 33 +- .../cosmos/capability/module/v1/module_pb2.py | 11 +- .../capability/v1beta1/capability_pb2.py | 23 +- .../cosmos/capability/v1beta1/genesis_pb2.py | 15 +- .../cosmos/consensus/module/v1/module_pb2.py | 11 +- .../proto/cosmos/consensus/v1/query_pb2.py | 19 +- .../proto/cosmos/consensus/v1/tx_pb2.py | 19 +- .../cosmos/crisis/module/v1/module_pb2.py | 11 +- .../cosmos/crisis/v1beta1/genesis_pb2.py | 11 +- .../proto/cosmos/crisis/v1beta1/tx_pb2.py | 31 +- .../proto/cosmos/crypto/ed25519/keys_pb2.py | 19 +- .../proto/cosmos/crypto/hd/v1/hd_pb2.py | 15 +- .../cosmos/crypto/keyring/v1/record_pb2.py | 27 +- .../proto/cosmos/crypto/multisig/keys_pb2.py | 15 +- .../crypto/multisig/v1beta1/multisig_pb2.py | 15 +- .../proto/cosmos/crypto/secp256k1/keys_pb2.py | 19 +- .../proto/cosmos/crypto/secp256r1/keys_pb2.py | 19 +- .../distribution/module/v1/module_pb2.py | 11 +- .../distribution/v1beta1/distribution_pb2.py | 85 +-- .../distribution/v1beta1/genesis_pb2.py | 59 +- .../cosmos/distribution/v1beta1/query_pb2.py | 115 ++-- .../cosmos/distribution/v1beta1/tx_pb2.py | 77 +-- .../cosmos/evidence/module/v1/module_pb2.py | 11 +- .../cosmos/evidence/v1beta1/evidence_pb2.py | 17 +- .../cosmos/evidence/v1beta1/genesis_pb2.py | 11 +- .../cosmos/evidence/v1beta1/query_pb2.py | 27 +- .../proto/cosmos/evidence/v1beta1/tx_pb2.py | 23 +- .../cosmos/feegrant/module/v1/module_pb2.py | 11 +- .../cosmos/feegrant/v1beta1/feegrant_pb2.py | 35 +- .../cosmos/feegrant/v1beta1/genesis_pb2.py | 11 +- .../cosmos/feegrant/v1beta1/query_pb2.py | 35 +- .../proto/cosmos/feegrant/v1beta1/tx_pb2.py | 27 +- .../cosmos/genutil/module/v1/module_pb2.py | 11 +- .../cosmos/genutil/v1beta1/genesis_pb2.py | 15 +- .../proto/cosmos/gov/module/v1/module_pb2.py | 11 +- .../proto/cosmos/gov/v1/genesis_pb2.py | 11 +- pyinjective/proto/cosmos/gov/v1/gov_pb2.py | 55 +- pyinjective/proto/cosmos/gov/v1/query_pb2.py | 75 +-- pyinjective/proto/cosmos/gov/v1/tx_pb2.py | 59 +- .../proto/cosmos/gov/v1beta1/genesis_pb2.py | 19 +- .../proto/cosmos/gov/v1beta1/gov_pb2.py | 91 +-- .../proto/cosmos/gov/v1beta1/query_pb2.py | 81 +-- .../proto/cosmos/gov/v1beta1/tx_pb2.py | 57 +- .../cosmos/group/module/v1/module_pb2.py | 15 +- .../proto/cosmos/group/v1/events_pb2.py | 43 +- .../proto/cosmos/group/v1/genesis_pb2.py | 11 +- .../proto/cosmos/group/v1/query_pb2.py | 115 ++-- pyinjective/proto/cosmos/group/v1/tx_pb2.py | 137 ++-- .../proto/cosmos/group/v1/types_pb2.py | 83 +-- .../proto/cosmos/ics23/v1/proofs_pb2.py | 67 +- .../proto/cosmos/mint/module/v1/module_pb2.py | 11 +- .../proto/cosmos/mint/v1beta1/genesis_pb2.py | 11 +- .../proto/cosmos/mint/v1beta1/mint_pb2.py | 29 +- .../proto/cosmos/mint/v1beta1/query_pb2.py | 41 +- .../proto/cosmos/mint/v1beta1/tx_pb2.py | 19 +- pyinjective/proto/cosmos/msg/v1/msg_pb2.py | 7 +- .../proto/cosmos/nft/module/v1/module_pb2.py | 11 +- .../proto/cosmos/nft/v1beta1/event_pb2.py | 19 +- .../proto/cosmos/nft/v1beta1/genesis_pb2.py | 15 +- .../proto/cosmos/nft/v1beta1/nft_pb2.py | 15 +- .../proto/cosmos/nft/v1beta1/query_pb2.py | 67 +- .../proto/cosmos/nft/v1beta1/tx_pb2.py | 19 +- .../cosmos/orm/module/v1alpha1/module_pb2.py | 11 +- .../cosmos/orm/query/v1alpha1/query_pb2.py | 39 +- pyinjective/proto/cosmos/orm/v1/orm_pb2.py | 23 +- .../proto/cosmos/orm/v1alpha1/schema_pb2.py | 19 +- .../cosmos/params/module/v1/module_pb2.py | 11 +- .../proto/cosmos/params/v1beta1/params_pb2.py | 15 +- .../proto/cosmos/params/v1beta1/query_pb2.py | 31 +- .../proto/cosmos/query/v1/query_pb2.py | 7 +- .../cosmos/reflection/v1/reflection_pb2.py | 19 +- .../cosmos/slashing/module/v1/module_pb2.py | 11 +- .../cosmos/slashing/v1beta1/genesis_pb2.py | 23 +- .../cosmos/slashing/v1beta1/query_pb2.py | 35 +- .../cosmos/slashing/v1beta1/slashing_pb2.py | 29 +- .../proto/cosmos/slashing/v1beta1/tx_pb2.py | 33 +- .../cosmos/staking/module/v1/module_pb2.py | 11 +- .../proto/cosmos/staking/v1beta1/authz_pb2.py | 19 +- .../cosmos/staking/v1beta1/genesis_pb2.py | 21 +- .../proto/cosmos/staking/v1beta1/query_pb2.py | 141 ++-- .../cosmos/staking/v1beta1/staking_pb2.py | 171 ++--- .../proto/cosmos/staking/v1beta1/tx_pb2.py | 91 +-- .../proto/cosmos/tx/config/v1/config_pb2.py | 11 +- .../cosmos/tx/signing/v1beta1/signing_pb2.py | 31 +- .../proto/cosmos/tx/v1beta1/service_pb2.py | 91 +-- pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py | 59 +- .../cosmos/upgrade/module/v1/module_pb2.py | 11 +- .../proto/cosmos/upgrade/v1beta1/query_pb2.py | 51 +- .../proto/cosmos/upgrade/v1beta1/tx_pb2.py | 27 +- .../cosmos/upgrade/v1beta1/upgrade_pb2.py | 35 +- .../cosmos/vesting/module/v1/module_pb2.py | 11 +- .../proto/cosmos/vesting/v1beta1/tx_pb2.py | 47 +- .../cosmos/vesting/v1beta1/vesting_pb2.py | 51 +- pyinjective/proto/cosmos_proto/cosmos_pb2.py | 19 +- .../proto/cosmwasm/wasm/v1/authz_pb2.py | 65 +- .../proto/cosmwasm/wasm/v1/genesis_pb2.py | 31 +- pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py | 19 +- .../proto/cosmwasm/wasm/v1/proposal_pb2.py | 95 +-- .../proto/cosmwasm/wasm/v1/query_pb2.py | 107 +-- pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 171 ++--- .../proto/cosmwasm/wasm/v1/tx_pb2_grpc.py | 72 +++ .../proto/cosmwasm/wasm/v1/types_pb2.py | 51 +- .../proto/exchange/event_provider_api_pb2.py | 67 +- .../exchange/event_provider_api_pb2_grpc.py | 34 + .../exchange/injective_accounts_rpc_pb2.py | 125 ++-- .../exchange/injective_auction_rpc_pb2.py | 47 +- .../injective_derivative_exchange_rpc_pb2.py | 265 ++++---- .../exchange/injective_exchange_rpc_pb2.py | 71 +- .../exchange/injective_explorer_rpc_pb2.py | 297 ++++----- .../injective_explorer_rpc_pb2_grpc.py | 34 + .../exchange/injective_insurance_rpc_pb2.py | 39 +- .../proto/exchange/injective_meta_rpc_pb2.py | 63 +- .../exchange/injective_oracle_rpc_pb2.py | 47 +- .../exchange/injective_portfolio_rpc_pb2.py | 51 +- .../injective_spot_exchange_rpc_pb2.py | 185 +++--- .../injective_spot_exchange_rpc_pb2_grpc.py | 34 + .../exchange/injective_trading_rpc_pb2.py | 35 + .../injective_trading_rpc_pb2_grpc.py | 73 +++ pyinjective/proto/gogoproto/gogo_pb2.py | 7 +- .../proto/google/api/annotations_pb2.py | 7 +- pyinjective/proto/google/api/http_pb2.py | 19 +- .../proto/ibc/applications/fee/v1/ack_pb2.py | 15 +- .../proto/ibc/applications/fee/v1/fee_pb2.py | 30 +- .../ibc/applications/fee/v1/genesis_pb2.py | 31 +- .../ibc/applications/fee/v1/metadata_pb2.py | 15 +- .../ibc/applications/fee/v1/query_pb2.py | 95 +-- .../proto/ibc/applications/fee/v1/tx_pb2.py | 55 +- .../controller/v1/controller_pb2.py | 15 +- .../controller/v1/query_pb2.py | 31 +- .../controller/v1/tx_pb2.py | 48 +- .../controller/v1/tx_pb2_grpc.py | 34 + .../genesis/v1/genesis_pb2.py | 31 +- .../interchain_accounts/host/v1/host_pb2.py | 15 +- .../interchain_accounts/host/v1/query_pb2.py | 23 +- .../interchain_accounts/host/v1/tx_pb2.py | 25 +- .../interchain_accounts/v1/account_pb2.py | 15 +- .../interchain_accounts/v1/metadata_pb2.py | 15 +- .../interchain_accounts/v1/packet_pb2.py | 23 +- .../ibc/applications/transfer/v1/authz_pb2.py | 19 +- .../applications/transfer/v1/genesis_pb2.py | 19 +- .../ibc/applications/transfer/v1/query_pb2.py | 65 +- .../applications/transfer/v1/transfer_pb2.py | 19 +- .../ibc/applications/transfer/v1/tx_pb2.py | 37 +- .../applications/transfer/v2/packet_pb2.py | 15 +- .../proto/ibc/core/channel/v1/channel_pb2.py | 51 +- .../proto/ibc/core/channel/v1/genesis_pb2.py | 21 +- .../proto/ibc/core/channel/v1/query_pb2.py | 127 ++-- .../proto/ibc/core/channel/v1/tx_pb2.py | 123 ++-- .../proto/ibc/core/client/v1/client_pb2.py | 39 +- .../proto/ibc/core/client/v1/genesis_pb2.py | 25 +- .../proto/ibc/core/client/v1/query_pb2.py | 87 +-- .../proto/ibc/core/client/v1/tx_pb2.py | 71 +- .../ibc/core/commitment/v1/commitment_pb2.py | 27 +- .../ibc/core/connection/v1/connection_pb2.py | 43 +- .../ibc/core/connection/v1/genesis_pb2.py | 15 +- .../proto/ibc/core/connection/v1/query_pb2.py | 63 +- .../proto/ibc/core/connection/v1/tx_pb2.py | 65 +- .../proto/ibc/core/types/v1/genesis_pb2.py | 15 +- .../localhost/v2/localhost_pb2.py | 15 +- .../solomachine/v2/solomachine_pb2.py | 79 +-- .../solomachine/v3/solomachine_pb2.py | 43 +- .../tendermint/v1/tendermint_pb2.py | 31 +- .../injective/auction/v1beta1/auction_pb2.py | 37 +- .../injective/auction/v1beta1/genesis_pb2.py | 11 +- .../injective/auction/v1beta1/query_pb2.py | 41 +- .../proto/injective/auction/v1beta1/tx_pb2.py | 31 +- .../crypto/v1beta1/ethsecp256k1/keys_pb2.py | 15 +- .../injective/exchange/v1beta1/authz_pb2.py | 51 +- .../injective/exchange/v1beta1/events_pb2.py | 149 ++--- .../exchange/v1beta1/exchange_pb2.py | 399 ++++++------ .../injective/exchange/v1beta1/genesis_pb2.py | 85 +-- .../injective/exchange/v1beta1/query_pb2.py | 607 +++++++++--------- .../injective/exchange/v1beta1/tx_pb2.py | 579 ++++++++--------- .../insurance/v1beta1/genesis_pb2.py | 11 +- .../insurance/v1beta1/insurance_pb2.py | 47 +- .../injective/insurance/v1beta1/query_pb2.py | 59 +- .../injective/insurance/v1beta1/tx_pb2.py | 51 +- .../injective/ocr/v1beta1/genesis_pb2.py | 39 +- .../proto/injective/ocr/v1beta1/ocr_pb2.py | 131 ++-- .../proto/injective/ocr/v1beta1/query_pb2.py | 67 +- .../proto/injective/ocr/v1beta1/tx_pb2.py | 105 +-- .../injective/oracle/v1beta1/events_pb2.py | 61 +- .../injective/oracle/v1beta1/genesis_pb2.py | 15 +- .../injective/oracle/v1beta1/oracle_pb2.py | 125 ++-- .../injective/oracle/v1beta1/proposal_pb2.py | 63 +- .../injective/oracle/v1beta1/query_pb2.py | 151 ++--- .../proto/injective/oracle/v1beta1/tx_pb2.py | 83 +-- .../injective/peggy/v1/attestation_pb2.py | 23 +- .../proto/injective/peggy/v1/batch_pb2.py | 15 +- .../injective/peggy/v1/ethereum_signer_pb2.py | 11 +- .../proto/injective/peggy/v1/events_pb2.py | 87 +-- .../proto/injective/peggy/v1/genesis_pb2.py | 11 +- .../proto/injective/peggy/v1/msgs_pb2.py | 113 ++-- .../proto/injective/peggy/v1/params_pb2.py | 23 +- .../proto/injective/peggy/v1/pool_pb2.py | 19 +- .../proto/injective/peggy/v1/proposal_pb2.py | 21 +- .../proto/injective/peggy/v1/query_pb2.py | 179 +++--- .../proto/injective/peggy/v1/types_pb2.py | 31 +- .../injective/stream/v1beta1/query_pb2.py | 125 ++++ .../stream/v1beta1/query_pb2_grpc.py | 69 ++ .../v1beta1/authorityMetadata_pb2.py | 11 +- .../tokenfactory/v1beta1/events_pb2.py | 27 +- .../tokenfactory/v1beta1/genesis_pb2.py | 25 +- .../tokenfactory/v1beta1/params_pb2.py | 15 +- .../tokenfactory/v1beta1/query_pb2.py | 47 +- .../injective/tokenfactory/v1beta1/tx_pb2.py | 71 +- .../injective/types/v1beta1/account_pb2.py | 11 +- .../injective/types/v1beta1/tx_ext_pb2.py | 11 +- .../types/v1beta1/tx_response_pb2.py | 15 +- .../proto/injective/wasmx/v1/events_pb2.py | 18 +- .../proto/injective/wasmx/v1/genesis_pb2.py | 15 +- .../proto/injective/wasmx/v1/proposal_pb2.py | 41 +- .../proto/injective/wasmx/v1/query_pb2.py | 35 +- .../proto/injective/wasmx/v1/tx_pb2.py | 59 +- .../proto/injective/wasmx/v1/wasmx_pb2.py | 15 +- .../proto/tendermint/abci/types_pb2.py | 223 +++---- .../proto/tendermint/blocksync/types_pb2.py | 31 +- .../proto/tendermint/consensus/types_pb2.py | 55 +- .../proto/tendermint/consensus/wal_pb2.py | 27 +- .../proto/tendermint/crypto/keys_pb2.py | 15 +- .../proto/tendermint/crypto/proof_pb2.py | 27 +- .../proto/tendermint/libs/bits/types_pb2.py | 11 +- .../proto/tendermint/mempool/types_pb2.py | 15 +- pyinjective/proto/tendermint/p2p/conn_pb2.py | 27 +- pyinjective/proto/tendermint/p2p/pex_pb2.py | 19 +- pyinjective/proto/tendermint/p2p/types_pb2.py | 23 +- .../proto/tendermint/privval/types_pb2.py | 51 +- .../proto/tendermint/state/types_pb2.py | 39 +- .../proto/tendermint/statesync/types_pb2.py | 27 +- .../proto/tendermint/store/types_pb2.py | 11 +- .../proto/tendermint/types/block_pb2.py | 11 +- .../proto/tendermint/types/canonical_pb2.py | 27 +- .../proto/tendermint/types/events_pb2.py | 11 +- .../proto/tendermint/types/evidence_pb2.py | 23 +- .../proto/tendermint/types/params_pb2.py | 35 +- .../proto/tendermint/types/types_pb2.py | 79 +-- .../proto/tendermint/types/validator_pb2.py | 27 +- .../proto/tendermint/version/types_pb2.py | 15 +- 276 files changed, 7060 insertions(+), 6155 deletions(-) create mode 100644 pyinjective/proto/exchange/injective_trading_rpc_pb2.py create mode 100644 pyinjective/proto/exchange/injective_trading_rpc_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 diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 3374f6c1..950a37c0 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -57,10 +57,11 @@ injective_portfolio_rpc_pb2 as portfolio_rpc_pb, injective_portfolio_rpc_pb2_grpc as portfolio_rpc_grpc, ) - from .proto.injective.types.v1beta1 import ( account_pb2 ) +from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as chain_stream_query +from pyinjective.proto.injective.stream.v1beta1 import query_pb2_grpc as stream_rpc_grpc from .core.network import Network from .utils.logger import LoggerProvider @@ -145,6 +146,13 @@ def __init__( self.explorer_channel ) + self.chain_stream_channel = ( + grpc.aio.secure_channel(network.chain_stream_endpoint, credentials) + if (network.use_secure_connection and credentials is not None) + else grpc.aio.insecure_channel(network.chain_stream_endpoint) + ) + self.chain_stream_stub = stream_rpc_grpc.StreamStub(channel=self.chain_stream_channel) + # timeout height update routine self.cron = aiocron.crontab( "* * * * * */{}".format(DEFAULT_TIMEOUTHEIGHT_SYNC_INTERVAL), @@ -928,6 +936,20 @@ async def stream_account_portfolio(self, account_address: str, **kwargs): ) return self.stubPortfolio.StreamAccountPortfolio(request=req, metadata=metadata) + async def chain_stream( + self, + bank_balances_filter: Optional[chain_stream_query.BankBalancesFilter] = None, + subaccount_deposits_filter: Optional[chain_stream_query.SubaccountDepositsFilter] = None + ): + + request = chain_stream_query.StreamRequest( + bank_balances_filter=bank_balances_filter, + subaccount_deposits_filter=subaccount_deposits_filter) + metadata = await self.network.chain_metadata( + metadata_query_provider=self._chain_cookie_metadata_requestor + ) + return self.chain_stream_stub.Stream(request=request, metadata=metadata) + async def composer(self): return Composer( network=self.network.string(), diff --git a/pyinjective/composer.py b/pyinjective/composer.py index 41140aea..82540252 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -34,6 +34,7 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from .proto.cosmwasm.wasm.v1 import tx_pb2 as wasm_tx_pb +from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as chain_stream_query from .constant import ADDITIONAL_CHAIN_FORMAT_DECIMALS, INJ_DENOM from typing import Dict, List, Optional @@ -901,6 +902,14 @@ def MsgVote( proposal_id=proposal_id, voter=voter, option=option ) + def chain_stream_bank_balances_filter(self, accounts: List[str]) -> chain_stream_query.BankBalancesFilter: + return chain_stream_query.BankBalancesFilter(accounts=accounts) + + def chain_stream_subaccount_deposits_filter( + self, subaccount_ids: List[str] + ) -> chain_stream_query.SubaccountDepositsFilter: + return chain_stream_query.SubaccountDepositsFilter(subaccount_ids=subaccount_ids) + # data field format: [request-msg-header][raw-byte-msg-response] # you need to figure out this magic prefix number to trim request-msg-header off the data # this method handles only exchange responses diff --git a/pyinjective/core/network.py b/pyinjective/core/network.py index 420d0152..1c04902b 100644 --- a/pyinjective/core/network.py +++ b/pyinjective/core/network.py @@ -172,6 +172,7 @@ def __init__( grpc_endpoint: str, grpc_exchange_endpoint: str, grpc_explorer_endpoint: str, + chain_stream_endpoint: str, chain_id: str, fee_denom: str, env: str, @@ -183,6 +184,7 @@ def __init__( 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 self.env = env @@ -197,6 +199,7 @@ def devnet(cls): 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", @@ -218,6 +221,7 @@ def testnet(cls, node="lb"): 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" cookie_assistant = BareMetalLoadBalancedCookieAssistant() use_secure_connection = True else: @@ -226,6 +230,7 @@ def testnet(cls, node="lb"): grpc_endpoint = "testnet.chain.grpc.injective.network" grpc_exchange_endpoint = "testnet.exchange.grpc.injective.network" grpc_explorer_endpoint = "testnet.explorer.grpc.injective.network" + chain_stream_endpoint = "testnet.chain.stream.injective.network" cookie_assistant = DisabledCookieAssistant() use_secure_connection = True @@ -235,6 +240,7 @@ def testnet(cls, node="lb"): 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", @@ -260,6 +266,7 @@ def mainnet(cls, node="lb"): 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" cookie_assistant = BareMetalLoadBalancedCookieAssistant() use_secure_connection = True elif node == "lb_k8s": @@ -268,6 +275,7 @@ def mainnet(cls, node="lb"): grpc_endpoint = "k8s.global.mainnet.chain.grpc.injective.network:443" grpc_exchange_endpoint = "k8s.global.mainnet.exchange.grpc.injective.network:443" grpc_explorer_endpoint = "k8s.global.mainnet.explorer.grpc.injective.network:443" + chain_stream_endpoint = "k8s.global.mainnet.chain.stream.injective.network:443" cookie_assistant = KubernetesLoadBalancedCookieAssistant() use_secure_connection = True else: @@ -276,6 +284,7 @@ def mainnet(cls, node="lb"): grpc_endpoint = f"{node}.injective.network:9900" grpc_exchange_endpoint = f"{node}.injective.network:9910" grpc_explorer_endpoint = f"{node}.injective.network:9911" + chain_stream_endpoint = f"{node}.injective.network:9999" cookie_assistant = DisabledCookieAssistant() use_secure_connection = False @@ -285,6 +294,7 @@ def mainnet(cls, node="lb"): 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", @@ -300,6 +310,7 @@ def local(cls): 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", @@ -315,6 +326,7 @@ def custom( grpc_endpoint, grpc_exchange_endpoint, grpc_explorer_endpoint, + chain_stream_endpoint, chain_id, env, cookie_assistant: Optional[CookieAssistant] = None, @@ -327,6 +339,7 @@ def custom( 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, diff --git a/pyinjective/proto/amino/amino_pb2.py b/pyinjective/proto/amino/amino_pb2.py index 5361f394..ab4184ad 100644 --- a/pyinjective/proto/amino/amino_pb2.py +++ b/pyinjective/proto/amino/amino_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: amino/amino.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x61mino/amino.proto\x12\x05\x61mino\x1a google/protobuf/descriptor.proto:0\n\x04name\x12\x1f.google.protobuf.MessageOptions\x18\xf1\x8c\xa6\x05 \x01(\t:<\n\x10message_encoding\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x8c\xa6\x05 \x01(\t:2\n\x08\x65ncoding\x12\x1d.google.protobuf.FieldOptions\x18\xf3\x8c\xa6\x05 \x01(\t:4\n\nfield_name\x12\x1d.google.protobuf.FieldOptions\x18\xf4\x8c\xa6\x05 \x01(\t:8\n\x0e\x64ont_omitempty\x12\x1d.google.protobuf.FieldOptions\x18\xf5\x8c\xa6\x05 \x01(\x08\x42-Z+github.com/cosmos/cosmos-sdk/types/tx/aminob\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'amino.amino_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'amino.amino_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(name) google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(message_encoding) diff --git a/pyinjective/proto/capability/v1/capability_pb2.py b/pyinjective/proto/capability/v1/capability_pb2.py index e46a82a1..128ef745 100644 --- a/pyinjective/proto/capability/v1/capability_pb2.py +++ b/pyinjective/proto/capability/v1/capability_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: capability/v1/capability.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +15,11 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63\x61pability/v1/capability.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"!\n\nCapability\x12\r\n\x05index\x18\x01 \x01(\x04:\x04\x98\xa0\x1f\x00\"/\n\x05Owner\x12\x0e\n\x06module\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t:\x08\x98\xa0\x1f\x00\x88\xa0\x1f\x00\"C\n\x10\x43\x61pabilityOwners\x12/\n\x06owners\x18\x01 \x03(\x0b\x32\x14.capability.v1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x33Z1github.com/cosmos/ibc-go/modules/capability/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63\x61pability/v1/capability.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"!\n\nCapability\x12\r\n\x05index\x18\x01 \x01(\x04:\x04\x98\xa0\x1f\x00\"/\n\x05Owner\x12\x0e\n\x06module\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"C\n\x10\x43\x61pabilityOwners\x12/\n\x06owners\x18\x01 \x03(\x0b\x32\x14.capability.v1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x33Z1github.com/cosmos/ibc-go/modules/capability/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.capability_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.capability_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -26,13 +27,13 @@ _CAPABILITY._options = None _CAPABILITY._serialized_options = b'\230\240\037\000' _OWNER._options = None - _OWNER._serialized_options = b'\230\240\037\000\210\240\037\000' + _OWNER._serialized_options = b'\210\240\037\000\230\240\037\000' _CAPABILITYOWNERS.fields_by_name['owners']._options = None _CAPABILITYOWNERS.fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _CAPABILITY._serialized_start=90 - _CAPABILITY._serialized_end=123 - _OWNER._serialized_start=125 - _OWNER._serialized_end=172 - _CAPABILITYOWNERS._serialized_start=174 - _CAPABILITYOWNERS._serialized_end=241 + _globals['_CAPABILITY']._serialized_start=90 + _globals['_CAPABILITY']._serialized_end=123 + _globals['_OWNER']._serialized_start=125 + _globals['_OWNER']._serialized_end=172 + _globals['_CAPABILITYOWNERS']._serialized_start=174 + _globals['_CAPABILITYOWNERS']._serialized_end=241 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/genesis_pb2.py b/pyinjective/proto/capability/v1/genesis_pb2.py index 3053b9fb..8b0b5a50 100644 --- a/pyinjective/proto/capability/v1/genesis_pb2.py +++ b/pyinjective/proto/capability/v1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: capability/v1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +18,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63\x61pability/v1/genesis.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63\x61pability/v1/capability.proto\x1a\x11\x61mino/amino.proto\"`\n\rGenesisOwners\x12\r\n\x05index\x18\x01 \x01(\x04\x12@\n\x0cindex_owners\x18\x02 \x01(\x0b\x32\x1f.capability.v1.CapabilityOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"V\n\x0cGenesisState\x12\r\n\x05index\x18\x01 \x01(\x04\x12\x37\n\x06owners\x18\x02 \x03(\x0b\x32\x1c.capability.v1.GenesisOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x33Z1github.com/cosmos/ibc-go/modules/capability/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -28,8 +29,8 @@ _GENESISOWNERS.fields_by_name['index_owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE.fields_by_name['owners']._options = None _GENESISSTATE.fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _GENESISOWNERS._serialized_start=119 - _GENESISOWNERS._serialized_end=215 - _GENESISSTATE._serialized_start=217 - _GENESISSTATE._serialized_end=303 + _globals['_GENESISOWNERS']._serialized_start=119 + _globals['_GENESISOWNERS']._serialized_end=215 + _globals['_GENESISSTATE']._serialized_start=217 + _globals['_GENESISSTATE']._serialized_end=303 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py index a1788688..5e4f4dc1 100644 --- a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/app/runtime/v1alpha1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,15 +16,16 @@ 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\"\x85\x02\n\x06Module\x12\x10\n\x08\x61pp_name\x18\x01 \x01(\t\x12\x16\n\x0e\x62\x65gin_blockers\x18\x02 \x03(\t\x12\x14\n\x0c\x65nd_blockers\x18\x03 \x03(\t\x12\x14\n\x0cinit_genesis\x18\x04 \x03(\t\x12\x16\n\x0e\x65xport_genesis\x18\x05 \x03(\t\x12H\n\x13override_store_keys\x18\x06 \x03(\x0b\x32+.cosmos.app.runtime.v1alpha1.StoreKeyConfig:C\xba\xc0\x96\xda\x01=\n$github.com/cosmos/cosmos-sdk/runtime\x12\x15\n\x13\x63osmos.app.v1alpha1\";\n\x0eStoreKeyConfig\x12\x13\n\x0bmodule_name\x18\x01 \x01(\t\x12\x14\n\x0ckv_store_key\x18\x02 \x01(\tb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.runtime.v1alpha1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.runtime.v1alpha1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001=\n$github.com/cosmos/cosmos-sdk/runtime\022\025\n\023cosmos.app.v1alpha1' - _MODULE._serialized_start=108 - _MODULE._serialized_end=369 - _STOREKEYCONFIG._serialized_start=371 - _STOREKEYCONFIG._serialized_end=430 + _globals['_MODULE']._serialized_start=108 + _globals['_MODULE']._serialized_end=369 + _globals['_STOREKEYCONFIG']._serialized_start=371 + _globals['_STOREKEYCONFIG']._serialized_end=430 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py index 4ef3c62f..d4dd4e19 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/app/v1alpha1/config.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,15 +16,16 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/app/v1alpha1/config.proto\x12\x13\x63osmos.app.v1alpha1\x1a\x19google/protobuf/any.proto\"y\n\x06\x43onfig\x12\x32\n\x07modules\x18\x01 \x03(\x0b\x32!.cosmos.app.v1alpha1.ModuleConfig\x12;\n\x0fgolang_bindings\x18\x02 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBinding\"\x7f\n\x0cModuleConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12;\n\x0fgolang_bindings\x18\x03 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBinding\"?\n\rGolangBinding\x12\x16\n\x0einterface_type\x18\x01 \x01(\t\x12\x16\n\x0eimplementation\x18\x02 \x01(\tb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.config_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.config_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - _CONFIG._serialized_start=84 - _CONFIG._serialized_end=205 - _MODULECONFIG._serialized_start=207 - _MODULECONFIG._serialized_end=334 - _GOLANGBINDING._serialized_start=336 - _GOLANGBINDING._serialized_end=399 + _globals['_CONFIG']._serialized_start=84 + _globals['_CONFIG']._serialized_end=205 + _globals['_MODULECONFIG']._serialized_start=207 + _globals['_MODULECONFIG']._serialized_end=334 + _globals['_GOLANGBINDING']._serialized_start=336 + _globals['_GOLANGBINDING']._serialized_end=399 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py index 66be0970..e140d41a 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/app/v1alpha1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,17 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/app/v1alpha1/module.proto\x12\x13\x63osmos.app.v1alpha1\x1a google/protobuf/descriptor.proto\"\xa1\x01\n\x10ModuleDescriptor\x12\x11\n\tgo_import\x18\x01 \x01(\t\x12:\n\x0buse_package\x18\x02 \x03(\x0b\x32%.cosmos.app.v1alpha1.PackageReference\x12>\n\x10\x63\x61n_migrate_from\x18\x03 \x03(\x0b\x32$.cosmos.app.v1alpha1.MigrateFromInfo\"2\n\x10PackageReference\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08revision\x18\x02 \x01(\r\"!\n\x0fMigrateFromInfo\x12\x0e\n\x06module\x18\x01 \x01(\t:Y\n\x06module\x12\x1f.google.protobuf.MessageOptions\x18\x87\xe8\xa2\x1b \x01(\x0b\x32%.cosmos.app.v1alpha1.ModuleDescriptorb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(module) DESCRIPTOR._options = None - _MODULEDESCRIPTOR._serialized_start=92 - _MODULEDESCRIPTOR._serialized_end=253 - _PACKAGEREFERENCE._serialized_start=255 - _PACKAGEREFERENCE._serialized_end=305 - _MIGRATEFROMINFO._serialized_start=307 - _MIGRATEFROMINFO._serialized_end=340 + _globals['_MODULEDESCRIPTOR']._serialized_start=92 + _globals['_MODULEDESCRIPTOR']._serialized_end=253 + _globals['_PACKAGEREFERENCE']._serialized_start=255 + _globals['_PACKAGEREFERENCE']._serialized_end=305 + _globals['_MIGRATEFROMINFO']._serialized_start=307 + _globals['_MIGRATEFROMINFO']._serialized_end=340 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py index 73dd220c..473038eb 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/app/v1alpha1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,15 +16,16 @@ 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\"B\n\x13QueryConfigResponse\x12+\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1b.cosmos.app.v1alpha1.Config2f\n\x05Query\x12]\n\x06\x43onfig\x12\'.cosmos.app.v1alpha1.QueryConfigRequest\x1a(.cosmos.app.v1alpha1.QueryConfigResponse\"\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - _QUERYCONFIGREQUEST._serialized_start=90 - _QUERYCONFIGREQUEST._serialized_end=110 - _QUERYCONFIGRESPONSE._serialized_start=112 - _QUERYCONFIGRESPONSE._serialized_end=178 - _QUERY._serialized_start=180 - _QUERY._serialized_end=282 + _globals['_QUERYCONFIGREQUEST']._serialized_start=90 + _globals['_QUERYCONFIGREQUEST']._serialized_end=110 + _globals['_QUERYCONFIGRESPONSE']._serialized_start=112 + _globals['_QUERYCONFIGRESPONSE']._serialized_end=178 + _globals['_QUERY']._serialized_start=180 + _globals['_QUERY']._serialized_end=282 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py index 476d34b5..d11ca11d 100644 --- a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/auth/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,15 +16,16 @@ 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\"\xb3\x01\n\x06Module\x12\x15\n\rbech32_prefix\x18\x01 \x01(\t\x12R\n\x1amodule_account_permissions\x18\x02 \x03(\x0b\x32..cosmos.auth.module.v1.ModuleAccountPermission\x12\x11\n\tauthority\x18\x03 \x01(\t:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/auth\"?\n\x17ModuleAccountPermission\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\x13\n\x0bpermissions\x18\x02 \x03(\tb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/auth' - _MODULE._serialized_start=96 - _MODULE._serialized_end=275 - _MODULEACCOUNTPERMISSION._serialized_start=277 - _MODULEACCOUNTPERMISSION._serialized_end=340 + _globals['_MODULE']._serialized_start=96 + _globals['_MODULE']._serialized_end=275 + _globals['_MODULEACCOUNTPERMISSION']._serialized_start=277 + _globals['_MODULEACCOUNTPERMISSION']._serialized_end=340 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py index bb40cbb8..40d67acb 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/auth/v1beta1/auth.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +17,11 @@ 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\"\xf7\x01\n\x0b\x42\x61seAccount\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12N\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\'\xea\xde\x1f\x14public_key,omitempty\xa2\xe7\xb0*\npublic_key\x12\x16\n\x0e\x61\x63\x63ount_number\x18\x03 \x01(\x04\x12\x10\n\x08sequence\x18\x04 \x01(\x04:C\x8a\xe7\xb0*\x16\x63osmos-sdk/BaseAccount\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\"\xb9\x01\n\rModuleAccount\x12<\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0bpermissions\x18\x03 \x03(\t:G\x8a\xe7\xb0*\x18\x63osmos-sdk/ModuleAccount\x88\xa0\x1f\x00\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountI\"@\n\x10ModuleCredential\x12\x13\n\x0bmodule_name\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65rivation_keys\x18\x02 \x03(\x0c\"\xf7\x01\n\x06Params\x12\x1b\n\x13max_memo_characters\x18\x01 \x01(\x04\x12\x14\n\x0ctx_sig_limit\x18\x02 \x01(\x04\x12\x1d\n\x15tx_size_cost_per_byte\x18\x03 \x01(\x04\x12\x39\n\x17sig_verify_cost_ed25519\x18\x04 \x01(\x04\x42\x18\xe2\xde\x1f\x14SigVerifyCostED25519\x12=\n\x19sig_verify_cost_secp256k1\x18\x05 \x01(\x04\x42\x1a\xe2\xde\x1f\x16SigVerifyCostSecp256k1:!\x8a\xe7\xb0*\x18\x63osmos-sdk/x/auth/Params\xe8\xa0\x1f\x01\x42+Z)github.com/cosmos/cosmos-sdk/x/auth/typesb\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\"\xf7\x01\n\x0b\x42\x61seAccount\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12N\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\'\xea\xde\x1f\x14public_key,omitempty\xa2\xe7\xb0*\npublic_key\x12\x16\n\x0e\x61\x63\x63ount_number\x18\x03 \x01(\x04\x12\x10\n\x08sequence\x18\x04 \x01(\x04:C\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\x8a\xe7\xb0*\x16\x63osmos-sdk/BaseAccount\"\xb9\x01\n\rModuleAccount\x12<\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0bpermissions\x18\x03 \x03(\t:G\x88\xa0\x1f\x00\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountI\x8a\xe7\xb0*\x18\x63osmos-sdk/ModuleAccount\"@\n\x10ModuleCredential\x12\x13\n\x0bmodule_name\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65rivation_keys\x18\x02 \x03(\x0c\"\xf7\x01\n\x06Params\x12\x1b\n\x13max_memo_characters\x18\x01 \x01(\x04\x12\x14\n\x0ctx_sig_limit\x18\x02 \x01(\x04\x12\x1d\n\x15tx_size_cost_per_byte\x18\x03 \x01(\x04\x12\x39\n\x17sig_verify_cost_ed25519\x18\x04 \x01(\x04\x42\x18\xe2\xde\x1f\x14SigVerifyCostED25519\x12=\n\x19sig_verify_cost_secp256k1\x18\x05 \x01(\x04\x42\x1a\xe2\xde\x1f\x16SigVerifyCostSecp256k1:!\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x18\x63osmos-sdk/x/auth/ParamsB+Z)github.com/cosmos/cosmos-sdk/x/auth/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.auth_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.auth_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -30,23 +31,23 @@ _BASEACCOUNT.fields_by_name['pub_key']._options = None _BASEACCOUNT.fields_by_name['pub_key']._serialized_options = b'\352\336\037\024public_key,omitempty\242\347\260*\npublic_key' _BASEACCOUNT._options = None - _BASEACCOUNT._serialized_options = b'\212\347\260*\026cosmos-sdk/BaseAccount\210\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI' + _BASEACCOUNT._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI\212\347\260*\026cosmos-sdk/BaseAccount' _MODULEACCOUNT.fields_by_name['base_account']._options = None _MODULEACCOUNT.fields_by_name['base_account']._serialized_options = b'\320\336\037\001' _MODULEACCOUNT._options = None - _MODULEACCOUNT._serialized_options = b'\212\347\260*\030cosmos-sdk/ModuleAccount\210\240\037\000\312\264-\"cosmos.auth.v1beta1.ModuleAccountI' + _MODULEACCOUNT._serialized_options = b'\210\240\037\000\312\264-\"cosmos.auth.v1beta1.ModuleAccountI\212\347\260*\030cosmos-sdk/ModuleAccount' _PARAMS.fields_by_name['sig_verify_cost_ed25519']._options = None _PARAMS.fields_by_name['sig_verify_cost_ed25519']._serialized_options = b'\342\336\037\024SigVerifyCostED25519' _PARAMS.fields_by_name['sig_verify_cost_secp256k1']._options = None _PARAMS.fields_by_name['sig_verify_cost_secp256k1']._serialized_options = b'\342\336\037\026SigVerifyCostSecp256k1' _PARAMS._options = None - _PARAMS._serialized_options = b'\212\347\260*\030cosmos-sdk/x/auth/Params\350\240\037\001' - _BASEACCOUNT._serialized_start=151 - _BASEACCOUNT._serialized_end=398 - _MODULEACCOUNT._serialized_start=401 - _MODULEACCOUNT._serialized_end=586 - _MODULECREDENTIAL._serialized_start=588 - _MODULECREDENTIAL._serialized_end=652 - _PARAMS._serialized_start=655 - _PARAMS._serialized_end=902 + _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=398 + _globals['_MODULEACCOUNT']._serialized_start=401 + _globals['_MODULEACCOUNT']._serialized_end=586 + _globals['_MODULECREDENTIAL']._serialized_start=588 + _globals['_MODULECREDENTIAL']._serialized_end=652 + _globals['_PARAMS']._serialized_start=655 + _globals['_PARAMS']._serialized_end=902 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py index ce3e4bb3..a9612c49 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/auth/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +19,15 @@ 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\"n\n\x0cGenesisState\x12\x36\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12&\n\x08\x61\x63\x63ounts\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB+Z)github.com/cosmos/cosmos-sdk/x/auth/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/auth/types' _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _GENESISSTATE._serialized_start=158 - _GENESISSTATE._serialized_end=268 + _globals['_GENESISSTATE']._serialized_start=158 + _globals['_GENESISSTATE']._serialized_end=268 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py index 64bd9bbf..80af3e26 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/auth/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +20,11 @@ from 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\"R\n\x14QueryAccountsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9e\x01\n\x15QueryAccountsResponse\x12H\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"J\n\x13QueryAccountRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"_\n\x14QueryAccountResponse\x12G\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\"\x14\n\x12QueryParamsRequest\"H\n\x13QueryParamsResponse\x12\x31\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\"\x1c\n\x1aQueryModuleAccountsRequest\"m\n\x1bQueryModuleAccountsResponse\x12N\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountI\"/\n\x1fQueryModuleAccountByNameRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"q\n QueryModuleAccountByNameResponse\x12M\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountI\"\x15\n\x13\x42\x65\x63h32PrefixRequest\"-\n\x14\x42\x65\x63h32PrefixResponse\x12\x15\n\rbech32_prefix\x18\x01 \x01(\t\"4\n\x1b\x41\x64\x64ressBytesToStringRequest\x12\x15\n\raddress_bytes\x18\x01 \x01(\x0c\"6\n\x1c\x41\x64\x64ressBytesToStringResponse\x12\x16\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\t\"5\n\x1b\x41\x64\x64ressStringToBytesRequest\x12\x16\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\t\"5\n\x1c\x41\x64\x64ressStringToBytesResponse\x12\x15\n\raddress_bytes\x18\x01 \x01(\x0c\"D\n\x1eQueryAccountAddressByIDRequest\x12\x0e\n\x02id\x18\x01 \x01(\x03\x42\x02\x18\x01\x12\x12\n\naccount_id\x18\x02 \x01(\x04\"T\n\x1fQueryAccountAddressByIDResponse\x12\x31\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"D\n\x17QueryAccountInfoRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"J\n\x18QueryAccountInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccount2\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+Z)github.com/cosmos/cosmos-sdk/x/auth/typesb\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\"R\n\x14QueryAccountsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9e\x01\n\x15QueryAccountsResponse\x12H\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"J\n\x13QueryAccountRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"_\n\x14QueryAccountResponse\x12G\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\"\x14\n\x12QueryParamsRequest\"H\n\x13QueryParamsResponse\x12\x31\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\"\x1c\n\x1aQueryModuleAccountsRequest\"m\n\x1bQueryModuleAccountsResponse\x12N\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountI\"/\n\x1fQueryModuleAccountByNameRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"q\n QueryModuleAccountByNameResponse\x12M\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountI\"\x15\n\x13\x42\x65\x63h32PrefixRequest\"-\n\x14\x42\x65\x63h32PrefixResponse\x12\x15\n\rbech32_prefix\x18\x01 \x01(\t\"4\n\x1b\x41\x64\x64ressBytesToStringRequest\x12\x15\n\raddress_bytes\x18\x01 \x01(\x0c\"6\n\x1c\x41\x64\x64ressBytesToStringResponse\x12\x16\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\t\"5\n\x1b\x41\x64\x64ressStringToBytesRequest\x12\x16\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\t\"5\n\x1c\x41\x64\x64ressStringToBytesResponse\x12\x15\n\raddress_bytes\x18\x01 \x01(\x0c\"D\n\x1eQueryAccountAddressByIDRequest\x12\x0e\n\x02id\x18\x01 \x01(\x03\x42\x02\x18\x01\x12\x12\n\naccount_id\x18\x02 \x01(\x04\"T\n\x1fQueryAccountAddressByIDResponse\x12\x31\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"D\n\x17QueryAccountInfoRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"J\n\x18QueryAccountInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccount2\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+Z)github.com/cosmos/cosmos-sdk/x/auth/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -33,7 +34,7 @@ _QUERYACCOUNTREQUEST.fields_by_name['address']._options = None _QUERYACCOUNTREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYACCOUNTREQUEST._options = None - _QUERYACCOUNTREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYACCOUNTREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYACCOUNTRESPONSE.fields_by_name['account']._options = None _QUERYACCOUNTRESPONSE.fields_by_name['account']._serialized_options = b'\312\264-\034cosmos.auth.v1beta1.AccountI' _QUERYPARAMSRESPONSE.fields_by_name['params']._options = None @@ -68,46 +69,46 @@ _QUERY.methods_by_name['AddressStringToBytes']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/auth/v1beta1/bech32/{address_string}' _QUERY.methods_by_name['AccountInfo']._options = None _QUERY.methods_by_name['AccountInfo']._serialized_options = b'\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/account_info/{address}' - _QUERYACCOUNTSREQUEST._serialized_start=267 - _QUERYACCOUNTSREQUEST._serialized_end=349 - _QUERYACCOUNTSRESPONSE._serialized_start=352 - _QUERYACCOUNTSRESPONSE._serialized_end=510 - _QUERYACCOUNTREQUEST._serialized_start=512 - _QUERYACCOUNTREQUEST._serialized_end=586 - _QUERYACCOUNTRESPONSE._serialized_start=588 - _QUERYACCOUNTRESPONSE._serialized_end=683 - _QUERYPARAMSREQUEST._serialized_start=685 - _QUERYPARAMSREQUEST._serialized_end=705 - _QUERYPARAMSRESPONSE._serialized_start=707 - _QUERYPARAMSRESPONSE._serialized_end=779 - _QUERYMODULEACCOUNTSREQUEST._serialized_start=781 - _QUERYMODULEACCOUNTSREQUEST._serialized_end=809 - _QUERYMODULEACCOUNTSRESPONSE._serialized_start=811 - _QUERYMODULEACCOUNTSRESPONSE._serialized_end=920 - _QUERYMODULEACCOUNTBYNAMEREQUEST._serialized_start=922 - _QUERYMODULEACCOUNTBYNAMEREQUEST._serialized_end=969 - _QUERYMODULEACCOUNTBYNAMERESPONSE._serialized_start=971 - _QUERYMODULEACCOUNTBYNAMERESPONSE._serialized_end=1084 - _BECH32PREFIXREQUEST._serialized_start=1086 - _BECH32PREFIXREQUEST._serialized_end=1107 - _BECH32PREFIXRESPONSE._serialized_start=1109 - _BECH32PREFIXRESPONSE._serialized_end=1154 - _ADDRESSBYTESTOSTRINGREQUEST._serialized_start=1156 - _ADDRESSBYTESTOSTRINGREQUEST._serialized_end=1208 - _ADDRESSBYTESTOSTRINGRESPONSE._serialized_start=1210 - _ADDRESSBYTESTOSTRINGRESPONSE._serialized_end=1264 - _ADDRESSSTRINGTOBYTESREQUEST._serialized_start=1266 - _ADDRESSSTRINGTOBYTESREQUEST._serialized_end=1319 - _ADDRESSSTRINGTOBYTESRESPONSE._serialized_start=1321 - _ADDRESSSTRINGTOBYTESRESPONSE._serialized_end=1374 - _QUERYACCOUNTADDRESSBYIDREQUEST._serialized_start=1376 - _QUERYACCOUNTADDRESSBYIDREQUEST._serialized_end=1444 - _QUERYACCOUNTADDRESSBYIDRESPONSE._serialized_start=1446 - _QUERYACCOUNTADDRESSBYIDRESPONSE._serialized_end=1530 - _QUERYACCOUNTINFOREQUEST._serialized_start=1532 - _QUERYACCOUNTINFOREQUEST._serialized_end=1600 - _QUERYACCOUNTINFORESPONSE._serialized_start=1602 - _QUERYACCOUNTINFORESPONSE._serialized_end=1676 - _QUERY._serialized_start=1679 - _QUERY._serialized_end=3326 + _globals['_QUERYACCOUNTSREQUEST']._serialized_start=267 + _globals['_QUERYACCOUNTSREQUEST']._serialized_end=349 + _globals['_QUERYACCOUNTSRESPONSE']._serialized_start=352 + _globals['_QUERYACCOUNTSRESPONSE']._serialized_end=510 + _globals['_QUERYACCOUNTREQUEST']._serialized_start=512 + _globals['_QUERYACCOUNTREQUEST']._serialized_end=586 + _globals['_QUERYACCOUNTRESPONSE']._serialized_start=588 + _globals['_QUERYACCOUNTRESPONSE']._serialized_end=683 + _globals['_QUERYPARAMSREQUEST']._serialized_start=685 + _globals['_QUERYPARAMSREQUEST']._serialized_end=705 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=707 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=779 + _globals['_QUERYMODULEACCOUNTSREQUEST']._serialized_start=781 + _globals['_QUERYMODULEACCOUNTSREQUEST']._serialized_end=809 + _globals['_QUERYMODULEACCOUNTSRESPONSE']._serialized_start=811 + _globals['_QUERYMODULEACCOUNTSRESPONSE']._serialized_end=920 + _globals['_QUERYMODULEACCOUNTBYNAMEREQUEST']._serialized_start=922 + _globals['_QUERYMODULEACCOUNTBYNAMEREQUEST']._serialized_end=969 + _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE']._serialized_start=971 + _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE']._serialized_end=1084 + _globals['_BECH32PREFIXREQUEST']._serialized_start=1086 + _globals['_BECH32PREFIXREQUEST']._serialized_end=1107 + _globals['_BECH32PREFIXRESPONSE']._serialized_start=1109 + _globals['_BECH32PREFIXRESPONSE']._serialized_end=1154 + _globals['_ADDRESSBYTESTOSTRINGREQUEST']._serialized_start=1156 + _globals['_ADDRESSBYTESTOSTRINGREQUEST']._serialized_end=1208 + _globals['_ADDRESSBYTESTOSTRINGRESPONSE']._serialized_start=1210 + _globals['_ADDRESSBYTESTOSTRINGRESPONSE']._serialized_end=1264 + _globals['_ADDRESSSTRINGTOBYTESREQUEST']._serialized_start=1266 + _globals['_ADDRESSSTRINGTOBYTESREQUEST']._serialized_end=1319 + _globals['_ADDRESSSTRINGTOBYTESRESPONSE']._serialized_start=1321 + _globals['_ADDRESSSTRINGTOBYTESRESPONSE']._serialized_end=1374 + _globals['_QUERYACCOUNTADDRESSBYIDREQUEST']._serialized_start=1376 + _globals['_QUERYACCOUNTADDRESSBYIDREQUEST']._serialized_end=1444 + _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE']._serialized_start=1446 + _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE']._serialized_end=1530 + _globals['_QUERYACCOUNTINFOREQUEST']._serialized_start=1532 + _globals['_QUERYACCOUNTINFOREQUEST']._serialized_end=1600 + _globals['_QUERYACCOUNTINFORESPONSE']._serialized_start=1602 + _globals['_QUERYACCOUNTINFORESPONSE']._serialized_end=1676 + _globals['_QUERY']._serialized_start=1679 + _globals['_QUERY']._serialized_end=3326 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py index 8c4e80bc..b3b031a7 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/auth/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +20,9 @@ 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\"\xac\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01: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+Z)github.com/cosmos/cosmos-sdk/x/auth/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -34,10 +35,10 @@ _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/auth/MsgUpdateParams' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGUPDATEPARAMS._serialized_start=179 - _MSGUPDATEPARAMS._serialized_end=351 - _MSGUPDATEPARAMSRESPONSE._serialized_start=353 - _MSGUPDATEPARAMSRESPONSE._serialized_end=378 - _MSG._serialized_start=380 - _MSG._serialized_end=492 + _globals['_MSGUPDATEPARAMS']._serialized_start=179 + _globals['_MSGUPDATEPARAMS']._serialized_end=351 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=353 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=378 + _globals['_MSG']._serialized_start=380 + _globals['_MSG']._serialized_end=492 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py index 53120d7b..33ae40c2 100644 --- a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/authz/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/authz' - _MODULE._serialized_start=97 - _MODULE._serialized_end=151 + _globals['_MODULE']._serialized_start=97 + _globals['_MODULE']._serialized_end=151 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py index fb919e5d..7c2b9f6d 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/authz/v1beta1/authz.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +18,21 @@ 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\"o\n\x14GenericAuthorization\x12\x0b\n\x03msg\x18\x01 \x01(\t:J\x8a\xe7\xb0*\x1f\x63osmos-sdk/GenericAuthorization\xca\xb4-\"cosmos.authz.v1beta1.Authorization\"\x96\x01\n\x05Grant\x12S\n\rauthorization\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x12\x38\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\x90\xdf\x1f\x01\xc8\xde\x1f\x01\"\xf5\x01\n\x12GrantAuthorization\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12S\n\rauthorization\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x12\x34\n\nexpiration\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\"\'\n\x0eGrantQueueItem\x12\x15\n\rmsg_type_urls\x18\x01 \x03(\tB*Z$github.com/cosmos/cosmos-sdk/x/authz\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\"o\n\x14GenericAuthorization\x12\x0b\n\x03msg\x18\x01 \x01(\t:J\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1f\x63osmos-sdk/GenericAuthorization\"\x96\x01\n\x05Grant\x12S\n\rauthorization\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x12\x38\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x01\x90\xdf\x1f\x01\"\xf5\x01\n\x12GrantAuthorization\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12S\n\rauthorization\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x12\x34\n\nexpiration\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\"\'\n\x0eGrantQueueItem\x12\x15\n\rmsg_type_urls\x18\x01 \x03(\tB*Z$github.com/cosmos/cosmos-sdk/x/authz\xc8\xe1\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.authz_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz\310\341\036\000' _GENERICAUTHORIZATION._options = None - _GENERICAUTHORIZATION._serialized_options = b'\212\347\260*\037cosmos-sdk/GenericAuthorization\312\264-\"cosmos.authz.v1beta1.Authorization' + _GENERICAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\037cosmos-sdk/GenericAuthorization' _GRANT.fields_by_name['authorization']._options = None _GRANT.fields_by_name['authorization']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' _GRANT.fields_by_name['expiration']._options = None - _GRANT.fields_by_name['expiration']._serialized_options = b'\220\337\037\001\310\336\037\001' + _GRANT.fields_by_name['expiration']._serialized_options = b'\310\336\037\001\220\337\037\001' _GRANTAUTHORIZATION.fields_by_name['granter']._options = None _GRANTAUTHORIZATION.fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' _GRANTAUTHORIZATION.fields_by_name['grantee']._options = None @@ -40,12 +41,12 @@ _GRANTAUTHORIZATION.fields_by_name['authorization']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' _GRANTAUTHORIZATION.fields_by_name['expiration']._options = None _GRANTAUTHORIZATION.fields_by_name['expiration']._serialized_options = b'\220\337\037\001' - _GENERICAUTHORIZATION._serialized_start=186 - _GENERICAUTHORIZATION._serialized_end=297 - _GRANT._serialized_start=300 - _GRANT._serialized_end=450 - _GRANTAUTHORIZATION._serialized_start=453 - _GRANTAUTHORIZATION._serialized_end=698 - _GRANTQUEUEITEM._serialized_start=700 - _GRANTQUEUEITEM._serialized_end=739 + _globals['_GENERICAUTHORIZATION']._serialized_start=186 + _globals['_GENERICAUTHORIZATION']._serialized_end=297 + _globals['_GRANT']._serialized_start=300 + _globals['_GRANT']._serialized_end=450 + _globals['_GRANTAUTHORIZATION']._serialized_start=453 + _globals['_GRANTAUTHORIZATION']._serialized_end=698 + _globals['_GRANTQUEUEITEM']._serialized_start=700 + _globals['_GRANTQUEUEITEM']._serialized_end=739 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py index 13070ad7..b0aea779 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/authz/v1beta1/event.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/authz/v1beta1/event.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\"x\n\nEventGrant\x12\x14\n\x0cmsg_type_url\x18\x02 \x01(\t\x12)\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"y\n\x0b\x45ventRevoke\x12\x14\n\x0cmsg_type_url\x18\x02 \x01(\t\x12)\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringB&Z$github.com/cosmos/cosmos-sdk/x/authzb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.event_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.event_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -30,8 +31,8 @@ _EVENTREVOKE.fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' _EVENTREVOKE.fields_by_name['grantee']._options = None _EVENTREVOKE.fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _EVENTGRANT._serialized_start=85 - _EVENTGRANT._serialized_end=205 - _EVENTREVOKE._serialized_start=207 - _EVENTREVOKE._serialized_end=328 + _globals['_EVENTGRANT']._serialized_start=85 + _globals['_EVENTGRANT']._serialized_end=205 + _globals['_EVENTREVOKE']._serialized_start=207 + _globals['_EVENTREVOKE']._serialized_end=328 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py index 4de3687a..879e7452 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/authz/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +18,15 @@ 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\"Z\n\x0cGenesisState\x12J\n\rauthorization\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42&Z$github.com/cosmos/cosmos-sdk/x/authzb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz' _GENESISSTATE.fields_by_name['authorization']._options = None _GENESISSTATE.fields_by_name['authorization']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _GENESISSTATE._serialized_start=135 - _GENESISSTATE._serialized_end=225 + _globals['_GENESISSTATE']._serialized_start=135 + _globals['_GENESISSTATE']._serialized_end=225 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py index fa3d182c..1a1aa732 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/authz/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +19,9 @@ 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\"\xbc\x01\n\x12QueryGrantsRequest\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x14\n\x0cmsg_type_url\x18\x03 \x01(\t\x12:\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x7f\n\x13QueryGrantsResponse\x12+\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmos.authz.v1beta1.Grant\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x82\x01\n\x19QueryGranterGrantsRequest\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x93\x01\n\x1aQueryGranterGrantsResponse\x12\x38\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorization\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x82\x01\n\x19QueryGranteeGrantsRequest\x12)\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x93\x01\n\x1aQueryGranteeGrantsResponse\x12\x38\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorization\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\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&Z$github.com/cosmos/cosmos-sdk/x/authzb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -39,18 +40,18 @@ _QUERY.methods_by_name['GranterGrants']._serialized_options = b'\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/granter/{granter}' _QUERY.methods_by_name['GranteeGrants']._options = None _QUERY.methods_by_name['GranteeGrants']._serialized_options = b'\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/grantee/{grantee}' - _QUERYGRANTSREQUEST._serialized_start=194 - _QUERYGRANTSREQUEST._serialized_end=382 - _QUERYGRANTSRESPONSE._serialized_start=384 - _QUERYGRANTSRESPONSE._serialized_end=511 - _QUERYGRANTERGRANTSREQUEST._serialized_start=514 - _QUERYGRANTERGRANTSREQUEST._serialized_end=644 - _QUERYGRANTERGRANTSRESPONSE._serialized_start=647 - _QUERYGRANTERGRANTSRESPONSE._serialized_end=794 - _QUERYGRANTEEGRANTSREQUEST._serialized_start=797 - _QUERYGRANTEEGRANTSREQUEST._serialized_end=927 - _QUERYGRANTEEGRANTSRESPONSE._serialized_start=930 - _QUERYGRANTEEGRANTSRESPONSE._serialized_end=1077 - _QUERY._serialized_start=1080 - _QUERY._serialized_end=1567 + _globals['_QUERYGRANTSREQUEST']._serialized_start=194 + _globals['_QUERYGRANTSREQUEST']._serialized_end=382 + _globals['_QUERYGRANTSRESPONSE']._serialized_start=384 + _globals['_QUERYGRANTSRESPONSE']._serialized_end=511 + _globals['_QUERYGRANTERGRANTSREQUEST']._serialized_start=514 + _globals['_QUERYGRANTERGRANTSREQUEST']._serialized_end=644 + _globals['_QUERYGRANTERGRANTSRESPONSE']._serialized_start=647 + _globals['_QUERYGRANTERGRANTSRESPONSE']._serialized_end=794 + _globals['_QUERYGRANTEEGRANTSREQUEST']._serialized_start=797 + _globals['_QUERYGRANTEEGRANTSREQUEST']._serialized_end=927 + _globals['_QUERYGRANTEEGRANTSRESPONSE']._serialized_start=930 + _globals['_QUERYGRANTEEGRANTSRESPONSE']._serialized_end=1077 + _globals['_QUERY']._serialized_start=1080 + _globals['_QUERY']._serialized_end=1567 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py index 22e38713..43fe867b 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/authz/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +21,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/authz/v1beta1/tx.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xbd\x01\n\x08MsgGrant\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x35\n\x05grant\x18\x03 \x01(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:$\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x13\x63osmos-sdk/MsgGrant\"\"\n\x0fMsgExecResponse\x12\x0f\n\x07results\x18\x01 \x03(\x0c\"\x9a\x01\n\x07MsgExec\x12)\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12?\n\x04msgs\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x1b\xca\xb4-\x17\x63osmos.base.v1beta1.Msg:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec\"\x12\n\x10MsgGrantResponse\"\x9e\x01\n\tMsgRevoke\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x14\n\x0cmsg_type_url\x18\x03 \x01(\t:%\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgRevoke\"\x13\n\x11MsgRevokeResponse2\xff\x01\n\x03Msg\x12O\n\x05Grant\x12\x1e.cosmos.authz.v1beta1.MsgGrant\x1a&.cosmos.authz.v1beta1.MsgGrantResponse\x12L\n\x04\x45xec\x12\x1d.cosmos.authz.v1beta1.MsgExec\x1a%.cosmos.authz.v1beta1.MsgExecResponse\x12R\n\x06Revoke\x12\x1f.cosmos.authz.v1beta1.MsgRevoke\x1a\'.cosmos.authz.v1beta1.MsgRevokeResponse\x1a\x05\x80\xe7\xb0*\x01\x42*Z$github.com/cosmos/cosmos-sdk/x/authz\xc8\xe1\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -49,18 +50,18 @@ _MSGREVOKE._serialized_options = b'\202\347\260*\007granter\212\347\260*\024cosmos-sdk/MsgRevoke' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGGRANT._serialized_start=210 - _MSGGRANT._serialized_end=399 - _MSGEXECRESPONSE._serialized_start=401 - _MSGEXECRESPONSE._serialized_end=435 - _MSGEXEC._serialized_start=438 - _MSGEXEC._serialized_end=592 - _MSGGRANTRESPONSE._serialized_start=594 - _MSGGRANTRESPONSE._serialized_end=612 - _MSGREVOKE._serialized_start=615 - _MSGREVOKE._serialized_end=773 - _MSGREVOKERESPONSE._serialized_start=775 - _MSGREVOKERESPONSE._serialized_end=794 - _MSG._serialized_start=797 - _MSG._serialized_end=1052 + _globals['_MSGGRANT']._serialized_start=210 + _globals['_MSGGRANT']._serialized_end=399 + _globals['_MSGEXECRESPONSE']._serialized_start=401 + _globals['_MSGEXECRESPONSE']._serialized_end=435 + _globals['_MSGEXEC']._serialized_start=438 + _globals['_MSGEXEC']._serialized_end=592 + _globals['_MSGGRANTRESPONSE']._serialized_start=594 + _globals['_MSGGRANTRESPONSE']._serialized_end=612 + _globals['_MSGREVOKE']._serialized_start=615 + _globals['_MSGREVOKE']._serialized_end=773 + _globals['_MSGREVOKERESPONSE']._serialized_start=775 + _globals['_MSGREVOKERESPONSE']._serialized_end=794 + _globals['_MSG']._serialized_start=797 + _globals['_MSG']._serialized_end=1052 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py index 7720c045..68000211 100644 --- a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py +++ b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/autocli/v1/options.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +15,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/autocli/v1/options.proto\x12\x11\x63osmos.autocli.v1\"\x84\x01\n\rModuleOptions\x12\x37\n\x02tx\x18\x01 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptor\x12:\n\x05query\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptor\"\xa3\x02\n\x18ServiceCommandDescriptor\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x41\n\x13rpc_command_options\x18\x02 \x03(\x0b\x32$.cosmos.autocli.v1.RpcCommandOptions\x12R\n\x0csub_commands\x18\x03 \x03(\x0b\x32<.cosmos.autocli.v1.ServiceCommandDescriptor.SubCommandsEntry\x1a_\n\x10SubCommandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptor:\x02\x38\x01\"\x9f\x03\n\x11RpcCommandOptions\x12\x12\n\nrpc_method\x18\x01 \x01(\t\x12\x0b\n\x03use\x18\x02 \x01(\t\x12\x0c\n\x04long\x18\x03 \x01(\t\x12\r\n\x05short\x18\x04 \x01(\t\x12\x0f\n\x07\x65xample\x18\x05 \x01(\t\x12\r\n\x05\x61lias\x18\x06 \x03(\t\x12\x13\n\x0bsuggest_for\x18\x07 \x03(\t\x12\x12\n\ndeprecated\x18\x08 \x01(\t\x12\x0f\n\x07version\x18\t \x01(\t\x12K\n\x0c\x66lag_options\x18\n \x03(\x0b\x32\x35.cosmos.autocli.v1.RpcCommandOptions.FlagOptionsEntry\x12\x43\n\x0fpositional_args\x18\x0b \x03(\x0b\x32*.cosmos.autocli.v1.PositionalArgDescriptor\x12\x0c\n\x04skip\x18\x0c \x01(\x08\x1aR\n\x10\x46lagOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.cosmos.autocli.v1.FlagOptions:\x02\x38\x01\"\xb4\x01\n\x0b\x46lagOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tshorthand\x18\x02 \x01(\t\x12\r\n\x05usage\x18\x03 \x01(\t\x12\x15\n\rdefault_value\x18\x04 \x01(\t\x12\x1c\n\x14no_opt_default_value\x18\x05 \x01(\t\x12\x12\n\ndeprecated\x18\x06 \x01(\t\x12\x1c\n\x14shorthand_deprecated\x18\x07 \x01(\t\x12\x0e\n\x06hidden\x18\x08 \x01(\x08\"?\n\x17PositionalArgDescriptor\x12\x13\n\x0bproto_field\x18\x01 \x01(\t\x12\x0f\n\x07varargs\x18\x02 \x01(\x08\x42+Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.options_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.options_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -25,18 +26,18 @@ _SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY._serialized_options = b'8\001' _RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY._options = None _RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY._serialized_options = b'8\001' - _MODULEOPTIONS._serialized_start=55 - _MODULEOPTIONS._serialized_end=187 - _SERVICECOMMANDDESCRIPTOR._serialized_start=190 - _SERVICECOMMANDDESCRIPTOR._serialized_end=481 - _SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY._serialized_start=386 - _SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY._serialized_end=481 - _RPCCOMMANDOPTIONS._serialized_start=484 - _RPCCOMMANDOPTIONS._serialized_end=899 - _RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY._serialized_start=817 - _RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY._serialized_end=899 - _FLAGOPTIONS._serialized_start=902 - _FLAGOPTIONS._serialized_end=1082 - _POSITIONALARGDESCRIPTOR._serialized_start=1084 - _POSITIONALARGDESCRIPTOR._serialized_end=1147 + _globals['_MODULEOPTIONS']._serialized_start=55 + _globals['_MODULEOPTIONS']._serialized_end=187 + _globals['_SERVICECOMMANDDESCRIPTOR']._serialized_start=190 + _globals['_SERVICECOMMANDDESCRIPTOR']._serialized_end=481 + _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_start=386 + _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_end=481 + _globals['_RPCCOMMANDOPTIONS']._serialized_start=484 + _globals['_RPCCOMMANDOPTIONS']._serialized_end=899 + _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_start=817 + _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_end=899 + _globals['_FLAGOPTIONS']._serialized_start=902 + _globals['_FLAGOPTIONS']._serialized_end=1082 + _globals['_POSITIONALARGDESCRIPTOR']._serialized_start=1084 + _globals['_POSITIONALARGDESCRIPTOR']._serialized_end=1147 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/autocli/v1/query_pb2.py b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py index 970a702a..8519a94c 100644 --- a/pyinjective/proto/cosmos/autocli/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/autocli/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ 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\"\xbe\x01\n\x12\x41ppOptionsResponse\x12P\n\x0emodule_options\x18\x01 \x03(\x0b\x32\x38.cosmos.autocli.v1.AppOptionsResponse.ModuleOptionsEntry\x1aV\n\x12ModuleOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .cosmos.autocli.v1.ModuleOptions:\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+Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -27,12 +28,12 @@ _APPOPTIONSRESPONSE_MODULEOPTIONSENTRY._serialized_options = b'8\001' _QUERY.methods_by_name['AppOptions']._options = None _QUERY.methods_by_name['AppOptions']._serialized_options = b'\210\347\260*\000' - _APPOPTIONSREQUEST._serialized_start=114 - _APPOPTIONSREQUEST._serialized_end=133 - _APPOPTIONSRESPONSE._serialized_start=136 - _APPOPTIONSRESPONSE._serialized_end=326 - _APPOPTIONSRESPONSE_MODULEOPTIONSENTRY._serialized_start=240 - _APPOPTIONSRESPONSE_MODULEOPTIONSENTRY._serialized_end=326 - _QUERY._serialized_start=328 - _QUERY._serialized_end=433 + _globals['_APPOPTIONSREQUEST']._serialized_start=114 + _globals['_APPOPTIONSREQUEST']._serialized_end=133 + _globals['_APPOPTIONSRESPONSE']._serialized_start=136 + _globals['_APPOPTIONSRESPONSE']._serialized_end=326 + _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_start=240 + _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_end=326 + _globals['_QUERY']._serialized_start=328 + _globals['_QUERY']._serialized_end=433 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py index ba20b4e7..57d1eb74 100644 --- a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/bank/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"r\n\x06Module\x12(\n blocked_module_accounts_override\x18\x01 \x03(\t\x12\x11\n\tauthority\x18\x02 \x01(\t:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/bankb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/bank' - _MODULE._serialized_start=95 - _MODULE._serialized_end=209 + _globals['_MODULE']._serialized_start=95 + _globals['_MODULE']._serialized_end=209 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py index 8ee0e3e2..79baf82d 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/bank/v1beta1/authz.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +17,21 @@ from 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\"\xf1\x01\n\x11SendAuthorization\x12\x65\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12,\n\nallow_list\x18\x02 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:G\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1c\x63osmos-sdk/SendAuthorizationB+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\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\"\xf1\x01\n\x11SendAuthorization\x12\x65\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12,\n\nallow_list\x18\x02 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:G\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1c\x63osmos-sdk/SendAuthorizationB+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.authz_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' _SENDAUTHORIZATION.fields_by_name['spend_limit']._options = None - _SENDAUTHORIZATION.fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _SENDAUTHORIZATION.fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _SENDAUTHORIZATION.fields_by_name['allow_list']._options = None _SENDAUTHORIZATION.fields_by_name['allow_list']._serialized_options = b'\322\264-\024cosmos.AddressString' _SENDAUTHORIZATION._options = None _SENDAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\034cosmos-sdk/SendAuthorization' - _SENDAUTHORIZATION._serialized_start=157 - _SENDAUTHORIZATION._serialized_end=398 + _globals['_SENDAUTHORIZATION']._serialized_start=157 + _globals['_SENDAUTHORIZATION']._serialized_end=398 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py index 961965fa..760bfbfa 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/bank/v1beta1/bank.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +18,11 @@ from 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\"\x85\x01\n\x06Params\x12:\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\x02\x18\x01\x12\x1c\n\x14\x64\x65\x66\x61ult_send_enabled\x18\x02 \x01(\x08:!\x8a\xe7\xb0*\x18\x63osmos-sdk/x/bank/Params\x98\xa0\x1f\x00\"7\n\x0bSendEnabled\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08:\x08\xe8\xa0\x1f\x01\x98\xa0\x1f\x00\"\xa9\x01\n\x05Input\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12_\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:\x14\x82\xe7\xb0*\x07\x61\x64\x64ress\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x9e\x01\n\x06Output\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12_\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x94\x01\n\x06Supply\x12_\n\x05total\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:)\x18\x01\xe8\xa0\x1f\x01\x88\xa0\x1f\x00\xca\xb4-\x1b\x63osmos.bank.v1beta1.SupplyI\"=\n\tDenomUnit\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x10\n\x08\x65xponent\x18\x02 \x01(\r\x12\x0f\n\x07\x61liases\x18\x03 \x03(\t\"\xc6\x01\n\x08Metadata\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x33\n\x0b\x64\x65nom_units\x18\x02 \x03(\x0b\x32\x1e.cosmos.bank.v1beta1.DenomUnit\x12\x0c\n\x04\x62\x61se\x18\x03 \x01(\t\x12\x0f\n\x07\x64isplay\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x0e\n\x06symbol\x18\x06 \x01(\t\x12\x14\n\x03uri\x18\x07 \x01(\tB\x07\xe2\xde\x1f\x03URI\x12\x1d\n\x08uri_hash\x18\x08 \x01(\tB\x0b\xe2\xde\x1f\x07URIHashB+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\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\"\x85\x01\n\x06Params\x12:\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\x02\x18\x01\x12\x1c\n\x14\x64\x65\x66\x61ult_send_enabled\x18\x02 \x01(\x08:!\x98\xa0\x1f\x00\x8a\xe7\xb0*\x18\x63osmos-sdk/x/bank/Params\"7\n\x0bSendEnabled\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\"\xa9\x01\n\x05Input\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12_\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\x14\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x07\x61\x64\x64ress\"\x9e\x01\n\x06Output\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12_\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x94\x01\n\x06Supply\x12_\n\x05total\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:)\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1b\x63osmos.bank.v1beta1.SupplyI\"=\n\tDenomUnit\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x10\n\x08\x65xponent\x18\x02 \x01(\r\x12\x0f\n\x07\x61liases\x18\x03 \x03(\t\"\xc6\x01\n\x08Metadata\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x33\n\x0b\x64\x65nom_units\x18\x02 \x03(\x0b\x32\x1e.cosmos.bank.v1beta1.DenomUnit\x12\x0c\n\x04\x62\x61se\x18\x03 \x01(\t\x12\x0f\n\x07\x64isplay\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x0e\n\x06symbol\x18\x06 \x01(\t\x12\x14\n\x03uri\x18\x07 \x01(\tB\x07\xe2\xde\x1f\x03URI\x12\x1d\n\x08uri_hash\x18\x08 \x01(\tB\x0b\xe2\xde\x1f\x07URIHashB+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.bank_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.bank_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -29,41 +30,41 @@ _PARAMS.fields_by_name['send_enabled']._options = None _PARAMS.fields_by_name['send_enabled']._serialized_options = b'\030\001' _PARAMS._options = None - _PARAMS._serialized_options = b'\212\347\260*\030cosmos-sdk/x/bank/Params\230\240\037\000' + _PARAMS._serialized_options = b'\230\240\037\000\212\347\260*\030cosmos-sdk/x/bank/Params' _SENDENABLED._options = None - _SENDENABLED._serialized_options = b'\350\240\037\001\230\240\037\000' + _SENDENABLED._serialized_options = b'\230\240\037\000\350\240\037\001' _INPUT.fields_by_name['address']._options = None _INPUT.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _INPUT.fields_by_name['coins']._options = None - _INPUT.fields_by_name['coins']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _INPUT.fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _INPUT._options = None - _INPUT._serialized_options = b'\202\347\260*\007address\350\240\037\000\210\240\037\000' + _INPUT._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\007address' _OUTPUT.fields_by_name['address']._options = None _OUTPUT.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _OUTPUT.fields_by_name['coins']._options = None - _OUTPUT.fields_by_name['coins']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _OUTPUT.fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _OUTPUT._options = None - _OUTPUT._serialized_options = b'\350\240\037\000\210\240\037\000' + _OUTPUT._serialized_options = b'\210\240\037\000\350\240\037\000' _SUPPLY.fields_by_name['total']._options = None - _SUPPLY.fields_by_name['total']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _SUPPLY.fields_by_name['total']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _SUPPLY._options = None - _SUPPLY._serialized_options = b'\030\001\350\240\037\001\210\240\037\000\312\264-\033cosmos.bank.v1beta1.SupplyI' + _SUPPLY._serialized_options = b'\030\001\210\240\037\000\350\240\037\001\312\264-\033cosmos.bank.v1beta1.SupplyI' _METADATA.fields_by_name['uri']._options = None _METADATA.fields_by_name['uri']._serialized_options = b'\342\336\037\003URI' _METADATA.fields_by_name['uri_hash']._options = None _METADATA.fields_by_name['uri_hash']._serialized_options = b'\342\336\037\007URIHash' - _PARAMS._serialized_start=181 - _PARAMS._serialized_end=314 - _SENDENABLED._serialized_start=316 - _SENDENABLED._serialized_end=371 - _INPUT._serialized_start=374 - _INPUT._serialized_end=543 - _OUTPUT._serialized_start=546 - _OUTPUT._serialized_end=704 - _SUPPLY._serialized_start=707 - _SUPPLY._serialized_end=855 - _DENOMUNIT._serialized_start=857 - _DENOMUNIT._serialized_end=918 - _METADATA._serialized_start=921 - _METADATA._serialized_end=1119 + _globals['_PARAMS']._serialized_start=181 + _globals['_PARAMS']._serialized_end=314 + _globals['_SENDENABLED']._serialized_start=316 + _globals['_SENDENABLED']._serialized_end=371 + _globals['_INPUT']._serialized_start=374 + _globals['_INPUT']._serialized_end=543 + _globals['_OUTPUT']._serialized_start=546 + _globals['_OUTPUT']._serialized_end=704 + _globals['_SUPPLY']._serialized_start=707 + _globals['_SUPPLY']._serialized_end=855 + _globals['_DENOMUNIT']._serialized_start=857 + _globals['_DENOMUNIT']._serialized_end=918 + _globals['_METADATA']._serialized_start=921 + _globals['_METADATA']._serialized_end=1119 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py index 33509408..bafaa68e 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/bank/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +18,11 @@ from 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\"\xe8\x02\n\x0cGenesisState\x12\x36\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x39\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x1c.cosmos.bank.v1beta1.BalanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12`\n\x06supply\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12@\n\x0e\x64\x65nom_metadata\x18\x04 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x41\n\x0csend_enabled\x18\x05 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x9f\x01\n\x07\x42\x61lance\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12_\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x42+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\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\"\xe8\x02\n\x0cGenesisState\x12\x36\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x39\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x1c.cosmos.bank.v1beta1.BalanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12`\n\x06supply\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*\x01\x12@\n\x0e\x64\x65nom_metadata\x18\x04 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x41\n\x0csend_enabled\x18\x05 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x9f\x01\n\x07\x42\x61lance\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12_\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -31,7 +32,7 @@ _GENESISSTATE.fields_by_name['balances']._options = None _GENESISSTATE.fields_by_name['balances']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE.fields_by_name['supply']._options = None - _GENESISSTATE.fields_by_name['supply']._serialized_options = b'\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\310\336\037\000\250\347\260*\001' + _GENESISSTATE.fields_by_name['supply']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _GENESISSTATE.fields_by_name['denom_metadata']._options = None _GENESISSTATE.fields_by_name['denom_metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE.fields_by_name['send_enabled']._options = None @@ -39,11 +40,11 @@ _BALANCE.fields_by_name['address']._options = None _BALANCE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _BALANCE.fields_by_name['coins']._options = None - _BALANCE.fields_by_name['coins']._serialized_options = b'\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\310\336\037\000\250\347\260*\001' + _BALANCE.fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _BALANCE._options = None - _BALANCE._serialized_options = b'\350\240\037\000\210\240\037\000' - _GENESISSTATE._serialized_start=191 - _GENESISSTATE._serialized_end=551 - _BALANCE._serialized_start=554 - _BALANCE._serialized_end=713 + _BALANCE._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_GENESISSTATE']._serialized_start=191 + _globals['_GENESISSTATE']._serialized_end=551 + _globals['_BALANCE']._serialized_start=554 + _globals['_BALANCE']._serialized_end=713 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py index 85e167f7..f1c7d726 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/bank/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +21,11 @@ from 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\"Y\n\x13QueryBalanceRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"B\n\x14QueryBalanceResponse\x12*\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.Coin\"\x8a\x01\n\x17QueryAllBalancesRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xbb\x01\n\x18QueryAllBalancesResponse\x12\x62\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x90\x01\n\x1dQuerySpendableBalancesRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xc1\x01\n\x1eQuerySpendableBalancesResponse\x12\x62\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"i\n#QuerySpendableBalanceByDenomRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"R\n$QuerySpendableBalanceByDenomResponse\x12*\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.Coin\"_\n\x17QueryTotalSupplyRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xb9\x01\n\x18QueryTotalSupplyResponse\x12`\n\x06supply\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"%\n\x14QuerySupplyOfRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"M\n\x15QuerySupplyOfResponse\x12\x34\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x14\n\x12QueryParamsRequest\"M\n\x13QueryParamsResponse\x12\x36\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"X\n\x1aQueryDenomsMetadataRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x97\x01\n\x1bQueryDenomsMetadataResponse\x12;\n\tmetadatas\x18\x01 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"*\n\x19QueryDenomMetadataRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"X\n\x1aQueryDenomMetadataResponse\x12:\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"d\n\x17QueryDenomOwnersRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"n\n\nDenomOwner\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x35\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8e\x01\n\x18QueryDenomOwnersResponse\x12\x35\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwner\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"e\n\x17QuerySendEnabledRequest\x12\x0e\n\x06\x64\x65noms\x18\x01 \x03(\t\x12:\n\npagination\x18\x63 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x8f\x01\n\x18QuerySendEnabledResponse\x12\x36\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabled\x12;\n\npagination\x18\x63 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xb2\x0e\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\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\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+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\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\"Y\n\x13QueryBalanceRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"B\n\x14QueryBalanceResponse\x12*\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.Coin\"\x8a\x01\n\x17QueryAllBalancesRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbb\x01\n\x18QueryAllBalancesResponse\x12\x62\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x90\x01\n\x1dQuerySpendableBalancesRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc1\x01\n\x1eQuerySpendableBalancesResponse\x12\x62\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"i\n#QuerySpendableBalanceByDenomRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"R\n$QuerySpendableBalanceByDenomResponse\x12*\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.Coin\"_\n\x17QueryTotalSupplyRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb9\x01\n\x18QueryTotalSupplyResponse\x12`\n\x06supply\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"%\n\x14QuerySupplyOfRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"M\n\x15QuerySupplyOfResponse\x12\x34\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x14\n\x12QueryParamsRequest\"M\n\x13QueryParamsResponse\x12\x36\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"X\n\x1aQueryDenomsMetadataRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x97\x01\n\x1bQueryDenomsMetadataResponse\x12;\n\tmetadatas\x18\x01 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"*\n\x19QueryDenomMetadataRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"X\n\x1aQueryDenomMetadataResponse\x12:\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"d\n\x17QueryDenomOwnersRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"n\n\nDenomOwner\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x35\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8e\x01\n\x18QueryDenomOwnersResponse\x12\x35\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwner\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"e\n\x17QuerySendEnabledRequest\x12\x0e\n\x06\x64\x65noms\x18\x01 \x03(\t\x12:\n\npagination\x18\x63 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x8f\x01\n\x18QuerySendEnabledResponse\x12\x36\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabled\x12;\n\npagination\x18\x63 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xb2\x0e\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\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\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+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -32,27 +33,27 @@ _QUERYBALANCEREQUEST.fields_by_name['address']._options = None _QUERYBALANCEREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYBALANCEREQUEST._options = None - _QUERYBALANCEREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYBALANCEREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYALLBALANCESREQUEST.fields_by_name['address']._options = None _QUERYALLBALANCESREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYALLBALANCESREQUEST._options = None - _QUERYALLBALANCESREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYALLBALANCESREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYALLBALANCESRESPONSE.fields_by_name['balances']._options = None - _QUERYALLBALANCESRESPONSE.fields_by_name['balances']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _QUERYALLBALANCESRESPONSE.fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _QUERYSPENDABLEBALANCESREQUEST.fields_by_name['address']._options = None _QUERYSPENDABLEBALANCESREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYSPENDABLEBALANCESREQUEST._options = None - _QUERYSPENDABLEBALANCESREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYSPENDABLEBALANCESREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYSPENDABLEBALANCESRESPONSE.fields_by_name['balances']._options = None - _QUERYSPENDABLEBALANCESRESPONSE.fields_by_name['balances']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _QUERYSPENDABLEBALANCESRESPONSE.fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _QUERYSPENDABLEBALANCEBYDENOMREQUEST.fields_by_name['address']._options = None _QUERYSPENDABLEBALANCEBYDENOMREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYSPENDABLEBALANCEBYDENOMREQUEST._options = None - _QUERYSPENDABLEBALANCEBYDENOMREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYSPENDABLEBALANCEBYDENOMREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYTOTALSUPPLYREQUEST._options = None - _QUERYTOTALSUPPLYREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYTOTALSUPPLYREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYTOTALSUPPLYRESPONSE.fields_by_name['supply']._options = None - _QUERYTOTALSUPPLYRESPONSE.fields_by_name['supply']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _QUERYTOTALSUPPLYRESPONSE.fields_by_name['supply']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _QUERYSUPPLYOFRESPONSE.fields_by_name['amount']._options = None _QUERYSUPPLYOFRESPONSE.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' _QUERYPARAMSRESPONSE.fields_by_name['params']._options = None @@ -87,52 +88,52 @@ _QUERY.methods_by_name['DenomOwners']._serialized_options = b'\210\347\260*\001\202\323\344\223\002+\022)/cosmos/bank/v1beta1/denom_owners/{denom}' _QUERY.methods_by_name['SendEnabled']._options = None _QUERY.methods_by_name['SendEnabled']._serialized_options = b'\210\347\260*\001\202\323\344\223\002#\022!/cosmos/bank/v1beta1/send_enabled' - _QUERYBALANCEREQUEST._serialized_start=291 - _QUERYBALANCEREQUEST._serialized_end=380 - _QUERYBALANCERESPONSE._serialized_start=382 - _QUERYBALANCERESPONSE._serialized_end=448 - _QUERYALLBALANCESREQUEST._serialized_start=451 - _QUERYALLBALANCESREQUEST._serialized_end=589 - _QUERYALLBALANCESRESPONSE._serialized_start=592 - _QUERYALLBALANCESRESPONSE._serialized_end=779 - _QUERYSPENDABLEBALANCESREQUEST._serialized_start=782 - _QUERYSPENDABLEBALANCESREQUEST._serialized_end=926 - _QUERYSPENDABLEBALANCESRESPONSE._serialized_start=929 - _QUERYSPENDABLEBALANCESRESPONSE._serialized_end=1122 - _QUERYSPENDABLEBALANCEBYDENOMREQUEST._serialized_start=1124 - _QUERYSPENDABLEBALANCEBYDENOMREQUEST._serialized_end=1229 - _QUERYSPENDABLEBALANCEBYDENOMRESPONSE._serialized_start=1231 - _QUERYSPENDABLEBALANCEBYDENOMRESPONSE._serialized_end=1313 - _QUERYTOTALSUPPLYREQUEST._serialized_start=1315 - _QUERYTOTALSUPPLYREQUEST._serialized_end=1410 - _QUERYTOTALSUPPLYRESPONSE._serialized_start=1413 - _QUERYTOTALSUPPLYRESPONSE._serialized_end=1598 - _QUERYSUPPLYOFREQUEST._serialized_start=1600 - _QUERYSUPPLYOFREQUEST._serialized_end=1637 - _QUERYSUPPLYOFRESPONSE._serialized_start=1639 - _QUERYSUPPLYOFRESPONSE._serialized_end=1716 - _QUERYPARAMSREQUEST._serialized_start=1718 - _QUERYPARAMSREQUEST._serialized_end=1738 - _QUERYPARAMSRESPONSE._serialized_start=1740 - _QUERYPARAMSRESPONSE._serialized_end=1817 - _QUERYDENOMSMETADATAREQUEST._serialized_start=1819 - _QUERYDENOMSMETADATAREQUEST._serialized_end=1907 - _QUERYDENOMSMETADATARESPONSE._serialized_start=1910 - _QUERYDENOMSMETADATARESPONSE._serialized_end=2061 - _QUERYDENOMMETADATAREQUEST._serialized_start=2063 - _QUERYDENOMMETADATAREQUEST._serialized_end=2105 - _QUERYDENOMMETADATARESPONSE._serialized_start=2107 - _QUERYDENOMMETADATARESPONSE._serialized_end=2195 - _QUERYDENOMOWNERSREQUEST._serialized_start=2197 - _QUERYDENOMOWNERSREQUEST._serialized_end=2297 - _DENOMOWNER._serialized_start=2299 - _DENOMOWNER._serialized_end=2409 - _QUERYDENOMOWNERSRESPONSE._serialized_start=2412 - _QUERYDENOMOWNERSRESPONSE._serialized_end=2554 - _QUERYSENDENABLEDREQUEST._serialized_start=2556 - _QUERYSENDENABLEDREQUEST._serialized_end=2657 - _QUERYSENDENABLEDRESPONSE._serialized_start=2660 - _QUERYSENDENABLEDRESPONSE._serialized_end=2803 - _QUERY._serialized_start=2806 - _QUERY._serialized_end=4648 + _globals['_QUERYBALANCEREQUEST']._serialized_start=291 + _globals['_QUERYBALANCEREQUEST']._serialized_end=380 + _globals['_QUERYBALANCERESPONSE']._serialized_start=382 + _globals['_QUERYBALANCERESPONSE']._serialized_end=448 + _globals['_QUERYALLBALANCESREQUEST']._serialized_start=451 + _globals['_QUERYALLBALANCESREQUEST']._serialized_end=589 + _globals['_QUERYALLBALANCESRESPONSE']._serialized_start=592 + _globals['_QUERYALLBALANCESRESPONSE']._serialized_end=779 + _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_start=782 + _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_end=926 + _globals['_QUERYSPENDABLEBALANCESRESPONSE']._serialized_start=929 + _globals['_QUERYSPENDABLEBALANCESRESPONSE']._serialized_end=1122 + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_start=1124 + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_end=1229 + _globals['_QUERYSPENDABLEBALANCEBYDENOMRESPONSE']._serialized_start=1231 + _globals['_QUERYSPENDABLEBALANCEBYDENOMRESPONSE']._serialized_end=1313 + _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_start=1315 + _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_end=1410 + _globals['_QUERYTOTALSUPPLYRESPONSE']._serialized_start=1413 + _globals['_QUERYTOTALSUPPLYRESPONSE']._serialized_end=1598 + _globals['_QUERYSUPPLYOFREQUEST']._serialized_start=1600 + _globals['_QUERYSUPPLYOFREQUEST']._serialized_end=1637 + _globals['_QUERYSUPPLYOFRESPONSE']._serialized_start=1639 + _globals['_QUERYSUPPLYOFRESPONSE']._serialized_end=1716 + _globals['_QUERYPARAMSREQUEST']._serialized_start=1718 + _globals['_QUERYPARAMSREQUEST']._serialized_end=1738 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=1740 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=1817 + _globals['_QUERYDENOMSMETADATAREQUEST']._serialized_start=1819 + _globals['_QUERYDENOMSMETADATAREQUEST']._serialized_end=1907 + _globals['_QUERYDENOMSMETADATARESPONSE']._serialized_start=1910 + _globals['_QUERYDENOMSMETADATARESPONSE']._serialized_end=2061 + _globals['_QUERYDENOMMETADATAREQUEST']._serialized_start=2063 + _globals['_QUERYDENOMMETADATAREQUEST']._serialized_end=2105 + _globals['_QUERYDENOMMETADATARESPONSE']._serialized_start=2107 + _globals['_QUERYDENOMMETADATARESPONSE']._serialized_end=2195 + _globals['_QUERYDENOMOWNERSREQUEST']._serialized_start=2197 + _globals['_QUERYDENOMOWNERSREQUEST']._serialized_end=2297 + _globals['_DENOMOWNER']._serialized_start=2299 + _globals['_DENOMOWNER']._serialized_end=2409 + _globals['_QUERYDENOMOWNERSRESPONSE']._serialized_start=2412 + _globals['_QUERYDENOMOWNERSRESPONSE']._serialized_end=2554 + _globals['_QUERYSENDENABLEDREQUEST']._serialized_start=2556 + _globals['_QUERYSENDENABLEDREQUEST']._serialized_end=2657 + _globals['_QUERYSENDENABLEDRESPONSE']._serialized_start=2660 + _globals['_QUERYSENDENABLEDRESPONSE']._serialized_end=2803 + _globals['_QUERY']._serialized_start=2806 + _globals['_QUERY']._serialized_end=4648 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py index e906a27a..64ec0800 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/bank/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +19,11 @@ from 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\"\xfb\x01\n\x07MsgSend\x12.\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12,\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12`\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:0\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgSend\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x11\n\x0fMsgSendResponse\"\xab\x01\n\x0cMsgMultiSend\x12\x35\n\x06inputs\x18\x01 \x03(\x0b\x32\x1a.cosmos.bank.v1beta1.InputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x37\n\x07outputs\x18\x02 \x03(\x0b\x32\x1b.cosmos.bank.v1beta1.OutputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06inputs\x8a\xe7\xb0*\x17\x63osmos-sdk/MsgMultiSend\xe8\xa0\x1f\x00\"\x16\n\x14MsgMultiSendResponse\"\xac\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/bank/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xc2\x01\n\x11MsgSetSendEnabled\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x0csend_enabled\x18\x02 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabled\x12\x17\n\x0fuse_default_for\x18\x03 \x03(\t:/\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+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\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\"\xfb\x01\n\x07MsgSend\x12.\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12,\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12`\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*\x01: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\"\xab\x01\n\x0cMsgMultiSend\x12\x35\n\x06inputs\x18\x01 \x03(\x0b\x32\x1a.cosmos.bank.v1beta1.InputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x37\n\x07outputs\x18\x02 \x03(\x0b\x32\x1b.cosmos.bank.v1beta1.OutputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:+\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06inputs\x8a\xe7\xb0*\x17\x63osmos-sdk/MsgMultiSend\"\x16\n\x14MsgMultiSendResponse\"\xac\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/bank/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xc2\x01\n\x11MsgSetSendEnabled\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x0csend_enabled\x18\x02 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabled\x12\x17\n\x0fuse_default_for\x18\x03 \x03(\t:/\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+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -32,15 +33,15 @@ _MSGSEND.fields_by_name['to_address']._options = None _MSGSEND.fields_by_name['to_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSEND.fields_by_name['amount']._options = None - _MSGSEND.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGSEND.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' _MSGSEND._options = None - _MSGSEND._serialized_options = b'\202\347\260*\014from_address\212\347\260*\022cosmos-sdk/MsgSend\350\240\037\000\210\240\037\000' + _MSGSEND._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\014from_address\212\347\260*\022cosmos-sdk/MsgSend' _MSGMULTISEND.fields_by_name['inputs']._options = None _MSGMULTISEND.fields_by_name['inputs']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGMULTISEND.fields_by_name['outputs']._options = None _MSGMULTISEND.fields_by_name['outputs']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGMULTISEND._options = None - _MSGMULTISEND._serialized_options = b'\202\347\260*\006inputs\212\347\260*\027cosmos-sdk/MsgMultiSend\350\240\037\000' + _MSGMULTISEND._serialized_options = b'\350\240\037\000\202\347\260*\006inputs\212\347\260*\027cosmos-sdk/MsgMultiSend' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEPARAMS.fields_by_name['params']._options = None @@ -53,22 +54,22 @@ _MSGSETSENDENABLED._serialized_options = b'\202\347\260*\tauthority\212\347\260*\034cosmos-sdk/MsgSetSendEnabled' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGSEND._serialized_start=211 - _MSGSEND._serialized_end=462 - _MSGSENDRESPONSE._serialized_start=464 - _MSGSENDRESPONSE._serialized_end=481 - _MSGMULTISEND._serialized_start=484 - _MSGMULTISEND._serialized_end=655 - _MSGMULTISENDRESPONSE._serialized_start=657 - _MSGMULTISENDRESPONSE._serialized_end=679 - _MSGUPDATEPARAMS._serialized_start=682 - _MSGUPDATEPARAMS._serialized_end=854 - _MSGUPDATEPARAMSRESPONSE._serialized_start=856 - _MSGUPDATEPARAMSRESPONSE._serialized_end=881 - _MSGSETSENDENABLED._serialized_start=884 - _MSGSETSENDENABLED._serialized_end=1078 - _MSGSETSENDENABLEDRESPONSE._serialized_start=1080 - _MSGSETSENDENABLEDRESPONSE._serialized_end=1107 - _MSG._serialized_start=1110 - _MSG._serialized_end=1495 + _globals['_MSGSEND']._serialized_start=211 + _globals['_MSGSEND']._serialized_end=462 + _globals['_MSGSENDRESPONSE']._serialized_start=464 + _globals['_MSGSENDRESPONSE']._serialized_end=481 + _globals['_MSGMULTISEND']._serialized_start=484 + _globals['_MSGMULTISEND']._serialized_end=655 + _globals['_MSGMULTISENDRESPONSE']._serialized_start=657 + _globals['_MSGMULTISENDRESPONSE']._serialized_end=679 + _globals['_MSGUPDATEPARAMS']._serialized_start=682 + _globals['_MSGUPDATEPARAMS']._serialized_end=854 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=856 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=881 + _globals['_MSGSETSENDENABLED']._serialized_start=884 + _globals['_MSGSETSENDENABLED']._serialized_end=1078 + _globals['_MSGSETSENDENABLEDRESPONSE']._serialized_start=1080 + _globals['_MSGSETSENDENABLEDRESPONSE']._serialized_end=1107 + _globals['_MSG']._serialized_start=1110 + _globals['_MSG']._serialized_end=1495 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py index 9d815abd..66bfb3d0 100644 --- a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py +++ b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/base/abci/v1beta1/abci.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +16,11 @@ 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\x19google/protobuf/any.proto\"\xe6\x02\n\nTxResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x1a\n\x06txhash\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06TxHash\x12\x11\n\tcodespace\x18\x03 \x01(\t\x12\x0c\n\x04\x63ode\x18\x04 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\t\x12\x0f\n\x07raw_log\x18\x06 \x01(\t\x12O\n\x04logs\x18\x07 \x03(\x0b\x32(.cosmos.base.abci.v1beta1.ABCIMessageLogB\x17\xaa\xdf\x1f\x0f\x41\x42\x43IMessageLogs\xc8\xde\x1f\x00\x12\x0c\n\x04info\x18\x08 \x01(\t\x12\x12\n\ngas_wanted\x18\t \x01(\x03\x12\x10\n\x08gas_used\x18\n \x01(\x03\x12 \n\x02tx\x18\x0b \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\ttimestamp\x18\x0c \x01(\t\x12,\n\x06\x65vents\x18\r \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00:\x04\x88\xa0\x1f\x00\"\x92\x01\n\x0e\x41\x42\x43IMessageLog\x12 \n\tmsg_index\x18\x01 \x01(\rB\r\xea\xde\x1f\tmsg_index\x12\x0b\n\x03log\x18\x02 \x01(\t\x12K\n\x06\x65vents\x18\x03 \x03(\x0b\x32%.cosmos.base.abci.v1beta1.StringEventB\x14\xaa\xdf\x1f\x0cStringEvents\xc8\xde\x1f\x00:\x04\x80\xdc \x01\"`\n\x0bStringEvent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12=\n\nattributes\x18\x02 \x03(\x0b\x32#.cosmos.base.abci.v1beta1.AttributeB\x04\xc8\xde\x1f\x00:\x04\x80\xdc \x01\"\'\n\tAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"/\n\x07GasInfo\x12\x12\n\ngas_wanted\x18\x01 \x01(\x04\x12\x10\n\x08gas_used\x18\x02 \x01(\x04\"\x88\x01\n\x06Result\x12\x10\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x02\x18\x01\x12\x0b\n\x03log\x18\x02 \x01(\t\x12,\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00\x12+\n\rmsg_responses\x18\x04 \x03(\x0b\x32\x14.google.protobuf.Any:\x04\x88\xa0\x1f\x00\"\x85\x01\n\x12SimulationResponse\x12=\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoB\x08\xd0\xde\x1f\x01\xc8\xde\x1f\x00\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.Result\"1\n\x07MsgData\x12\x10\n\x08msg_type\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c:\x06\x18\x01\x80\xdc \x01\"s\n\tTxMsgData\x12\x33\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32!.cosmos.base.abci.v1beta1.MsgDataB\x02\x18\x01\x12+\n\rmsg_responses\x18\x02 \x03(\x0b\x32\x14.google.protobuf.Any:\x04\x80\xdc \x01\"\xa6\x01\n\x0fSearchTxsResult\x12\x13\n\x0btotal_count\x18\x01 \x01(\x04\x12\r\n\x05\x63ount\x18\x02 \x01(\x04\x12\x13\n\x0bpage_number\x18\x03 \x01(\x04\x12\x12\n\npage_total\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x04\x12\x31\n\x03txs\x18\x06 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponse:\x04\x80\xdc \x01\x42(Z\"github.com/cosmos/cosmos-sdk/types\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\x19google/protobuf/any.proto\"\xe6\x02\n\nTxResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x1a\n\x06txhash\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06TxHash\x12\x11\n\tcodespace\x18\x03 \x01(\t\x12\x0c\n\x04\x63ode\x18\x04 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\t\x12\x0f\n\x07raw_log\x18\x06 \x01(\t\x12O\n\x04logs\x18\x07 \x03(\x0b\x32(.cosmos.base.abci.v1beta1.ABCIMessageLogB\x17\xc8\xde\x1f\x00\xaa\xdf\x1f\x0f\x41\x42\x43IMessageLogs\x12\x0c\n\x04info\x18\x08 \x01(\t\x12\x12\n\ngas_wanted\x18\t \x01(\x03\x12\x10\n\x08gas_used\x18\n \x01(\x03\x12 \n\x02tx\x18\x0b \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\ttimestamp\x18\x0c \x01(\t\x12,\n\x06\x65vents\x18\r \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00:\x04\x88\xa0\x1f\x00\"\x92\x01\n\x0e\x41\x42\x43IMessageLog\x12 \n\tmsg_index\x18\x01 \x01(\rB\r\xea\xde\x1f\tmsg_index\x12\x0b\n\x03log\x18\x02 \x01(\t\x12K\n\x06\x65vents\x18\x03 \x03(\x0b\x32%.cosmos.base.abci.v1beta1.StringEventB\x14\xc8\xde\x1f\x00\xaa\xdf\x1f\x0cStringEvents:\x04\x80\xdc \x01\"`\n\x0bStringEvent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12=\n\nattributes\x18\x02 \x03(\x0b\x32#.cosmos.base.abci.v1beta1.AttributeB\x04\xc8\xde\x1f\x00:\x04\x80\xdc \x01\"\'\n\tAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"/\n\x07GasInfo\x12\x12\n\ngas_wanted\x18\x01 \x01(\x04\x12\x10\n\x08gas_used\x18\x02 \x01(\x04\"\x88\x01\n\x06Result\x12\x10\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x02\x18\x01\x12\x0b\n\x03log\x18\x02 \x01(\t\x12,\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00\x12+\n\rmsg_responses\x18\x04 \x03(\x0b\x32\x14.google.protobuf.Any:\x04\x88\xa0\x1f\x00\"\x85\x01\n\x12SimulationResponse\x12=\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoB\x08\xc8\xde\x1f\x00\xd0\xde\x1f\x01\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.Result\"1\n\x07MsgData\x12\x10\n\x08msg_type\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c:\x06\x18\x01\x80\xdc \x01\"s\n\tTxMsgData\x12\x33\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32!.cosmos.base.abci.v1beta1.MsgDataB\x02\x18\x01\x12+\n\rmsg_responses\x18\x02 \x03(\x0b\x32\x14.google.protobuf.Any:\x04\x80\xdc \x01\"\xa6\x01\n\x0fSearchTxsResult\x12\x13\n\x0btotal_count\x18\x01 \x01(\x04\x12\r\n\x05\x63ount\x18\x02 \x01(\x04\x12\x13\n\x0bpage_number\x18\x03 \x01(\x04\x12\x12\n\npage_total\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x04\x12\x31\n\x03txs\x18\x06 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponse:\x04\x80\xdc \x01\x42(Z\"github.com/cosmos/cosmos-sdk/types\xd8\xe1\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.abci.v1beta1.abci_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.abci.v1beta1.abci_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -27,7 +28,7 @@ _TXRESPONSE.fields_by_name['txhash']._options = None _TXRESPONSE.fields_by_name['txhash']._serialized_options = b'\342\336\037\006TxHash' _TXRESPONSE.fields_by_name['logs']._options = None - _TXRESPONSE.fields_by_name['logs']._serialized_options = b'\252\337\037\017ABCIMessageLogs\310\336\037\000' + _TXRESPONSE.fields_by_name['logs']._serialized_options = b'\310\336\037\000\252\337\037\017ABCIMessageLogs' _TXRESPONSE.fields_by_name['events']._options = None _TXRESPONSE.fields_by_name['events']._serialized_options = b'\310\336\037\000' _TXRESPONSE._options = None @@ -35,7 +36,7 @@ _ABCIMESSAGELOG.fields_by_name['msg_index']._options = None _ABCIMESSAGELOG.fields_by_name['msg_index']._serialized_options = b'\352\336\037\tmsg_index' _ABCIMESSAGELOG.fields_by_name['events']._options = None - _ABCIMESSAGELOG.fields_by_name['events']._serialized_options = b'\252\337\037\014StringEvents\310\336\037\000' + _ABCIMESSAGELOG.fields_by_name['events']._serialized_options = b'\310\336\037\000\252\337\037\014StringEvents' _ABCIMESSAGELOG._options = None _ABCIMESSAGELOG._serialized_options = b'\200\334 \001' _STRINGEVENT.fields_by_name['attributes']._options = None @@ -49,7 +50,7 @@ _RESULT._options = None _RESULT._serialized_options = b'\210\240\037\000' _SIMULATIONRESPONSE.fields_by_name['gas_info']._options = None - _SIMULATIONRESPONSE.fields_by_name['gas_info']._serialized_options = b'\320\336\037\001\310\336\037\000' + _SIMULATIONRESPONSE.fields_by_name['gas_info']._serialized_options = b'\310\336\037\000\320\336\037\001' _MSGDATA._options = None _MSGDATA._serialized_options = b'\030\001\200\334 \001' _TXMSGDATA.fields_by_name['data']._options = None @@ -58,24 +59,24 @@ _TXMSGDATA._serialized_options = b'\200\334 \001' _SEARCHTXSRESULT._options = None _SEARCHTXSRESULT._serialized_options = b'\200\334 \001' - _TXRESPONSE._serialized_start=144 - _TXRESPONSE._serialized_end=502 - _ABCIMESSAGELOG._serialized_start=505 - _ABCIMESSAGELOG._serialized_end=651 - _STRINGEVENT._serialized_start=653 - _STRINGEVENT._serialized_end=749 - _ATTRIBUTE._serialized_start=751 - _ATTRIBUTE._serialized_end=790 - _GASINFO._serialized_start=792 - _GASINFO._serialized_end=839 - _RESULT._serialized_start=842 - _RESULT._serialized_end=978 - _SIMULATIONRESPONSE._serialized_start=981 - _SIMULATIONRESPONSE._serialized_end=1114 - _MSGDATA._serialized_start=1116 - _MSGDATA._serialized_end=1165 - _TXMSGDATA._serialized_start=1167 - _TXMSGDATA._serialized_end=1282 - _SEARCHTXSRESULT._serialized_start=1285 - _SEARCHTXSRESULT._serialized_end=1451 + _globals['_TXRESPONSE']._serialized_start=144 + _globals['_TXRESPONSE']._serialized_end=502 + _globals['_ABCIMESSAGELOG']._serialized_start=505 + _globals['_ABCIMESSAGELOG']._serialized_end=651 + _globals['_STRINGEVENT']._serialized_start=653 + _globals['_STRINGEVENT']._serialized_end=749 + _globals['_ATTRIBUTE']._serialized_start=751 + _globals['_ATTRIBUTE']._serialized_end=790 + _globals['_GASINFO']._serialized_start=792 + _globals['_GASINFO']._serialized_end=839 + _globals['_RESULT']._serialized_start=842 + _globals['_RESULT']._serialized_end=978 + _globals['_SIMULATIONRESPONSE']._serialized_start=981 + _globals['_SIMULATIONRESPONSE']._serialized_end=1114 + _globals['_MSGDATA']._serialized_start=1116 + _globals['_MSGDATA']._serialized_end=1165 + _globals['_TXMSGDATA']._serialized_start=1167 + _globals['_TXMSGDATA']._serialized_end=1282 + _globals['_SEARCHTXSRESULT']._serialized_start=1285 + _globals['_SEARCHTXSRESULT']._serialized_end=1451 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py b/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py index ada5ce5d..d47908b3 100644 --- a/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py +++ b/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/base/kv/v1beta1/kv.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,17 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/base/kv/v1beta1/kv.proto\x12\x16\x63osmos.base.kv.v1beta1\x1a\x14gogoproto/gogo.proto\":\n\x05Pairs\x12\x31\n\x05pairs\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.kv.v1beta1.PairB\x04\xc8\xde\x1f\x00\"\"\n\x04Pair\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x42\'Z%github.com/cosmos/cosmos-sdk/types/kvb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.kv.v1beta1.kv_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.kv.v1beta1.kv_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z%github.com/cosmos/cosmos-sdk/types/kv' _PAIRS.fields_by_name['pairs']._options = None _PAIRS.fields_by_name['pairs']._serialized_options = b'\310\336\037\000' - _PAIRS._serialized_start=81 - _PAIRS._serialized_end=139 - _PAIR._serialized_start=141 - _PAIR._serialized_end=175 + _globals['_PAIRS']._serialized_start=81 + _globals['_PAIRS']._serialized_end=139 + _globals['_PAIR']._serialized_start=141 + _globals['_PAIR']._serialized_end=175 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py index 0b45398e..a415d342 100644 --- a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/base/node/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,19 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/base/node/v1beta1/query.proto\x12\x18\x63osmos.base.node.v1beta1\x1a\x1cgoogle/api/annotations.proto\"\x0f\n\rConfigRequest\"+\n\x0e\x43onfigResponse\x12\x19\n\x11minimum_gas_price\x18\x01 \x01(\t2\x91\x01\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/configB/Z-github.com/cosmos/cosmos-sdk/client/grpc/nodeb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.node.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.node.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z-github.com/cosmos/cosmos-sdk/client/grpc/node' _SERVICE.methods_by_name['Config']._options = None _SERVICE.methods_by_name['Config']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/base/node/v1beta1/config' - _CONFIGREQUEST._serialized_start=96 - _CONFIGREQUEST._serialized_end=111 - _CONFIGRESPONSE._serialized_start=113 - _CONFIGRESPONSE._serialized_end=156 - _SERVICE._serialized_start=159 - _SERVICE._serialized_end=304 + _globals['_CONFIGREQUEST']._serialized_start=96 + _globals['_CONFIGREQUEST']._serialized_end=111 + _globals['_CONFIGRESPONSE']._serialized_start=113 + _globals['_CONFIGRESPONSE']._serialized_end=156 + _globals['_SERVICE']._serialized_start=159 + _globals['_SERVICE']._serialized_end=304 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py index 8be9734d..f961950d 100644 --- a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py +++ b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/base/query/v1beta1/pagination.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,15 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/base/query/v1beta1/pagination.proto\x12\x19\x63osmos.base.query.v1beta1\"_\n\x0bPageRequest\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x04\x12\x13\n\x0b\x63ount_total\x18\x04 \x01(\x08\x12\x0f\n\x07reverse\x18\x05 \x01(\x08\"/\n\x0cPageResponse\x12\x10\n\x08next_key\x18\x01 \x01(\x0c\x12\r\n\x05total\x18\x02 \x01(\x04\x42*Z(github.com/cosmos/cosmos-sdk/types/queryb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.query.v1beta1.pagination_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.query.v1beta1.pagination_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z(github.com/cosmos/cosmos-sdk/types/query' - _PAGEREQUEST._serialized_start=73 - _PAGEREQUEST._serialized_end=168 - _PAGERESPONSE._serialized_start=170 - _PAGERESPONSE._serialized_end=217 + _globals['_PAGEREQUEST']._serialized_start=73 + _globals['_PAGEREQUEST']._serialized_end=168 + _globals['_PAGERESPONSE']._serialized_start=170 + _globals['_PAGERESPONSE']._serialized_end=217 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py index 5ba91ff7..021ea02a 100644 --- a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/base/reflection/v1beta1/reflection.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ 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\"4\n\x19ListAllInterfacesResponse\x12\x17\n\x0finterface_names\x18\x01 \x03(\t\"4\n\x1aListImplementationsRequest\x12\x16\n\x0einterface_name\x18\x01 \x01(\t\"C\n\x1bListImplementationsResponse\x12$\n\x1cimplementation_message_names\x18\x01 \x03(\t2\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}/implementationsB5Z3github.com/cosmos/cosmos-sdk/client/grpc/reflectionb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.reflection.v1beta1.reflection_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.reflection.v1beta1.reflection_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -26,14 +27,14 @@ _REFLECTIONSERVICE.methods_by_name['ListAllInterfaces']._serialized_options = b'\202\323\344\223\002,\022*/cosmos/base/reflection/v1beta1/interfaces' _REFLECTIONSERVICE.methods_by_name['ListImplementations']._options = None _REFLECTIONSERVICE.methods_by_name['ListImplementations']._serialized_options = b'\202\323\344\223\002M\022K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementations' - _LISTALLINTERFACESREQUEST._serialized_start=113 - _LISTALLINTERFACESREQUEST._serialized_end=139 - _LISTALLINTERFACESRESPONSE._serialized_start=141 - _LISTALLINTERFACESRESPONSE._serialized_end=193 - _LISTIMPLEMENTATIONSREQUEST._serialized_start=195 - _LISTIMPLEMENTATIONSREQUEST._serialized_end=247 - _LISTIMPLEMENTATIONSRESPONSE._serialized_start=249 - _LISTIMPLEMENTATIONSRESPONSE._serialized_end=316 - _REFLECTIONSERVICE._serialized_start=319 - _REFLECTIONSERVICE._serialized_end=759 + _globals['_LISTALLINTERFACESREQUEST']._serialized_start=113 + _globals['_LISTALLINTERFACESREQUEST']._serialized_end=139 + _globals['_LISTALLINTERFACESRESPONSE']._serialized_start=141 + _globals['_LISTALLINTERFACESRESPONSE']._serialized_end=193 + _globals['_LISTIMPLEMENTATIONSREQUEST']._serialized_start=195 + _globals['_LISTIMPLEMENTATIONSREQUEST']._serialized_end=247 + _globals['_LISTIMPLEMENTATIONSRESPONSE']._serialized_start=249 + _globals['_LISTIMPLEMENTATIONSRESPONSE']._serialized_end=316 + _globals['_REFLECTIONSERVICE']._serialized_start=319 + _globals['_REFLECTIONSERVICE']._serialized_end=759 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py index 62dc94b1..e0854c3e 100644 --- a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/base/reflection/v2alpha1/reflection.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0cosmos/base/reflection/v2alpha1/reflection.proto\x12\x1f\x63osmos.base.reflection.v2alpha1\x1a\x1cgoogle/api/annotations.proto\"\xb0\x03\n\rAppDescriptor\x12?\n\x05\x61uthn\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.AuthnDescriptor\x12?\n\x05\x63hain\x18\x02 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.ChainDescriptor\x12?\n\x05\x63odec\x18\x03 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.CodecDescriptor\x12O\n\rconfiguration\x18\x04 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor\x12P\n\x0equery_services\x18\x05 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor\x12\x39\n\x02tx\x18\x06 \x01(\x0b\x32-.cosmos.base.reflection.v2alpha1.TxDescriptor\"^\n\x0cTxDescriptor\x12\x10\n\x08\x66ullname\x18\x01 \x01(\t\x12<\n\x04msgs\x18\x02 \x03(\x0b\x32..cosmos.base.reflection.v2alpha1.MsgDescriptor\"]\n\x0f\x41uthnDescriptor\x12J\n\nsign_modes\x18\x01 \x03(\x0b\x32\x36.cosmos.base.reflection.v2alpha1.SigningModeDescriptor\"b\n\x15SigningModeDescriptor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x02 \x01(\x05\x12+\n#authn_info_provider_method_fullname\x18\x03 \x01(\t\"\x1d\n\x0f\x43hainDescriptor\x12\n\n\x02id\x18\x01 \x01(\t\"[\n\x0f\x43odecDescriptor\x12H\n\ninterfaces\x18\x01 \x03(\x0b\x32\x34.cosmos.base.reflection.v2alpha1.InterfaceDescriptor\"\xf4\x01\n\x13InterfaceDescriptor\x12\x10\n\x08\x66ullname\x18\x01 \x01(\t\x12j\n\x1cinterface_accepting_messages\x18\x02 \x03(\x0b\x32\x44.cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor\x12_\n\x16interface_implementers\x18\x03 \x03(\x0b\x32?.cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor\"D\n\x1eInterfaceImplementerDescriptor\x12\x10\n\x08\x66ullname\x18\x01 \x01(\t\x12\x10\n\x08type_url\x18\x02 \x01(\t\"W\n#InterfaceAcceptingMessageDescriptor\x12\x10\n\x08\x66ullname\x18\x01 \x01(\t\x12\x1e\n\x16\x66ield_descriptor_names\x18\x02 \x03(\t\"@\n\x17\x43onfigurationDescriptor\x12%\n\x1d\x62\x65\x63h32_account_address_prefix\x18\x01 \x01(\t\"%\n\rMsgDescriptor\x12\x14\n\x0cmsg_type_url\x18\x01 \x01(\t\"\x1b\n\x19GetAuthnDescriptorRequest\"]\n\x1aGetAuthnDescriptorResponse\x12?\n\x05\x61uthn\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.AuthnDescriptor\"\x1b\n\x19GetChainDescriptorRequest\"]\n\x1aGetChainDescriptorResponse\x12?\n\x05\x63hain\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.ChainDescriptor\"\x1b\n\x19GetCodecDescriptorRequest\"]\n\x1aGetCodecDescriptorResponse\x12?\n\x05\x63odec\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.CodecDescriptor\"#\n!GetConfigurationDescriptorRequest\"n\n\"GetConfigurationDescriptorResponse\x12H\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.ConfigurationDescriptor\"#\n!GetQueryServicesDescriptorRequest\"o\n\"GetQueryServicesDescriptorResponse\x12I\n\x07queries\x18\x01 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.QueryServicesDescriptor\"\x18\n\x16GetTxDescriptorRequest\"T\n\x17GetTxDescriptorResponse\x12\x39\n\x02tx\x18\x01 \x01(\x0b\x32-.cosmos.base.reflection.v2alpha1.TxDescriptor\"j\n\x17QueryServicesDescriptor\x12O\n\x0equery_services\x18\x01 \x03(\x0b\x32\x37.cosmos.base.reflection.v2alpha1.QueryServiceDescriptor\"\x86\x01\n\x16QueryServiceDescriptor\x12\x10\n\x08\x66ullname\x18\x01 \x01(\t\x12\x11\n\tis_module\x18\x02 \x01(\x08\x12G\n\x07methods\x18\x03 \x03(\x0b\x32\x36.cosmos.base.reflection.v2alpha1.QueryMethodDescriptor\">\n\x15QueryMethodDescriptor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x0f\x66ull_query_path\x18\x02 \x01(\t2\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\x12Z\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_queryB4Z2github.com/cosmos/cosmos-sdk/client/grpc/tmserviceb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -49,44 +50,44 @@ _SERVICE.methods_by_name['GetValidatorSetByHeight']._serialized_options = b'\202\323\344\223\0028\0226/cosmos/base/tendermint/v1beta1/validatorsets/{height}' _SERVICE.methods_by_name['ABCIQuery']._options = None _SERVICE.methods_by_name['ABCIQuery']._serialized_options = b'\202\323\344\223\002,\022*/cosmos/base/tendermint/v1beta1/abci_query' - _GETVALIDATORSETBYHEIGHTREQUEST._serialized_start=379 - _GETVALIDATORSETBYHEIGHTREQUEST._serialized_end=487 - _GETVALIDATORSETBYHEIGHTRESPONSE._serialized_start=490 - _GETVALIDATORSETBYHEIGHTRESPONSE._serialized_end=669 - _GETLATESTVALIDATORSETREQUEST._serialized_start=671 - _GETLATESTVALIDATORSETREQUEST._serialized_end=761 - _GETLATESTVALIDATORSETRESPONSE._serialized_start=764 - _GETLATESTVALIDATORSETRESPONSE._serialized_end=941 - _VALIDATOR._serialized_start=944 - _VALIDATOR._serialized_end=1086 - _GETBLOCKBYHEIGHTREQUEST._serialized_start=1088 - _GETBLOCKBYHEIGHTREQUEST._serialized_end=1129 - _GETBLOCKBYHEIGHTRESPONSE._serialized_start=1132 - _GETBLOCKBYHEIGHTRESPONSE._serialized_end=1301 - _GETLATESTBLOCKREQUEST._serialized_start=1303 - _GETLATESTBLOCKREQUEST._serialized_end=1326 - _GETLATESTBLOCKRESPONSE._serialized_start=1329 - _GETLATESTBLOCKRESPONSE._serialized_end=1496 - _GETSYNCINGREQUEST._serialized_start=1498 - _GETSYNCINGREQUEST._serialized_end=1517 - _GETSYNCINGRESPONSE._serialized_start=1519 - _GETSYNCINGRESPONSE._serialized_end=1556 - _GETNODEINFOREQUEST._serialized_start=1558 - _GETNODEINFOREQUEST._serialized_end=1578 - _GETNODEINFORESPONSE._serialized_start=1581 - _GETNODEINFORESPONSE._serialized_end=1736 - _VERSIONINFO._serialized_start=1739 - _VERSIONINFO._serialized_end=1949 - _MODULE._serialized_start=1951 - _MODULE._serialized_end=2003 - _ABCIQUERYREQUEST._serialized_start=2005 - _ABCIQUERYREQUEST._serialized_end=2082 - _ABCIQUERYRESPONSE._serialized_start=2085 - _ABCIQUERYRESPONSE._serialized_end=2290 - _PROOFOP._serialized_start=2292 - _PROOFOP._serialized_end=2342 - _PROOFOPS._serialized_start=2344 - _PROOFOPS._serialized_end=2419 - _SERVICE._serialized_start=2422 - _SERVICE._serialized_end=3749 + _globals['_GETVALIDATORSETBYHEIGHTREQUEST']._serialized_start=379 + _globals['_GETVALIDATORSETBYHEIGHTREQUEST']._serialized_end=487 + _globals['_GETVALIDATORSETBYHEIGHTRESPONSE']._serialized_start=490 + _globals['_GETVALIDATORSETBYHEIGHTRESPONSE']._serialized_end=669 + _globals['_GETLATESTVALIDATORSETREQUEST']._serialized_start=671 + _globals['_GETLATESTVALIDATORSETREQUEST']._serialized_end=761 + _globals['_GETLATESTVALIDATORSETRESPONSE']._serialized_start=764 + _globals['_GETLATESTVALIDATORSETRESPONSE']._serialized_end=941 + _globals['_VALIDATOR']._serialized_start=944 + _globals['_VALIDATOR']._serialized_end=1086 + _globals['_GETBLOCKBYHEIGHTREQUEST']._serialized_start=1088 + _globals['_GETBLOCKBYHEIGHTREQUEST']._serialized_end=1129 + _globals['_GETBLOCKBYHEIGHTRESPONSE']._serialized_start=1132 + _globals['_GETBLOCKBYHEIGHTRESPONSE']._serialized_end=1301 + _globals['_GETLATESTBLOCKREQUEST']._serialized_start=1303 + _globals['_GETLATESTBLOCKREQUEST']._serialized_end=1326 + _globals['_GETLATESTBLOCKRESPONSE']._serialized_start=1329 + _globals['_GETLATESTBLOCKRESPONSE']._serialized_end=1496 + _globals['_GETSYNCINGREQUEST']._serialized_start=1498 + _globals['_GETSYNCINGREQUEST']._serialized_end=1517 + _globals['_GETSYNCINGRESPONSE']._serialized_start=1519 + _globals['_GETSYNCINGRESPONSE']._serialized_end=1556 + _globals['_GETNODEINFOREQUEST']._serialized_start=1558 + _globals['_GETNODEINFOREQUEST']._serialized_end=1578 + _globals['_GETNODEINFORESPONSE']._serialized_start=1581 + _globals['_GETNODEINFORESPONSE']._serialized_end=1736 + _globals['_VERSIONINFO']._serialized_start=1739 + _globals['_VERSIONINFO']._serialized_end=1949 + _globals['_MODULE']._serialized_start=1951 + _globals['_MODULE']._serialized_end=2003 + _globals['_ABCIQUERYREQUEST']._serialized_start=2005 + _globals['_ABCIQUERYREQUEST']._serialized_end=2082 + _globals['_ABCIQUERYRESPONSE']._serialized_start=2085 + _globals['_ABCIQUERYRESPONSE']._serialized_end=2290 + _globals['_PROOFOP']._serialized_start=2292 + _globals['_PROOFOP']._serialized_end=2342 + _globals['_PROOFOPS']._serialized_start=2344 + _globals['_PROOFOPS']._serialized_end=2419 + _globals['_SERVICE']._serialized_start=2422 + _globals['_SERVICE']._serialized_end=3749 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py index 71a20a65..22ac944d 100644 --- a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py +++ b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/base/tendermint/v1beta1/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +19,11 @@ from 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\"\xe7\x01\n\x05\x42lock\x12\x41\n\x06header\x18\x01 \x01(\x0b\x32&.cosmos.base.tendermint.v1beta1.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12/\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12-\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.Commit\"\xc2\x03\n\x06Header\x12\x39\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x37\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01\x12;\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\tB4Z2github.com/cosmos/cosmos-sdk/client/grpc/tmserviceb\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\"\xe7\x01\n\x05\x42lock\x12\x41\n\x06header\x18\x01 \x01(\x0b\x32&.cosmos.base.tendermint.v1beta1.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12/\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12-\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.Commit\"\xc2\x03\n\x06Header\x12\x39\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x37\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12;\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\tB4Z2github.com/cosmos/cosmos-sdk/client/grpc/tmserviceb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -38,11 +39,11 @@ _HEADER.fields_by_name['chain_id']._options = None _HEADER.fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' _HEADER.fields_by_name['time']._options = None - _HEADER.fields_by_name['time']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _HEADER.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _HEADER.fields_by_name['last_block_id']._options = None _HEADER.fields_by_name['last_block_id']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _BLOCK._serialized_start=248 - _BLOCK._serialized_end=479 - _HEADER._serialized_start=482 - _HEADER._serialized_end=932 + _globals['_BLOCK']._serialized_start=248 + _globals['_BLOCK']._serialized_end=479 + _globals['_HEADER']._serialized_start=482 + _globals['_HEADER']._serialized_end=932 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py index 88751479..05807c58 100644 --- a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py +++ b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/base/v1beta1/coin.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,33 @@ from 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\"K\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12.\n\x06\x61mount\x18\x02 \x01(\tB\x1e\xd2\xb4-\ncosmos.Int\xda\xde\x1f\x03Int\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01\"I\n\x07\x44\x65\x63\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12)\n\x06\x61mount\x18\x02 \x01(\tB\x19\xd2\xb4-\ncosmos.Dec\xda\xde\x1f\x03\x44\x65\x63\xc8\xde\x1f\x00:\x04\xe8\xa0\x1f\x01\"2\n\x08IntProto\x12&\n\x03int\x18\x01 \x01(\tB\x19\xd2\xb4-\ncosmos.Int\xda\xde\x1f\x03Int\xc8\xde\x1f\x00\"2\n\x08\x44\x65\x63Proto\x12&\n\x03\x64\x65\x63\x18\x01 \x01(\tB\x19\xd2\xb4-\ncosmos.Dec\xda\xde\x1f\x03\x44\x65\x63\xc8\xde\x1f\x00\x42,Z\"github.com/cosmos/cosmos-sdk/types\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\"K\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12.\n\x06\x61mount\x18\x02 \x01(\tB\x1e\xc8\xde\x1f\x00\xda\xde\x1f\x03Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01\"I\n\x07\x44\x65\x63\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12)\n\x06\x61mount\x18\x02 \x01(\tB\x19\xc8\xde\x1f\x00\xda\xde\x1f\x03\x44\x65\x63\xd2\xb4-\ncosmos.Dec:\x04\xe8\xa0\x1f\x01\"2\n\x08IntProto\x12&\n\x03int\x18\x01 \x01(\tB\x19\xc8\xde\x1f\x00\xda\xde\x1f\x03Int\xd2\xb4-\ncosmos.Int\"2\n\x08\x44\x65\x63Proto\x12&\n\x03\x64\x65\x63\x18\x01 \x01(\tB\x19\xc8\xde\x1f\x00\xda\xde\x1f\x03\x44\x65\x63\xd2\xb4-\ncosmos.DecB,Z\"github.com/cosmos/cosmos-sdk/types\xd8\xe1\x1e\x00\x80\xe2\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.v1beta1.coin_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.v1beta1.coin_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\"github.com/cosmos/cosmos-sdk/types\330\341\036\000\200\342\036\000' _COIN.fields_by_name['amount']._options = None - _COIN.fields_by_name['amount']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037\003Int\310\336\037\000\250\347\260*\001' + _COIN.fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\003Int\322\264-\ncosmos.Int\250\347\260*\001' _COIN._options = None _COIN._serialized_options = b'\350\240\037\001' _DECCOIN.fields_by_name['amount']._options = None - _DECCOIN.fields_by_name['amount']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037\003Dec\310\336\037\000' + _DECCOIN.fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\003Dec\322\264-\ncosmos.Dec' _DECCOIN._options = None _DECCOIN._serialized_options = b'\350\240\037\001' _INTPROTO.fields_by_name['int']._options = None - _INTPROTO.fields_by_name['int']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037\003Int\310\336\037\000' + _INTPROTO.fields_by_name['int']._serialized_options = b'\310\336\037\000\332\336\037\003Int\322\264-\ncosmos.Int' _DECPROTO.fields_by_name['dec']._options = None - _DECPROTO.fields_by_name['dec']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037\003Dec\310\336\037\000' - _COIN._serialized_start=123 - _COIN._serialized_end=198 - _DECCOIN._serialized_start=200 - _DECCOIN._serialized_end=273 - _INTPROTO._serialized_start=275 - _INTPROTO._serialized_end=325 - _DECPROTO._serialized_start=327 - _DECPROTO._serialized_end=377 + _DECPROTO.fields_by_name['dec']._serialized_options = b'\310\336\037\000\332\336\037\003Dec\322\264-\ncosmos.Dec' + _globals['_COIN']._serialized_start=123 + _globals['_COIN']._serialized_end=198 + _globals['_DECCOIN']._serialized_start=200 + _globals['_DECCOIN']._serialized_end=273 + _globals['_INTPROTO']._serialized_start=275 + _globals['_INTPROTO']._serialized_end=325 + _globals['_DECPROTO']._serialized_start=327 + _globals['_DECPROTO']._serialized_end=377 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/capability/module/v1/module_pb2.py b/pyinjective/proto/cosmos/capability/module/v1/module_pb2.py index 257bbf10..ccdbb8a1 100644 --- a/pyinjective/proto/cosmos/capability/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/capability/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/capability/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(cosmos/capability/module/v1/module.proto\x12\x1b\x63osmos.capability.module.v1\x1a cosmos/app/v1alpha1/module.proto\"P\n\x06Module\x12\x13\n\x0bseal_keeper\x18\x01 \x01(\x08:1\xba\xc0\x96\xda\x01+\n)github.com/cosmos/cosmos-sdk/x/capabilityb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.capability.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.capability.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001+\n)github.com/cosmos/cosmos-sdk/x/capability' - _MODULE._serialized_start=107 - _MODULE._serialized_end=187 + _globals['_MODULE']._serialized_start=107 + _globals['_MODULE']._serialized_end=187 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/capability/v1beta1/capability_pb2.py b/pyinjective/proto/cosmos/capability/v1beta1/capability_pb2.py index 580344fd..9bb9f628 100644 --- a/pyinjective/proto/cosmos/capability/v1beta1/capability_pb2.py +++ b/pyinjective/proto/cosmos/capability/v1beta1/capability_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/capability/v1beta1/capability.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +15,11 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/capability/v1beta1/capability.proto\x12\x19\x63osmos.capability.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"!\n\nCapability\x12\r\n\x05index\x18\x01 \x01(\x04:\x04\x98\xa0\x1f\x00\"/\n\x05Owner\x12\x0e\n\x06module\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t:\x08\x98\xa0\x1f\x00\x88\xa0\x1f\x00\"O\n\x10\x43\x61pabilityOwners\x12;\n\x06owners\x18\x01 \x03(\x0b\x32 .cosmos.capability.v1beta1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x31Z/github.com/cosmos/cosmos-sdk/x/capability/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/capability/v1beta1/capability.proto\x12\x19\x63osmos.capability.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"!\n\nCapability\x12\r\n\x05index\x18\x01 \x01(\x04:\x04\x98\xa0\x1f\x00\"/\n\x05Owner\x12\x0e\n\x06module\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"O\n\x10\x43\x61pabilityOwners\x12;\n\x06owners\x18\x01 \x03(\x0b\x32 .cosmos.capability.v1beta1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x31Z/github.com/cosmos/cosmos-sdk/x/capability/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.capability.v1beta1.capability_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.capability.v1beta1.capability_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -26,13 +27,13 @@ _CAPABILITY._options = None _CAPABILITY._serialized_options = b'\230\240\037\000' _OWNER._options = None - _OWNER._serialized_options = b'\230\240\037\000\210\240\037\000' + _OWNER._serialized_options = b'\210\240\037\000\230\240\037\000' _CAPABILITYOWNERS.fields_by_name['owners']._options = None _CAPABILITYOWNERS.fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _CAPABILITY._serialized_start=114 - _CAPABILITY._serialized_end=147 - _OWNER._serialized_start=149 - _OWNER._serialized_end=196 - _CAPABILITYOWNERS._serialized_start=198 - _CAPABILITYOWNERS._serialized_end=277 + _globals['_CAPABILITY']._serialized_start=114 + _globals['_CAPABILITY']._serialized_end=147 + _globals['_OWNER']._serialized_start=149 + _globals['_OWNER']._serialized_end=196 + _globals['_CAPABILITYOWNERS']._serialized_start=198 + _globals['_CAPABILITYOWNERS']._serialized_end=277 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/capability/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/capability/v1beta1/genesis_pb2.py index 1b189f29..4db9a78e 100644 --- a/pyinjective/proto/cosmos/capability/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/capability/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/capability/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +18,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/capability/v1beta1/genesis.proto\x12\x19\x63osmos.capability.v1beta1\x1a\x14gogoproto/gogo.proto\x1a*cosmos/capability/v1beta1/capability.proto\x1a\x11\x61mino/amino.proto\"l\n\rGenesisOwners\x12\r\n\x05index\x18\x01 \x01(\x04\x12L\n\x0cindex_owners\x18\x02 \x01(\x0b\x32+.cosmos.capability.v1beta1.CapabilityOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"b\n\x0cGenesisState\x12\r\n\x05index\x18\x01 \x01(\x04\x12\x43\n\x06owners\x18\x02 \x03(\x0b\x32(.cosmos.capability.v1beta1.GenesisOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x31Z/github.com/cosmos/cosmos-sdk/x/capability/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.capability.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.capability.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -28,8 +29,8 @@ _GENESISOWNERS.fields_by_name['index_owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE.fields_by_name['owners']._options = None _GENESISSTATE.fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _GENESISOWNERS._serialized_start=155 - _GENESISOWNERS._serialized_end=263 - _GENESISSTATE._serialized_start=265 - _GENESISSTATE._serialized_end=363 + _globals['_GENESISOWNERS']._serialized_start=155 + _globals['_GENESISOWNERS']._serialized_end=263 + _globals['_GENESISSTATE']._serialized_start=265 + _globals['_GENESISSTATE']._serialized_end=363 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py index d7832ad3..8e4d00d7 100644 --- a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/consensus/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"M\n\x06Module\x12\x11\n\tauthority\x18\x01 \x01(\t:0\xba\xc0\x96\xda\x01*\n(github.com/cosmos/cosmos-sdk/x/consensusb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001*\n(github.com/cosmos/cosmos-sdk/x/consensus' - _MODULE._serialized_start=105 - _MODULE._serialized_end=182 + _globals['_MODULE']._serialized_start=105 + _globals['_MODULE']._serialized_end=182 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/v1/query_pb2.py b/pyinjective/proto/cosmos/consensus/v1/query_pb2.py index c96989a8..1e923002 100644 --- a/pyinjective/proto/cosmos/consensus/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/consensus/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/consensus/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +17,19 @@ 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\"H\n\x13QueryParamsResponse\x12\x31\n\x06params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParams2\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/paramsB0Z.github.com/cosmos/cosmos-sdk/x/consensus/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z.github.com/cosmos/cosmos-sdk/x/consensus/types' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/consensus/v1/params' - _QUERYPARAMSREQUEST._serialized_start=117 - _QUERYPARAMSREQUEST._serialized_end=137 - _QUERYPARAMSRESPONSE._serialized_start=139 - _QUERYPARAMSRESPONSE._serialized_end=211 - _QUERY._serialized_start=214 - _QUERY._serialized_end=352 + _globals['_QUERYPARAMSREQUEST']._serialized_start=117 + _globals['_QUERYPARAMSREQUEST']._serialized_end=137 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=139 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=211 + _globals['_QUERY']._serialized_start=214 + _globals['_QUERY']._serialized_end=352 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py b/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py index 5c60ea6d..d0484d3b 100644 --- a/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py +++ b/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/consensus/v1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +18,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/consensus/v1/tx.proto\x12\x13\x63osmos.consensus.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1dtendermint/types/params.proto\"\xe6\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12,\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x1d.tendermint.types.BlockParams\x12\x32\n\x08\x65vidence\x18\x03 \x01(\x0b\x32 .tendermint.types.EvidenceParams\x12\x34\n\tvalidator\x18\x04 \x01(\x0b\x32!.tendermint.types.ValidatorParams:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2i\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.consensus.v1.MsgUpdateParams\x1a,.cosmos.consensus.v1.MsgUpdateParamsResponseB0Z.github.com/cosmos/cosmos-sdk/x/consensus/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -28,10 +29,10 @@ _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEPARAMS._options = None _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' - _MSGUPDATEPARAMS._serialized_start=137 - _MSGUPDATEPARAMS._serialized_end=367 - _MSGUPDATEPARAMSRESPONSE._serialized_start=369 - _MSGUPDATEPARAMSRESPONSE._serialized_end=394 - _MSG._serialized_start=396 - _MSG._serialized_end=501 + _globals['_MSGUPDATEPARAMS']._serialized_start=137 + _globals['_MSGUPDATEPARAMS']._serialized_end=367 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=369 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=394 + _globals['_MSG']._serialized_start=396 + _globals['_MSG']._serialized_end=501 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py index 7ea4435b..066d394c 100644 --- a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/crisis/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"f\n\x06Module\x12\x1a\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t:-\xba\xc0\x96\xda\x01\'\n%github.com/cosmos/cosmos-sdk/x/crisisb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/crisis' - _MODULE._serialized_start=99 - _MODULE._serialized_end=201 + _globals['_MODULE']._serialized_start=99 + _globals['_MODULE']._serialized_end=201 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py index 02943d2b..e7e8be19 100644 --- a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/crisis/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +18,15 @@ 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\"J\n\x0cGenesisState\x12:\n\x0c\x63onstant_fee\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42-Z+github.com/cosmos/cosmos-sdk/x/crisis/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z+github.com/cosmos/cosmos-sdk/x/crisis/types' _GENESISSTATE.fields_by_name['constant_fee']._options = None _GENESISSTATE.fields_by_name['constant_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _GENESISSTATE._serialized_start=135 - _GENESISSTATE._serialized_end=209 + _globals['_GENESISSTATE']._serialized_start=135 + _globals['_GENESISSTATE']._serialized_end=209 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py index 27e474a7..0ec820dc 100644 --- a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/crisis/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +18,11 @@ from 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\"\xad\x01\n\x12MsgVerifyInvariant\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1d\n\x15invariant_module_name\x18\x02 \x01(\t\x12\x17\n\x0finvariant_route\x18\x03 \x01(\t:5\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgVerifyInvariant\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1c\n\x1aMsgVerifyInvariantResponse\"\xb2\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\x0c\x63onstant_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01: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-Z+github.com/cosmos/cosmos-sdk/x/crisis/typesb\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\"\xad\x01\n\x12MsgVerifyInvariant\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1d\n\x15invariant_module_name\x18\x02 \x01(\t\x12\x17\n\x0finvariant_route\x18\x03 \x01(\t:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgVerifyInvariant\"\x1c\n\x1aMsgVerifyInvariantResponse\"\xb2\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\x0c\x63onstant_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01: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-Z+github.com/cosmos/cosmos-sdk/x/crisis/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -29,7 +30,7 @@ _MSGVERIFYINVARIANT.fields_by_name['sender']._options = None _MSGVERIFYINVARIANT.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGVERIFYINVARIANT._options = None - _MSGVERIFYINVARIANT._serialized_options = b'\202\347\260*\006sender\212\347\260*\035cosmos-sdk/MsgVerifyInvariant\350\240\037\000\210\240\037\000' + _MSGVERIFYINVARIANT._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035cosmos-sdk/MsgVerifyInvariant' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEPARAMS.fields_by_name['constant_fee']._options = None @@ -38,14 +39,14 @@ _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/crisis/MsgUpdateParams' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGVERIFYINVARIANT._serialized_start=183 - _MSGVERIFYINVARIANT._serialized_end=356 - _MSGVERIFYINVARIANTRESPONSE._serialized_start=358 - _MSGVERIFYINVARIANTRESPONSE._serialized_end=386 - _MSGUPDATEPARAMS._serialized_start=389 - _MSGUPDATEPARAMS._serialized_end=567 - _MSGUPDATEPARAMSRESPONSE._serialized_start=569 - _MSGUPDATEPARAMSRESPONSE._serialized_end=594 - _MSG._serialized_start=597 - _MSG._serialized_end=826 + _globals['_MSGVERIFYINVARIANT']._serialized_start=183 + _globals['_MSGVERIFYINVARIANT']._serialized_end=356 + _globals['_MSGVERIFYINVARIANTRESPONSE']._serialized_start=358 + _globals['_MSGVERIFYINVARIANTRESPONSE']._serialized_end=386 + _globals['_MSGUPDATEPARAMS']._serialized_start=389 + _globals['_MSGUPDATEPARAMS']._serialized_end=567 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=569 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=594 + _globals['_MSG']._serialized_start=597 + _globals['_MSG']._serialized_end=826 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py index 7921becb..682a2eb6 100644 --- a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/crypto/ed25519/keys.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +15,11 @@ from 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\"d\n\x06PubKey\x12)\n\x03key\x18\x01 \x01(\x0c\x42\x1c\xfa\xde\x1f\x18\x63rypto/ed25519.PublicKey:/\x8a\xe7\xb0*\x18tendermint/PubKeyEd25519\x92\xe7\xb0*\tkey_field\x98\xa0\x1f\x00\"c\n\x07PrivKey\x12*\n\x03key\x18\x01 \x01(\x0c\x42\x1d\xfa\xde\x1f\x19\x63rypto/ed25519.PrivateKey:,\x8a\xe7\xb0*\x19tendermint/PrivKeyEd25519\x92\xe7\xb0*\tkey_fieldB2Z0github.com/cosmos/cosmos-sdk/crypto/keys/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\"d\n\x06PubKey\x12)\n\x03key\x18\x01 \x01(\x0c\x42\x1c\xfa\xde\x1f\x18\x63rypto/ed25519.PublicKey:/\x98\xa0\x1f\x00\x8a\xe7\xb0*\x18tendermint/PubKeyEd25519\x92\xe7\xb0*\tkey_field\"c\n\x07PrivKey\x12*\n\x03key\x18\x01 \x01(\x0c\x42\x1d\xfa\xde\x1f\x19\x63rypto/ed25519.PrivateKey:,\x8a\xe7\xb0*\x19tendermint/PrivKeyEd25519\x92\xe7\xb0*\tkey_fieldB2Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.ed25519.keys_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.ed25519.keys_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -26,13 +27,13 @@ _PUBKEY.fields_by_name['key']._options = None _PUBKEY.fields_by_name['key']._serialized_options = b'\372\336\037\030crypto/ed25519.PublicKey' _PUBKEY._options = None - _PUBKEY._serialized_options = b'\212\347\260*\030tendermint/PubKeyEd25519\222\347\260*\tkey_field\230\240\037\000' + _PUBKEY._serialized_options = b'\230\240\037\000\212\347\260*\030tendermint/PubKeyEd25519\222\347\260*\tkey_field' _PRIVKEY.fields_by_name['key']._options = None _PRIVKEY.fields_by_name['key']._serialized_options = b'\372\336\037\031crypto/ed25519.PrivateKey' _PRIVKEY._options = None _PRIVKEY._serialized_options = b'\212\347\260*\031tendermint/PrivKeyEd25519\222\347\260*\tkey_field' - _PUBKEY._serialized_start=100 - _PUBKEY._serialized_end=200 - _PRIVKEY._serialized_start=202 - _PRIVKEY._serialized_end=301 + _globals['_PUBKEY']._serialized_start=100 + _globals['_PUBKEY']._serialized_end=200 + _globals['_PRIVKEY']._serialized_start=202 + _globals['_PRIVKEY']._serialized_end=301 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py index 222a42ae..9b27000f 100644 --- a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py +++ b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/crypto/hd/v1/hd.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,17 @@ from 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\"\x8e\x01\n\x0b\x42IP44Params\x12\x0f\n\x07purpose\x18\x01 \x01(\r\x12\x11\n\tcoin_type\x18\x02 \x01(\r\x12\x0f\n\x07\x61\x63\x63ount\x18\x03 \x01(\r\x12\x0e\n\x06\x63hange\x18\x04 \x01(\x08\x12\x15\n\raddress_index\x18\x05 \x01(\r:#\x8a\xe7\xb0*\x1a\x63rypto/keys/hd/BIP44Params\x98\xa0\x1f\x00\x42,Z&github.com/cosmos/cosmos-sdk/crypto/hd\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\"\x8e\x01\n\x0b\x42IP44Params\x12\x0f\n\x07purpose\x18\x01 \x01(\r\x12\x11\n\tcoin_type\x18\x02 \x01(\r\x12\x0f\n\x07\x61\x63\x63ount\x18\x03 \x01(\r\x12\x0e\n\x06\x63hange\x18\x04 \x01(\x08\x12\x15\n\raddress_index\x18\x05 \x01(\r:#\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1a\x63rypto/keys/hd/BIP44ParamsB,Z&github.com/cosmos/cosmos-sdk/crypto/hd\xc8\xe1\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.hd.v1.hd_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.hd.v1.hd_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/cosmos/cosmos-sdk/crypto/hd\310\341\036\000' _BIP44PARAMS._options = None - _BIP44PARAMS._serialized_options = b'\212\347\260*\032crypto/keys/hd/BIP44Params\230\240\037\000' - _BIP44PARAMS._serialized_start=95 - _BIP44PARAMS._serialized_end=237 + _BIP44PARAMS._serialized_options = b'\230\240\037\000\212\347\260*\032crypto/keys/hd/BIP44Params' + _globals['_BIP44PARAMS']._serialized_start=95 + _globals['_BIP44PARAMS']._serialized_end=237 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py index ccec08b1..7699be95 100644 --- a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py +++ b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/crypto/keyring/v1/record.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +18,21 @@ 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\"\xae\x03\n\x06Record\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x37\n\x05local\x18\x03 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.LocalH\x00\x12\x39\n\x06ledger\x18\x04 \x01(\x0b\x32\'.cosmos.crypto.keyring.v1.Record.LedgerH\x00\x12\x37\n\x05multi\x18\x05 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.MultiH\x00\x12;\n\x07offline\x18\x06 \x01(\x0b\x32(.cosmos.crypto.keyring.v1.Record.OfflineH\x00\x1a/\n\x05Local\x12&\n\x08priv_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x1a\x38\n\x06Ledger\x12.\n\x04path\x18\x01 \x01(\x0b\x32 .cosmos.crypto.hd.v1.BIP44Params\x1a\x07\n\x05Multi\x1a\t\n\x07OfflineB\x06\n\x04itemB5Z+github.com/cosmos/cosmos-sdk/crypto/keyring\xc8\xe1\x1e\x00\x98\xe3\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.keyring.v1.record_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.keyring.v1.record_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z+github.com/cosmos/cosmos-sdk/crypto/keyring\310\341\036\000\230\343\036\000' - _RECORD._serialized_start=147 - _RECORD._serialized_end=577 - _RECORD_LOCAL._serialized_start=444 - _RECORD_LOCAL._serialized_end=491 - _RECORD_LEDGER._serialized_start=493 - _RECORD_LEDGER._serialized_end=549 - _RECORD_MULTI._serialized_start=551 - _RECORD_MULTI._serialized_end=558 - _RECORD_OFFLINE._serialized_start=560 - _RECORD_OFFLINE._serialized_end=569 + _globals['_RECORD']._serialized_start=147 + _globals['_RECORD']._serialized_end=577 + _globals['_RECORD_LOCAL']._serialized_start=444 + _globals['_RECORD_LOCAL']._serialized_end=491 + _globals['_RECORD_LEDGER']._serialized_start=493 + _globals['_RECORD_LEDGER']._serialized_end=549 + _globals['_RECORD_MULTI']._serialized_start=551 + _globals['_RECORD_MULTI']._serialized_end=558 + _globals['_RECORD_OFFLINE']._serialized_start=560 + _globals['_RECORD_OFFLINE']._serialized_end=569 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py index 01c0bf49..0aefa2d4 100644 --- a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/crypto/multisig/keys.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +16,11 @@ from 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\"\xac\x01\n\x11LegacyAminoPubKey\x12\x11\n\tthreshold\x18\x01 \x01(\r\x12\x42\n\x0bpublic_keys\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x17\xe2\xde\x1f\x07PubKeys\xa2\xe7\xb0*\x07pubkeys:@\x8a\xe7\xb0*\"tendermint/PubKeyMultisigThreshold\x92\xe7\xb0*\x10threshold_string\x88\xa0\x1f\x00\x42\x33Z1github.com/cosmos/cosmos-sdk/crypto/keys/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\"\xac\x01\n\x11LegacyAminoPubKey\x12\x11\n\tthreshold\x18\x01 \x01(\r\x12\x42\n\x0bpublic_keys\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x17\xe2\xde\x1f\x07PubKeys\xa2\xe7\xb0*\x07pubkeys:@\x88\xa0\x1f\x00\x8a\xe7\xb0*\"tendermint/PubKeyMultisigThreshold\x92\xe7\xb0*\x10threshold_stringB3Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisigb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.keys_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.keys_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -27,7 +28,7 @@ _LEGACYAMINOPUBKEY.fields_by_name['public_keys']._options = None _LEGACYAMINOPUBKEY.fields_by_name['public_keys']._serialized_options = b'\342\336\037\007PubKeys\242\347\260*\007pubkeys' _LEGACYAMINOPUBKEY._options = None - _LEGACYAMINOPUBKEY._serialized_options = b'\212\347\260*\"tendermint/PubKeyMultisigThreshold\222\347\260*\020threshold_string\210\240\037\000' - _LEGACYAMINOPUBKEY._serialized_start=130 - _LEGACYAMINOPUBKEY._serialized_end=302 + _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=302 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py index e4afc178..cf0ae9ae 100644 --- a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py +++ b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/crypto/multisig/v1beta1/multisig.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-cosmos/crypto/multisig/v1beta1/multisig.proto\x12\x1e\x63osmos.crypto.multisig.v1beta1\x1a\x14gogoproto/gogo.proto\"*\n\x0eMultiSignature\x12\x12\n\nsignatures\x18\x01 \x03(\x0c:\x04\xd0\xa1\x1f\x01\"A\n\x0f\x43ompactBitArray\x12\x19\n\x11\x65xtra_bits_stored\x18\x01 \x01(\r\x12\r\n\x05\x65lems\x18\x02 \x01(\x0c:\x04\x98\xa0\x1f\x00\x42+Z)github.com/cosmos/cosmos-sdk/crypto/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.v1beta1.multisig_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.v1beta1.multisig_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -26,8 +27,8 @@ _MULTISIGNATURE._serialized_options = b'\320\241\037\001' _COMPACTBITARRAY._options = None _COMPACTBITARRAY._serialized_options = b'\230\240\037\000' - _MULTISIGNATURE._serialized_start=103 - _MULTISIGNATURE._serialized_end=145 - _COMPACTBITARRAY._serialized_start=147 - _COMPACTBITARRAY._serialized_end=212 + _globals['_MULTISIGNATURE']._serialized_start=103 + _globals['_MULTISIGNATURE']._serialized_end=145 + _globals['_COMPACTBITARRAY']._serialized_start=147 + _globals['_COMPACTBITARRAY']._serialized_end=212 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py index fc34e14a..81eea204 100644 --- a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/crypto/secp256k1/keys.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,21 @@ from 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\"H\n\x06PubKey\x12\x0b\n\x03key\x18\x01 \x01(\x0c:1\x8a\xe7\xb0*\x1atendermint/PubKeySecp256k1\x92\xe7\xb0*\tkey_field\x98\xa0\x1f\x00\"F\n\x07PrivKey\x12\x0b\n\x03key\x18\x01 \x01(\x0c:.\x8a\xe7\xb0*\x1btendermint/PrivKeySecp256k1\x92\xe7\xb0*\tkey_fieldB4Z2github.com/cosmos/cosmos-sdk/crypto/keys/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\"H\n\x06PubKey\x12\x0b\n\x03key\x18\x01 \x01(\x0c:1\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1atendermint/PubKeySecp256k1\x92\xe7\xb0*\tkey_field\"F\n\x07PrivKey\x12\x0b\n\x03key\x18\x01 \x01(\x0c:.\x8a\xe7\xb0*\x1btendermint/PrivKeySecp256k1\x92\xe7\xb0*\tkey_fieldB4Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256k1.keys_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256k1.keys_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1' _PUBKEY._options = None - _PUBKEY._serialized_options = b'\212\347\260*\032tendermint/PubKeySecp256k1\222\347\260*\tkey_field\230\240\037\000' + _PUBKEY._serialized_options = b'\230\240\037\000\212\347\260*\032tendermint/PubKeySecp256k1\222\347\260*\tkey_field' _PRIVKEY._options = None _PRIVKEY._serialized_options = b'\212\347\260*\033tendermint/PrivKeySecp256k1\222\347\260*\tkey_field' - _PUBKEY._serialized_start=104 - _PUBKEY._serialized_end=176 - _PRIVKEY._serialized_start=178 - _PRIVKEY._serialized_end=248 + _globals['_PUBKEY']._serialized_start=104 + _globals['_PUBKEY']._serialized_end=176 + _globals['_PRIVKEY']._serialized_start=178 + _globals['_PRIVKEY']._serialized_end=248 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py index eaebfcb9..0e5ed20a 100644 --- a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/crypto/secp256r1/keys.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,20 +14,21 @@ from 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\x18\n\x03key\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saPK\"&\n\x07PrivKey\x12\x1b\n\x06secret\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saSKB@Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\xc8\xe3\x1e\x01\xd8\xe1\x1e\x00\xc8\xe1\x1e\x00\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\x18\n\x03key\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saPK\"&\n\x07PrivKey\x12\x1b\n\x06secret\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saSKB@Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xc8\xe3\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256r1.keys_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256r1.keys_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\310\343\036\001\330\341\036\000\310\341\036\000' + DESCRIPTOR._serialized_options = b'Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\310\341\036\000\330\341\036\000\310\343\036\001' _PUBKEY.fields_by_name['key']._options = None _PUBKEY.fields_by_name['key']._serialized_options = b'\332\336\037\007ecdsaPK' _PRIVKEY.fields_by_name['secret']._options = None _PRIVKEY.fields_by_name['secret']._serialized_options = b'\332\336\037\007ecdsaSK' - _PUBKEY._serialized_start=85 - _PUBKEY._serialized_end=119 - _PRIVKEY._serialized_start=121 - _PRIVKEY._serialized_end=159 + _globals['_PUBKEY']._serialized_start=85 + _globals['_PUBKEY']._serialized_end=119 + _globals['_PRIVKEY']._serialized_start=121 + _globals['_PRIVKEY']._serialized_end=159 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py index 742c1b57..f87cfb37 100644 --- a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/distribution/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"l\n\x06Module\x12\x1a\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/distributionb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/distribution' - _MODULE._serialized_start=111 - _MODULE._serialized_end=219 + _globals['_MODULE']._serialized_start=111 + _globals['_MODULE']._serialized_end=219 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py index b3192490..e9bcb74a 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/distribution/v1beta1/distribution.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,76 +17,77 @@ from 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\"\xe4\x02\n\x06Params\x12S\n\rcommunity_tax\x18\x01 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\\\n\x14\x62\x61se_proposer_reward\x18\x02 \x01(\tB>\x18\x01\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12]\n\x15\x62onus_proposer_reward\x18\x03 \x01(\tB>\x18\x01\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x1d\n\x15withdraw_addr_enabled\x18\x04 \x01(\x08:)\x8a\xe7\xb0* cosmos-sdk/x/distribution/Params\x98\xa0\x1f\x00\"\xae\x01\n\x1aValidatorHistoricalRewards\x12w\n\x17\x63umulative_reward_ratio\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x17\n\x0freference_count\x18\x02 \x01(\r\"\x92\x01\n\x17ValidatorCurrentRewards\x12g\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x0e\n\x06period\x18\x02 \x01(\x04\"\x8c\x01\n\x1eValidatorAccumulatedCommission\x12j\n\ncommission\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x86\x01\n\x1bValidatorOutstandingRewards\x12g\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x7f\n\x13ValidatorSlashEvent\x12\x18\n\x10validator_period\x18\x01 \x01(\x04\x12N\n\x08\x66raction\x18\x02 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"y\n\x14ValidatorSlashEvents\x12[\n\x16validator_slash_events\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\x98\xa0\x1f\x00\"y\n\x07\x46\x65\x65Pool\x12n\n\x0e\x63ommunity_pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\"\xe3\x01\n\x1a\x43ommunityPoolSpendProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\trecipient\x18\x03 \x01(\t\x12`\n\x06\x61mount\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:,\x18\x01\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xbb\x01\n\x15\x44\x65legatorStartingInfo\x12\x17\n\x0fprevious_period\x18\x01 \x01(\x04\x12K\n\x05stake\x18\x02 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12<\n\x06height\x18\x03 \x01(\x04\x42,\xea\xde\x1f\x0f\x63reation_height\xa2\xe7\xb0*\x0f\x63reation_height\xa8\xe7\xb0*\x01\"\xc2\x01\n\x19\x44\x65legationDelegatorReward\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x66\n\x06reward\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x01\"\xa7\x01\n%CommunityPoolSpendProposalWithDeposit\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\trecipient\x18\x03 \x01(\t\x12\x0e\n\x06\x61mount\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x65posit\x18\x05 \x01(\t:&\x88\xa0\x1f\x00\x98\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB7Z1github.com/cosmos/cosmos-sdk/x/distribution/types\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\"\xe4\x02\n\x06Params\x12S\n\rcommunity_tax\x18\x01 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12\\\n\x14\x62\x61se_proposer_reward\x18\x02 \x01(\tB>\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12]\n\x15\x62onus_proposer_reward\x18\x03 \x01(\tB>\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12\x1d\n\x15withdraw_addr_enabled\x18\x04 \x01(\x08:)\x98\xa0\x1f\x00\x8a\xe7\xb0* cosmos-sdk/x/distribution/Params\"\xae\x01\n\x1aValidatorHistoricalRewards\x12w\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*\x01\x12\x17\n\x0freference_count\x18\x02 \x01(\r\"\x92\x01\n\x17ValidatorCurrentRewards\x12g\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*\x01\x12\x0e\n\x06period\x18\x02 \x01(\x04\"\x8c\x01\n\x1eValidatorAccumulatedCommission\x12j\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*\x01\"\x86\x01\n\x1bValidatorOutstandingRewards\x12g\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*\x01\"\x7f\n\x13ValidatorSlashEvent\x12\x18\n\x10validator_period\x18\x01 \x01(\x04\x12N\n\x08\x66raction\x18\x02 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\"y\n\x14ValidatorSlashEvents\x12[\n\x16validator_slash_events\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\x98\xa0\x1f\x00\"y\n\x07\x46\x65\x65Pool\x12n\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*\x01\"\xe3\x01\n\x1a\x43ommunityPoolSpendProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\trecipient\x18\x03 \x01(\t\x12`\n\x06\x61mount\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:,\x18\x01\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xbb\x01\n\x15\x44\x65legatorStartingInfo\x12\x17\n\x0fprevious_period\x18\x01 \x01(\x04\x12K\n\x05stake\x18\x02 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12<\n\x06height\x18\x03 \x01(\x04\x42,\xea\xde\x1f\x0f\x63reation_height\xa2\xe7\xb0*\x0f\x63reation_height\xa8\xe7\xb0*\x01\"\xc2\x01\n\x19\x44\x65legationDelegatorReward\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x66\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*\x01:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x01\"\xa7\x01\n%CommunityPoolSpendProposalWithDeposit\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\trecipient\x18\x03 \x01(\t\x12\x0e\n\x06\x61mount\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x65posit\x18\x05 \x01(\t:&\x88\xa0\x1f\x00\x98\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB7Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa8\xe2\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.distribution_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.distribution_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z1github.com/cosmos/cosmos-sdk/x/distribution/types\250\342\036\001' _PARAMS.fields_by_name['community_tax']._options = None - _PARAMS.fields_by_name['community_tax']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['community_tax']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _PARAMS.fields_by_name['base_proposer_reward']._options = None - _PARAMS.fields_by_name['base_proposer_reward']._serialized_options = b'\030\001\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['base_proposer_reward']._serialized_options = b'\030\001\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _PARAMS.fields_by_name['bonus_proposer_reward']._options = None - _PARAMS.fields_by_name['bonus_proposer_reward']._serialized_options = b'\030\001\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['bonus_proposer_reward']._serialized_options = b'\030\001\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _PARAMS._options = None - _PARAMS._serialized_options = b'\212\347\260* cosmos-sdk/x/distribution/Params\230\240\037\000' + _PARAMS._serialized_options = b'\230\240\037\000\212\347\260* cosmos-sdk/x/distribution/Params' _VALIDATORHISTORICALREWARDS.fields_by_name['cumulative_reward_ratio']._options = None - _VALIDATORHISTORICALREWARDS.fields_by_name['cumulative_reward_ratio']._serialized_options = b'\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\310\336\037\000\250\347\260*\001' + _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' _VALIDATORCURRENTREWARDS.fields_by_name['rewards']._options = None - _VALIDATORCURRENTREWARDS.fields_by_name['rewards']._serialized_options = b'\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\310\336\037\000\250\347\260*\001' + _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' _VALIDATORACCUMULATEDCOMMISSION.fields_by_name['commission']._options = None - _VALIDATORACCUMULATEDCOMMISSION.fields_by_name['commission']._serialized_options = b'\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\310\336\037\000\250\347\260*\001' + _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' _VALIDATOROUTSTANDINGREWARDS.fields_by_name['rewards']._options = None - _VALIDATOROUTSTANDINGREWARDS.fields_by_name['rewards']._serialized_options = b'\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\310\336\037\000\250\347\260*\001' + _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' _VALIDATORSLASHEVENT.fields_by_name['fraction']._options = None - _VALIDATORSLASHEVENT.fields_by_name['fraction']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _VALIDATORSLASHEVENT.fields_by_name['fraction']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _VALIDATORSLASHEVENTS.fields_by_name['validator_slash_events']._options = None _VALIDATORSLASHEVENTS.fields_by_name['validator_slash_events']._serialized_options = b'\310\336\037\000\250\347\260*\001' _VALIDATORSLASHEVENTS._options = None _VALIDATORSLASHEVENTS._serialized_options = b'\230\240\037\000' _FEEPOOL.fields_by_name['community_pool']._options = None - _FEEPOOL.fields_by_name['community_pool']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins' + _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' _COMMUNITYPOOLSPENDPROPOSAL.fields_by_name['amount']._options = None - _COMMUNITYPOOLSPENDPROPOSAL.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _COMMUNITYPOOLSPENDPROPOSAL.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' _COMMUNITYPOOLSPENDPROPOSAL._options = None - _COMMUNITYPOOLSPENDPROPOSAL._serialized_options = b'\030\001\350\240\037\000\210\240\037\000\230\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _COMMUNITYPOOLSPENDPROPOSAL._serialized_options = b'\030\001\210\240\037\000\230\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _DELEGATORSTARTINGINFO.fields_by_name['stake']._options = None - _DELEGATORSTARTINGINFO.fields_by_name['stake']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DELEGATORSTARTINGINFO.fields_by_name['stake']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _DELEGATORSTARTINGINFO.fields_by_name['height']._options = None _DELEGATORSTARTINGINFO.fields_by_name['height']._serialized_options = b'\352\336\037\017creation_height\242\347\260*\017creation_height\250\347\260*\001' _DELEGATIONDELEGATORREWARD.fields_by_name['validator_address']._options = None _DELEGATIONDELEGATORREWARD.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _DELEGATIONDELEGATORREWARD.fields_by_name['reward']._options = None - _DELEGATIONDELEGATORREWARD.fields_by_name['reward']._serialized_options = b'\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\310\336\037\000\250\347\260*\001' + _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' _DELEGATIONDELEGATORREWARD._options = None _DELEGATIONDELEGATORREWARD._serialized_options = b'\210\240\037\000\230\240\037\001' _COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT._options = None _COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT._serialized_options = b'\210\240\037\000\230\240\037\001\312\264-\032cosmos.gov.v1beta1.Content' - _PARAMS._serialized_start=180 - _PARAMS._serialized_end=536 - _VALIDATORHISTORICALREWARDS._serialized_start=539 - _VALIDATORHISTORICALREWARDS._serialized_end=713 - _VALIDATORCURRENTREWARDS._serialized_start=716 - _VALIDATORCURRENTREWARDS._serialized_end=862 - _VALIDATORACCUMULATEDCOMMISSION._serialized_start=865 - _VALIDATORACCUMULATEDCOMMISSION._serialized_end=1005 - _VALIDATOROUTSTANDINGREWARDS._serialized_start=1008 - _VALIDATOROUTSTANDINGREWARDS._serialized_end=1142 - _VALIDATORSLASHEVENT._serialized_start=1144 - _VALIDATORSLASHEVENT._serialized_end=1271 - _VALIDATORSLASHEVENTS._serialized_start=1273 - _VALIDATORSLASHEVENTS._serialized_end=1394 - _FEEPOOL._serialized_start=1396 - _FEEPOOL._serialized_end=1517 - _COMMUNITYPOOLSPENDPROPOSAL._serialized_start=1520 - _COMMUNITYPOOLSPENDPROPOSAL._serialized_end=1747 - _DELEGATORSTARTINGINFO._serialized_start=1750 - _DELEGATORSTARTINGINFO._serialized_end=1937 - _DELEGATIONDELEGATORREWARD._serialized_start=1940 - _DELEGATIONDELEGATORREWARD._serialized_end=2134 - _COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT._serialized_start=2137 - _COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT._serialized_end=2304 + _globals['_PARAMS']._serialized_start=180 + _globals['_PARAMS']._serialized_end=536 + _globals['_VALIDATORHISTORICALREWARDS']._serialized_start=539 + _globals['_VALIDATORHISTORICALREWARDS']._serialized_end=713 + _globals['_VALIDATORCURRENTREWARDS']._serialized_start=716 + _globals['_VALIDATORCURRENTREWARDS']._serialized_end=862 + _globals['_VALIDATORACCUMULATEDCOMMISSION']._serialized_start=865 + _globals['_VALIDATORACCUMULATEDCOMMISSION']._serialized_end=1005 + _globals['_VALIDATOROUTSTANDINGREWARDS']._serialized_start=1008 + _globals['_VALIDATOROUTSTANDINGREWARDS']._serialized_end=1142 + _globals['_VALIDATORSLASHEVENT']._serialized_start=1144 + _globals['_VALIDATORSLASHEVENT']._serialized_end=1271 + _globals['_VALIDATORSLASHEVENTS']._serialized_start=1273 + _globals['_VALIDATORSLASHEVENTS']._serialized_end=1394 + _globals['_FEEPOOL']._serialized_start=1396 + _globals['_FEEPOOL']._serialized_end=1517 + _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_start=1520 + _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_end=1747 + _globals['_DELEGATORSTARTINGINFO']._serialized_start=1750 + _globals['_DELEGATORSTARTINGINFO']._serialized_end=1937 + _globals['_DELEGATIONDELEGATORREWARD']._serialized_start=1940 + _globals['_DELEGATIONDELEGATORREWARD']._serialized_end=2134 + _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_start=2137 + _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_end=2304 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py index 83fcacf5..e40e4357 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/distribution/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +18,11 @@ from 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\"\x8a\x01\n\x15\x44\x65legatorWithdrawInfo\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x32\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xd7\x01\n!ValidatorOutstandingRewardsRecord\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12s\n\x13outstanding_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xc2\x01\n$ValidatorAccumulatedCommissionRecord\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12[\n\x0b\x61\x63\x63umulated\x18\x02 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xc6\x01\n ValidatorHistoricalRewardsRecord\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0e\n\x06period\x18\x02 \x01(\x04\x12S\n\x07rewards\x18\x03 \x01(\x0b\x32\x37.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xb0\x01\n\x1dValidatorCurrentRewardsRecord\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12P\n\x07rewards\x18\x02 \x01(\x0b\x32\x34.cosmos.distribution.v1beta1.ValidatorCurrentRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xe7\x01\n\x1b\x44\x65legatorStartingInfoRecord\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12T\n\rstarting_info\x18\x03 \x01(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorStartingInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xd6\x01\n\x19ValidatorSlashEventRecord\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0e\n\x06height\x18\x02 \x01(\x04\x12\x0e\n\x06period\x18\x03 \x01(\x04\x12Z\n\x15validator_slash_event\x18\x04 \x01(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xb6\x07\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x41\n\x08\x66\x65\x65_pool\x18\x02 \x01(\x0b\x32$.cosmos.distribution.v1beta1.FeePoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12_\n\x18\x64\x65legator_withdraw_infos\x18\x03 \x03(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorWithdrawInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x33\n\x11previous_proposer\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x66\n\x13outstanding_rewards\x18\x05 \x03(\x0b\x32>.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12w\n!validator_accumulated_commissions\x18\x06 \x03(\x0b\x32\x41.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12n\n\x1cvalidator_historical_rewards\x18\x07 \x03(\x0b\x32=.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12h\n\x19validator_current_rewards\x18\x08 \x03(\x0b\x32:.cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x65\n\x18\x64\x65legator_starting_infos\x18\t \x03(\x0b\x32\x38.cosmos.distribution.v1beta1.DelegatorStartingInfoRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x61\n\x16validator_slash_events\x18\n \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.ValidatorSlashEventRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x42\x37Z1github.com/cosmos/cosmos-sdk/x/distribution/types\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\"\x8a\x01\n\x15\x44\x65legatorWithdrawInfo\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x32\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd7\x01\n!ValidatorOutstandingRewardsRecord\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12s\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*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc2\x01\n$ValidatorAccumulatedCommissionRecord\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12[\n\x0b\x61\x63\x63umulated\x18\x02 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc6\x01\n ValidatorHistoricalRewardsRecord\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0e\n\x06period\x18\x02 \x01(\x04\x12S\n\x07rewards\x18\x03 \x01(\x0b\x32\x37.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb0\x01\n\x1dValidatorCurrentRewardsRecord\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12P\n\x07rewards\x18\x02 \x01(\x0b\x32\x34.cosmos.distribution.v1beta1.ValidatorCurrentRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe7\x01\n\x1b\x44\x65legatorStartingInfoRecord\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12T\n\rstarting_info\x18\x03 \x01(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorStartingInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd6\x01\n\x19ValidatorSlashEventRecord\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0e\n\x06height\x18\x02 \x01(\x04\x12\x0e\n\x06period\x18\x03 \x01(\x04\x12Z\n\x15validator_slash_event\x18\x04 \x01(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb6\x07\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x41\n\x08\x66\x65\x65_pool\x18\x02 \x01(\x0b\x32$.cosmos.distribution.v1beta1.FeePoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12_\n\x18\x64\x65legator_withdraw_infos\x18\x03 \x03(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorWithdrawInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x33\n\x11previous_proposer\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x66\n\x13outstanding_rewards\x18\x05 \x03(\x0b\x32>.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12w\n!validator_accumulated_commissions\x18\x06 \x03(\x0b\x32\x41.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12n\n\x1cvalidator_historical_rewards\x18\x07 \x03(\x0b\x32=.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12h\n\x19validator_current_rewards\x18\x08 \x03(\x0b\x32:.cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x65\n\x18\x64\x65legator_starting_infos\x18\t \x03(\x0b\x32\x38.cosmos.distribution.v1beta1.DelegatorStartingInfoRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x61\n\x16validator_slash_events\x18\n \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.ValidatorSlashEventRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\x37Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa8\xe2\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -31,31 +32,31 @@ _DELEGATORWITHDRAWINFO.fields_by_name['withdraw_address']._options = None _DELEGATORWITHDRAWINFO.fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _DELEGATORWITHDRAWINFO._options = None - _DELEGATORWITHDRAWINFO._serialized_options = b'\350\240\037\000\210\240\037\000' + _DELEGATORWITHDRAWINFO._serialized_options = b'\210\240\037\000\350\240\037\000' _VALIDATOROUTSTANDINGREWARDSRECORD.fields_by_name['validator_address']._options = None _VALIDATOROUTSTANDINGREWARDSRECORD.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _VALIDATOROUTSTANDINGREWARDSRECORD.fields_by_name['outstanding_rewards']._options = None - _VALIDATOROUTSTANDINGREWARDSRECORD.fields_by_name['outstanding_rewards']._serialized_options = b'\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\310\336\037\000\250\347\260*\001' + _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' _VALIDATOROUTSTANDINGREWARDSRECORD._options = None - _VALIDATOROUTSTANDINGREWARDSRECORD._serialized_options = b'\350\240\037\000\210\240\037\000' + _VALIDATOROUTSTANDINGREWARDSRECORD._serialized_options = b'\210\240\037\000\350\240\037\000' _VALIDATORACCUMULATEDCOMMISSIONRECORD.fields_by_name['validator_address']._options = None _VALIDATORACCUMULATEDCOMMISSIONRECORD.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _VALIDATORACCUMULATEDCOMMISSIONRECORD.fields_by_name['accumulated']._options = None _VALIDATORACCUMULATEDCOMMISSIONRECORD.fields_by_name['accumulated']._serialized_options = b'\310\336\037\000\250\347\260*\001' _VALIDATORACCUMULATEDCOMMISSIONRECORD._options = None - _VALIDATORACCUMULATEDCOMMISSIONRECORD._serialized_options = b'\350\240\037\000\210\240\037\000' + _VALIDATORACCUMULATEDCOMMISSIONRECORD._serialized_options = b'\210\240\037\000\350\240\037\000' _VALIDATORHISTORICALREWARDSRECORD.fields_by_name['validator_address']._options = None _VALIDATORHISTORICALREWARDSRECORD.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _VALIDATORHISTORICALREWARDSRECORD.fields_by_name['rewards']._options = None _VALIDATORHISTORICALREWARDSRECORD.fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' _VALIDATORHISTORICALREWARDSRECORD._options = None - _VALIDATORHISTORICALREWARDSRECORD._serialized_options = b'\350\240\037\000\210\240\037\000' + _VALIDATORHISTORICALREWARDSRECORD._serialized_options = b'\210\240\037\000\350\240\037\000' _VALIDATORCURRENTREWARDSRECORD.fields_by_name['validator_address']._options = None _VALIDATORCURRENTREWARDSRECORD.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _VALIDATORCURRENTREWARDSRECORD.fields_by_name['rewards']._options = None _VALIDATORCURRENTREWARDSRECORD.fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' _VALIDATORCURRENTREWARDSRECORD._options = None - _VALIDATORCURRENTREWARDSRECORD._serialized_options = b'\350\240\037\000\210\240\037\000' + _VALIDATORCURRENTREWARDSRECORD._serialized_options = b'\210\240\037\000\350\240\037\000' _DELEGATORSTARTINGINFORECORD.fields_by_name['delegator_address']._options = None _DELEGATORSTARTINGINFORECORD.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _DELEGATORSTARTINGINFORECORD.fields_by_name['validator_address']._options = None @@ -63,13 +64,13 @@ _DELEGATORSTARTINGINFORECORD.fields_by_name['starting_info']._options = None _DELEGATORSTARTINGINFORECORD.fields_by_name['starting_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' _DELEGATORSTARTINGINFORECORD._options = None - _DELEGATORSTARTINGINFORECORD._serialized_options = b'\350\240\037\000\210\240\037\000' + _DELEGATORSTARTINGINFORECORD._serialized_options = b'\210\240\037\000\350\240\037\000' _VALIDATORSLASHEVENTRECORD.fields_by_name['validator_address']._options = None _VALIDATORSLASHEVENTRECORD.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _VALIDATORSLASHEVENTRECORD.fields_by_name['validator_slash_event']._options = None _VALIDATORSLASHEVENTRECORD.fields_by_name['validator_slash_event']._serialized_options = b'\310\336\037\000\250\347\260*\001' _VALIDATORSLASHEVENTRECORD._options = None - _VALIDATORSLASHEVENTRECORD._serialized_options = b'\350\240\037\000\210\240\037\000' + _VALIDATORSLASHEVENTRECORD._serialized_options = b'\210\240\037\000\350\240\037\000' _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE.fields_by_name['fee_pool']._options = None @@ -91,21 +92,21 @@ _GENESISSTATE.fields_by_name['validator_slash_events']._options = None _GENESISSTATE.fields_by_name['validator_slash_events']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE._options = None - _GENESISSTATE._serialized_options = b'\350\240\037\000\210\240\037\000' - _DELEGATORWITHDRAWINFO._serialized_start=223 - _DELEGATORWITHDRAWINFO._serialized_end=361 - _VALIDATOROUTSTANDINGREWARDSRECORD._serialized_start=364 - _VALIDATOROUTSTANDINGREWARDSRECORD._serialized_end=579 - _VALIDATORACCUMULATEDCOMMISSIONRECORD._serialized_start=582 - _VALIDATORACCUMULATEDCOMMISSIONRECORD._serialized_end=776 - _VALIDATORHISTORICALREWARDSRECORD._serialized_start=779 - _VALIDATORHISTORICALREWARDSRECORD._serialized_end=977 - _VALIDATORCURRENTREWARDSRECORD._serialized_start=980 - _VALIDATORCURRENTREWARDSRECORD._serialized_end=1156 - _DELEGATORSTARTINGINFORECORD._serialized_start=1159 - _DELEGATORSTARTINGINFORECORD._serialized_end=1390 - _VALIDATORSLASHEVENTRECORD._serialized_start=1393 - _VALIDATORSLASHEVENTRECORD._serialized_end=1607 - _GENESISSTATE._serialized_start=1610 - _GENESISSTATE._serialized_end=2560 + _GENESISSTATE._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DELEGATORWITHDRAWINFO']._serialized_start=223 + _globals['_DELEGATORWITHDRAWINFO']._serialized_end=361 + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_start=364 + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_end=579 + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_start=582 + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_end=776 + _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_start=779 + _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_end=977 + _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_start=980 + _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_end=1156 + _globals['_DELEGATORSTARTINGINFORECORD']._serialized_start=1159 + _globals['_DELEGATORSTARTINGINFORECORD']._serialized_end=1390 + _globals['_VALIDATORSLASHEVENTRECORD']._serialized_start=1393 + _globals['_VALIDATORSLASHEVENTRECORD']._serialized_end=1607 + _globals['_GENESISSTATE']._serialized_start=1610 + _globals['_GENESISSTATE']._serialized_end=2560 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py index b5d43378..9b267350 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/distribution/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +20,11 @@ from 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\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\\\n%QueryValidatorDistributionInfoRequest\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\xb6\x02\n&QueryValidatorDistributionInfoResponse\x12\x32\n\x10operator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12q\n\x11self_bond_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\x12\x65\n\ncommission\x18\x03 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB3\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xc8\xde\x1f\x00\"^\n\'QueryValidatorOutstandingRewardsRequest\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\x80\x01\n(QueryValidatorOutstandingRewardsResponse\x12T\n\x07rewards\x18\x01 \x01(\x0b\x32\x38.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"V\n\x1fQueryValidatorCommissionRequest\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"~\n QueryValidatorCommissionResponse\x12Z\n\ncommission\x18\x01 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xc9\x01\n\x1cQueryValidatorSlashesRequest\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x17\n\x0fstarting_height\x18\x02 \x01(\x04\x12\x15\n\rending_height\x18\x03 \x01(\x04\x12:\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x01\"\xaa\x01\n\x1dQueryValidatorSlashesResponse\x12L\n\x07slashes\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x93\x01\n\x1dQueryDelegationRewardsRequest\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x89\x01\n\x1eQueryDelegationRewardsResponse\x12g\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\"c\n\"QueryDelegationTotalRewardsRequest\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xe0\x01\n#QueryDelegationTotalRewardsResponse\x12R\n\x07rewards\x18\x01 \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.DelegationDelegatorRewardB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x65\n\x05total\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\"`\n\x1fQueryDelegatorValidatorsRequest\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"@\n QueryDelegatorValidatorsResponse\x12\x12\n\nvalidators\x18\x01 \x03(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"e\n$QueryDelegatorWithdrawAddressRequest\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"e\n%QueryDelegatorWithdrawAddressResponse\x12\x32\n\x10withdraw_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1b\n\x19QueryCommunityPoolRequest\"\x82\x01\n\x1aQueryCommunityPoolResponse\x12\x64\n\x04pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x32\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_poolB3Z1github.com/cosmos/cosmos-sdk/x/distribution/typesb\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\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\\\n%QueryValidatorDistributionInfoRequest\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\xb6\x02\n&QueryValidatorDistributionInfoResponse\x12\x32\n\x10operator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12q\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*\x01\x12\x65\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.DecCoins\"^\n\'QueryValidatorOutstandingRewardsRequest\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\x80\x01\n(QueryValidatorOutstandingRewardsResponse\x12T\n\x07rewards\x18\x01 \x01(\x0b\x32\x38.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"V\n\x1fQueryValidatorCommissionRequest\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"~\n QueryValidatorCommissionResponse\x12Z\n\ncommission\x18\x01 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xc9\x01\n\x1cQueryValidatorSlashesRequest\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x17\n\x0fstarting_height\x18\x02 \x01(\x04\x12\x15\n\rending_height\x18\x03 \x01(\x04\x12:\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x01\"\xaa\x01\n\x1dQueryValidatorSlashesResponse\x12L\n\x07slashes\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x93\x01\n\x1dQueryDelegationRewardsRequest\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x89\x01\n\x1eQueryDelegationRewardsResponse\x12g\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*\x01\"c\n\"QueryDelegationTotalRewardsRequest\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe0\x01\n#QueryDelegationTotalRewardsResponse\x12R\n\x07rewards\x18\x01 \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.DelegationDelegatorRewardB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x65\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*\x01\"`\n\x1fQueryDelegatorValidatorsRequest\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"@\n QueryDelegatorValidatorsResponse\x12\x12\n\nvalidators\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"e\n$QueryDelegatorWithdrawAddressRequest\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"e\n%QueryDelegatorWithdrawAddressResponse\x12\x32\n\x10withdraw_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1b\n\x19QueryCommunityPoolRequest\"\x82\x01\n\x1aQueryCommunityPoolResponse\x12\x64\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*\x01\x32\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_poolB3Z1github.com/cosmos/cosmos-sdk/x/distribution/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -35,9 +36,9 @@ _QUERYVALIDATORDISTRIBUTIONINFORESPONSE.fields_by_name['operator_address']._options = None _QUERYVALIDATORDISTRIBUTIONINFORESPONSE.fields_by_name['operator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYVALIDATORDISTRIBUTIONINFORESPONSE.fields_by_name['self_bond_rewards']._options = None - _QUERYVALIDATORDISTRIBUTIONINFORESPONSE.fields_by_name['self_bond_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins' + _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' _QUERYVALIDATORDISTRIBUTIONINFORESPONSE.fields_by_name['commission']._options = None - _QUERYVALIDATORDISTRIBUTIONINFORESPONSE.fields_by_name['commission']._serialized_options = b'\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\310\336\037\000' + _QUERYVALIDATORDISTRIBUTIONINFORESPONSE.fields_by_name['commission']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins' _QUERYVALIDATOROUTSTANDINGREWARDSREQUEST.fields_by_name['validator_address']._options = None _QUERYVALIDATOROUTSTANDINGREWARDSREQUEST.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE.fields_by_name['rewards']._options = None @@ -57,33 +58,33 @@ _QUERYDELEGATIONREWARDSREQUEST.fields_by_name['validator_address']._options = None _QUERYDELEGATIONREWARDSREQUEST.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYDELEGATIONREWARDSREQUEST._options = None - _QUERYDELEGATIONREWARDSREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYDELEGATIONREWARDSREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYDELEGATIONREWARDSRESPONSE.fields_by_name['rewards']._options = None - _QUERYDELEGATIONREWARDSRESPONSE.fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins' + _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' _QUERYDELEGATIONTOTALREWARDSREQUEST.fields_by_name['delegator_address']._options = None _QUERYDELEGATIONTOTALREWARDSREQUEST.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYDELEGATIONTOTALREWARDSREQUEST._options = None - _QUERYDELEGATIONTOTALREWARDSREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYDELEGATIONTOTALREWARDSREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYDELEGATIONTOTALREWARDSRESPONSE.fields_by_name['rewards']._options = None _QUERYDELEGATIONTOTALREWARDSRESPONSE.fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' _QUERYDELEGATIONTOTALREWARDSRESPONSE.fields_by_name['total']._options = None - _QUERYDELEGATIONTOTALREWARDSRESPONSE.fields_by_name['total']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins' + _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' _QUERYDELEGATORVALIDATORSREQUEST.fields_by_name['delegator_address']._options = None _QUERYDELEGATORVALIDATORSREQUEST.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYDELEGATORVALIDATORSREQUEST._options = None - _QUERYDELEGATORVALIDATORSREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYDELEGATORVALIDATORSREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYDELEGATORVALIDATORSRESPONSE._options = None - _QUERYDELEGATORVALIDATORSRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYDELEGATORVALIDATORSRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYDELEGATORWITHDRAWADDRESSREQUEST.fields_by_name['delegator_address']._options = None _QUERYDELEGATORWITHDRAWADDRESSREQUEST.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYDELEGATORWITHDRAWADDRESSREQUEST._options = None - _QUERYDELEGATORWITHDRAWADDRESSREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYDELEGATORWITHDRAWADDRESSREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYDELEGATORWITHDRAWADDRESSRESPONSE.fields_by_name['withdraw_address']._options = None _QUERYDELEGATORWITHDRAWADDRESSRESPONSE.fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYDELEGATORWITHDRAWADDRESSRESPONSE._options = None - _QUERYDELEGATORWITHDRAWADDRESSRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYDELEGATORWITHDRAWADDRESSRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYCOMMUNITYPOOLRESPONSE.fields_by_name['pool']._options = None - _QUERYCOMMUNITYPOOLRESPONSE.fields_by_name['pool']._serialized_options = b'\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\310\336\037\000\250\347\260*\001' + _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' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002%\022#/cosmos/distribution/v1beta1/params' _QUERY.methods_by_name['ValidatorDistributionInfo']._options = None @@ -104,46 +105,46 @@ _QUERY.methods_by_name['DelegatorWithdrawAddress']._serialized_options = b'\202\323\344\223\002N\022L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address' _QUERY.methods_by_name['CommunityPool']._options = None _QUERY.methods_by_name['CommunityPool']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/distribution/v1beta1/community_pool' - _QUERYPARAMSREQUEST._serialized_start=294 - _QUERYPARAMSREQUEST._serialized_end=314 - _QUERYPARAMSRESPONSE._serialized_start=316 - _QUERYPARAMSRESPONSE._serialized_end=401 - _QUERYVALIDATORDISTRIBUTIONINFOREQUEST._serialized_start=403 - _QUERYVALIDATORDISTRIBUTIONINFOREQUEST._serialized_end=495 - _QUERYVALIDATORDISTRIBUTIONINFORESPONSE._serialized_start=498 - _QUERYVALIDATORDISTRIBUTIONINFORESPONSE._serialized_end=808 - _QUERYVALIDATOROUTSTANDINGREWARDSREQUEST._serialized_start=810 - _QUERYVALIDATOROUTSTANDINGREWARDSREQUEST._serialized_end=904 - _QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE._serialized_start=907 - _QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE._serialized_end=1035 - _QUERYVALIDATORCOMMISSIONREQUEST._serialized_start=1037 - _QUERYVALIDATORCOMMISSIONREQUEST._serialized_end=1123 - _QUERYVALIDATORCOMMISSIONRESPONSE._serialized_start=1125 - _QUERYVALIDATORCOMMISSIONRESPONSE._serialized_end=1251 - _QUERYVALIDATORSLASHESREQUEST._serialized_start=1254 - _QUERYVALIDATORSLASHESREQUEST._serialized_end=1455 - _QUERYVALIDATORSLASHESRESPONSE._serialized_start=1458 - _QUERYVALIDATORSLASHESRESPONSE._serialized_end=1628 - _QUERYDELEGATIONREWARDSREQUEST._serialized_start=1631 - _QUERYDELEGATIONREWARDSREQUEST._serialized_end=1778 - _QUERYDELEGATIONREWARDSRESPONSE._serialized_start=1781 - _QUERYDELEGATIONREWARDSRESPONSE._serialized_end=1918 - _QUERYDELEGATIONTOTALREWARDSREQUEST._serialized_start=1920 - _QUERYDELEGATIONTOTALREWARDSREQUEST._serialized_end=2019 - _QUERYDELEGATIONTOTALREWARDSRESPONSE._serialized_start=2022 - _QUERYDELEGATIONTOTALREWARDSRESPONSE._serialized_end=2246 - _QUERYDELEGATORVALIDATORSREQUEST._serialized_start=2248 - _QUERYDELEGATORVALIDATORSREQUEST._serialized_end=2344 - _QUERYDELEGATORVALIDATORSRESPONSE._serialized_start=2346 - _QUERYDELEGATORVALIDATORSRESPONSE._serialized_end=2410 - _QUERYDELEGATORWITHDRAWADDRESSREQUEST._serialized_start=2412 - _QUERYDELEGATORWITHDRAWADDRESSREQUEST._serialized_end=2513 - _QUERYDELEGATORWITHDRAWADDRESSRESPONSE._serialized_start=2515 - _QUERYDELEGATORWITHDRAWADDRESSRESPONSE._serialized_end=2616 - _QUERYCOMMUNITYPOOLREQUEST._serialized_start=2618 - _QUERYCOMMUNITYPOOLREQUEST._serialized_end=2645 - _QUERYCOMMUNITYPOOLRESPONSE._serialized_start=2648 - _QUERYCOMMUNITYPOOLRESPONSE._serialized_end=2778 - _QUERY._serialized_start=2781 - _QUERY._serialized_end=5025 + _globals['_QUERYPARAMSREQUEST']._serialized_start=294 + _globals['_QUERYPARAMSREQUEST']._serialized_end=314 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=316 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=401 + _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST']._serialized_start=403 + _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST']._serialized_end=495 + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE']._serialized_start=498 + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE']._serialized_end=808 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST']._serialized_start=810 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST']._serialized_end=904 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE']._serialized_start=907 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE']._serialized_end=1035 + _globals['_QUERYVALIDATORCOMMISSIONREQUEST']._serialized_start=1037 + _globals['_QUERYVALIDATORCOMMISSIONREQUEST']._serialized_end=1123 + _globals['_QUERYVALIDATORCOMMISSIONRESPONSE']._serialized_start=1125 + _globals['_QUERYVALIDATORCOMMISSIONRESPONSE']._serialized_end=1251 + _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_start=1254 + _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_end=1455 + _globals['_QUERYVALIDATORSLASHESRESPONSE']._serialized_start=1458 + _globals['_QUERYVALIDATORSLASHESRESPONSE']._serialized_end=1628 + _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_start=1631 + _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_end=1778 + _globals['_QUERYDELEGATIONREWARDSRESPONSE']._serialized_start=1781 + _globals['_QUERYDELEGATIONREWARDSRESPONSE']._serialized_end=1918 + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_start=1920 + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_end=2019 + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE']._serialized_start=2022 + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE']._serialized_end=2246 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_start=2248 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_end=2344 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_start=2346 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_end=2410 + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_start=2412 + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_end=2513 + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_start=2515 + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_end=2616 + _globals['_QUERYCOMMUNITYPOOLREQUEST']._serialized_start=2618 + _globals['_QUERYCOMMUNITYPOOLREQUEST']._serialized_end=2645 + _globals['_QUERYCOMMUNITYPOOLRESPONSE']._serialized_start=2648 + _globals['_QUERYCOMMUNITYPOOLRESPONSE']._serialized_end=2778 + _globals['_QUERY']._serialized_start=2781 + _globals['_QUERY']._serialized_end=5025 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py index 7c756124..816e146d 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/distribution/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +19,11 @@ from 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\"\xc8\x01\n\x15MsgSetWithdrawAddress\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x32\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:F\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*#cosmos-sdk/MsgModifyWithdrawAddress\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1f\n\x1dMsgSetWithdrawAddressResponse\"\xd1\x01\n\x1aMsgWithdrawDelegatorReward\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:I\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*&cosmos-sdk/MsgWithdrawDelegationReward\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x86\x01\n\"MsgWithdrawDelegatorRewardResponse\x12`\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\x9d\x01\n\x1eMsgWithdrawValidatorCommission\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:F\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*#cosmos-sdk/MsgWithdrawValCommission\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x8a\x01\n&MsgWithdrawValidatorCommissionResponse\x12`\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\xe1\x01\n\x14MsgFundCommunityPool\x12`\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString::\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgFundCommunityPool\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1e\n\x1cMsgFundCommunityPoolResponse\"\xba\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12>\n\x06params\x18\x02 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'cosmos-sdk/distribution/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xf4\x01\n\x15MsgCommunityPoolSpend\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x11\n\trecipient\x18\x02 \x01(\t\x12`\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/distr/MsgCommunityPoolSpend\"\x1f\n\x1dMsgCommunityPoolSpendResponse2\xca\x06\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\x1a\x05\x80\xe7\xb0*\x01\x42\x37Z1github.com/cosmos/cosmos-sdk/x/distribution/types\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\"\xc8\x01\n\x15MsgSetWithdrawAddress\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x32\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString: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\"\xd1\x01\n\x1aMsgWithdrawDelegatorReward\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:I\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*&cosmos-sdk/MsgWithdrawDelegationReward\"\x86\x01\n\"MsgWithdrawDelegatorRewardResponse\x12`\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\"\x9d\x01\n\x1eMsgWithdrawValidatorCommission\x12\x33\n\x11validator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*#cosmos-sdk/MsgWithdrawValCommission\"\x8a\x01\n&MsgWithdrawValidatorCommissionResponse\x12`\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\"\xe1\x01\n\x14MsgFundCommunityPool\x12`\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString::\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgFundCommunityPool\"\x1e\n\x1cMsgFundCommunityPoolResponse\"\xba\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12>\n\x06params\x18\x02 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'cosmos-sdk/distribution/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xf4\x01\n\x15MsgCommunityPoolSpend\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x11\n\trecipient\x18\x02 \x01(\t\x12`\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*\x01:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/distr/MsgCommunityPoolSpend\"\x1f\n\x1dMsgCommunityPoolSpendResponse2\xca\x06\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\x1a\x05\x80\xe7\xb0*\x01\x42\x37Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa8\xe2\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -32,27 +33,27 @@ _MSGSETWITHDRAWADDRESS.fields_by_name['withdraw_address']._options = None _MSGSETWITHDRAWADDRESS.fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSETWITHDRAWADDRESS._options = None - _MSGSETWITHDRAWADDRESS._serialized_options = b'\202\347\260*\021delegator_address\212\347\260*#cosmos-sdk/MsgModifyWithdrawAddress\350\240\037\000\210\240\037\000' + _MSGSETWITHDRAWADDRESS._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*#cosmos-sdk/MsgModifyWithdrawAddress' _MSGWITHDRAWDELEGATORREWARD.fields_by_name['delegator_address']._options = None _MSGWITHDRAWDELEGATORREWARD.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGWITHDRAWDELEGATORREWARD.fields_by_name['validator_address']._options = None _MSGWITHDRAWDELEGATORREWARD.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGWITHDRAWDELEGATORREWARD._options = None - _MSGWITHDRAWDELEGATORREWARD._serialized_options = b'\202\347\260*\021delegator_address\212\347\260*&cosmos-sdk/MsgWithdrawDelegationReward\350\240\037\000\210\240\037\000' + _MSGWITHDRAWDELEGATORREWARD._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*&cosmos-sdk/MsgWithdrawDelegationReward' _MSGWITHDRAWDELEGATORREWARDRESPONSE.fields_by_name['amount']._options = None - _MSGWITHDRAWDELEGATORREWARDRESPONSE.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGWITHDRAWDELEGATORREWARDRESPONSE.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' _MSGWITHDRAWVALIDATORCOMMISSION.fields_by_name['validator_address']._options = None _MSGWITHDRAWVALIDATORCOMMISSION.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGWITHDRAWVALIDATORCOMMISSION._options = None - _MSGWITHDRAWVALIDATORCOMMISSION._serialized_options = b'\202\347\260*\021validator_address\212\347\260*#cosmos-sdk/MsgWithdrawValCommission\350\240\037\000\210\240\037\000' + _MSGWITHDRAWVALIDATORCOMMISSION._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*#cosmos-sdk/MsgWithdrawValCommission' _MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE.fields_by_name['amount']._options = None - _MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE.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' _MSGFUNDCOMMUNITYPOOL.fields_by_name['amount']._options = None - _MSGFUNDCOMMUNITYPOOL.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGFUNDCOMMUNITYPOOL.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' _MSGFUNDCOMMUNITYPOOL.fields_by_name['depositor']._options = None _MSGFUNDCOMMUNITYPOOL.fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGFUNDCOMMUNITYPOOL._options = None - _MSGFUNDCOMMUNITYPOOL._serialized_options = b'\202\347\260*\tdepositor\212\347\260*\037cosmos-sdk/MsgFundCommunityPool\350\240\037\000\210\240\037\000' + _MSGFUNDCOMMUNITYPOOL._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*\037cosmos-sdk/MsgFundCommunityPool' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEPARAMS.fields_by_name['params']._options = None @@ -62,35 +63,35 @@ _MSGCOMMUNITYPOOLSPEND.fields_by_name['authority']._options = None _MSGCOMMUNITYPOOLSPEND.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGCOMMUNITYPOOLSPEND.fields_by_name['amount']._options = None - _MSGCOMMUNITYPOOLSPEND.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGCOMMUNITYPOOLSPEND.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' _MSGCOMMUNITYPOOLSPEND._options = None _MSGCOMMUNITYPOOLSPEND._serialized_options = b'\202\347\260*\tauthority\212\347\260*&cosmos-sdk/distr/MsgCommunityPoolSpend' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGSETWITHDRAWADDRESS._serialized_start=243 - _MSGSETWITHDRAWADDRESS._serialized_end=443 - _MSGSETWITHDRAWADDRESSRESPONSE._serialized_start=445 - _MSGSETWITHDRAWADDRESSRESPONSE._serialized_end=476 - _MSGWITHDRAWDELEGATORREWARD._serialized_start=479 - _MSGWITHDRAWDELEGATORREWARD._serialized_end=688 - _MSGWITHDRAWDELEGATORREWARDRESPONSE._serialized_start=691 - _MSGWITHDRAWDELEGATORREWARDRESPONSE._serialized_end=825 - _MSGWITHDRAWVALIDATORCOMMISSION._serialized_start=828 - _MSGWITHDRAWVALIDATORCOMMISSION._serialized_end=985 - _MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE._serialized_start=988 - _MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE._serialized_end=1126 - _MSGFUNDCOMMUNITYPOOL._serialized_start=1129 - _MSGFUNDCOMMUNITYPOOL._serialized_end=1354 - _MSGFUNDCOMMUNITYPOOLRESPONSE._serialized_start=1356 - _MSGFUNDCOMMUNITYPOOLRESPONSE._serialized_end=1386 - _MSGUPDATEPARAMS._serialized_start=1389 - _MSGUPDATEPARAMS._serialized_end=1575 - _MSGUPDATEPARAMSRESPONSE._serialized_start=1577 - _MSGUPDATEPARAMSRESPONSE._serialized_end=1602 - _MSGCOMMUNITYPOOLSPEND._serialized_start=1605 - _MSGCOMMUNITYPOOLSPEND._serialized_end=1849 - _MSGCOMMUNITYPOOLSPENDRESPONSE._serialized_start=1851 - _MSGCOMMUNITYPOOLSPENDRESPONSE._serialized_end=1882 - _MSG._serialized_start=1885 - _MSG._serialized_end=2727 + _globals['_MSGSETWITHDRAWADDRESS']._serialized_start=243 + _globals['_MSGSETWITHDRAWADDRESS']._serialized_end=443 + _globals['_MSGSETWITHDRAWADDRESSRESPONSE']._serialized_start=445 + _globals['_MSGSETWITHDRAWADDRESSRESPONSE']._serialized_end=476 + _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_start=479 + _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_end=688 + _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE']._serialized_start=691 + _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE']._serialized_end=825 + _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_start=828 + _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_end=985 + _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE']._serialized_start=988 + _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE']._serialized_end=1126 + _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_start=1129 + _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_end=1354 + _globals['_MSGFUNDCOMMUNITYPOOLRESPONSE']._serialized_start=1356 + _globals['_MSGFUNDCOMMUNITYPOOLRESPONSE']._serialized_end=1386 + _globals['_MSGUPDATEPARAMS']._serialized_start=1389 + _globals['_MSGUPDATEPARAMS']._serialized_end=1575 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1577 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1602 + _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_start=1605 + _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_end=1849 + _globals['_MSGCOMMUNITYPOOLSPENDRESPONSE']._serialized_start=1851 + _globals['_MSGCOMMUNITYPOOLSPENDRESPONSE']._serialized_end=1882 + _globals['_MSG']._serialized_start=1885 + _globals['_MSG']._serialized_end=2727 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py index ca01d4f8..22b362f6 100644 --- a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/evidence/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"9\n\x06Module:/\xba\xc0\x96\xda\x01)\n\'github.com/cosmos/cosmos-sdk/x/evidenceb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001)\n\'github.com/cosmos/cosmos-sdk/x/evidence' - _MODULE._serialized_start=103 - _MODULE._serialized_end=160 + _globals['_MODULE']._serialized_start=103 + _globals['_MODULE']._serialized_end=160 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py index 2e85ac26..358df153 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/evidence/v1beta1/evidence.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +17,21 @@ from 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\"\xc5\x01\n\x0c\x45quivocation\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x37\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01\x12\r\n\x05power\x18\x03 \x01(\x03\x12\x33\n\x11\x63onsensus_address\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:(\x8a\xe7\xb0*\x17\x63osmos-sdk/Equivocation\x98\xa0\x1f\x00\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\x33Z-github.com/cosmos/cosmos-sdk/x/evidence/types\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\"\xc5\x01\n\x0c\x45quivocation\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x37\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12\r\n\x05power\x18\x03 \x01(\x03\x12\x33\n\x11\x63onsensus_address\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:(\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x17\x63osmos-sdk/EquivocationB3Z-github.com/cosmos/cosmos-sdk/x/evidence/types\xa8\xe2\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.evidence_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.evidence_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z-github.com/cosmos/cosmos-sdk/x/evidence/types\250\342\036\001' _EQUIVOCATION.fields_by_name['time']._options = None - _EQUIVOCATION.fields_by_name['time']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _EQUIVOCATION.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _EQUIVOCATION.fields_by_name['consensus_address']._options = None _EQUIVOCATION.fields_by_name['consensus_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _EQUIVOCATION._options = None - _EQUIVOCATION._serialized_options = b'\212\347\260*\027cosmos-sdk/Equivocation\230\240\037\000\210\240\037\000\350\240\037\000' - _EQUIVOCATION._serialized_start=169 - _EQUIVOCATION._serialized_end=366 + _EQUIVOCATION._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000\212\347\260*\027cosmos-sdk/Equivocation' + _globals['_EQUIVOCATION']._serialized_start=169 + _globals['_EQUIVOCATION']._serialized_end=366 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py index dbad21d9..fcd6a7d7 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/evidence/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,13 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/evidence/v1beta1/genesis.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x19google/protobuf/any.proto\"6\n\x0cGenesisState\x12&\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB/Z-github.com/cosmos/cosmos-sdk/x/evidence/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z-github.com/cosmos/cosmos-sdk/x/evidence/types' - _GENESISSTATE._serialized_start=93 - _GENESISSTATE._serialized_end=147 + _globals['_GENESISSTATE']._serialized_start=93 + _globals['_GENESISSTATE']._serialized_end=147 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py index 12001c5d..9d8f6123 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/evidence/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +19,9 @@ 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\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\"s\n\x14QueryEvidenceRequest\x12M\n\revidence_hash\x18\x01 \x01(\x0c\x42\x36\x18\x01\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\x0c\n\x04hash\x18\x02 \x01(\t\"?\n\x15QueryEvidenceResponse\x12&\n\x08\x65vidence\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\"U\n\x17QueryAllEvidenceRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x7f\n\x18QueryAllEvidenceResponse\x12&\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.Any\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\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/Z-github.com/cosmos/cosmos-sdk/x/evidence/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -31,14 +32,14 @@ _QUERY.methods_by_name['Evidence']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/evidence/v1beta1/evidence/{hash}' _QUERY.methods_by_name['AllEvidence']._options = None _QUERY.methods_by_name['AllEvidence']._serialized_options = b'\202\323\344\223\002#\022!/cosmos/evidence/v1beta1/evidence' - _QUERYEVIDENCEREQUEST._serialized_start=187 - _QUERYEVIDENCEREQUEST._serialized_end=302 - _QUERYEVIDENCERESPONSE._serialized_start=304 - _QUERYEVIDENCERESPONSE._serialized_end=367 - _QUERYALLEVIDENCEREQUEST._serialized_start=369 - _QUERYALLEVIDENCEREQUEST._serialized_end=454 - _QUERYALLEVIDENCERESPONSE._serialized_start=456 - _QUERYALLEVIDENCERESPONSE._serialized_end=583 - _QUERY._serialized_start=586 - _QUERY._serialized_end=911 + _globals['_QUERYEVIDENCEREQUEST']._serialized_start=187 + _globals['_QUERYEVIDENCEREQUEST']._serialized_end=302 + _globals['_QUERYEVIDENCERESPONSE']._serialized_start=304 + _globals['_QUERYEVIDENCERESPONSE']._serialized_end=367 + _globals['_QUERYALLEVIDENCEREQUEST']._serialized_start=369 + _globals['_QUERYALLEVIDENCEREQUEST']._serialized_end=454 + _globals['_QUERYALLEVIDENCERESPONSE']._serialized_start=456 + _globals['_QUERYALLEVIDENCERESPONSE']._serialized_end=583 + _globals['_QUERY']._serialized_start=586 + _globals['_QUERY']._serialized_end=911 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py index 218a0856..6c7e800d 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/evidence/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +18,11 @@ from 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\"\xc7\x01\n\x11MsgSubmitEvidence\x12+\n\tsubmitter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12L\n\x08\x65vidence\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB$\xca\xb4- cosmos.evidence.v1beta1.Evidence:7\x82\xe7\xb0*\tsubmitter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitEvidence\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\")\n\x19MsgSubmitEvidenceResponse\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x32~\n\x03Msg\x12p\n\x0eSubmitEvidence\x12*.cosmos.evidence.v1beta1.MsgSubmitEvidence\x1a\x32.cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x33Z-github.com/cosmos/cosmos-sdk/x/evidence/types\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\"\xc7\x01\n\x11MsgSubmitEvidence\x12+\n\tsubmitter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12L\n\x08\x65vidence\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB$\xca\xb4- cosmos.evidence.v1beta1.Evidence:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tsubmitter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitEvidence\")\n\x19MsgSubmitEvidenceResponse\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x32~\n\x03Msg\x12p\n\x0eSubmitEvidence\x12*.cosmos.evidence.v1beta1.MsgSubmitEvidence\x1a\x32.cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x33Z-github.com/cosmos/cosmos-sdk/x/evidence/types\xa8\xe2\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -31,13 +32,13 @@ _MSGSUBMITEVIDENCE.fields_by_name['evidence']._options = None _MSGSUBMITEVIDENCE.fields_by_name['evidence']._serialized_options = b'\312\264- cosmos.evidence.v1beta1.Evidence' _MSGSUBMITEVIDENCE._options = None - _MSGSUBMITEVIDENCE._serialized_options = b'\202\347\260*\tsubmitter\212\347\260*\034cosmos-sdk/MsgSubmitEvidence\350\240\037\000\210\240\037\000' + _MSGSUBMITEVIDENCE._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tsubmitter\212\347\260*\034cosmos-sdk/MsgSubmitEvidence' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGSUBMITEVIDENCE._serialized_start=182 - _MSGSUBMITEVIDENCE._serialized_end=381 - _MSGSUBMITEVIDENCERESPONSE._serialized_start=383 - _MSGSUBMITEVIDENCERESPONSE._serialized_end=424 - _MSG._serialized_start=426 - _MSG._serialized_end=552 + _globals['_MSGSUBMITEVIDENCE']._serialized_start=182 + _globals['_MSGSUBMITEVIDENCE']._serialized_end=381 + _globals['_MSGSUBMITEVIDENCERESPONSE']._serialized_start=383 + _globals['_MSGSUBMITEVIDENCERESPONSE']._serialized_end=424 + _globals['_MSG']._serialized_start=426 + _globals['_MSG']._serialized_end=552 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py index 3481c3f3..f5b41c83 100644 --- a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/feegrant/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"9\n\x06Module:/\xba\xc0\x96\xda\x01)\n\'github.com/cosmos/cosmos-sdk/x/feegrantb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001)\n\'github.com/cosmos/cosmos-sdk/x/feegrant' - _MODULE._serialized_start=103 - _MODULE._serialized_end=160 + _globals['_MODULE']._serialized_start=103 + _globals['_MODULE']._serialized_end=160 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py index 127eb20b..5dcc98a3 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/feegrant/v1beta1/feegrant.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,16 +20,17 @@ 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\"\xf6\x01\n\x0e\x42\x61sicAllowance\x12\x65\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x34\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01:G\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x19\x63osmos-sdk/BasicAllowance\"\xf7\x03\n\x11PeriodicAllowance\x12\x41\n\x05\x62\x61sic\x18\x01 \x01(\x0b\x32\'.cosmos.feegrant.v1beta1.BasicAllowanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x38\n\x06period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\x98\xdf\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12l\n\x12period_spend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12j\n\x10period_can_spend\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12?\n\x0cperiod_reset\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:J\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1c\x63osmos-sdk/PeriodicAllowance\"\xd5\x01\n\x13\x41llowedMsgAllowance\x12R\n\tallowance\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x12\x18\n\x10\x61llowed_messages\x18\x02 \x03(\t:P\x88\xa0\x1f\x00\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1e\x63osmos-sdk/AllowedMsgAllowance\"\xb1\x01\n\x05Grant\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12R\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIB)Z\'github.com/cosmos/cosmos-sdk/x/feegrantb\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\"\xf6\x01\n\x0e\x42\x61sicAllowance\x12\x65\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x34\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01:G\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x19\x63osmos-sdk/BasicAllowance\"\xf7\x03\n\x11PeriodicAllowance\x12\x41\n\x05\x62\x61sic\x18\x01 \x01(\x0b\x32\'.cosmos.feegrant.v1beta1.BasicAllowanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x38\n\x06period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12l\n\x12period_spend_limit\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*\x01\x12j\n\x10period_can_spend\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12?\n\x0cperiod_reset\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01:J\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1c\x63osmos-sdk/PeriodicAllowance\"\xd5\x01\n\x13\x41llowedMsgAllowance\x12R\n\tallowance\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x12\x18\n\x10\x61llowed_messages\x18\x02 \x03(\t:P\x88\xa0\x1f\x00\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1e\x63osmos-sdk/AllowedMsgAllowance\"\xb1\x01\n\x05Grant\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12R\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIB)Z\'github.com/cosmos/cosmos-sdk/x/feegrantb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.feegrant_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.feegrant_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\'github.com/cosmos/cosmos-sdk/x/feegrant' _BASICALLOWANCE.fields_by_name['spend_limit']._options = None - _BASICALLOWANCE.fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _BASICALLOWANCE.fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _BASICALLOWANCE.fields_by_name['expiration']._options = None _BASICALLOWANCE.fields_by_name['expiration']._serialized_options = b'\220\337\037\001' _BASICALLOWANCE._options = None @@ -37,13 +38,13 @@ _PERIODICALLOWANCE.fields_by_name['basic']._options = None _PERIODICALLOWANCE.fields_by_name['basic']._serialized_options = b'\310\336\037\000\250\347\260*\001' _PERIODICALLOWANCE.fields_by_name['period']._options = None - _PERIODICALLOWANCE.fields_by_name['period']._serialized_options = b'\230\337\037\001\310\336\037\000\250\347\260*\001' + _PERIODICALLOWANCE.fields_by_name['period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' _PERIODICALLOWANCE.fields_by_name['period_spend_limit']._options = None - _PERIODICALLOWANCE.fields_by_name['period_spend_limit']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _PERIODICALLOWANCE.fields_by_name['period_spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _PERIODICALLOWANCE.fields_by_name['period_can_spend']._options = None - _PERIODICALLOWANCE.fields_by_name['period_can_spend']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _PERIODICALLOWANCE.fields_by_name['period_can_spend']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _PERIODICALLOWANCE.fields_by_name['period_reset']._options = None - _PERIODICALLOWANCE.fields_by_name['period_reset']._serialized_options = b'\220\337\037\001\310\336\037\000\250\347\260*\001' + _PERIODICALLOWANCE.fields_by_name['period_reset']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _PERIODICALLOWANCE._options = None _PERIODICALLOWANCE._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\034cosmos-sdk/PeriodicAllowance' _ALLOWEDMSGALLOWANCE.fields_by_name['allowance']._options = None @@ -56,12 +57,12 @@ _GRANT.fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' _GRANT.fields_by_name['allowance']._options = None _GRANT.fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' - _BASICALLOWANCE._serialized_start=260 - _BASICALLOWANCE._serialized_end=506 - _PERIODICALLOWANCE._serialized_start=509 - _PERIODICALLOWANCE._serialized_end=1012 - _ALLOWEDMSGALLOWANCE._serialized_start=1015 - _ALLOWEDMSGALLOWANCE._serialized_end=1228 - _GRANT._serialized_start=1231 - _GRANT._serialized_end=1408 + _globals['_BASICALLOWANCE']._serialized_start=260 + _globals['_BASICALLOWANCE']._serialized_end=506 + _globals['_PERIODICALLOWANCE']._serialized_start=509 + _globals['_PERIODICALLOWANCE']._serialized_end=1012 + _globals['_ALLOWEDMSGALLOWANCE']._serialized_start=1015 + _globals['_ALLOWEDMSGALLOWANCE']._serialized_end=1228 + _globals['_GRANT']._serialized_start=1231 + _globals['_GRANT']._serialized_end=1408 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py index 1086976f..36e32214 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/feegrant/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +18,15 @@ 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\"M\n\x0cGenesisState\x12=\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42)Z\'github.com/cosmos/cosmos-sdk/x/feegrantb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\'github.com/cosmos/cosmos-sdk/x/feegrant' _GENESISSTATE.fields_by_name['allowances']._options = None _GENESISSTATE.fields_by_name['allowances']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _GENESISSTATE._serialized_start=147 - _GENESISSTATE._serialized_end=224 + _globals['_GENESISSTATE']._serialized_start=147 + _globals['_GENESISSTATE']._serialized_end=224 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py index be420112..77640241 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/feegrant/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +19,9 @@ 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\"m\n\x15QueryAllowanceRequest\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"K\n\x16QueryAllowanceResponse\x12\x31\n\tallowance\x18\x01 \x01(\x0b\x32\x1e.cosmos.feegrant.v1beta1.Grant\"\x7f\n\x16QueryAllowancesRequest\x12)\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x8a\x01\n\x17QueryAllowancesResponse\x12\x32\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.Grant\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x88\x01\n\x1fQueryAllowancesByGranterRequest\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x93\x01\n QueryAllowancesByGranterResponse\x12\x32\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.Grant\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\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)Z\'github.com/cosmos/cosmos-sdk/x/feegrantb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -39,18 +40,18 @@ _QUERY.methods_by_name['Allowances']._serialized_options = b'\202\323\344\223\002/\022-/cosmos/feegrant/v1beta1/allowances/{grantee}' _QUERY.methods_by_name['AllowancesByGranter']._options = None _QUERY.methods_by_name['AllowancesByGranter']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/feegrant/v1beta1/issued/{granter}' - _QUERYALLOWANCEREQUEST._serialized_start=205 - _QUERYALLOWANCEREQUEST._serialized_end=314 - _QUERYALLOWANCERESPONSE._serialized_start=316 - _QUERYALLOWANCERESPONSE._serialized_end=391 - _QUERYALLOWANCESREQUEST._serialized_start=393 - _QUERYALLOWANCESREQUEST._serialized_end=520 - _QUERYALLOWANCESRESPONSE._serialized_start=523 - _QUERYALLOWANCESRESPONSE._serialized_end=661 - _QUERYALLOWANCESBYGRANTERREQUEST._serialized_start=664 - _QUERYALLOWANCESBYGRANTERREQUEST._serialized_end=800 - _QUERYALLOWANCESBYGRANTERRESPONSE._serialized_start=803 - _QUERYALLOWANCESBYGRANTERRESPONSE._serialized_end=950 - _QUERY._serialized_start=953 - _QUERY._serialized_end=1496 + _globals['_QUERYALLOWANCEREQUEST']._serialized_start=205 + _globals['_QUERYALLOWANCEREQUEST']._serialized_end=314 + _globals['_QUERYALLOWANCERESPONSE']._serialized_start=316 + _globals['_QUERYALLOWANCERESPONSE']._serialized_end=391 + _globals['_QUERYALLOWANCESREQUEST']._serialized_start=393 + _globals['_QUERYALLOWANCESREQUEST']._serialized_end=520 + _globals['_QUERYALLOWANCESRESPONSE']._serialized_start=523 + _globals['_QUERYALLOWANCESRESPONSE']._serialized_end=661 + _globals['_QUERYALLOWANCESBYGRANTERREQUEST']._serialized_start=664 + _globals['_QUERYALLOWANCESBYGRANTERREQUEST']._serialized_end=800 + _globals['_QUERYALLOWANCESBYGRANTERRESPONSE']._serialized_start=803 + _globals['_QUERYALLOWANCESBYGRANTERRESPONSE']._serialized_end=950 + _globals['_QUERY']._serialized_start=953 + _globals['_QUERY']._serialized_end=1496 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py index b36f97b6..ca39343f 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/feegrant/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +19,9 @@ 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\"\xec\x01\n\x11MsgGrantAllowance\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12R\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI:-\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgGrantAllowance\"\x1b\n\x19MsgGrantAllowanceResponse\"\x9a\x01\n\x12MsgRevokeAllowance\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:.\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgRevokeAllowance\"\x1c\n\x1aMsgRevokeAllowanceResponse2\xf3\x01\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\x1a\x05\x80\xe7\xb0*\x01\x42)Z\'github.com/cosmos/cosmos-sdk/x/feegrantb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -41,14 +42,14 @@ _MSGREVOKEALLOWANCE._serialized_options = b'\202\347\260*\007granter\212\347\260*\035cosmos-sdk/MsgRevokeAllowance' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGGRANTALLOWANCE._serialized_start=160 - _MSGGRANTALLOWANCE._serialized_end=396 - _MSGGRANTALLOWANCERESPONSE._serialized_start=398 - _MSGGRANTALLOWANCERESPONSE._serialized_end=425 - _MSGREVOKEALLOWANCE._serialized_start=428 - _MSGREVOKEALLOWANCE._serialized_end=582 - _MSGREVOKEALLOWANCERESPONSE._serialized_start=584 - _MSGREVOKEALLOWANCERESPONSE._serialized_end=612 - _MSG._serialized_start=615 - _MSG._serialized_end=858 + _globals['_MSGGRANTALLOWANCE']._serialized_start=160 + _globals['_MSGGRANTALLOWANCE']._serialized_end=396 + _globals['_MSGGRANTALLOWANCERESPONSE']._serialized_start=398 + _globals['_MSGGRANTALLOWANCERESPONSE']._serialized_end=425 + _globals['_MSGREVOKEALLOWANCE']._serialized_start=428 + _globals['_MSGREVOKEALLOWANCE']._serialized_end=582 + _globals['_MSGREVOKEALLOWANCERESPONSE']._serialized_start=584 + _globals['_MSGREVOKEALLOWANCERESPONSE']._serialized_end=612 + _globals['_MSG']._serialized_start=615 + _globals['_MSG']._serialized_end=858 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py index b5a5eb3c..89126fd9 100644 --- a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/genutil/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/genutil' - _MODULE._serialized_start=101 - _MODULE._serialized_end=157 + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=157 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py index 4691a4e1..a9aa159b 100644 --- a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/genutil/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,17 @@ from 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\"W\n\x0cGenesisState\x12G\n\x07gen_txs\x18\x01 \x03(\x0c\x42\x36\xfa\xde\x1f\x18\x65ncoding/json.RawMessage\xea\xde\x1f\x06gentxs\xa2\xe7\xb0*\x06gentxs\xa8\xe7\xb0*\x01\x42.Z,github.com/cosmos/cosmos-sdk/x/genutil/typesb\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\"W\n\x0cGenesisState\x12G\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*\x01\x42.Z,github.com/cosmos/cosmos-sdk/x/genutil/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z,github.com/cosmos/cosmos-sdk/x/genutil/types' _GENESISSTATE.fields_by_name['gen_txs']._options = None - _GENESISSTATE.fields_by_name['gen_txs']._serialized_options = b'\372\336\037\030encoding/json.RawMessage\352\336\037\006gentxs\242\347\260*\006gentxs\250\347\260*\001' - _GENESISSTATE._serialized_start=105 - _GENESISSTATE._serialized_end=192 + _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=192 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py b/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py index f8aa2197..4c2fbeab 100644 --- a/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/gov/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"a\n\x06Module\x12\x18\n\x10max_metadata_len\x18\x01 \x01(\x04\x12\x11\n\tauthority\x18\x02 \x01(\t:*\xba\xc0\x96\xda\x01$\n\"github.com/cosmos/cosmos-sdk/x/govb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001$\n\"github.com/cosmos/cosmos-sdk/x/gov' - _MODULE._serialized_start=93 - _MODULE._serialized_end=190 + _globals['_MODULE']._serialized_start=93 + _globals['_MODULE']._serialized_end=190 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py b/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py index aaf27155..264a662f 100644 --- a/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/gov/v1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/gov/v1/genesis.proto\x12\rcosmos.gov.v1\x1a\x17\x63osmos/gov/v1/gov.proto\"\xf5\x02\n\x0cGenesisState\x12\x1c\n\x14starting_proposal_id\x18\x01 \x01(\x04\x12(\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x16.cosmos.gov.v1.Deposit\x12\"\n\x05votes\x18\x03 \x03(\x0b\x32\x13.cosmos.gov.v1.Vote\x12*\n\tproposals\x18\x04 \x03(\x0b\x32\x17.cosmos.gov.v1.Proposal\x12\x38\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01\x12\x36\n\rvoting_params\x18\x06 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01\x12\x34\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01\x12%\n\x06params\x18\x08 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsB-Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -28,6 +29,6 @@ _GENESISSTATE.fields_by_name['voting_params']._serialized_options = b'\030\001' _GENESISSTATE.fields_by_name['tally_params']._options = None _GENESISSTATE.fields_by_name['tally_params']._serialized_options = b'\030\001' - _GENESISSTATE._serialized_start=72 - _GENESISSTATE._serialized_end=445 + _globals['_GENESISSTATE']._serialized_start=72 + _globals['_GENESISSTATE']._serialized_end=445 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/gov_pb2.py b/pyinjective/proto/cosmos/gov/v1/gov_pb2.py index caa44a5b..7fd0fa21 100644 --- a/pyinjective/proto/cosmos/gov/v1/gov_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/gov_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/gov/v1/gov.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +20,11 @@ from 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\"_\n\x12WeightedVoteOption\x12)\n\x06option\x18\x01 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOption\x12\x1e\n\x06weight\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\"\x81\x01\n\x07\x44\x65posit\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xab\x04\n\x08Proposal\x12\n\n\x02id\x18\x01 \x01(\x04\x12&\n\x08messages\x18\x02 \x03(\x0b\x32\x14.google.protobuf.Any\x12-\n\x06status\x18\x03 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatus\x12\x36\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResult\x12\x35\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12:\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12;\n\rtotal_deposit\x18\x07 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x39\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x10\n\x08metadata\x18\n \x01(\t\x12\r\n\x05title\x18\x0b \x01(\t\x12\x0f\n\x07summary\x18\x0c \x01(\t\x12*\n\x08proposer\x18\r \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\xa5\x01\n\x0bTallyResult\x12!\n\tyes_count\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.Int\x12%\n\rabstain_count\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.Int\x12 \n\x08no_count\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.Int\x12*\n\x12no_with_veto_count\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.Int\"\x90\x01\n\x04Vote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x32\n\x07options\x18\x04 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOption\x12\x10\n\x08metadata\x18\x05 \x01(\tJ\x04\x08\x03\x10\x04\"\xbb\x01\n\rDepositParams\x12M\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x1d\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitempty\x12[\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB$\x98\xdf\x1f\x01\xea\xde\x1f\x1cmax_deposit_period,omitempty\"F\n\x0cVotingParams\x12\x36\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\"x\n\x0bTallyParams\x12\x1e\n\x06quorum\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12!\n\tthreshold\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12&\n\x0eveto_threshold\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\"\xaf\x03\n\x06Params\x12\x39\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x36\n\rvoting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x1e\n\x06quorum\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12!\n\tthreshold\x18\x05 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12&\n\x0eveto_threshold\x18\x06 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12\x31\n\x19min_initial_deposit_ratio\x18\x07 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12\x18\n\x10\x62urn_vote_quorum\x18\r \x01(\x08\x12%\n\x1d\x62urn_proposal_deposit_prevote\x18\x0e \x01(\x08\x12\x16\n\x0e\x62urn_vote_veto\x18\x0f \x01(\x08*\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-Z+github.com/cosmos/cosmos-sdk/x/gov/types/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\"_\n\x12WeightedVoteOption\x12)\n\x06option\x18\x01 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOption\x12\x1e\n\x06weight\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\"\x81\x01\n\x07\x44\x65posit\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xab\x04\n\x08Proposal\x12\n\n\x02id\x18\x01 \x01(\x04\x12&\n\x08messages\x18\x02 \x03(\x0b\x32\x14.google.protobuf.Any\x12-\n\x06status\x18\x03 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatus\x12\x36\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResult\x12\x35\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12:\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12;\n\rtotal_deposit\x18\x07 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x39\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x10\n\x08metadata\x18\n \x01(\t\x12\r\n\x05title\x18\x0b \x01(\t\x12\x0f\n\x07summary\x18\x0c \x01(\t\x12*\n\x08proposer\x18\r \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\xa5\x01\n\x0bTallyResult\x12!\n\tyes_count\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.Int\x12%\n\rabstain_count\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.Int\x12 \n\x08no_count\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.Int\x12*\n\x12no_with_veto_count\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.Int\"\x90\x01\n\x04Vote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x32\n\x07options\x18\x04 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOption\x12\x10\n\x08metadata\x18\x05 \x01(\tJ\x04\x08\x03\x10\x04\"\xbb\x01\n\rDepositParams\x12M\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x1d\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitempty\x12[\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB$\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01\"F\n\x0cVotingParams\x12\x36\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\"x\n\x0bTallyParams\x12\x1e\n\x06quorum\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12!\n\tthreshold\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12&\n\x0eveto_threshold\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\"\xaf\x03\n\x06Params\x12\x39\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x36\n\rvoting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x1e\n\x06quorum\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12!\n\tthreshold\x18\x05 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12&\n\x0eveto_threshold\x18\x06 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12\x31\n\x19min_initial_deposit_ratio\x18\x07 \x01(\tB\x0e\xd2\xb4-\ncosmos.Dec\x12\x18\n\x10\x62urn_vote_quorum\x18\r \x01(\x08\x12%\n\x1d\x62urn_proposal_deposit_prevote\x18\x0e \x01(\x08\x12\x16\n\x0e\x62urn_vote_veto\x18\x0f \x01(\x08*\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-Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.gov_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.gov_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -59,7 +60,7 @@ _DEPOSITPARAMS.fields_by_name['min_deposit']._options = None _DEPOSITPARAMS.fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\352\336\037\025min_deposit,omitempty' _DEPOSITPARAMS.fields_by_name['max_deposit_period']._options = None - _DEPOSITPARAMS.fields_by_name['max_deposit_period']._serialized_options = b'\230\337\037\001\352\336\037\034max_deposit_period,omitempty' + _DEPOSITPARAMS.fields_by_name['max_deposit_period']._serialized_options = b'\352\336\037\034max_deposit_period,omitempty\230\337\037\001' _VOTINGPARAMS.fields_by_name['voting_period']._options = None _VOTINGPARAMS.fields_by_name['voting_period']._serialized_options = b'\230\337\037\001' _TALLYPARAMS.fields_by_name['quorum']._options = None @@ -82,26 +83,26 @@ _PARAMS.fields_by_name['veto_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' _PARAMS.fields_by_name['min_initial_deposit_ratio']._options = None _PARAMS.fields_by_name['min_initial_deposit_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' - _VOTEOPTION._serialized_start=2155 - _VOTEOPTION._serialized_end=2292 - _PROPOSALSTATUS._serialized_start=2295 - _PROPOSALSTATUS._serialized_end=2501 - _WEIGHTEDVOTEOPTION._serialized_start=234 - _WEIGHTEDVOTEOPTION._serialized_end=329 - _DEPOSIT._serialized_start=332 - _DEPOSIT._serialized_end=461 - _PROPOSAL._serialized_start=464 - _PROPOSAL._serialized_end=1019 - _TALLYRESULT._serialized_start=1022 - _TALLYRESULT._serialized_end=1187 - _VOTE._serialized_start=1190 - _VOTE._serialized_end=1334 - _DEPOSITPARAMS._serialized_start=1337 - _DEPOSITPARAMS._serialized_end=1524 - _VOTINGPARAMS._serialized_start=1526 - _VOTINGPARAMS._serialized_end=1596 - _TALLYPARAMS._serialized_start=1598 - _TALLYPARAMS._serialized_end=1718 - _PARAMS._serialized_start=1721 - _PARAMS._serialized_end=2152 + _globals['_VOTEOPTION']._serialized_start=2155 + _globals['_VOTEOPTION']._serialized_end=2292 + _globals['_PROPOSALSTATUS']._serialized_start=2295 + _globals['_PROPOSALSTATUS']._serialized_end=2501 + _globals['_WEIGHTEDVOTEOPTION']._serialized_start=234 + _globals['_WEIGHTEDVOTEOPTION']._serialized_end=329 + _globals['_DEPOSIT']._serialized_start=332 + _globals['_DEPOSIT']._serialized_end=461 + _globals['_PROPOSAL']._serialized_start=464 + _globals['_PROPOSAL']._serialized_end=1019 + _globals['_TALLYRESULT']._serialized_start=1022 + _globals['_TALLYRESULT']._serialized_end=1187 + _globals['_VOTE']._serialized_start=1190 + _globals['_VOTE']._serialized_end=1334 + _globals['_DEPOSITPARAMS']._serialized_start=1337 + _globals['_DEPOSITPARAMS']._serialized_end=1524 + _globals['_VOTINGPARAMS']._serialized_start=1526 + _globals['_VOTINGPARAMS']._serialized_end=1596 + _globals['_TALLYPARAMS']._serialized_start=1598 + _globals['_TALLYPARAMS']._serialized_end=1718 + _globals['_PARAMS']._serialized_start=1721 + _globals['_PARAMS']._serialized_end=2152 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/query_pb2.py b/pyinjective/proto/cosmos/gov/v1/query_pb2.py index 33b5e1f9..e1856b42 100644 --- a/pyinjective/proto/cosmos/gov/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/gov/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +19,9 @@ 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\"+\n\x14QueryProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"B\n\x15QueryProposalResponse\x12)\n\x08proposal\x18\x01 \x01(\x0b\x32\x17.cosmos.gov.v1.Proposal\"\xe1\x01\n\x15QueryProposalsRequest\x12\x36\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatus\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x81\x01\n\x16QueryProposalsResponse\x12*\n\tproposals\x18\x01 \x03(\x0b\x32\x17.cosmos.gov.v1.Proposal\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"P\n\x10QueryVoteRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"6\n\x11QueryVoteResponse\x12!\n\x04vote\x18\x01 \x01(\x0b\x32\x13.cosmos.gov.v1.Vote\"d\n\x11QueryVotesRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"u\n\x12QueryVotesResponse\x12\"\n\x05votes\x18\x01 \x03(\x0b\x32\x13.cosmos.gov.v1.Vote\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\")\n\x12QueryParamsRequest\x12\x13\n\x0bparams_type\x18\x01 \x01(\t\"\xe4\x01\n\x13QueryParamsResponse\x12\x36\n\rvoting_params\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01\x12\x38\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01\x12\x34\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01\x12%\n\x06params\x18\x04 \x01(\x0b\x32\x15.cosmos.gov.v1.Params\"W\n\x13QueryDepositRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"?\n\x14QueryDepositResponse\x12\'\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x16.cosmos.gov.v1.Deposit\"g\n\x14QueryDepositsRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"~\n\x15QueryDepositsResponse\x12(\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x16.cosmos.gov.v1.Deposit\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\".\n\x17QueryTallyResultRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"E\n\x18QueryTallyResultResponse\x12)\n\x05tally\x18\x01 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResult2\xda\x08\n\x05Query\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-Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -55,38 +56,38 @@ _QUERY.methods_by_name['Deposits']._serialized_options = b'\202\323\344\223\0021\022//cosmos/gov/v1/proposals/{proposal_id}/deposits' _QUERY.methods_by_name['TallyResult']._options = None _QUERY.methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/tally' - _QUERYPROPOSALREQUEST._serialized_start=170 - _QUERYPROPOSALREQUEST._serialized_end=213 - _QUERYPROPOSALRESPONSE._serialized_start=215 - _QUERYPROPOSALRESPONSE._serialized_end=281 - _QUERYPROPOSALSREQUEST._serialized_start=284 - _QUERYPROPOSALSREQUEST._serialized_end=509 - _QUERYPROPOSALSRESPONSE._serialized_start=512 - _QUERYPROPOSALSRESPONSE._serialized_end=641 - _QUERYVOTEREQUEST._serialized_start=643 - _QUERYVOTEREQUEST._serialized_end=723 - _QUERYVOTERESPONSE._serialized_start=725 - _QUERYVOTERESPONSE._serialized_end=779 - _QUERYVOTESREQUEST._serialized_start=781 - _QUERYVOTESREQUEST._serialized_end=881 - _QUERYVOTESRESPONSE._serialized_start=883 - _QUERYVOTESRESPONSE._serialized_end=1000 - _QUERYPARAMSREQUEST._serialized_start=1002 - _QUERYPARAMSREQUEST._serialized_end=1043 - _QUERYPARAMSRESPONSE._serialized_start=1046 - _QUERYPARAMSRESPONSE._serialized_end=1274 - _QUERYDEPOSITREQUEST._serialized_start=1276 - _QUERYDEPOSITREQUEST._serialized_end=1363 - _QUERYDEPOSITRESPONSE._serialized_start=1365 - _QUERYDEPOSITRESPONSE._serialized_end=1428 - _QUERYDEPOSITSREQUEST._serialized_start=1430 - _QUERYDEPOSITSREQUEST._serialized_end=1533 - _QUERYDEPOSITSRESPONSE._serialized_start=1535 - _QUERYDEPOSITSRESPONSE._serialized_end=1661 - _QUERYTALLYRESULTREQUEST._serialized_start=1663 - _QUERYTALLYRESULTREQUEST._serialized_end=1709 - _QUERYTALLYRESULTRESPONSE._serialized_start=1711 - _QUERYTALLYRESULTRESPONSE._serialized_end=1780 - _QUERY._serialized_start=1783 - _QUERY._serialized_end=2897 + _globals['_QUERYPROPOSALREQUEST']._serialized_start=170 + _globals['_QUERYPROPOSALREQUEST']._serialized_end=213 + _globals['_QUERYPROPOSALRESPONSE']._serialized_start=215 + _globals['_QUERYPROPOSALRESPONSE']._serialized_end=281 + _globals['_QUERYPROPOSALSREQUEST']._serialized_start=284 + _globals['_QUERYPROPOSALSREQUEST']._serialized_end=509 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_start=512 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_end=641 + _globals['_QUERYVOTEREQUEST']._serialized_start=643 + _globals['_QUERYVOTEREQUEST']._serialized_end=723 + _globals['_QUERYVOTERESPONSE']._serialized_start=725 + _globals['_QUERYVOTERESPONSE']._serialized_end=779 + _globals['_QUERYVOTESREQUEST']._serialized_start=781 + _globals['_QUERYVOTESREQUEST']._serialized_end=881 + _globals['_QUERYVOTESRESPONSE']._serialized_start=883 + _globals['_QUERYVOTESRESPONSE']._serialized_end=1000 + _globals['_QUERYPARAMSREQUEST']._serialized_start=1002 + _globals['_QUERYPARAMSREQUEST']._serialized_end=1043 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=1046 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=1274 + _globals['_QUERYDEPOSITREQUEST']._serialized_start=1276 + _globals['_QUERYDEPOSITREQUEST']._serialized_end=1363 + _globals['_QUERYDEPOSITRESPONSE']._serialized_start=1365 + _globals['_QUERYDEPOSITRESPONSE']._serialized_end=1428 + _globals['_QUERYDEPOSITSREQUEST']._serialized_start=1430 + _globals['_QUERYDEPOSITSREQUEST']._serialized_end=1533 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_start=1535 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_end=1661 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=1663 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=1709 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=1711 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=1780 + _globals['_QUERY']._serialized_start=1783 + _globals['_QUERY']._serialized_end=2897 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/tx_pb2.py b/pyinjective/proto/cosmos/gov/v1/tx_pb2.py index 528ebf5a..69983c00 100644 --- a/pyinjective/proto/cosmos/gov/v1/tx_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/gov/v1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +22,9 @@ 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\"\x8b\x02\n\x11MsgSubmitProposal\x12&\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.Any\x12=\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12*\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08metadata\x18\x04 \x01(\t\x12\r\n\x05title\x18\x05 \x01(\t\x12\x0f\n\x07summary\x18\x06 \x01(\t:1\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1f\x63osmos-sdk/v1/MsgSubmitProposal\"0\n\x19MsgSubmitProposalResponse\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"\xa7\x01\n\x14MsgExecLegacyContent\x12\x45\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x12\x11\n\tauthority\x18\x02 \x01(\t:5\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\"cosmos-sdk/v1/MsgExecLegacyContent\"\x1e\n\x1cMsgExecLegacyContentResponse\"\xc0\x01\n\x07MsgVote\x12)\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x06option\x18\x03 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOption\x12\x10\n\x08metadata\x18\x04 \x01(\t:$\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x15\x63osmos-sdk/v1/MsgVote\"\x11\n\x0fMsgVoteResponse\"\xd9\x01\n\x0fMsgVoteWeighted\x12)\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x32\n\x07options\x18\x03 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOption\x12\x10\n\x08metadata\x18\x04 \x01(\t:,\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1d\x63osmos-sdk/v1/MsgVoteWeighted\"\x19\n\x17MsgVoteWeightedResponse\"\xc7\x01\n\nMsgDeposit\x12)\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x18\x63osmos-sdk/v1/MsgDeposit\"\x14\n\x12MsgDepositResponse\"\xa8\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/gov/v1/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\x8a\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\x1a\x05\x80\xe7\xb0*\x01\x42-Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -66,30 +67,30 @@ _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/gov/v1/MsgUpdateParams' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGSUBMITPROPOSAL._serialized_start=219 - _MSGSUBMITPROPOSAL._serialized_end=486 - _MSGSUBMITPROPOSALRESPONSE._serialized_start=488 - _MSGSUBMITPROPOSALRESPONSE._serialized_end=536 - _MSGEXECLEGACYCONTENT._serialized_start=539 - _MSGEXECLEGACYCONTENT._serialized_end=706 - _MSGEXECLEGACYCONTENTRESPONSE._serialized_start=708 - _MSGEXECLEGACYCONTENTRESPONSE._serialized_end=738 - _MSGVOTE._serialized_start=741 - _MSGVOTE._serialized_end=933 - _MSGVOTERESPONSE._serialized_start=935 - _MSGVOTERESPONSE._serialized_end=952 - _MSGVOTEWEIGHTED._serialized_start=955 - _MSGVOTEWEIGHTED._serialized_end=1172 - _MSGVOTEWEIGHTEDRESPONSE._serialized_start=1174 - _MSGVOTEWEIGHTEDRESPONSE._serialized_end=1199 - _MSGDEPOSIT._serialized_start=1202 - _MSGDEPOSIT._serialized_end=1401 - _MSGDEPOSITRESPONSE._serialized_start=1403 - _MSGDEPOSITRESPONSE._serialized_end=1423 - _MSGUPDATEPARAMS._serialized_start=1426 - _MSGUPDATEPARAMS._serialized_end=1594 - _MSGUPDATEPARAMSRESPONSE._serialized_start=1596 - _MSGUPDATEPARAMSRESPONSE._serialized_end=1621 - _MSG._serialized_start=1624 - _MSG._serialized_end=2146 + _globals['_MSGSUBMITPROPOSAL']._serialized_start=219 + _globals['_MSGSUBMITPROPOSAL']._serialized_end=486 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=488 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=536 + _globals['_MSGEXECLEGACYCONTENT']._serialized_start=539 + _globals['_MSGEXECLEGACYCONTENT']._serialized_end=706 + _globals['_MSGEXECLEGACYCONTENTRESPONSE']._serialized_start=708 + _globals['_MSGEXECLEGACYCONTENTRESPONSE']._serialized_end=738 + _globals['_MSGVOTE']._serialized_start=741 + _globals['_MSGVOTE']._serialized_end=933 + _globals['_MSGVOTERESPONSE']._serialized_start=935 + _globals['_MSGVOTERESPONSE']._serialized_end=952 + _globals['_MSGVOTEWEIGHTED']._serialized_start=955 + _globals['_MSGVOTEWEIGHTED']._serialized_end=1172 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_start=1174 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_end=1199 + _globals['_MSGDEPOSIT']._serialized_start=1202 + _globals['_MSGDEPOSIT']._serialized_end=1401 + _globals['_MSGDEPOSITRESPONSE']._serialized_start=1403 + _globals['_MSGDEPOSITRESPONSE']._serialized_end=1423 + _globals['_MSGUPDATEPARAMS']._serialized_start=1426 + _globals['_MSGUPDATEPARAMS']._serialized_end=1594 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1596 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1621 + _globals['_MSG']._serialized_start=1624 + _globals['_MSG']._serialized_end=2146 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py index d75d2284..7e8281a3 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/gov/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,27 @@ from 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\"\xc4\x03\n\x0cGenesisState\x12\x1c\n\x14starting_proposal_id\x18\x01 \x01(\x04\x12\x44\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\x15\xaa\xdf\x1f\x08\x44\x65posits\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\x05votes\x18\x03 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\x12\xaa\xdf\x1f\x05Votes\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12G\n\tproposals\x18\x04 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\x16\xaa\xdf\x1f\tProposals\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x44\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x42\n\rvoting_params\x18\x06 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12@\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x32Z0github.com/cosmos/cosmos-sdk/x/gov/types/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\"\xc4\x03\n\x0cGenesisState\x12\x1c\n\x14starting_proposal_id\x18\x01 \x01(\x04\x12\x44\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*\x01\x12;\n\x05votes\x18\x03 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\x12\xc8\xde\x1f\x00\xaa\xdf\x1f\x05Votes\xa8\xe7\xb0*\x01\x12G\n\tproposals\x18\x04 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\x16\xc8\xde\x1f\x00\xaa\xdf\x1f\tProposals\xa8\xe7\xb0*\x01\x12\x44\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x42\n\rvoting_params\x18\x06 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12@\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x32Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1' _GENESISSTATE.fields_by_name['deposits']._options = None - _GENESISSTATE.fields_by_name['deposits']._serialized_options = b'\252\337\037\010Deposits\310\336\037\000\250\347\260*\001' + _GENESISSTATE.fields_by_name['deposits']._serialized_options = b'\310\336\037\000\252\337\037\010Deposits\250\347\260*\001' _GENESISSTATE.fields_by_name['votes']._options = None - _GENESISSTATE.fields_by_name['votes']._serialized_options = b'\252\337\037\005Votes\310\336\037\000\250\347\260*\001' + _GENESISSTATE.fields_by_name['votes']._serialized_options = b'\310\336\037\000\252\337\037\005Votes\250\347\260*\001' _GENESISSTATE.fields_by_name['proposals']._options = None - _GENESISSTATE.fields_by_name['proposals']._serialized_options = b'\252\337\037\tProposals\310\336\037\000\250\347\260*\001' + _GENESISSTATE.fields_by_name['proposals']._serialized_options = b'\310\336\037\000\252\337\037\tProposals\250\347\260*\001' _GENESISSTATE.fields_by_name['deposit_params']._options = None _GENESISSTATE.fields_by_name['deposit_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE.fields_by_name['voting_params']._options = None _GENESISSTATE.fields_by_name['voting_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE.fields_by_name['tally_params']._options = None _GENESISSTATE.fields_by_name['tally_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _GENESISSTATE._serialized_start=128 - _GENESISSTATE._serialized_end=580 + _globals['_GENESISSTATE']._serialized_start=128 + _globals['_GENESISSTATE']._serialized_end=580 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py index c44d522b..24c4656e 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/gov/v1beta1/gov.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +20,15 @@ from 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\"\x92\x01\n\x12WeightedVoteOption\x12.\n\x06option\x18\x01 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOption\x12L\n\x06weight\x18\x02 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"r\n\x0cTextProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t:>\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17\x63osmos-sdk/TextProposal\xe8\xa0\x1f\x01\"\xb7\x01\n\x07\x44\x65posit\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12`\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe0\x04\n\x08Proposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\x45\n\x07\x63ontent\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x12\x32\n\x06status\x18\x03 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatus\x12\x46\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12>\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x43\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12g\n\rtotal_deposit\x18\x07 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x44\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x42\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01\"\xcb\x02\n\x0bTallyResult\x12I\n\x03yes\x18\x01 \x01(\tB<\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12M\n\x07\x61\x62stain\x18\x02 \x01(\tB<\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12H\n\x02no\x18\x03 \x01(\tB<\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12R\n\x0cno_with_veto\x18\x04 \x01(\tB<\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x04Vote\x12\'\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x12\xea\xde\x1f\x02id\xa2\xe7\xb0*\x02id\xa8\xe7\xb0*\x01\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x32\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionB\x02\x18\x01\x12\x42\n\x07options\x18\x04 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xeb\x01\n\rDepositParams\x12y\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBI\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xea\xde\x1f\x15min_deposit,omitempty\x12_\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB(\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xea\xde\x1f\x1cmax_deposit_period,omitempty\"e\n\x0cVotingParams\x12U\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB#\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xea\xde\x1f\x17voting_period,omitempty\"\x9f\x02\n\x0bTallyParams\x12R\n\x06quorum\x18\x01 \x01(\x0c\x42\x42\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\xea\xde\x1f\x10quorum,omitempty\x12X\n\tthreshold\x18\x02 \x01(\x0c\x42\x45\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\xea\xde\x1f\x13threshold,omitempty\x12\x62\n\x0eveto_threshold\x18\x03 \x01(\x0c\x42J\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\xea\xde\x1f\x18veto_threshold,omitempty*\xe6\x01\n\nVoteOption\x12,\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bOptionEmpty\x12\"\n\x0fVOTE_OPTION_YES\x10\x01\x1a\r\x8a\x9d \tOptionYes\x12*\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x1a\x11\x8a\x9d \rOptionAbstain\x12 \n\x0eVOTE_OPTION_NO\x10\x03\x1a\x0c\x8a\x9d \x08OptionNo\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>Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xd8\xe1\x1e\x00\x80\xe2\x1e\x00\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\"\x92\x01\n\x12WeightedVoteOption\x12.\n\x06option\x18\x01 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOption\x12L\n\x06weight\x18\x02 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\"r\n\x0cTextProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t:>\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17\x63osmos-sdk/TextProposal\"\xb7\x01\n\x07\x44\x65posit\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12`\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*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe0\x04\n\x08Proposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\x45\n\x07\x63ontent\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x12\x32\n\x06status\x18\x03 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatus\x12\x46\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12>\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12\x43\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*\x01\x12g\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*\x01\x12\x44\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*\x01\x12\x42\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*\x01:\x04\xe8\xa0\x1f\x01\"\xcb\x02\n\x0bTallyResult\x12I\n\x03yes\x18\x01 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12M\n\x07\x61\x62stain\x18\x02 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12H\n\x02no\x18\x03 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12R\n\x0cno_with_veto\x18\x04 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x04Vote\x12\'\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x12\xea\xde\x1f\x02id\xa2\xe7\xb0*\x02id\xa8\xe7\xb0*\x01\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x32\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionB\x02\x18\x01\x12\x42\n\x07options\x18\x04 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xeb\x01\n\rDepositParams\x12y\n\x0bmin_deposit\x18\x01 \x03(\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.Coins\x12_\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\x01\"e\n\x0cVotingParams\x12U\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\x01\"\x9f\x02\n\x0bTallyParams\x12R\n\x06quorum\x18\x01 \x01(\x0c\x42\x42\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xea\xde\x1f\x10quorum,omitempty\x12X\n\tthreshold\x18\x02 \x01(\x0c\x42\x45\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xea\xde\x1f\x13threshold,omitempty\x12\x62\n\x0eveto_threshold\x18\x03 \x01(\x0c\x42J\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xea\xde\x1f\x18veto_threshold,omitempty*\xe6\x01\n\nVoteOption\x12,\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bOptionEmpty\x12\"\n\x0fVOTE_OPTION_YES\x10\x01\x1a\r\x8a\x9d \tOptionYes\x12*\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x1a\x11\x8a\x9d \rOptionAbstain\x12 \n\x0eVOTE_OPTION_NO\x10\x03\x1a\x0c\x8a\x9d \x08OptionNo\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>Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\x80\xe2\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.gov_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.gov_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\330\341\036\000\200\342\036\000\310\341\036\000' + DESCRIPTOR._serialized_options = b'Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\310\341\036\000\330\341\036\000\200\342\036\000' _VOTEOPTION._options = None _VOTEOPTION._serialized_options = b'\210\243\036\000' _VOTEOPTION.values_by_name["VOTE_OPTION_UNSPECIFIED"]._options = None @@ -55,13 +56,13 @@ _PROPOSALSTATUS.values_by_name["PROPOSAL_STATUS_FAILED"]._options = None _PROPOSALSTATUS.values_by_name["PROPOSAL_STATUS_FAILED"]._serialized_options = b'\212\235 \014StatusFailed' _WEIGHTEDVOTEOPTION.fields_by_name['weight']._options = None - _WEIGHTEDVOTEOPTION.fields_by_name['weight']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _WEIGHTEDVOTEOPTION.fields_by_name['weight']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _TEXTPROPOSAL._options = None - _TEXTPROPOSAL._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027cosmos-sdk/TextProposal\350\240\037\001' + _TEXTPROPOSAL._serialized_options = b'\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027cosmos-sdk/TextProposal' _DEPOSIT.fields_by_name['depositor']._options = None _DEPOSIT.fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' _DEPOSIT.fields_by_name['amount']._options = None - _DEPOSIT.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _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' _DEPOSIT._options = None _DEPOSIT._serialized_options = b'\210\240\037\000\350\240\037\000' _PROPOSAL.fields_by_name['content']._options = None @@ -69,25 +70,25 @@ _PROPOSAL.fields_by_name['final_tally_result']._options = None _PROPOSAL.fields_by_name['final_tally_result']._serialized_options = b'\310\336\037\000\250\347\260*\001' _PROPOSAL.fields_by_name['submit_time']._options = None - _PROPOSAL.fields_by_name['submit_time']._serialized_options = b'\220\337\037\001\310\336\037\000\250\347\260*\001' + _PROPOSAL.fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _PROPOSAL.fields_by_name['deposit_end_time']._options = None - _PROPOSAL.fields_by_name['deposit_end_time']._serialized_options = b'\220\337\037\001\310\336\037\000\250\347\260*\001' + _PROPOSAL.fields_by_name['deposit_end_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _PROPOSAL.fields_by_name['total_deposit']._options = None - _PROPOSAL.fields_by_name['total_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _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' _PROPOSAL.fields_by_name['voting_start_time']._options = None - _PROPOSAL.fields_by_name['voting_start_time']._serialized_options = b'\220\337\037\001\310\336\037\000\250\347\260*\001' + _PROPOSAL.fields_by_name['voting_start_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _PROPOSAL.fields_by_name['voting_end_time']._options = None - _PROPOSAL.fields_by_name['voting_end_time']._serialized_options = b'\220\337\037\001\310\336\037\000\250\347\260*\001' + _PROPOSAL.fields_by_name['voting_end_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _PROPOSAL._options = None _PROPOSAL._serialized_options = b'\350\240\037\001' _TALLYRESULT.fields_by_name['yes']._options = None - _TALLYRESULT.fields_by_name['yes']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _TALLYRESULT.fields_by_name['yes']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _TALLYRESULT.fields_by_name['abstain']._options = None - _TALLYRESULT.fields_by_name['abstain']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _TALLYRESULT.fields_by_name['abstain']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _TALLYRESULT.fields_by_name['no']._options = None - _TALLYRESULT.fields_by_name['no']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _TALLYRESULT.fields_by_name['no']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _TALLYRESULT.fields_by_name['no_with_veto']._options = None - _TALLYRESULT.fields_by_name['no_with_veto']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _TALLYRESULT.fields_by_name['no_with_veto']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _TALLYRESULT._options = None _TALLYRESULT._serialized_options = b'\350\240\037\001' _VOTE.fields_by_name['proposal_id']._options = None @@ -101,37 +102,37 @@ _VOTE._options = None _VOTE._serialized_options = b'\230\240\037\000\350\240\037\000' _DEPOSITPARAMS.fields_by_name['min_deposit']._options = None - _DEPOSITPARAMS.fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\352\336\037\025min_deposit,omitempty' + _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' _DEPOSITPARAMS.fields_by_name['max_deposit_period']._options = None - _DEPOSITPARAMS.fields_by_name['max_deposit_period']._serialized_options = b'\310\336\037\000\230\337\037\001\352\336\037\034max_deposit_period,omitempty' + _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' _VOTINGPARAMS.fields_by_name['voting_period']._options = None - _VOTINGPARAMS.fields_by_name['voting_period']._serialized_options = b'\310\336\037\000\230\337\037\001\352\336\037\027voting_period,omitempty' + _VOTINGPARAMS.fields_by_name['voting_period']._serialized_options = b'\310\336\037\000\352\336\037\027voting_period,omitempty\230\337\037\001' _TALLYPARAMS.fields_by_name['quorum']._options = None - _TALLYPARAMS.fields_by_name['quorum']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000\352\336\037\020quorum,omitempty' + _TALLYPARAMS.fields_by_name['quorum']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\352\336\037\020quorum,omitempty' _TALLYPARAMS.fields_by_name['threshold']._options = None - _TALLYPARAMS.fields_by_name['threshold']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000\352\336\037\023threshold,omitempty' + _TALLYPARAMS.fields_by_name['threshold']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\352\336\037\023threshold,omitempty' _TALLYPARAMS.fields_by_name['veto_threshold']._options = None - _TALLYPARAMS.fields_by_name['veto_threshold']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000\352\336\037\030veto_threshold,omitempty' - _VOTEOPTION._serialized_start=2493 - _VOTEOPTION._serialized_end=2723 - _PROPOSALSTATUS._serialized_start=2726 - _PROPOSALSTATUS._serialized_end=3058 - _WEIGHTEDVOTEOPTION._serialized_start=245 - _WEIGHTEDVOTEOPTION._serialized_end=391 - _TEXTPROPOSAL._serialized_start=393 - _TEXTPROPOSAL._serialized_end=507 - _DEPOSIT._serialized_start=510 - _DEPOSIT._serialized_end=693 - _PROPOSAL._serialized_start=696 - _PROPOSAL._serialized_end=1304 - _TALLYRESULT._serialized_start=1307 - _TALLYRESULT._serialized_end=1638 - _VOTE._serialized_start=1641 - _VOTE._serialized_end=1859 - _DEPOSITPARAMS._serialized_start=1862 - _DEPOSITPARAMS._serialized_end=2097 - _VOTINGPARAMS._serialized_start=2099 - _VOTINGPARAMS._serialized_end=2200 - _TALLYPARAMS._serialized_start=2203 - _TALLYPARAMS._serialized_end=2490 + _TALLYPARAMS.fields_by_name['veto_threshold']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\352\336\037\030veto_threshold,omitempty' + _globals['_VOTEOPTION']._serialized_start=2493 + _globals['_VOTEOPTION']._serialized_end=2723 + _globals['_PROPOSALSTATUS']._serialized_start=2726 + _globals['_PROPOSALSTATUS']._serialized_end=3058 + _globals['_WEIGHTEDVOTEOPTION']._serialized_start=245 + _globals['_WEIGHTEDVOTEOPTION']._serialized_end=391 + _globals['_TEXTPROPOSAL']._serialized_start=393 + _globals['_TEXTPROPOSAL']._serialized_end=507 + _globals['_DEPOSIT']._serialized_start=510 + _globals['_DEPOSIT']._serialized_end=693 + _globals['_PROPOSAL']._serialized_start=696 + _globals['_PROPOSAL']._serialized_end=1304 + _globals['_TALLYRESULT']._serialized_start=1307 + _globals['_TALLYRESULT']._serialized_end=1638 + _globals['_VOTE']._serialized_start=1641 + _globals['_VOTE']._serialized_end=1859 + _globals['_DEPOSITPARAMS']._serialized_start=1862 + _globals['_DEPOSITPARAMS']._serialized_end=2097 + _globals['_VOTINGPARAMS']._serialized_start=2099 + _globals['_VOTINGPARAMS']._serialized_end=2200 + _globals['_TALLYPARAMS']._serialized_start=2203 + _globals['_TALLYPARAMS']._serialized_end=2490 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py index 039320af..00a040e9 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/gov/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +19,11 @@ from 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\"+\n\x14QueryProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"R\n\x15QueryProposalResponse\x12\x39\n\x08proposal\x18\x01 \x01(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xf0\x01\n\x15QueryProposalsRequest\x12;\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatus\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x91\x01\n\x16QueryProposalsResponse\x12:\n\tproposals\x18\x01 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"Z\n\x10QueryVoteRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"F\n\x11QueryVoteResponse\x12\x31\n\x04vote\x18\x01 \x01(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"d\n\x11QueryVotesRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x85\x01\n\x12QueryVotesResponse\x12\x32\n\x05votes\x18\x01 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\")\n\x12QueryParamsRequest\x12\x13\n\x0bparams_type\x18\x01 \x01(\t\"\xe1\x01\n\x13QueryParamsResponse\x12\x42\n\rvoting_params\x18\x01 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x44\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12@\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"a\n\x13QueryDepositRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"O\n\x14QueryDepositResponse\x12\x37\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"g\n\x14QueryDepositsRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x8e\x01\n\x15QueryDepositsResponse\x12\x38\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\".\n\x17QueryTallyResultRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"U\n\x18QueryTallyResultResponse\x12\x39\n\x05tally\x18\x01 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x32\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}/tallyB2Z0github.com/cosmos/cosmos-sdk/x/gov/types/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\"+\n\x14QueryProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"R\n\x15QueryProposalResponse\x12\x39\n\x08proposal\x18\x01 \x01(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xf0\x01\n\x15QueryProposalsRequest\x12;\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatus\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x91\x01\n\x16QueryProposalsResponse\x12:\n\tproposals\x18\x01 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"Z\n\x10QueryVoteRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"F\n\x11QueryVoteResponse\x12\x31\n\x04vote\x18\x01 \x01(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"d\n\x11QueryVotesRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x85\x01\n\x12QueryVotesResponse\x12\x32\n\x05votes\x18\x01 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\")\n\x12QueryParamsRequest\x12\x13\n\x0bparams_type\x18\x01 \x01(\t\"\xe1\x01\n\x13QueryParamsResponse\x12\x42\n\rvoting_params\x18\x01 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x44\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12@\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"a\n\x13QueryDepositRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"O\n\x14QueryDepositResponse\x12\x37\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"g\n\x14QueryDepositsRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x8e\x01\n\x15QueryDepositsResponse\x12\x38\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\".\n\x17QueryTallyResultRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"U\n\x18QueryTallyResultResponse\x12\x39\n\x05tally\x18\x01 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x32\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}/tallyB2Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -34,13 +35,13 @@ _QUERYPROPOSALSREQUEST.fields_by_name['depositor']._options = None _QUERYPROPOSALSREQUEST.fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYPROPOSALSREQUEST._options = None - _QUERYPROPOSALSREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYPROPOSALSREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYPROPOSALSRESPONSE.fields_by_name['proposals']._options = None _QUERYPROPOSALSRESPONSE.fields_by_name['proposals']._serialized_options = b'\310\336\037\000\250\347\260*\001' _QUERYVOTEREQUEST.fields_by_name['voter']._options = None _QUERYVOTEREQUEST.fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYVOTEREQUEST._options = None - _QUERYVOTEREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYVOTEREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYVOTERESPONSE.fields_by_name['vote']._options = None _QUERYVOTERESPONSE.fields_by_name['vote']._serialized_options = b'\310\336\037\000\250\347\260*\001' _QUERYVOTESRESPONSE.fields_by_name['votes']._options = None @@ -77,38 +78,38 @@ _QUERY.methods_by_name['Deposits']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits' _QUERY.methods_by_name['TallyResult']._options = None _QUERY.methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/tally' - _QUERYPROPOSALREQUEST._serialized_start=226 - _QUERYPROPOSALREQUEST._serialized_end=269 - _QUERYPROPOSALRESPONSE._serialized_start=271 - _QUERYPROPOSALRESPONSE._serialized_end=353 - _QUERYPROPOSALSREQUEST._serialized_start=356 - _QUERYPROPOSALSREQUEST._serialized_end=596 - _QUERYPROPOSALSRESPONSE._serialized_start=599 - _QUERYPROPOSALSRESPONSE._serialized_end=744 - _QUERYVOTEREQUEST._serialized_start=746 - _QUERYVOTEREQUEST._serialized_end=836 - _QUERYVOTERESPONSE._serialized_start=838 - _QUERYVOTERESPONSE._serialized_end=908 - _QUERYVOTESREQUEST._serialized_start=910 - _QUERYVOTESREQUEST._serialized_end=1010 - _QUERYVOTESRESPONSE._serialized_start=1013 - _QUERYVOTESRESPONSE._serialized_end=1146 - _QUERYPARAMSREQUEST._serialized_start=1148 - _QUERYPARAMSREQUEST._serialized_end=1189 - _QUERYPARAMSRESPONSE._serialized_start=1192 - _QUERYPARAMSRESPONSE._serialized_end=1417 - _QUERYDEPOSITREQUEST._serialized_start=1419 - _QUERYDEPOSITREQUEST._serialized_end=1516 - _QUERYDEPOSITRESPONSE._serialized_start=1518 - _QUERYDEPOSITRESPONSE._serialized_end=1597 - _QUERYDEPOSITSREQUEST._serialized_start=1599 - _QUERYDEPOSITSREQUEST._serialized_end=1702 - _QUERYDEPOSITSRESPONSE._serialized_start=1705 - _QUERYDEPOSITSRESPONSE._serialized_end=1847 - _QUERYTALLYRESULTREQUEST._serialized_start=1849 - _QUERYTALLYRESULTREQUEST._serialized_end=1895 - _QUERYTALLYRESULTRESPONSE._serialized_start=1897 - _QUERYTALLYRESULTRESPONSE._serialized_end=1982 - _QUERY._serialized_start=1985 - _QUERY._serialized_end=3221 + _globals['_QUERYPROPOSALREQUEST']._serialized_start=226 + _globals['_QUERYPROPOSALREQUEST']._serialized_end=269 + _globals['_QUERYPROPOSALRESPONSE']._serialized_start=271 + _globals['_QUERYPROPOSALRESPONSE']._serialized_end=353 + _globals['_QUERYPROPOSALSREQUEST']._serialized_start=356 + _globals['_QUERYPROPOSALSREQUEST']._serialized_end=596 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_start=599 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_end=744 + _globals['_QUERYVOTEREQUEST']._serialized_start=746 + _globals['_QUERYVOTEREQUEST']._serialized_end=836 + _globals['_QUERYVOTERESPONSE']._serialized_start=838 + _globals['_QUERYVOTERESPONSE']._serialized_end=908 + _globals['_QUERYVOTESREQUEST']._serialized_start=910 + _globals['_QUERYVOTESREQUEST']._serialized_end=1010 + _globals['_QUERYVOTESRESPONSE']._serialized_start=1013 + _globals['_QUERYVOTESRESPONSE']._serialized_end=1146 + _globals['_QUERYPARAMSREQUEST']._serialized_start=1148 + _globals['_QUERYPARAMSREQUEST']._serialized_end=1189 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=1192 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=1417 + _globals['_QUERYDEPOSITREQUEST']._serialized_start=1419 + _globals['_QUERYDEPOSITREQUEST']._serialized_end=1516 + _globals['_QUERYDEPOSITRESPONSE']._serialized_start=1518 + _globals['_QUERYDEPOSITRESPONSE']._serialized_end=1597 + _globals['_QUERYDEPOSITSREQUEST']._serialized_start=1599 + _globals['_QUERYDEPOSITSREQUEST']._serialized_end=1702 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_start=1705 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_end=1847 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=1849 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=1895 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=1897 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=1982 + _globals['_QUERY']._serialized_start=1985 + _globals['_QUERY']._serialized_end=3221 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py index a77f09c8..e421fb86 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/gov/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +20,11 @@ from 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\"\xb1\x02\n\x11MsgSubmitProposal\x12\x45\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x12i\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12*\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:>\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitProposal\xe8\xa0\x1f\x00\x98\xa0\x1f\x00\x80\xdc \x00\x88\xa0\x1f\x00\"F\n\x19MsgSubmitProposalResponse\x12)\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01\"\xaa\x01\n\x07MsgVote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12.\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOption:1\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgVote\xe8\xa0\x1f\x00\x98\xa0\x1f\x00\x80\xdc \x00\x88\xa0\x1f\x00\"\x11\n\x0fMsgVoteResponse\"\xe4\x01\n\x0fMsgVoteWeighted\x12)\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x42\n\x07options\x18\x03 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:9\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgVoteWeighted\xe8\xa0\x1f\x00\x98\xa0\x1f\x00\x80\xdc \x00\x88\xa0\x1f\x00\"\x19\n\x17MsgVoteWeightedResponse\"\x80\x02\n\nMsgDeposit\x12)\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12`\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:8\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x15\x63osmos-sdk/MsgDeposit\xe8\xa0\x1f\x00\x98\xa0\x1f\x00\x80\xdc \x00\x88\xa0\x1f\x00\"\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\x32Z0github.com/cosmos/cosmos-sdk/x/gov/types/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\"\xb1\x02\n\x11MsgSubmitProposal\x12\x45\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x12i\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12*\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:>\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\x80\xdc \x00\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitProposal\"F\n\x19MsgSubmitProposalResponse\x12)\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01\"\xaa\x01\n\x07MsgVote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12.\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOption:1\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\x80\xdc \x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgVote\"\x11\n\x0fMsgVoteResponse\"\xe4\x01\n\x0fMsgVoteWeighted\x12)\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x42\n\x07options\x18\x03 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:9\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\x80\xdc \x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgVoteWeighted\"\x19\n\x17MsgVoteWeightedResponse\"\x80\x02\n\nMsgDeposit\x12)\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12`\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*\x01:8\x88\xa0\x1f\x00\x98\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\x32Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -31,17 +32,17 @@ _MSGSUBMITPROPOSAL.fields_by_name['content']._options = None _MSGSUBMITPROPOSAL.fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' _MSGSUBMITPROPOSAL.fields_by_name['initial_deposit']._options = None - _MSGSUBMITPROPOSAL.fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGSUBMITPROPOSAL.fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGSUBMITPROPOSAL.fields_by_name['proposer']._options = None _MSGSUBMITPROPOSAL.fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSUBMITPROPOSAL._options = None - _MSGSUBMITPROPOSAL._serialized_options = b'\202\347\260*\010proposer\212\347\260*\034cosmos-sdk/MsgSubmitProposal\350\240\037\000\230\240\037\000\200\334 \000\210\240\037\000' + _MSGSUBMITPROPOSAL._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000\200\334 \000\202\347\260*\010proposer\212\347\260*\034cosmos-sdk/MsgSubmitProposal' _MSGSUBMITPROPOSALRESPONSE.fields_by_name['proposal_id']._options = None _MSGSUBMITPROPOSALRESPONSE.fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' _MSGVOTE.fields_by_name['voter']._options = None _MSGVOTE.fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGVOTE._options = None - _MSGVOTE._serialized_options = b'\202\347\260*\005voter\212\347\260*\022cosmos-sdk/MsgVote\350\240\037\000\230\240\037\000\200\334 \000\210\240\037\000' + _MSGVOTE._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000\200\334 \000\202\347\260*\005voter\212\347\260*\022cosmos-sdk/MsgVote' _MSGVOTEWEIGHTED.fields_by_name['proposal_id']._options = None _MSGVOTEWEIGHTED.fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' _MSGVOTEWEIGHTED.fields_by_name['voter']._options = None @@ -49,33 +50,33 @@ _MSGVOTEWEIGHTED.fields_by_name['options']._options = None _MSGVOTEWEIGHTED.fields_by_name['options']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGVOTEWEIGHTED._options = None - _MSGVOTEWEIGHTED._serialized_options = b'\202\347\260*\005voter\212\347\260*\032cosmos-sdk/MsgVoteWeighted\350\240\037\000\230\240\037\000\200\334 \000\210\240\037\000' + _MSGVOTEWEIGHTED._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000\200\334 \000\202\347\260*\005voter\212\347\260*\032cosmos-sdk/MsgVoteWeighted' _MSGDEPOSIT.fields_by_name['proposal_id']._options = None _MSGDEPOSIT.fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' _MSGDEPOSIT.fields_by_name['depositor']._options = None _MSGDEPOSIT.fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGDEPOSIT.fields_by_name['amount']._options = None - _MSGDEPOSIT.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGDEPOSIT.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' _MSGDEPOSIT._options = None - _MSGDEPOSIT._serialized_options = b'\202\347\260*\tdepositor\212\347\260*\025cosmos-sdk/MsgDeposit\350\240\037\000\230\240\037\000\200\334 \000\210\240\037\000' + _MSGDEPOSIT._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000\200\334 \000\202\347\260*\tdepositor\212\347\260*\025cosmos-sdk/MsgDeposit' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGSUBMITPROPOSAL._serialized_start=234 - _MSGSUBMITPROPOSAL._serialized_end=539 - _MSGSUBMITPROPOSALRESPONSE._serialized_start=541 - _MSGSUBMITPROPOSALRESPONSE._serialized_end=611 - _MSGVOTE._serialized_start=614 - _MSGVOTE._serialized_end=784 - _MSGVOTERESPONSE._serialized_start=786 - _MSGVOTERESPONSE._serialized_end=803 - _MSGVOTEWEIGHTED._serialized_start=806 - _MSGVOTEWEIGHTED._serialized_end=1034 - _MSGVOTEWEIGHTEDRESPONSE._serialized_start=1036 - _MSGVOTEWEIGHTEDRESPONSE._serialized_end=1061 - _MSGDEPOSIT._serialized_start=1064 - _MSGDEPOSIT._serialized_end=1320 - _MSGDEPOSITRESPONSE._serialized_start=1322 - _MSGDEPOSITRESPONSE._serialized_end=1342 - _MSG._serialized_start=1345 - _MSG._serialized_end=1716 + _globals['_MSGSUBMITPROPOSAL']._serialized_start=234 + _globals['_MSGSUBMITPROPOSAL']._serialized_end=539 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=541 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=611 + _globals['_MSGVOTE']._serialized_start=614 + _globals['_MSGVOTE']._serialized_end=784 + _globals['_MSGVOTERESPONSE']._serialized_start=786 + _globals['_MSGVOTERESPONSE']._serialized_end=803 + _globals['_MSGVOTEWEIGHTED']._serialized_start=806 + _globals['_MSGVOTEWEIGHTED']._serialized_end=1034 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_start=1036 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_end=1061 + _globals['_MSGDEPOSIT']._serialized_start=1064 + _globals['_MSGDEPOSIT']._serialized_end=1320 + _globals['_MSGDEPOSITRESPONSE']._serialized_start=1322 + _globals['_MSGDEPOSITRESPONSE']._serialized_end=1342 + _globals['_MSG']._serialized_start=1345 + _globals['_MSG']._serialized_end=1716 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/module/v1/module_pb2.py b/pyinjective/proto/cosmos/group/module/v1/module_pb2.py index 21f24eaf..73bf07c6 100644 --- a/pyinjective/proto/cosmos/group/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/group/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/group/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,17 +17,18 @@ from 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\"\x98\x01\n\x06Module\x12\x46\n\x14max_execution_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\x98\xdf\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x18\n\x10max_metadata_len\x18\x02 \x01(\x04:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/groupb\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\"\x98\x01\n\x06Module\x12\x46\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*\x01\x12\x18\n\x10max_metadata_len\x18\x02 \x01(\x04:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE.fields_by_name['max_execution_period']._options = None - _MODULE.fields_by_name['max_execution_period']._serialized_options = b'\230\337\037\001\310\336\037\000\250\347\260*\001' + _MODULE.fields_by_name['max_execution_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/group' - _MODULE._serialized_start=171 - _MODULE._serialized_end=323 + _globals['_MODULE']._serialized_start=171 + _globals['_MODULE']._serialized_end=323 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/events_pb2.py b/pyinjective/proto/cosmos/group/v1/events_pb2.py index 4fd90ffb..8d4088ad 100644 --- a/pyinjective/proto/cosmos/group/v1/events_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/events_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/group/v1/events.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/group/v1/events.proto\x12\x0f\x63osmos.group.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/group/v1/types.proto\"$\n\x10\x45ventCreateGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"$\n\x10\x45ventUpdateGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"C\n\x16\x45ventCreateGroupPolicy\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"C\n\x16\x45ventUpdateGroupPolicy\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"*\n\x13\x45ventSubmitProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\",\n\x15\x45ventWithdrawProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\" \n\tEventVote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"g\n\tEventExec\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\x37\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResult\x12\x0c\n\x04logs\x18\x03 \x01(\t\"N\n\x0f\x45ventLeaveGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12)\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.events_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -29,22 +30,22 @@ _EVENTUPDATEGROUPPOLICY.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _EVENTLEAVEGROUP.fields_by_name['address']._options = None _EVENTLEAVEGROUP.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _EVENTCREATEGROUP._serialized_start=105 - _EVENTCREATEGROUP._serialized_end=141 - _EVENTUPDATEGROUP._serialized_start=143 - _EVENTUPDATEGROUP._serialized_end=179 - _EVENTCREATEGROUPPOLICY._serialized_start=181 - _EVENTCREATEGROUPPOLICY._serialized_end=248 - _EVENTUPDATEGROUPPOLICY._serialized_start=250 - _EVENTUPDATEGROUPPOLICY._serialized_end=317 - _EVENTSUBMITPROPOSAL._serialized_start=319 - _EVENTSUBMITPROPOSAL._serialized_end=361 - _EVENTWITHDRAWPROPOSAL._serialized_start=363 - _EVENTWITHDRAWPROPOSAL._serialized_end=407 - _EVENTVOTE._serialized_start=409 - _EVENTVOTE._serialized_end=441 - _EVENTEXEC._serialized_start=443 - _EVENTEXEC._serialized_end=546 - _EVENTLEAVEGROUP._serialized_start=548 - _EVENTLEAVEGROUP._serialized_end=626 + _globals['_EVENTCREATEGROUP']._serialized_start=105 + _globals['_EVENTCREATEGROUP']._serialized_end=141 + _globals['_EVENTUPDATEGROUP']._serialized_start=143 + _globals['_EVENTUPDATEGROUP']._serialized_end=179 + _globals['_EVENTCREATEGROUPPOLICY']._serialized_start=181 + _globals['_EVENTCREATEGROUPPOLICY']._serialized_end=248 + _globals['_EVENTUPDATEGROUPPOLICY']._serialized_start=250 + _globals['_EVENTUPDATEGROUPPOLICY']._serialized_end=317 + _globals['_EVENTSUBMITPROPOSAL']._serialized_start=319 + _globals['_EVENTSUBMITPROPOSAL']._serialized_end=361 + _globals['_EVENTWITHDRAWPROPOSAL']._serialized_start=363 + _globals['_EVENTWITHDRAWPROPOSAL']._serialized_end=407 + _globals['_EVENTVOTE']._serialized_start=409 + _globals['_EVENTVOTE']._serialized_end=441 + _globals['_EVENTEXEC']._serialized_start=443 + _globals['_EVENTEXEC']._serialized_end=546 + _globals['_EVENTLEAVEGROUP']._serialized_start=548 + _globals['_EVENTLEAVEGROUP']._serialized_end=626 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/genesis_pb2.py b/pyinjective/proto/cosmos/group/v1/genesis_pb2.py index 01d1cc2d..34f73656 100644 --- a/pyinjective/proto/cosmos/group/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/group/v1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,13 @@ 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\"\xc0\x02\n\x0cGenesisState\x12\x11\n\tgroup_seq\x18\x01 \x01(\x04\x12*\n\x06groups\x18\x02 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12\x33\n\rgroup_members\x18\x03 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMember\x12\x18\n\x10group_policy_seq\x18\x04 \x01(\x04\x12\x38\n\x0egroup_policies\x18\x05 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\x12\x14\n\x0cproposal_seq\x18\x06 \x01(\x04\x12,\n\tproposals\x18\x07 \x03(\x0b\x32\x19.cosmos.group.v1.Proposal\x12$\n\x05votes\x18\x08 \x03(\x0b\x32\x15.cosmos.group.v1.VoteB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/group' - _GENESISSTATE._serialized_start=80 - _GENESISSTATE._serialized_end=400 + _globals['_GENESISSTATE']._serialized_start=80 + _globals['_GENESISSTATE']._serialized_end=400 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/query_pb2.py b/pyinjective/proto/cosmos/group/v1/query_pb2.py index 561fd849..c0af2ab3 100644 --- a/pyinjective/proto/cosmos/group/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/group/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +21,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/query.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\")\n\x15QueryGroupInfoRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"B\n\x16QueryGroupInfoResponse\x12(\n\x04info\x18\x01 \x01(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\"H\n\x1bQueryGroupPolicyInfoRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"N\n\x1cQueryGroupPolicyInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\"h\n\x18QueryGroupMembersRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x87\x01\n\x19QueryGroupMembersResponse\x12-\n\x07members\x18\x01 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMember\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x80\x01\n\x19QueryGroupsByAdminRequest\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x85\x01\n\x1aQueryGroupsByAdminResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"p\n QueryGroupPoliciesByGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9a\x01\n!QueryGroupPoliciesByGroupResponse\x12\x38\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x87\x01\n QueryGroupPoliciesByAdminRequest\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9a\x01\n!QueryGroupPoliciesByAdminResponse\x12\x38\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"+\n\x14QueryProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"D\n\x15QueryProposalResponse\x12+\n\x08proposal\x18\x01 \x01(\x0b\x32\x19.cosmos.group.v1.Proposal\"\x8b\x01\n\"QueryProposalsByGroupPolicyRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n#QueryProposalsByGroupPolicyResponse\x12,\n\tproposals\x18\x01 \x03(\x0b\x32\x19.cosmos.group.v1.Proposal\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"_\n\x1fQueryVoteByProposalVoterRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"G\n QueryVoteByProposalVoterResponse\x12#\n\x04vote\x18\x01 \x01(\x0b\x32\x15.cosmos.group.v1.Vote\"n\n\x1bQueryVotesByProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x81\x01\n\x1cQueryVotesByProposalResponse\x12$\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.Vote\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x7f\n\x18QueryVotesByVoterRequest\x12\'\n\x05voter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"~\n\x19QueryVotesByVoterResponse\x12$\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.Vote\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x83\x01\n\x1aQueryGroupsByMemberRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x86\x01\n\x1bQueryGroupsByMemberResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\".\n\x17QueryTallyResultRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"R\n\x18QueryTallyResultResponse\x12\x36\n\x05tally\x18\x01 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x32\x85\x11\n\x05Query\x12\x8c\x01\n\tGroupInfo\x12&.cosmos.group.v1.QueryGroupInfoRequest\x1a\'.cosmos.group.v1.QueryGroupInfoResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/group/v1/group_info/{group_id}\x12\xa4\x01\n\x0fGroupPolicyInfo\x12,.cosmos.group.v1.QueryGroupPolicyInfoRequest\x1a-.cosmos.group.v1.QueryGroupPolicyInfoResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/group/v1/group_policy_info/{address}\x12\x98\x01\n\x0cGroupMembers\x12).cosmos.group.v1.QueryGroupMembersRequest\x1a*.cosmos.group.v1.QueryGroupMembersResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/group/v1/group_members/{group_id}\x12\x9a\x01\n\rGroupsByAdmin\x12*.cosmos.group.v1.QueryGroupsByAdminRequest\x1a+.cosmos.group.v1.QueryGroupsByAdminResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/group/v1/groups_by_admin/{admin}\x12\xba\x01\n\x14GroupPoliciesByGroup\x12\x31.cosmos.group.v1.QueryGroupPoliciesByGroupRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByGroupResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/group/v1/group_policies_by_group/{group_id}\x12\xb7\x01\n\x14GroupPoliciesByAdmin\x12\x31.cosmos.group.v1.QueryGroupPoliciesByAdminRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByAdminResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/group_policies_by_admin/{admin}\x12\x8a\x01\n\x08Proposal\x12%.cosmos.group.v1.QueryProposalRequest\x1a&.cosmos.group.v1.QueryProposalResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/proposal/{proposal_id}\x12\xc1\x01\n\x16ProposalsByGroupPolicy\x12\x33.cosmos.group.v1.QueryProposalsByGroupPolicyRequest\x1a\x34.cosmos.group.v1.QueryProposalsByGroupPolicyResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/group/v1/proposals_by_group_policy/{address}\x12\xc1\x01\n\x13VoteByProposalVoter\x12\x30.cosmos.group.v1.QueryVoteByProposalVoterRequest\x1a\x31.cosmos.group.v1.QueryVoteByProposalVoterResponse\"E\x82\xd3\xe4\x93\x02?\x12=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}\x12\xa8\x01\n\x0fVotesByProposal\x12,.cosmos.group.v1.QueryVotesByProposalRequest\x1a-.cosmos.group.v1.QueryVotesByProposalResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/votes_by_proposal/{proposal_id}\x12\x96\x01\n\x0cVotesByVoter\x12).cosmos.group.v1.QueryVotesByVoterRequest\x1a*.cosmos.group.v1.QueryVotesByVoterResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/votes_by_voter/{voter}\x12\xa0\x01\n\x0eGroupsByMember\x12+.cosmos.group.v1.QueryGroupsByMemberRequest\x1a,.cosmos.group.v1.QueryGroupsByMemberResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/group/v1/groups_by_member/{address}\x12\x9a\x01\n\x0bTallyResult\x12(.cosmos.group.v1.QueryTallyResultRequest\x1a).cosmos.group.v1.QueryTallyResultResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/group/v1/proposals/{proposal_id}/tallyB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -69,58 +70,58 @@ _QUERY.methods_by_name['GroupsByMember']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/group/v1/groups_by_member/{address}' _QUERY.methods_by_name['TallyResult']._options = None _QUERY.methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0020\022./cosmos/group/v1/proposals/{proposal_id}/tally' - _QUERYGROUPINFOREQUEST._serialized_start=219 - _QUERYGROUPINFOREQUEST._serialized_end=260 - _QUERYGROUPINFORESPONSE._serialized_start=262 - _QUERYGROUPINFORESPONSE._serialized_end=328 - _QUERYGROUPPOLICYINFOREQUEST._serialized_start=330 - _QUERYGROUPPOLICYINFOREQUEST._serialized_end=402 - _QUERYGROUPPOLICYINFORESPONSE._serialized_start=404 - _QUERYGROUPPOLICYINFORESPONSE._serialized_end=482 - _QUERYGROUPMEMBERSREQUEST._serialized_start=484 - _QUERYGROUPMEMBERSREQUEST._serialized_end=588 - _QUERYGROUPMEMBERSRESPONSE._serialized_start=591 - _QUERYGROUPMEMBERSRESPONSE._serialized_end=726 - _QUERYGROUPSBYADMINREQUEST._serialized_start=729 - _QUERYGROUPSBYADMINREQUEST._serialized_end=857 - _QUERYGROUPSBYADMINRESPONSE._serialized_start=860 - _QUERYGROUPSBYADMINRESPONSE._serialized_end=993 - _QUERYGROUPPOLICIESBYGROUPREQUEST._serialized_start=995 - _QUERYGROUPPOLICIESBYGROUPREQUEST._serialized_end=1107 - _QUERYGROUPPOLICIESBYGROUPRESPONSE._serialized_start=1110 - _QUERYGROUPPOLICIESBYGROUPRESPONSE._serialized_end=1264 - _QUERYGROUPPOLICIESBYADMINREQUEST._serialized_start=1267 - _QUERYGROUPPOLICIESBYADMINREQUEST._serialized_end=1402 - _QUERYGROUPPOLICIESBYADMINRESPONSE._serialized_start=1405 - _QUERYGROUPPOLICIESBYADMINRESPONSE._serialized_end=1559 - _QUERYPROPOSALREQUEST._serialized_start=1561 - _QUERYPROPOSALREQUEST._serialized_end=1604 - _QUERYPROPOSALRESPONSE._serialized_start=1606 - _QUERYPROPOSALRESPONSE._serialized_end=1674 - _QUERYPROPOSALSBYGROUPPOLICYREQUEST._serialized_start=1677 - _QUERYPROPOSALSBYGROUPPOLICYREQUEST._serialized_end=1816 - _QUERYPROPOSALSBYGROUPPOLICYRESPONSE._serialized_start=1819 - _QUERYPROPOSALSBYGROUPPOLICYRESPONSE._serialized_end=1963 - _QUERYVOTEBYPROPOSALVOTERREQUEST._serialized_start=1965 - _QUERYVOTEBYPROPOSALVOTERREQUEST._serialized_end=2060 - _QUERYVOTEBYPROPOSALVOTERRESPONSE._serialized_start=2062 - _QUERYVOTEBYPROPOSALVOTERRESPONSE._serialized_end=2133 - _QUERYVOTESBYPROPOSALREQUEST._serialized_start=2135 - _QUERYVOTESBYPROPOSALREQUEST._serialized_end=2245 - _QUERYVOTESBYPROPOSALRESPONSE._serialized_start=2248 - _QUERYVOTESBYPROPOSALRESPONSE._serialized_end=2377 - _QUERYVOTESBYVOTERREQUEST._serialized_start=2379 - _QUERYVOTESBYVOTERREQUEST._serialized_end=2506 - _QUERYVOTESBYVOTERRESPONSE._serialized_start=2508 - _QUERYVOTESBYVOTERRESPONSE._serialized_end=2634 - _QUERYGROUPSBYMEMBERREQUEST._serialized_start=2637 - _QUERYGROUPSBYMEMBERREQUEST._serialized_end=2768 - _QUERYGROUPSBYMEMBERRESPONSE._serialized_start=2771 - _QUERYGROUPSBYMEMBERRESPONSE._serialized_end=2905 - _QUERYTALLYRESULTREQUEST._serialized_start=2907 - _QUERYTALLYRESULTREQUEST._serialized_end=2953 - _QUERYTALLYRESULTRESPONSE._serialized_start=2955 - _QUERYTALLYRESULTRESPONSE._serialized_end=3037 - _QUERY._serialized_start=3040 - _QUERY._serialized_end=5221 + _globals['_QUERYGROUPINFOREQUEST']._serialized_start=219 + _globals['_QUERYGROUPINFOREQUEST']._serialized_end=260 + _globals['_QUERYGROUPINFORESPONSE']._serialized_start=262 + _globals['_QUERYGROUPINFORESPONSE']._serialized_end=328 + _globals['_QUERYGROUPPOLICYINFOREQUEST']._serialized_start=330 + _globals['_QUERYGROUPPOLICYINFOREQUEST']._serialized_end=402 + _globals['_QUERYGROUPPOLICYINFORESPONSE']._serialized_start=404 + _globals['_QUERYGROUPPOLICYINFORESPONSE']._serialized_end=482 + _globals['_QUERYGROUPMEMBERSREQUEST']._serialized_start=484 + _globals['_QUERYGROUPMEMBERSREQUEST']._serialized_end=588 + _globals['_QUERYGROUPMEMBERSRESPONSE']._serialized_start=591 + _globals['_QUERYGROUPMEMBERSRESPONSE']._serialized_end=726 + _globals['_QUERYGROUPSBYADMINREQUEST']._serialized_start=729 + _globals['_QUERYGROUPSBYADMINREQUEST']._serialized_end=857 + _globals['_QUERYGROUPSBYADMINRESPONSE']._serialized_start=860 + _globals['_QUERYGROUPSBYADMINRESPONSE']._serialized_end=993 + _globals['_QUERYGROUPPOLICIESBYGROUPREQUEST']._serialized_start=995 + _globals['_QUERYGROUPPOLICIESBYGROUPREQUEST']._serialized_end=1107 + _globals['_QUERYGROUPPOLICIESBYGROUPRESPONSE']._serialized_start=1110 + _globals['_QUERYGROUPPOLICIESBYGROUPRESPONSE']._serialized_end=1264 + _globals['_QUERYGROUPPOLICIESBYADMINREQUEST']._serialized_start=1267 + _globals['_QUERYGROUPPOLICIESBYADMINREQUEST']._serialized_end=1402 + _globals['_QUERYGROUPPOLICIESBYADMINRESPONSE']._serialized_start=1405 + _globals['_QUERYGROUPPOLICIESBYADMINRESPONSE']._serialized_end=1559 + _globals['_QUERYPROPOSALREQUEST']._serialized_start=1561 + _globals['_QUERYPROPOSALREQUEST']._serialized_end=1604 + _globals['_QUERYPROPOSALRESPONSE']._serialized_start=1606 + _globals['_QUERYPROPOSALRESPONSE']._serialized_end=1674 + _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST']._serialized_start=1677 + _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST']._serialized_end=1816 + _globals['_QUERYPROPOSALSBYGROUPPOLICYRESPONSE']._serialized_start=1819 + _globals['_QUERYPROPOSALSBYGROUPPOLICYRESPONSE']._serialized_end=1963 + _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST']._serialized_start=1965 + _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST']._serialized_end=2060 + _globals['_QUERYVOTEBYPROPOSALVOTERRESPONSE']._serialized_start=2062 + _globals['_QUERYVOTEBYPROPOSALVOTERRESPONSE']._serialized_end=2133 + _globals['_QUERYVOTESBYPROPOSALREQUEST']._serialized_start=2135 + _globals['_QUERYVOTESBYPROPOSALREQUEST']._serialized_end=2245 + _globals['_QUERYVOTESBYPROPOSALRESPONSE']._serialized_start=2248 + _globals['_QUERYVOTESBYPROPOSALRESPONSE']._serialized_end=2377 + _globals['_QUERYVOTESBYVOTERREQUEST']._serialized_start=2379 + _globals['_QUERYVOTESBYVOTERREQUEST']._serialized_end=2506 + _globals['_QUERYVOTESBYVOTERRESPONSE']._serialized_start=2508 + _globals['_QUERYVOTESBYVOTERRESPONSE']._serialized_end=2634 + _globals['_QUERYGROUPSBYMEMBERREQUEST']._serialized_start=2637 + _globals['_QUERYGROUPSBYMEMBERREQUEST']._serialized_end=2768 + _globals['_QUERYGROUPSBYMEMBERRESPONSE']._serialized_start=2771 + _globals['_QUERYGROUPSBYMEMBERRESPONSE']._serialized_end=2905 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=2907 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=2953 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=2955 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=3037 + _globals['_QUERY']._serialized_start=3040 + _globals['_QUERY']._serialized_end=5221 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/tx_pb2.py b/pyinjective/proto/cosmos/group/v1/tx_pb2.py index 0625fa88..91580ce5 100644 --- a/pyinjective/proto/cosmos/group/v1/tx_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/group/v1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +19,11 @@ from 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\"\xb1\x01\n\x0eMsgCreateGroup\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x10\n\x08metadata\x18\x03 \x01(\t:(\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x19\x63osmos-sdk/MsgCreateGroup\"*\n\x16MsgCreateGroupResponse\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"\xc6\x01\n\x15MsgUpdateGroupMembers\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04\x12\x41\n\x0emember_updates\x18\x03 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:/\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0* cosmos-sdk/MsgUpdateGroupMembers\"\x1f\n\x1dMsgUpdateGroupMembersResponse\"\xac\x01\n\x13MsgUpdateGroupAdmin\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04\x12+\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:-\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1e\x63osmos-sdk/MsgUpdateGroupAdmin\"\x1d\n\x1bMsgUpdateGroupAdminResponse\"\x97\x01\n\x16MsgUpdateGroupMetadata\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04\x12\x10\n\x08metadata\x18\x03 \x01(\t:0\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*!cosmos-sdk/MsgUpdateGroupMetadata\" \n\x1eMsgUpdateGroupMetadataResponse\"\xea\x01\n\x14MsgCreateGroupPolicy\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04\x12\x10\n\x08metadata\x18\x03 \x01(\t\x12Q\n\x0f\x64\x65\x63ision_policy\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy:2\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgCreateGroupPolicy\x88\xa0\x1f\x00\"I\n\x1cMsgCreateGroupPolicyResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\xde\x01\n\x19MsgUpdateGroupPolicyAdmin\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:3\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*$cosmos-sdk/MsgUpdateGroupPolicyAdmin\"#\n!MsgUpdateGroupPolicyAdminResponse\"\xe0\x02\n\x18MsgCreateGroupWithPolicy\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x16\n\x0egroup_metadata\x18\x03 \x01(\t\x12\x1d\n\x15group_policy_metadata\x18\x04 \x01(\t\x12\x1d\n\x15group_policy_as_admin\x18\x05 \x01(\x08\x12Q\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy:6\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*#cosmos-sdk/MsgCreateGroupWithPolicy\x88\xa0\x1f\x00\"l\n MsgCreateGroupWithPolicyResponse\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12\x36\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\x94\x02\n\"MsgUpdateGroupPolicyDecisionPolicy\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12Q\n\x0f\x64\x65\x63ision_policy\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy::\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy\x88\xa0\x1f\x00\",\n*MsgUpdateGroupPolicyDecisionPolicyResponse\"\xc9\x01\n\x1cMsgUpdateGroupPolicyMetadata\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08metadata\x18\x03 \x01(\t:6\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata\"&\n$MsgUpdateGroupPolicyMetadataResponse\"\x98\x02\n\x11MsgSubmitProposal\x12\x36\n\x14group_policy_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x11\n\tproposers\x18\x02 \x03(\t\x12\x10\n\x08metadata\x18\x03 \x01(\t\x12&\n\x08messages\x18\x04 \x03(\x0b\x32\x14.google.protobuf.Any\x12#\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.Exec\x12\r\n\x05title\x18\x06 \x01(\t\x12\x0f\n\x07summary\x18\x07 \x01(\t:9\x82\xe7\xb0*\tproposers\x8a\xe7\xb0*\"cosmos-sdk/group/MsgSubmitProposal\x88\xa0\x1f\x00\"0\n\x19MsgSubmitProposalResponse\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"\x8c\x01\n\x13MsgWithdrawProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12)\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:5\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*$cosmos-sdk/group/MsgWithdrawProposal\"\x1d\n\x1bMsgWithdrawProposalResponse\"\xd4\x01\n\x07MsgVote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOption\x12\x10\n\x08metadata\x18\x04 \x01(\t\x12#\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.Exec:\'\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgVote\"\x11\n\x0fMsgVoteResponse\"t\n\x07MsgExec\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12*\n\x08\x65xecutor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:(\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgExec\"J\n\x0fMsgExecResponse\x12\x37\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResult\"}\n\rMsgLeaveGroup\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04:/\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&Z$github.com/cosmos/cosmos-sdk/x/groupb\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\"\xb1\x01\n\x0eMsgCreateGroup\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x10\n\x08metadata\x18\x03 \x01(\t:(\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x19\x63osmos-sdk/MsgCreateGroup\"*\n\x16MsgCreateGroupResponse\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"\xc6\x01\n\x15MsgUpdateGroupMembers\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04\x12\x41\n\x0emember_updates\x18\x03 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:/\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0* cosmos-sdk/MsgUpdateGroupMembers\"\x1f\n\x1dMsgUpdateGroupMembersResponse\"\xac\x01\n\x13MsgUpdateGroupAdmin\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04\x12+\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:-\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1e\x63osmos-sdk/MsgUpdateGroupAdmin\"\x1d\n\x1bMsgUpdateGroupAdminResponse\"\x97\x01\n\x16MsgUpdateGroupMetadata\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04\x12\x10\n\x08metadata\x18\x03 \x01(\t:0\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*!cosmos-sdk/MsgUpdateGroupMetadata\" \n\x1eMsgUpdateGroupMetadataResponse\"\xea\x01\n\x14MsgCreateGroupPolicy\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04\x12\x10\n\x08metadata\x18\x03 \x01(\t\x12Q\n\x0f\x64\x65\x63ision_policy\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy:2\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgCreateGroupPolicy\"I\n\x1cMsgCreateGroupPolicyResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\xde\x01\n\x19MsgUpdateGroupPolicyAdmin\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:3\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*$cosmos-sdk/MsgUpdateGroupPolicyAdmin\"#\n!MsgUpdateGroupPolicyAdminResponse\"\xe0\x02\n\x18MsgCreateGroupWithPolicy\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x16\n\x0egroup_metadata\x18\x03 \x01(\t\x12\x1d\n\x15group_policy_metadata\x18\x04 \x01(\t\x12\x1d\n\x15group_policy_as_admin\x18\x05 \x01(\x08\x12Q\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy:6\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*#cosmos-sdk/MsgCreateGroupWithPolicy\"l\n MsgCreateGroupWithPolicyResponse\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12\x36\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\x94\x02\n\"MsgUpdateGroupPolicyDecisionPolicy\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12Q\n\x0f\x64\x65\x63ision_policy\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy::\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy\",\n*MsgUpdateGroupPolicyDecisionPolicyResponse\"\xc9\x01\n\x1cMsgUpdateGroupPolicyMetadata\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08metadata\x18\x03 \x01(\t:6\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata\"&\n$MsgUpdateGroupPolicyMetadataResponse\"\x98\x02\n\x11MsgSubmitProposal\x12\x36\n\x14group_policy_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x11\n\tproposers\x18\x02 \x03(\t\x12\x10\n\x08metadata\x18\x03 \x01(\t\x12&\n\x08messages\x18\x04 \x03(\x0b\x32\x14.google.protobuf.Any\x12#\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.Exec\x12\r\n\x05title\x18\x06 \x01(\t\x12\x0f\n\x07summary\x18\x07 \x01(\t:9\x88\xa0\x1f\x00\x82\xe7\xb0*\tproposers\x8a\xe7\xb0*\"cosmos-sdk/group/MsgSubmitProposal\"0\n\x19MsgSubmitProposalResponse\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"\x8c\x01\n\x13MsgWithdrawProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12)\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:5\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*$cosmos-sdk/group/MsgWithdrawProposal\"\x1d\n\x1bMsgWithdrawProposalResponse\"\xd4\x01\n\x07MsgVote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOption\x12\x10\n\x08metadata\x18\x04 \x01(\t\x12#\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.Exec:\'\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgVote\"\x11\n\x0fMsgVoteResponse\"t\n\x07MsgExec\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12*\n\x08\x65xecutor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:(\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgExec\"J\n\x0fMsgExecResponse\x12\x37\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResult\"}\n\rMsgLeaveGroup\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04:/\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&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -54,7 +55,7 @@ _MSGCREATEGROUPPOLICY.fields_by_name['decision_policy']._options = None _MSGCREATEGROUPPOLICY.fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' _MSGCREATEGROUPPOLICY._options = None - _MSGCREATEGROUPPOLICY._serialized_options = b'\202\347\260*\005admin\212\347\260*\037cosmos-sdk/MsgCreateGroupPolicy\210\240\037\000' + _MSGCREATEGROUPPOLICY._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*\037cosmos-sdk/MsgCreateGroupPolicy' _MSGCREATEGROUPPOLICYRESPONSE.fields_by_name['address']._options = None _MSGCREATEGROUPPOLICYRESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEGROUPPOLICYADMIN.fields_by_name['admin']._options = None @@ -72,7 +73,7 @@ _MSGCREATEGROUPWITHPOLICY.fields_by_name['decision_policy']._options = None _MSGCREATEGROUPWITHPOLICY.fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' _MSGCREATEGROUPWITHPOLICY._options = None - _MSGCREATEGROUPWITHPOLICY._serialized_options = b'\202\347\260*\005admin\212\347\260*#cosmos-sdk/MsgCreateGroupWithPolicy\210\240\037\000' + _MSGCREATEGROUPWITHPOLICY._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*#cosmos-sdk/MsgCreateGroupWithPolicy' _MSGCREATEGROUPWITHPOLICYRESPONSE.fields_by_name['group_policy_address']._options = None _MSGCREATEGROUPWITHPOLICYRESPONSE.fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEGROUPPOLICYDECISIONPOLICY.fields_by_name['admin']._options = None @@ -82,7 +83,7 @@ _MSGUPDATEGROUPPOLICYDECISIONPOLICY.fields_by_name['decision_policy']._options = None _MSGUPDATEGROUPPOLICYDECISIONPOLICY.fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' _MSGUPDATEGROUPPOLICYDECISIONPOLICY._options = None - _MSGUPDATEGROUPPOLICYDECISIONPOLICY._serialized_options = b'\202\347\260*\005admin\212\347\260*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy\210\240\037\000' + _MSGUPDATEGROUPPOLICYDECISIONPOLICY._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy' _MSGUPDATEGROUPPOLICYMETADATA.fields_by_name['admin']._options = None _MSGUPDATEGROUPPOLICYMETADATA.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEGROUPPOLICYMETADATA.fields_by_name['group_policy_address']._options = None @@ -92,7 +93,7 @@ _MSGSUBMITPROPOSAL.fields_by_name['group_policy_address']._options = None _MSGSUBMITPROPOSAL.fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSUBMITPROPOSAL._options = None - _MSGSUBMITPROPOSAL._serialized_options = b'\202\347\260*\tproposers\212\347\260*\"cosmos-sdk/group/MsgSubmitProposal\210\240\037\000' + _MSGSUBMITPROPOSAL._serialized_options = b'\210\240\037\000\202\347\260*\tproposers\212\347\260*\"cosmos-sdk/group/MsgSubmitProposal' _MSGWITHDRAWPROPOSAL.fields_by_name['address']._options = None _MSGWITHDRAWPROPOSAL.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGWITHDRAWPROPOSAL._options = None @@ -111,64 +112,64 @@ _MSGLEAVEGROUP._serialized_options = b'\202\347\260*\007address\212\347\260*\036cosmos-sdk/group/MsgLeaveGroup' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _EXEC._serialized_start=3741 - _EXEC._serialized_end=3783 - _MSGCREATEGROUP._serialized_start=195 - _MSGCREATEGROUP._serialized_end=372 - _MSGCREATEGROUPRESPONSE._serialized_start=374 - _MSGCREATEGROUPRESPONSE._serialized_end=416 - _MSGUPDATEGROUPMEMBERS._serialized_start=419 - _MSGUPDATEGROUPMEMBERS._serialized_end=617 - _MSGUPDATEGROUPMEMBERSRESPONSE._serialized_start=619 - _MSGUPDATEGROUPMEMBERSRESPONSE._serialized_end=650 - _MSGUPDATEGROUPADMIN._serialized_start=653 - _MSGUPDATEGROUPADMIN._serialized_end=825 - _MSGUPDATEGROUPADMINRESPONSE._serialized_start=827 - _MSGUPDATEGROUPADMINRESPONSE._serialized_end=856 - _MSGUPDATEGROUPMETADATA._serialized_start=859 - _MSGUPDATEGROUPMETADATA._serialized_end=1010 - _MSGUPDATEGROUPMETADATARESPONSE._serialized_start=1012 - _MSGUPDATEGROUPMETADATARESPONSE._serialized_end=1044 - _MSGCREATEGROUPPOLICY._serialized_start=1047 - _MSGCREATEGROUPPOLICY._serialized_end=1281 - _MSGCREATEGROUPPOLICYRESPONSE._serialized_start=1283 - _MSGCREATEGROUPPOLICYRESPONSE._serialized_end=1356 - _MSGUPDATEGROUPPOLICYADMIN._serialized_start=1359 - _MSGUPDATEGROUPPOLICYADMIN._serialized_end=1581 - _MSGUPDATEGROUPPOLICYADMINRESPONSE._serialized_start=1583 - _MSGUPDATEGROUPPOLICYADMINRESPONSE._serialized_end=1618 - _MSGCREATEGROUPWITHPOLICY._serialized_start=1621 - _MSGCREATEGROUPWITHPOLICY._serialized_end=1973 - _MSGCREATEGROUPWITHPOLICYRESPONSE._serialized_start=1975 - _MSGCREATEGROUPWITHPOLICYRESPONSE._serialized_end=2083 - _MSGUPDATEGROUPPOLICYDECISIONPOLICY._serialized_start=2086 - _MSGUPDATEGROUPPOLICYDECISIONPOLICY._serialized_end=2362 - _MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE._serialized_start=2364 - _MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE._serialized_end=2408 - _MSGUPDATEGROUPPOLICYMETADATA._serialized_start=2411 - _MSGUPDATEGROUPPOLICYMETADATA._serialized_end=2612 - _MSGUPDATEGROUPPOLICYMETADATARESPONSE._serialized_start=2614 - _MSGUPDATEGROUPPOLICYMETADATARESPONSE._serialized_end=2652 - _MSGSUBMITPROPOSAL._serialized_start=2655 - _MSGSUBMITPROPOSAL._serialized_end=2935 - _MSGSUBMITPROPOSALRESPONSE._serialized_start=2937 - _MSGSUBMITPROPOSALRESPONSE._serialized_end=2985 - _MSGWITHDRAWPROPOSAL._serialized_start=2988 - _MSGWITHDRAWPROPOSAL._serialized_end=3128 - _MSGWITHDRAWPROPOSALRESPONSE._serialized_start=3130 - _MSGWITHDRAWPROPOSALRESPONSE._serialized_end=3159 - _MSGVOTE._serialized_start=3162 - _MSGVOTE._serialized_end=3374 - _MSGVOTERESPONSE._serialized_start=3376 - _MSGVOTERESPONSE._serialized_end=3393 - _MSGEXEC._serialized_start=3395 - _MSGEXEC._serialized_end=3511 - _MSGEXECRESPONSE._serialized_start=3513 - _MSGEXECRESPONSE._serialized_end=3587 - _MSGLEAVEGROUP._serialized_start=3589 - _MSGLEAVEGROUP._serialized_end=3714 - _MSGLEAVEGROUPRESPONSE._serialized_start=3716 - _MSGLEAVEGROUPRESPONSE._serialized_end=3739 - _MSG._serialized_start=3786 - _MSG._serialized_end=5268 + _globals['_EXEC']._serialized_start=3741 + _globals['_EXEC']._serialized_end=3783 + _globals['_MSGCREATEGROUP']._serialized_start=195 + _globals['_MSGCREATEGROUP']._serialized_end=372 + _globals['_MSGCREATEGROUPRESPONSE']._serialized_start=374 + _globals['_MSGCREATEGROUPRESPONSE']._serialized_end=416 + _globals['_MSGUPDATEGROUPMEMBERS']._serialized_start=419 + _globals['_MSGUPDATEGROUPMEMBERS']._serialized_end=617 + _globals['_MSGUPDATEGROUPMEMBERSRESPONSE']._serialized_start=619 + _globals['_MSGUPDATEGROUPMEMBERSRESPONSE']._serialized_end=650 + _globals['_MSGUPDATEGROUPADMIN']._serialized_start=653 + _globals['_MSGUPDATEGROUPADMIN']._serialized_end=825 + _globals['_MSGUPDATEGROUPADMINRESPONSE']._serialized_start=827 + _globals['_MSGUPDATEGROUPADMINRESPONSE']._serialized_end=856 + _globals['_MSGUPDATEGROUPMETADATA']._serialized_start=859 + _globals['_MSGUPDATEGROUPMETADATA']._serialized_end=1010 + _globals['_MSGUPDATEGROUPMETADATARESPONSE']._serialized_start=1012 + _globals['_MSGUPDATEGROUPMETADATARESPONSE']._serialized_end=1044 + _globals['_MSGCREATEGROUPPOLICY']._serialized_start=1047 + _globals['_MSGCREATEGROUPPOLICY']._serialized_end=1281 + _globals['_MSGCREATEGROUPPOLICYRESPONSE']._serialized_start=1283 + _globals['_MSGCREATEGROUPPOLICYRESPONSE']._serialized_end=1356 + _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_start=1359 + _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_end=1581 + _globals['_MSGUPDATEGROUPPOLICYADMINRESPONSE']._serialized_start=1583 + _globals['_MSGUPDATEGROUPPOLICYADMINRESPONSE']._serialized_end=1618 + _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_start=1621 + _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_end=1973 + _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE']._serialized_start=1975 + _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE']._serialized_end=2083 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_start=2086 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_end=2362 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE']._serialized_start=2364 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE']._serialized_end=2408 + _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_start=2411 + _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_end=2612 + _globals['_MSGUPDATEGROUPPOLICYMETADATARESPONSE']._serialized_start=2614 + _globals['_MSGUPDATEGROUPPOLICYMETADATARESPONSE']._serialized_end=2652 + _globals['_MSGSUBMITPROPOSAL']._serialized_start=2655 + _globals['_MSGSUBMITPROPOSAL']._serialized_end=2935 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=2937 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=2985 + _globals['_MSGWITHDRAWPROPOSAL']._serialized_start=2988 + _globals['_MSGWITHDRAWPROPOSAL']._serialized_end=3128 + _globals['_MSGWITHDRAWPROPOSALRESPONSE']._serialized_start=3130 + _globals['_MSGWITHDRAWPROPOSALRESPONSE']._serialized_end=3159 + _globals['_MSGVOTE']._serialized_start=3162 + _globals['_MSGVOTE']._serialized_end=3374 + _globals['_MSGVOTERESPONSE']._serialized_start=3376 + _globals['_MSGVOTERESPONSE']._serialized_end=3393 + _globals['_MSGEXEC']._serialized_start=3395 + _globals['_MSGEXEC']._serialized_end=3511 + _globals['_MSGEXECRESPONSE']._serialized_start=3513 + _globals['_MSGEXECRESPONSE']._serialized_end=3587 + _globals['_MSGLEAVEGROUP']._serialized_start=3589 + _globals['_MSGLEAVEGROUP']._serialized_end=3714 + _globals['_MSGLEAVEGROUPRESPONSE']._serialized_start=3716 + _globals['_MSGLEAVEGROUPRESPONSE']._serialized_end=3739 + _globals['_MSG']._serialized_start=3786 + _globals['_MSG']._serialized_end=5268 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/types_pb2.py b/pyinjective/proto/cosmos/group/v1/types_pb2.py index b2db2d9e..4b8629ed 100644 --- a/pyinjective/proto/cosmos/group/v1/types_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/group/v1/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +19,11 @@ from 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\"\x92\x01\n\x06Member\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0e\n\x06weight\x18\x02 \x01(\t\x12\x10\n\x08metadata\x18\x03 \x01(\t\x12;\n\x08\x61\x64\x64\x65\x64_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01\"\\\n\rMemberRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0e\n\x06weight\x18\x02 \x01(\t\x12\x10\n\x08metadata\x18\x03 \x01(\t\"\xb0\x01\n\x17ThresholdDecisionPolicy\x12\x11\n\tthreshold\x18\x01 \x01(\t\x12\x37\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindows:I\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*\"cosmos-sdk/ThresholdDecisionPolicy\"\xb3\x01\n\x18PercentageDecisionPolicy\x12\x12\n\npercentage\x18\x01 \x01(\t\x12\x37\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindows:J\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*#cosmos-sdk/PercentageDecisionPolicy\"\xa0\x01\n\x15\x44\x65\x63isionPolicyWindows\x12?\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\x98\xdf\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x46\n\x14min_execution_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\x98\xdf\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xb8\x01\n\tGroupInfo\x12\n\n\x02id\x18\x01 \x01(\x04\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08metadata\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\x04\x12\x14\n\x0ctotal_weight\x18\x05 \x01(\t\x12=\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01\"H\n\x0bGroupMember\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12\'\n\x06member\x18\x02 \x01(\x0b\x32\x17.cosmos.group.v1.Member\"\xb6\x02\n\x0fGroupPolicyInfo\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04\x12\'\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08metadata\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\x04\x12Q\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x12=\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01:\x08\xe8\xa0\x1f\x01\x88\xa0\x1f\x00\"\xce\x04\n\x08Proposal\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x36\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08metadata\x18\x03 \x01(\t\x12+\n\tproposers\x18\x04 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12>\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01\x12\x15\n\rgroup_version\x18\x06 \x01(\x04\x12\x1c\n\x14group_policy_version\x18\x07 \x01(\x04\x12/\n\x06status\x18\x08 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatus\x12\x43\n\x12\x66inal_tally_result\x18\t \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x44\n\x11voting_period_end\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01\x12@\n\x0f\x65xecutor_result\x18\x0b \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResult\x12&\n\x08messages\x18\x0c \x03(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05title\x18\r \x01(\t\x12\x0f\n\x07summary\x18\x0e \x01(\t:\x04\x88\xa0\x1f\x00\"k\n\x0bTallyResult\x12\x11\n\tyes_count\x18\x01 \x01(\t\x12\x15\n\rabstain_count\x18\x02 \x01(\t\x12\x10\n\x08no_count\x18\x03 \x01(\t\x12\x1a\n\x12no_with_veto_count\x18\x04 \x01(\t:\x04\x88\xa0\x1f\x00\"\xc3\x01\n\x04Vote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOption\x12\x10\n\x08metadata\x18\x04 \x01(\t\x12>\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01*\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&Z$github.com/cosmos/cosmos-sdk/x/groupb\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\"\x92\x01\n\x06Member\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0e\n\x06weight\x18\x02 \x01(\t\x12\x10\n\x08metadata\x18\x03 \x01(\t\x12;\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*\x01\"\\\n\rMemberRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0e\n\x06weight\x18\x02 \x01(\t\x12\x10\n\x08metadata\x18\x03 \x01(\t\"\xb0\x01\n\x17ThresholdDecisionPolicy\x12\x11\n\tthreshold\x18\x01 \x01(\t\x12\x37\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindows:I\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*\"cosmos-sdk/ThresholdDecisionPolicy\"\xb3\x01\n\x18PercentageDecisionPolicy\x12\x12\n\npercentage\x18\x01 \x01(\t\x12\x37\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindows:J\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*#cosmos-sdk/PercentageDecisionPolicy\"\xa0\x01\n\x15\x44\x65\x63isionPolicyWindows\x12?\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12\x46\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*\x01\"\xb8\x01\n\tGroupInfo\x12\n\n\x02id\x18\x01 \x01(\x04\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08metadata\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\x04\x12\x14\n\x0ctotal_weight\x18\x05 \x01(\t\x12=\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01\"H\n\x0bGroupMember\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12\'\n\x06member\x18\x02 \x01(\x0b\x32\x17.cosmos.group.v1.Member\"\xb6\x02\n\x0fGroupPolicyInfo\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08group_id\x18\x02 \x01(\x04\x12\'\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08metadata\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\x04\x12Q\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x12=\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\"\xce\x04\n\x08Proposal\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x36\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08metadata\x18\x03 \x01(\t\x12+\n\tproposers\x18\x04 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12>\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12\x15\n\rgroup_version\x18\x06 \x01(\x04\x12\x1c\n\x14group_policy_version\x18\x07 \x01(\x04\x12/\n\x06status\x18\x08 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatus\x12\x43\n\x12\x66inal_tally_result\x18\t \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x44\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*\x01\x12@\n\x0f\x65xecutor_result\x18\x0b \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResult\x12&\n\x08messages\x18\x0c \x03(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05title\x18\r \x01(\t\x12\x0f\n\x07summary\x18\x0e \x01(\t:\x04\x88\xa0\x1f\x00\"k\n\x0bTallyResult\x12\x11\n\tyes_count\x18\x01 \x01(\t\x12\x15\n\rabstain_count\x18\x02 \x01(\t\x12\x10\n\x08no_count\x18\x03 \x01(\t\x12\x1a\n\x12no_with_veto_count\x18\x04 \x01(\t:\x04\x88\xa0\x1f\x00\"\xc3\x01\n\x04Vote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOption\x12\x10\n\x08metadata\x18\x04 \x01(\t\x12>\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01*\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&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -36,7 +37,7 @@ _MEMBER.fields_by_name['address']._options = None _MEMBER.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MEMBER.fields_by_name['added_at']._options = None - _MEMBER.fields_by_name['added_at']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _MEMBER.fields_by_name['added_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _MEMBERREQUEST.fields_by_name['address']._options = None _MEMBERREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _THRESHOLDDECISIONPOLICY._options = None @@ -44,13 +45,13 @@ _PERCENTAGEDECISIONPOLICY._options = None _PERCENTAGEDECISIONPOLICY._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*#cosmos-sdk/PercentageDecisionPolicy' _DECISIONPOLICYWINDOWS.fields_by_name['voting_period']._options = None - _DECISIONPOLICYWINDOWS.fields_by_name['voting_period']._serialized_options = b'\230\337\037\001\310\336\037\000\250\347\260*\001' + _DECISIONPOLICYWINDOWS.fields_by_name['voting_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' _DECISIONPOLICYWINDOWS.fields_by_name['min_execution_period']._options = None - _DECISIONPOLICYWINDOWS.fields_by_name['min_execution_period']._serialized_options = b'\230\337\037\001\310\336\037\000\250\347\260*\001' + _DECISIONPOLICYWINDOWS.fields_by_name['min_execution_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' _GROUPINFO.fields_by_name['admin']._options = None _GROUPINFO.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _GROUPINFO.fields_by_name['created_at']._options = None - _GROUPINFO.fields_by_name['created_at']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _GROUPINFO.fields_by_name['created_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _GROUPPOLICYINFO.fields_by_name['address']._options = None _GROUPPOLICYINFO.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _GROUPPOLICYINFO.fields_by_name['admin']._options = None @@ -58,19 +59,19 @@ _GROUPPOLICYINFO.fields_by_name['decision_policy']._options = None _GROUPPOLICYINFO.fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' _GROUPPOLICYINFO.fields_by_name['created_at']._options = None - _GROUPPOLICYINFO.fields_by_name['created_at']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _GROUPPOLICYINFO.fields_by_name['created_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _GROUPPOLICYINFO._options = None - _GROUPPOLICYINFO._serialized_options = b'\350\240\037\001\210\240\037\000' + _GROUPPOLICYINFO._serialized_options = b'\210\240\037\000\350\240\037\001' _PROPOSAL.fields_by_name['group_policy_address']._options = None _PROPOSAL.fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _PROPOSAL.fields_by_name['proposers']._options = None _PROPOSAL.fields_by_name['proposers']._serialized_options = b'\322\264-\024cosmos.AddressString' _PROPOSAL.fields_by_name['submit_time']._options = None - _PROPOSAL.fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _PROPOSAL.fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _PROPOSAL.fields_by_name['final_tally_result']._options = None _PROPOSAL.fields_by_name['final_tally_result']._serialized_options = b'\310\336\037\000\250\347\260*\001' _PROPOSAL.fields_by_name['voting_period_end']._options = None - _PROPOSAL.fields_by_name['voting_period_end']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _PROPOSAL.fields_by_name['voting_period_end']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _PROPOSAL._options = None _PROPOSAL._serialized_options = b'\210\240\037\000' _TALLYRESULT._options = None @@ -78,33 +79,33 @@ _VOTE.fields_by_name['voter']._options = None _VOTE.fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' _VOTE.fields_by_name['submit_time']._options = None - _VOTE.fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' - _VOTEOPTION._serialized_start=2450 - _VOTEOPTION._serialized_end=2593 - _PROPOSALSTATUS._serialized_start=2596 - _PROPOSALSTATUS._serialized_end=2802 - _PROPOSALEXECUTORRESULT._serialized_start=2805 - _PROPOSALEXECUTORRESULT._serialized_end=2991 - _MEMBER._serialized_start=209 - _MEMBER._serialized_end=355 - _MEMBERREQUEST._serialized_start=357 - _MEMBERREQUEST._serialized_end=449 - _THRESHOLDDECISIONPOLICY._serialized_start=452 - _THRESHOLDDECISIONPOLICY._serialized_end=628 - _PERCENTAGEDECISIONPOLICY._serialized_start=631 - _PERCENTAGEDECISIONPOLICY._serialized_end=810 - _DECISIONPOLICYWINDOWS._serialized_start=813 - _DECISIONPOLICYWINDOWS._serialized_end=973 - _GROUPINFO._serialized_start=976 - _GROUPINFO._serialized_end=1160 - _GROUPMEMBER._serialized_start=1162 - _GROUPMEMBER._serialized_end=1234 - _GROUPPOLICYINFO._serialized_start=1237 - _GROUPPOLICYINFO._serialized_end=1547 - _PROPOSAL._serialized_start=1550 - _PROPOSAL._serialized_end=2140 - _TALLYRESULT._serialized_start=2142 - _TALLYRESULT._serialized_end=2249 - _VOTE._serialized_start=2252 - _VOTE._serialized_end=2447 + _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=2450 + _globals['_VOTEOPTION']._serialized_end=2593 + _globals['_PROPOSALSTATUS']._serialized_start=2596 + _globals['_PROPOSALSTATUS']._serialized_end=2802 + _globals['_PROPOSALEXECUTORRESULT']._serialized_start=2805 + _globals['_PROPOSALEXECUTORRESULT']._serialized_end=2991 + _globals['_MEMBER']._serialized_start=209 + _globals['_MEMBER']._serialized_end=355 + _globals['_MEMBERREQUEST']._serialized_start=357 + _globals['_MEMBERREQUEST']._serialized_end=449 + _globals['_THRESHOLDDECISIONPOLICY']._serialized_start=452 + _globals['_THRESHOLDDECISIONPOLICY']._serialized_end=628 + _globals['_PERCENTAGEDECISIONPOLICY']._serialized_start=631 + _globals['_PERCENTAGEDECISIONPOLICY']._serialized_end=810 + _globals['_DECISIONPOLICYWINDOWS']._serialized_start=813 + _globals['_DECISIONPOLICYWINDOWS']._serialized_end=973 + _globals['_GROUPINFO']._serialized_start=976 + _globals['_GROUPINFO']._serialized_end=1160 + _globals['_GROUPMEMBER']._serialized_start=1162 + _globals['_GROUPMEMBER']._serialized_end=1234 + _globals['_GROUPPOLICYINFO']._serialized_start=1237 + _globals['_GROUPPOLICYINFO']._serialized_end=1547 + _globals['_PROPOSAL']._serialized_start=1550 + _globals['_PROPOSAL']._serialized_end=2140 + _globals['_TALLYRESULT']._serialized_start=2142 + _globals['_TALLYRESULT']._serialized_end=2249 + _globals['_VOTE']._serialized_start=2252 + _globals['_VOTE']._serialized_end=2447 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py index e4aa34de..70acd100 100644 --- a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py +++ b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/ics23/v1/proofs.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,40 +15,41 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/ics23/v1/proofs.proto\x12\x0f\x63osmos.ics23.v1\"{\n\x0e\x45xistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12%\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12&\n\x04path\x18\x04 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOp\"\x7f\n\x11NonExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12-\n\x04left\x18\x02 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProof\x12.\n\x05right\x18\x03 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProof\"\xef\x01\n\x0f\x43ommitmentProof\x12\x30\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00\x12\x36\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00\x12,\n\x05\x62\x61tch\x18\x03 \x01(\x0b\x32\x1b.cosmos.ics23.v1.BatchProofH\x00\x12;\n\ncompressed\x18\x04 \x01(\x0b\x32%.cosmos.ics23.v1.CompressedBatchProofH\x00\x42\x07\n\x05proof\"\xc8\x01\n\x06LeafOp\x12%\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12,\n\x0bprehash_key\x18\x02 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12.\n\rprehash_value\x18\x03 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12)\n\x06length\x18\x04 \x01(\x0e\x32\x19.cosmos.ics23.v1.LengthOp\x12\x0e\n\x06prefix\x18\x05 \x01(\x0c\"P\n\x07InnerOp\x12%\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12\x0e\n\x06prefix\x18\x02 \x01(\x0c\x12\x0e\n\x06suffix\x18\x03 \x01(\x0c\"\xb4\x01\n\tProofSpec\x12*\n\tleaf_spec\x18\x01 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12.\n\ninner_spec\x18\x02 \x01(\x0b\x32\x1a.cosmos.ics23.v1.InnerSpec\x12\x11\n\tmax_depth\x18\x03 \x01(\x05\x12\x11\n\tmin_depth\x18\x04 \x01(\x05\x12%\n\x1dprehash_key_before_comparison\x18\x05 \x01(\x08\"\xa6\x01\n\tInnerSpec\x12\x13\n\x0b\x63hild_order\x18\x01 \x03(\x05\x12\x12\n\nchild_size\x18\x02 \x01(\x05\x12\x19\n\x11min_prefix_length\x18\x03 \x01(\x05\x12\x19\n\x11max_prefix_length\x18\x04 \x01(\x05\x12\x13\n\x0b\x65mpty_child\x18\x05 \x01(\x0c\x12%\n\x04hash\x18\x06 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\":\n\nBatchProof\x12,\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.cosmos.ics23.v1.BatchEntry\"\x7f\n\nBatchEntry\x12\x30\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00\x12\x36\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00\x42\x07\n\x05proof\"\x7f\n\x14\x43ompressedBatchProof\x12\x36\n\x07\x65ntries\x18\x01 \x03(\x0b\x32%.cosmos.ics23.v1.CompressedBatchEntry\x12/\n\rlookup_inners\x18\x02 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOp\"\x9d\x01\n\x14\x43ompressedBatchEntry\x12:\n\x05\x65xist\x18\x01 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofH\x00\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32,.cosmos.ics23.v1.CompressedNonExistenceProofH\x00\x42\x07\n\x05proof\"k\n\x18\x43ompressedExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12%\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12\x0c\n\x04path\x18\x04 \x03(\x05\"\x9d\x01\n\x1b\x43ompressedNonExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\x37\n\x04left\x18\x02 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProof\x12\x38\n\x05right\x18\x03 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProof*e\n\x06HashOp\x12\x0b\n\x07NO_HASH\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\n\n\x06SHA512\x10\x02\x12\n\n\x06KECCAK\x10\x03\x12\r\n\tRIPEMD160\x10\x04\x12\x0b\n\x07\x42ITCOIN\x10\x05\x12\x0e\n\nSHA512_256\x10\x06*\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\"Z github.com/cosmos/ics23/go;ics23b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.ics23.v1.proofs_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.ics23.v1.proofs_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z github.com/cosmos/ics23/go;ics23' - _HASHOP._serialized_start=1929 - _HASHOP._serialized_end=2030 - _LENGTHOP._serialized_start=2033 - _LENGTHOP._serialized_end=2204 - _EXISTENCEPROOF._serialized_start=49 - _EXISTENCEPROOF._serialized_end=172 - _NONEXISTENCEPROOF._serialized_start=174 - _NONEXISTENCEPROOF._serialized_end=301 - _COMMITMENTPROOF._serialized_start=304 - _COMMITMENTPROOF._serialized_end=543 - _LEAFOP._serialized_start=546 - _LEAFOP._serialized_end=746 - _INNEROP._serialized_start=748 - _INNEROP._serialized_end=828 - _PROOFSPEC._serialized_start=831 - _PROOFSPEC._serialized_end=1011 - _INNERSPEC._serialized_start=1014 - _INNERSPEC._serialized_end=1180 - _BATCHPROOF._serialized_start=1182 - _BATCHPROOF._serialized_end=1240 - _BATCHENTRY._serialized_start=1242 - _BATCHENTRY._serialized_end=1369 - _COMPRESSEDBATCHPROOF._serialized_start=1371 - _COMPRESSEDBATCHPROOF._serialized_end=1498 - _COMPRESSEDBATCHENTRY._serialized_start=1501 - _COMPRESSEDBATCHENTRY._serialized_end=1658 - _COMPRESSEDEXISTENCEPROOF._serialized_start=1660 - _COMPRESSEDEXISTENCEPROOF._serialized_end=1767 - _COMPRESSEDNONEXISTENCEPROOF._serialized_start=1770 - _COMPRESSEDNONEXISTENCEPROOF._serialized_end=1927 + _globals['_HASHOP']._serialized_start=1929 + _globals['_HASHOP']._serialized_end=2030 + _globals['_LENGTHOP']._serialized_start=2033 + _globals['_LENGTHOP']._serialized_end=2204 + _globals['_EXISTENCEPROOF']._serialized_start=49 + _globals['_EXISTENCEPROOF']._serialized_end=172 + _globals['_NONEXISTENCEPROOF']._serialized_start=174 + _globals['_NONEXISTENCEPROOF']._serialized_end=301 + _globals['_COMMITMENTPROOF']._serialized_start=304 + _globals['_COMMITMENTPROOF']._serialized_end=543 + _globals['_LEAFOP']._serialized_start=546 + _globals['_LEAFOP']._serialized_end=746 + _globals['_INNEROP']._serialized_start=748 + _globals['_INNEROP']._serialized_end=828 + _globals['_PROOFSPEC']._serialized_start=831 + _globals['_PROOFSPEC']._serialized_end=1011 + _globals['_INNERSPEC']._serialized_start=1014 + _globals['_INNERSPEC']._serialized_end=1180 + _globals['_BATCHPROOF']._serialized_start=1182 + _globals['_BATCHPROOF']._serialized_end=1240 + _globals['_BATCHENTRY']._serialized_start=1242 + _globals['_BATCHENTRY']._serialized_end=1369 + _globals['_COMPRESSEDBATCHPROOF']._serialized_start=1371 + _globals['_COMPRESSEDBATCHPROOF']._serialized_end=1498 + _globals['_COMPRESSEDBATCHENTRY']._serialized_start=1501 + _globals['_COMPRESSEDBATCHENTRY']._serialized_end=1658 + _globals['_COMPRESSEDEXISTENCEPROOF']._serialized_start=1660 + _globals['_COMPRESSEDEXISTENCEPROOF']._serialized_end=1767 + _globals['_COMPRESSEDNONEXISTENCEPROOF']._serialized_start=1770 + _globals['_COMPRESSEDNONEXISTENCEPROOF']._serialized_end=1927 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py b/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py index b2d2ca1c..365633ca 100644 --- a/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/mint/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"d\n\x06Module\x12\x1a\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/mintb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/mint' - _MODULE._serialized_start=95 - _MODULE._serialized_end=195 + _globals['_MODULE']._serialized_start=95 + _globals['_MODULE']._serialized_end=195 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py index 35948b9d..ce0fe639 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/mint/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +18,9 @@ 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\"~\n\x0cGenesisState\x12\x36\n\x06minter\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.MinterB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x36\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42+Z)github.com/cosmos/cosmos-sdk/x/mint/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -28,6 +29,6 @@ _GENESISSTATE.fields_by_name['minter']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _GENESISSTATE._serialized_start=131 - _GENESISSTATE._serialized_end=257 + _globals['_GENESISSTATE']._serialized_start=131 + _globals['_GENESISSTATE']._serialized_end=257 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py index 1b5297c0..75380a84 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/mint/v1beta1/mint.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,31 @@ from 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\"\xb2\x01\n\x06Minter\x12O\n\tinflation\x18\x01 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12W\n\x11\x61nnual_provisions\x18\x02 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\xb2\x03\n\x06Params\x12\x12\n\nmint_denom\x18\x01 \x01(\t\x12[\n\x15inflation_rate_change\x18\x02 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12S\n\rinflation_max\x18\x03 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12S\n\rinflation_min\x18\x04 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12Q\n\x0bgoal_bonded\x18\x05 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x17\n\x0f\x62locks_per_year\x18\x06 \x01(\x04:!\x98\xa0\x1f\x00\x8a\xe7\xb0*\x18\x63osmos-sdk/x/mint/ParamsB+Z)github.com/cosmos/cosmos-sdk/x/mint/typesb\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\"\xb2\x01\n\x06Minter\x12O\n\tinflation\x18\x01 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12W\n\x11\x61nnual_provisions\x18\x02 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\"\xb2\x03\n\x06Params\x12\x12\n\nmint_denom\x18\x01 \x01(\t\x12[\n\x15inflation_rate_change\x18\x02 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12S\n\rinflation_max\x18\x03 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12S\n\rinflation_min\x18\x04 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12Q\n\x0bgoal_bonded\x18\x05 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12\x17\n\x0f\x62locks_per_year\x18\x06 \x01(\x04:!\x98\xa0\x1f\x00\x8a\xe7\xb0*\x18\x63osmos-sdk/x/mint/ParamsB+Z)github.com/cosmos/cosmos-sdk/x/mint/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.mint_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.mint_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/mint/types' _MINTER.fields_by_name['inflation']._options = None - _MINTER.fields_by_name['inflation']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MINTER.fields_by_name['inflation']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _MINTER.fields_by_name['annual_provisions']._options = None - _MINTER.fields_by_name['annual_provisions']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MINTER.fields_by_name['annual_provisions']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _PARAMS.fields_by_name['inflation_rate_change']._options = None - _PARAMS.fields_by_name['inflation_rate_change']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['inflation_rate_change']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _PARAMS.fields_by_name['inflation_max']._options = None - _PARAMS.fields_by_name['inflation_max']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['inflation_max']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _PARAMS.fields_by_name['inflation_min']._options = None - _PARAMS.fields_by_name['inflation_min']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['inflation_min']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _PARAMS.fields_by_name['goal_bonded']._options = None - _PARAMS.fields_by_name['goal_bonded']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['goal_bonded']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _PARAMS._options = None _PARAMS._serialized_options = b'\230\240\037\000\212\347\260*\030cosmos-sdk/x/mint/Params' - _MINTER._serialized_start=124 - _MINTER._serialized_end=302 - _PARAMS._serialized_start=305 - _PARAMS._serialized_end=739 + _globals['_MINTER']._serialized_start=124 + _globals['_MINTER']._serialized_end=302 + _globals['_PARAMS']._serialized_start=305 + _globals['_PARAMS']._serialized_end=739 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py index 7b74bb19..479a5f81 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/mint/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +17,11 @@ from amino import amino_pb2 as amino_dot_amino__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\"\x14\n\x12QueryParamsRequest\"M\n\x13QueryParamsResponse\x12\x36\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x17\n\x15QueryInflationRequest\"`\n\x16QueryInflationResponse\x12\x46\n\tinflation\x18\x01 \x01(\x0c\x42\x33\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x1e\n\x1cQueryAnnualProvisionsRequest\"o\n\x1dQueryAnnualProvisionsResponse\x12N\n\x11\x61nnual_provisions\x18\x01 \x01(\x0c\x42\x33\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x32\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+Z)github.com/cosmos/cosmos-sdk/x/mint/typesb\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\"\x14\n\x12QueryParamsRequest\"M\n\x13QueryParamsResponse\x12\x36\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x17\n\x15QueryInflationRequest\"`\n\x16QueryInflationResponse\x12\x46\n\tinflation\x18\x01 \x01(\x0c\x42\x33\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xa8\xe7\xb0*\x01\"\x1e\n\x1cQueryAnnualProvisionsRequest\"o\n\x1dQueryAnnualProvisionsResponse\x12N\n\x11\x61nnual_provisions\x18\x01 \x01(\x0c\x42\x33\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xa8\xe7\xb0*\x01\x32\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+Z)github.com/cosmos/cosmos-sdk/x/mint/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -28,27 +29,27 @@ _QUERYPARAMSRESPONSE.fields_by_name['params']._options = None _QUERYPARAMSRESPONSE.fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' _QUERYINFLATIONRESPONSE.fields_by_name['inflation']._options = None - _QUERYINFLATIONRESPONSE.fields_by_name['inflation']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000\250\347\260*\001' + _QUERYINFLATIONRESPONSE.fields_by_name['inflation']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\250\347\260*\001' _QUERYANNUALPROVISIONSRESPONSE.fields_by_name['annual_provisions']._options = None - _QUERYANNUALPROVISIONSRESPONSE.fields_by_name['annual_provisions']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000\250\347\260*\001' + _QUERYANNUALPROVISIONSRESPONSE.fields_by_name['annual_provisions']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\250\347\260*\001' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/mint/v1beta1/params' _QUERY.methods_by_name['Inflation']._options = None _QUERY.methods_by_name['Inflation']._serialized_options = b'\202\323\344\223\002 \022\036/cosmos/mint/v1beta1/inflation' _QUERY.methods_by_name['AnnualProvisions']._options = None _QUERY.methods_by_name['AnnualProvisions']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/mint/v1beta1/annual_provisions' - _QUERYPARAMSREQUEST._serialized_start=159 - _QUERYPARAMSREQUEST._serialized_end=179 - _QUERYPARAMSRESPONSE._serialized_start=181 - _QUERYPARAMSRESPONSE._serialized_end=258 - _QUERYINFLATIONREQUEST._serialized_start=260 - _QUERYINFLATIONREQUEST._serialized_end=283 - _QUERYINFLATIONRESPONSE._serialized_start=285 - _QUERYINFLATIONRESPONSE._serialized_end=381 - _QUERYANNUALPROVISIONSREQUEST._serialized_start=383 - _QUERYANNUALPROVISIONSREQUEST._serialized_end=413 - _QUERYANNUALPROVISIONSRESPONSE._serialized_start=415 - _QUERYANNUALPROVISIONSRESPONSE._serialized_end=526 - _QUERY._serialized_start=529 - _QUERY._serialized_end=982 + _globals['_QUERYPARAMSREQUEST']._serialized_start=159 + _globals['_QUERYPARAMSREQUEST']._serialized_end=179 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=181 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=258 + _globals['_QUERYINFLATIONREQUEST']._serialized_start=260 + _globals['_QUERYINFLATIONREQUEST']._serialized_end=283 + _globals['_QUERYINFLATIONRESPONSE']._serialized_start=285 + _globals['_QUERYINFLATIONRESPONSE']._serialized_end=381 + _globals['_QUERYANNUALPROVISIONSREQUEST']._serialized_start=383 + _globals['_QUERYANNUALPROVISIONSREQUEST']._serialized_end=413 + _globals['_QUERYANNUALPROVISIONSRESPONSE']._serialized_start=415 + _globals['_QUERYANNUALPROVISIONSRESPONSE']._serialized_end=526 + _globals['_QUERY']._serialized_start=529 + _globals['_QUERY']._serialized_end=982 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py index 95c113ac..2a1c567c 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/mint/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +20,9 @@ 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\"\xac\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01: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+Z)github.com/cosmos/cosmos-sdk/x/mint/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -34,10 +35,10 @@ _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/mint/MsgUpdateParams' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGUPDATEPARAMS._serialized_start=179 - _MSGUPDATEPARAMS._serialized_end=351 - _MSGUPDATEPARAMSRESPONSE._serialized_start=353 - _MSGUPDATEPARAMSRESPONSE._serialized_end=378 - _MSG._serialized_start=380 - _MSG._serialized_end=492 + _globals['_MSGUPDATEPARAMS']._serialized_start=179 + _globals['_MSGUPDATEPARAMS']._serialized_end=351 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=353 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=378 + _globals['_MSG']._serialized_start=380 + _globals['_MSG']._serialized_end=492 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/msg/v1/msg_pb2.py b/pyinjective/proto/cosmos/msg/v1/msg_pb2.py index 6be3625c..bfcb22bb 100644 --- a/pyinjective/proto/cosmos/msg/v1/msg_pb2.py +++ b/pyinjective/proto/cosmos/msg/v1/msg_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/msg/v1/msg.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/msg/v1/msg.proto\x12\rcosmos.msg.v1\x1a google/protobuf/descriptor.proto:3\n\x07service\x12\x1f.google.protobuf.ServiceOptions\x18\xf0\x8c\xa6\x05 \x01(\x08:2\n\x06signer\x12\x1f.google.protobuf.MessageOptions\x18\xf0\x8c\xa6\x05 \x03(\tB/Z-github.com/cosmos/cosmos-sdk/types/msgserviceb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.msg.v1.msg_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.msg.v1.msg_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_descriptor__pb2.ServiceOptions.RegisterExtension(service) google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(signer) diff --git a/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py b/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py index b87a7334..4f86f15a 100644 --- a/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/nft/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"4\n\x06Module:*\xba\xc0\x96\xda\x01$\n\"github.com/cosmos/cosmos-sdk/x/nftb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001$\n\"github.com/cosmos/cosmos-sdk/x/nft' - _MODULE._serialized_start=93 - _MODULE._serialized_end=145 + _globals['_MODULE']._serialized_start=93 + _globals['_MODULE']._serialized_end=145 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py index fd53b418..28e4eb8b 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/nft/v1beta1/event.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,17 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/nft/v1beta1/event.proto\x12\x12\x63osmos.nft.v1beta1\"K\n\tEventSend\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0e\n\x06sender\x18\x03 \x01(\t\x12\x10\n\x08receiver\x18\x04 \x01(\t\"8\n\tEventMint\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\r\n\x05owner\x18\x03 \x01(\t\"8\n\tEventBurn\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\r\n\x05owner\x18\x03 \x01(\tB$Z\"github.com/cosmos/cosmos-sdk/x/nftb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.event_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.event_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\"github.com/cosmos/cosmos-sdk/x/nft' - _EVENTSEND._serialized_start=54 - _EVENTSEND._serialized_end=129 - _EVENTMINT._serialized_start=131 - _EVENTMINT._serialized_end=187 - _EVENTBURN._serialized_start=189 - _EVENTBURN._serialized_end=245 + _globals['_EVENTSEND']._serialized_start=54 + _globals['_EVENTSEND']._serialized_end=129 + _globals['_EVENTMINT']._serialized_start=131 + _globals['_EVENTMINT']._serialized_end=187 + _globals['_EVENTBURN']._serialized_start=189 + _globals['_EVENTBURN']._serialized_end=245 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py index 4a68eb98..4e55b947 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/nft/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +16,15 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/nft/v1beta1/genesis.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x1c\x63osmos/nft/v1beta1/nft.proto\"f\n\x0cGenesisState\x12*\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.Class\x12*\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.Entry\"=\n\x05\x45ntry\x12\r\n\x05owner\x18\x01 \x01(\t\x12%\n\x04nfts\x18\x02 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTB$Z\"github.com/cosmos/cosmos-sdk/x/nftb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\"github.com/cosmos/cosmos-sdk/x/nft' - _GENESISSTATE._serialized_start=86 - _GENESISSTATE._serialized_end=188 - _ENTRY._serialized_start=190 - _ENTRY._serialized_end=251 + _globals['_GENESISSTATE']._serialized_start=86 + _globals['_GENESISSTATE']._serialized_end=188 + _globals['_ENTRY']._serialized_start=190 + _globals['_ENTRY']._serialized_end=251 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py index 36e3630f..2be1d10c 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/nft/v1beta1/nft.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +16,15 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/nft/v1beta1/nft.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19google/protobuf/any.proto\"\x89\x01\n\x05\x43lass\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x0b\n\x03uri\x18\x05 \x01(\t\x12\x10\n\x08uri_hash\x18\x06 \x01(\t\x12\"\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32\x14.google.protobuf.Any\"f\n\x03NFT\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0b\n\x03uri\x18\x03 \x01(\t\x12\x10\n\x08uri_hash\x18\x04 \x01(\t\x12\"\n\x04\x64\x61ta\x18\n \x01(\x0b\x32\x14.google.protobuf.AnyB$Z\"github.com/cosmos/cosmos-sdk/x/nftb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.nft_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.nft_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\"github.com/cosmos/cosmos-sdk/x/nft' - _CLASS._serialized_start=80 - _CLASS._serialized_end=217 - _NFT._serialized_start=219 - _NFT._serialized_end=321 + _globals['_CLASS']._serialized_start=80 + _globals['_CLASS']._serialized_end=217 + _globals['_NFT']._serialized_start=219 + _globals['_NFT']._serialized_end=321 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py index d91b8492..96054d9e 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/nft/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +18,9 @@ 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\"6\n\x13QueryBalanceRequest\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\x12\r\n\x05owner\x18\x02 \x01(\t\"&\n\x14QueryBalanceResponse\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\"1\n\x11QueryOwnerRequest\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\"#\n\x12QueryOwnerResponse\x12\r\n\x05owner\x18\x01 \x01(\t\"&\n\x12QuerySupplyRequest\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\"%\n\x13QuerySupplyResponse\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\"o\n\x10QueryNFTsRequest\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\x12\r\n\x05owner\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"w\n\x11QueryNFTsResponse\x12%\n\x04nfts\x18\x01 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFT\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"/\n\x0fQueryNFTRequest\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\"8\n\x10QueryNFTResponse\x12$\n\x03nft\x18\x01 \x01(\x0b\x32\x17.cosmos.nft.v1beta1.NFT\"%\n\x11QueryClassRequest\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\">\n\x12QueryClassResponse\x12(\n\x05\x63lass\x18\x01 \x01(\x0b\x32\x19.cosmos.nft.v1beta1.Class\"Q\n\x13QueryClassesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x7f\n\x14QueryClassesResponse\x12*\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.Class\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\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$Z\"github.com/cosmos/cosmos-sdk/x/nftb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -38,34 +39,34 @@ _QUERY.methods_by_name['Class']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/nft/v1beta1/classes/{class_id}' _QUERY.methods_by_name['Classes']._options = None _QUERY.methods_by_name['Classes']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/nft/v1beta1/classes' - _QUERYBALANCEREQUEST._serialized_start=158 - _QUERYBALANCEREQUEST._serialized_end=212 - _QUERYBALANCERESPONSE._serialized_start=214 - _QUERYBALANCERESPONSE._serialized_end=252 - _QUERYOWNERREQUEST._serialized_start=254 - _QUERYOWNERREQUEST._serialized_end=303 - _QUERYOWNERRESPONSE._serialized_start=305 - _QUERYOWNERRESPONSE._serialized_end=340 - _QUERYSUPPLYREQUEST._serialized_start=342 - _QUERYSUPPLYREQUEST._serialized_end=380 - _QUERYSUPPLYRESPONSE._serialized_start=382 - _QUERYSUPPLYRESPONSE._serialized_end=419 - _QUERYNFTSREQUEST._serialized_start=421 - _QUERYNFTSREQUEST._serialized_end=532 - _QUERYNFTSRESPONSE._serialized_start=534 - _QUERYNFTSRESPONSE._serialized_end=653 - _QUERYNFTREQUEST._serialized_start=655 - _QUERYNFTREQUEST._serialized_end=702 - _QUERYNFTRESPONSE._serialized_start=704 - _QUERYNFTRESPONSE._serialized_end=760 - _QUERYCLASSREQUEST._serialized_start=762 - _QUERYCLASSREQUEST._serialized_end=799 - _QUERYCLASSRESPONSE._serialized_start=801 - _QUERYCLASSRESPONSE._serialized_end=863 - _QUERYCLASSESREQUEST._serialized_start=865 - _QUERYCLASSESREQUEST._serialized_end=946 - _QUERYCLASSESRESPONSE._serialized_start=948 - _QUERYCLASSESRESPONSE._serialized_end=1075 - _QUERY._serialized_start=1078 - _QUERY._serialized_end=2036 + _globals['_QUERYBALANCEREQUEST']._serialized_start=158 + _globals['_QUERYBALANCEREQUEST']._serialized_end=212 + _globals['_QUERYBALANCERESPONSE']._serialized_start=214 + _globals['_QUERYBALANCERESPONSE']._serialized_end=252 + _globals['_QUERYOWNERREQUEST']._serialized_start=254 + _globals['_QUERYOWNERREQUEST']._serialized_end=303 + _globals['_QUERYOWNERRESPONSE']._serialized_start=305 + _globals['_QUERYOWNERRESPONSE']._serialized_end=340 + _globals['_QUERYSUPPLYREQUEST']._serialized_start=342 + _globals['_QUERYSUPPLYREQUEST']._serialized_end=380 + _globals['_QUERYSUPPLYRESPONSE']._serialized_start=382 + _globals['_QUERYSUPPLYRESPONSE']._serialized_end=419 + _globals['_QUERYNFTSREQUEST']._serialized_start=421 + _globals['_QUERYNFTSREQUEST']._serialized_end=532 + _globals['_QUERYNFTSRESPONSE']._serialized_start=534 + _globals['_QUERYNFTSRESPONSE']._serialized_end=653 + _globals['_QUERYNFTREQUEST']._serialized_start=655 + _globals['_QUERYNFTREQUEST']._serialized_end=702 + _globals['_QUERYNFTRESPONSE']._serialized_start=704 + _globals['_QUERYNFTRESPONSE']._serialized_end=760 + _globals['_QUERYCLASSREQUEST']._serialized_start=762 + _globals['_QUERYCLASSREQUEST']._serialized_end=799 + _globals['_QUERYCLASSRESPONSE']._serialized_start=801 + _globals['_QUERYCLASSRESPONSE']._serialized_end=863 + _globals['_QUERYCLASSESREQUEST']._serialized_start=865 + _globals['_QUERYCLASSESREQUEST']._serialized_end=946 + _globals['_QUERYCLASSESRESPONSE']._serialized_start=948 + _globals['_QUERYCLASSESRESPONSE']._serialized_end=1075 + _globals['_QUERY']._serialized_start=1078 + _globals['_QUERY']._serialized_end=2036 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py index a55c2576..7dc3e779 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/nft/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ 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\"\x8a\x01\n\x07MsgSend\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12(\n\x06sender\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08receiver\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\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$Z\"github.com/cosmos/cosmos-sdk/x/nftb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -31,10 +32,10 @@ _MSGSEND._serialized_options = b'\202\347\260*\006sender' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGSEND._serialized_start=104 - _MSGSEND._serialized_end=242 - _MSGSENDRESPONSE._serialized_start=244 - _MSGSENDRESPONSE._serialized_end=261 - _MSG._serialized_start=263 - _MSG._serialized_end=349 + _globals['_MSGSEND']._serialized_start=104 + _globals['_MSGSEND']._serialized_end=242 + _globals['_MSGSENDRESPONSE']._serialized_start=244 + _globals['_MSGSENDRESPONSE']._serialized_end=261 + _globals['_MSG']._serialized_start=263 + _globals['_MSG']._serialized_end=349 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py index 6dfd9527..b693d829 100644 --- a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/orm/module/v1alpha1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"2\n\x06Module:(\xba\xc0\x96\xda\x01\"\n github.com/cosmos/cosmos-sdk/ormb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.module.v1alpha1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.module.v1alpha1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001\"\n github.com/cosmos/cosmos-sdk/orm' - _MODULE._serialized_start=105 - _MODULE._serialized_end=155 + _globals['_MODULE']._serialized_start=105 + _globals['_MODULE']._serialized_end=155 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py index 12c61d64..bf2cec30 100644 --- a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py +++ b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/orm/query/v1alpha1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,25 +19,26 @@ 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\"h\n\nGetRequest\x12\x14\n\x0cmessage_name\x18\x01 \x01(\t\x12\r\n\x05index\x18\x02 \x01(\t\x12\x35\n\x06values\x18\x03 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValue\"3\n\x0bGetResponse\x12$\n\x06result\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\"\xab\x03\n\x0bListRequest\x12\x14\n\x0cmessage_name\x18\x01 \x01(\t\x12\r\n\x05index\x18\x02 \x01(\t\x12?\n\x06prefix\x18\x03 \x01(\x0b\x32-.cosmos.orm.query.v1alpha1.ListRequest.PrefixH\x00\x12=\n\x05range\x18\x04 \x01(\x0b\x32,.cosmos.orm.query.v1alpha1.ListRequest.RangeH\x00\x12:\n\npagination\x18\x05 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1a?\n\x06Prefix\x12\x35\n\x06values\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValue\x1aq\n\x05Range\x12\x34\n\x05start\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValue\x12\x32\n\x03\x65nd\x18\x02 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueB\x07\n\x05query\"r\n\x0cListResponse\x12%\n\x07results\x18\x01 \x03(\x0b\x32\x14.google.protobuf.Any\x12;\n\npagination\x18\x05 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\xd4\x01\n\nIndexValue\x12\x0e\n\x04uint\x18\x01 \x01(\x04H\x00\x12\r\n\x03int\x18\x02 \x01(\x03H\x00\x12\r\n\x03str\x18\x03 \x01(\tH\x00\x12\x0f\n\x05\x62ytes\x18\x04 \x01(\x0cH\x00\x12\x0e\n\x04\x65num\x18\x05 \x01(\tH\x00\x12\x0e\n\x04\x62ool\x18\x06 \x01(\x08H\x00\x12/\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12-\n\x08\x64uration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x42\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\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.query.v1alpha1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.query.v1alpha1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - _GETREQUEST._serialized_start=204 - _GETREQUEST._serialized_end=308 - _GETRESPONSE._serialized_start=310 - _GETRESPONSE._serialized_end=361 - _LISTREQUEST._serialized_start=364 - _LISTREQUEST._serialized_end=791 - _LISTREQUEST_PREFIX._serialized_start=604 - _LISTREQUEST_PREFIX._serialized_end=667 - _LISTREQUEST_RANGE._serialized_start=669 - _LISTREQUEST_RANGE._serialized_end=782 - _LISTRESPONSE._serialized_start=793 - _LISTRESPONSE._serialized_end=907 - _INDEXVALUE._serialized_start=910 - _INDEXVALUE._serialized_end=1122 - _QUERY._serialized_start=1125 - _QUERY._serialized_end=1307 + _globals['_GETREQUEST']._serialized_start=204 + _globals['_GETREQUEST']._serialized_end=308 + _globals['_GETRESPONSE']._serialized_start=310 + _globals['_GETRESPONSE']._serialized_end=361 + _globals['_LISTREQUEST']._serialized_start=364 + _globals['_LISTREQUEST']._serialized_end=791 + _globals['_LISTREQUEST_PREFIX']._serialized_start=604 + _globals['_LISTREQUEST_PREFIX']._serialized_end=667 + _globals['_LISTREQUEST_RANGE']._serialized_start=669 + _globals['_LISTREQUEST_RANGE']._serialized_end=782 + _globals['_LISTRESPONSE']._serialized_start=793 + _globals['_LISTRESPONSE']._serialized_end=907 + _globals['_INDEXVALUE']._serialized_start=910 + _globals['_INDEXVALUE']._serialized_end=1122 + _globals['_QUERY']._serialized_start=1125 + _globals['_QUERY']._serialized_end=1307 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/v1/orm_pb2.py b/pyinjective/proto/cosmos/orm/v1/orm_pb2.py index 1af42aa9..1360e854 100644 --- a/pyinjective/proto/cosmos/orm/v1/orm_pb2.py +++ b/pyinjective/proto/cosmos/orm/v1/orm_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/orm/v1/orm.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,19 +16,20 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/orm/v1/orm.proto\x12\rcosmos.orm.v1\x1a google/protobuf/descriptor.proto\"\x8f\x01\n\x0fTableDescriptor\x12\x38\n\x0bprimary_key\x18\x01 \x01(\x0b\x32#.cosmos.orm.v1.PrimaryKeyDescriptor\x12\x36\n\x05index\x18\x02 \x03(\x0b\x32\'.cosmos.orm.v1.SecondaryIndexDescriptor\x12\n\n\x02id\x18\x03 \x01(\r\">\n\x14PrimaryKeyDescriptor\x12\x0e\n\x06\x66ields\x18\x01 \x01(\t\x12\x16\n\x0e\x61uto_increment\x18\x02 \x01(\x08\"F\n\x18SecondaryIndexDescriptor\x12\x0e\n\x06\x66ields\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\r\x12\x0e\n\x06unique\x18\x03 \x01(\x08\"!\n\x13SingletonDescriptor\x12\n\n\x02id\x18\x01 \x01(\r:Q\n\x05table\x12\x1f.google.protobuf.MessageOptions\x18\xee\xb3\xea\x31 \x01(\x0b\x32\x1e.cosmos.orm.v1.TableDescriptor:Y\n\tsingleton\x12\x1f.google.protobuf.MessageOptions\x18\xef\xb3\xea\x31 \x01(\x0b\x32\".cosmos.orm.v1.SingletonDescriptorb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1.orm_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1.orm_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(table) google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(singleton) DESCRIPTOR._options = None - _TABLEDESCRIPTOR._serialized_start=77 - _TABLEDESCRIPTOR._serialized_end=220 - _PRIMARYKEYDESCRIPTOR._serialized_start=222 - _PRIMARYKEYDESCRIPTOR._serialized_end=284 - _SECONDARYINDEXDESCRIPTOR._serialized_start=286 - _SECONDARYINDEXDESCRIPTOR._serialized_end=356 - _SINGLETONDESCRIPTOR._serialized_start=358 - _SINGLETONDESCRIPTOR._serialized_end=391 + _globals['_TABLEDESCRIPTOR']._serialized_start=77 + _globals['_TABLEDESCRIPTOR']._serialized_end=220 + _globals['_PRIMARYKEYDESCRIPTOR']._serialized_start=222 + _globals['_PRIMARYKEYDESCRIPTOR']._serialized_end=284 + _globals['_SECONDARYINDEXDESCRIPTOR']._serialized_start=286 + _globals['_SECONDARYINDEXDESCRIPTOR']._serialized_end=356 + _globals['_SINGLETONDESCRIPTOR']._serialized_start=358 + _globals['_SINGLETONDESCRIPTOR']._serialized_end=391 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py index d4289833..202e7c83 100644 --- a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py +++ b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/orm/v1alpha1/schema.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,17 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/orm/v1alpha1/schema.proto\x12\x13\x63osmos.orm.v1alpha1\x1a google/protobuf/descriptor.proto\"\xde\x01\n\x16ModuleSchemaDescriptor\x12J\n\x0bschema_file\x18\x01 \x03(\x0b\x32\x35.cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntry\x12\x0e\n\x06prefix\x18\x02 \x01(\x0c\x1ah\n\tFileEntry\x12\n\n\x02id\x18\x01 \x01(\r\x12\x17\n\x0fproto_file_name\x18\x02 \x01(\t\x12\x36\n\x0cstorage_type\x18\x03 \x01(\x0e\x32 .cosmos.orm.v1alpha1.StorageType*\x9d\x01\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\x12\x16\n\x12STORAGE_TYPE_INDEX\x10\x03\x12\x1b\n\x17STORAGE_TYPE_COMMITMENT\x10\x04:f\n\rmodule_schema\x12\x1f.google.protobuf.MessageOptions\x18\xf0\xb3\xea\x31 \x01(\x0b\x32+.cosmos.orm.v1alpha1.ModuleSchemaDescriptorb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1alpha1.schema_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1alpha1.schema_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(module_schema) DESCRIPTOR._options = None - _STORAGETYPE._serialized_start=317 - _STORAGETYPE._serialized_end=474 - _MODULESCHEMADESCRIPTOR._serialized_start=92 - _MODULESCHEMADESCRIPTOR._serialized_end=314 - _MODULESCHEMADESCRIPTOR_FILEENTRY._serialized_start=210 - _MODULESCHEMADESCRIPTOR_FILEENTRY._serialized_end=314 + _globals['_STORAGETYPE']._serialized_start=317 + _globals['_STORAGETYPE']._serialized_end=474 + _globals['_MODULESCHEMADESCRIPTOR']._serialized_start=92 + _globals['_MODULESCHEMADESCRIPTOR']._serialized_end=314 + _globals['_MODULESCHEMADESCRIPTOR_FILEENTRY']._serialized_start=210 + _globals['_MODULESCHEMADESCRIPTOR_FILEENTRY']._serialized_end=314 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/module/v1/module_pb2.py b/pyinjective/proto/cosmos/params/module/v1/module_pb2.py index bd2566ff..6843781b 100644 --- a/pyinjective/proto/cosmos/params/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/params/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/params/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/params' - _MODULE._serialized_start=99 - _MODULE._serialized_end=154 + _globals['_MODULE']._serialized_start=99 + _globals['_MODULE']._serialized_end=154 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py b/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py index 216d38e1..c7c535d4 100644 --- a/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py +++ b/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/params/v1beta1/params.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +18,9 @@ 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\"\xcc\x01\n\x17ParameterChangeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12>\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:M\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\"cosmos-sdk/ParameterChangeProposal\"A\n\x0bParamChange\x12\x10\n\x08subspace\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t:\x04\x98\xa0\x1f\x00\x42:Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa8\xe2\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.params_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.params_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -30,8 +31,8 @@ _PARAMETERCHANGEPROPOSAL._serialized_options = b'\210\240\037\000\230\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\"cosmos-sdk/ParameterChangeProposal' _PARAMCHANGE._options = None _PARAMCHANGE._serialized_options = b'\230\240\037\000' - _PARAMETERCHANGEPROPOSAL._serialized_start=130 - _PARAMETERCHANGEPROPOSAL._serialized_end=334 - _PARAMCHANGE._serialized_start=336 - _PARAMCHANGE._serialized_end=401 + _globals['_PARAMETERCHANGEPROPOSAL']._serialized_start=130 + _globals['_PARAMETERCHANGEPROPOSAL']._serialized_end=334 + _globals['_PARAMCHANGE']._serialized_start=336 + _globals['_PARAMCHANGE']._serialized_end=401 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py index 4788f6fe..b5316a09 100644 --- a/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/params/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +19,9 @@ 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\"3\n\x12QueryParamsRequest\x12\x10\n\x08subspace\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\"S\n\x13QueryParamsResponse\x12<\n\x05param\x18\x01 \x01(\x0b\x32\".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x17\n\x15QuerySubspacesRequest\"L\n\x16QuerySubspacesResponse\x12\x32\n\tsubspaces\x18\x01 \x03(\x0b\x32\x1f.cosmos.params.v1beta1.Subspace\"*\n\x08Subspace\x12\x10\n\x08subspace\x18\x01 \x01(\t\x12\x0c\n\x04keys\x18\x02 \x03(\t2\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/subspacesB6Z4github.com/cosmos/cosmos-sdk/x/params/types/proposalb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -31,16 +32,16 @@ _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/params/v1beta1/params' _QUERY.methods_by_name['Subspaces']._options = None _QUERY.methods_by_name['Subspaces']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/params/v1beta1/subspaces' - _QUERYPARAMSREQUEST._serialized_start=167 - _QUERYPARAMSREQUEST._serialized_end=218 - _QUERYPARAMSRESPONSE._serialized_start=220 - _QUERYPARAMSRESPONSE._serialized_end=303 - _QUERYSUBSPACESREQUEST._serialized_start=305 - _QUERYSUBSPACESREQUEST._serialized_end=328 - _QUERYSUBSPACESRESPONSE._serialized_start=330 - _QUERYSUBSPACESRESPONSE._serialized_end=406 - _SUBSPACE._serialized_start=408 - _SUBSPACE._serialized_end=450 - _QUERY._serialized_start=453 - _QUERY._serialized_end=746 + _globals['_QUERYPARAMSREQUEST']._serialized_start=167 + _globals['_QUERYPARAMSREQUEST']._serialized_end=218 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=220 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=303 + _globals['_QUERYSUBSPACESREQUEST']._serialized_start=305 + _globals['_QUERYSUBSPACESREQUEST']._serialized_end=328 + _globals['_QUERYSUBSPACESRESPONSE']._serialized_start=330 + _globals['_QUERYSUBSPACESRESPONSE']._serialized_end=406 + _globals['_SUBSPACE']._serialized_start=408 + _globals['_SUBSPACE']._serialized_end=450 + _globals['_QUERY']._serialized_start=453 + _globals['_QUERY']._serialized_end=746 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/query/v1/query_pb2.py b/pyinjective/proto/cosmos/query/v1/query_pb2.py index a9642331..86336ac7 100644 --- a/pyinjective/proto/cosmos/query/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/query/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/query/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/query/v1/query.proto\x12\x0f\x63osmos.query.v1\x1a google/protobuf/descriptor.proto:<\n\x11module_query_safe\x12\x1e.google.protobuf.MethodOptions\x18\xf1\x8c\xa6\x05 \x01(\x08\x42*Z(github.com/cosmos/cosmos-sdk/types/queryb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.query.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.query.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(module_query_safe) diff --git a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py index 8dda6c0c..28b51d02 100644 --- a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/reflection/v1/reflection.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,17 +17,18 @@ 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\"N\n\x17\x46ileDescriptorsResponse\x12\x33\n\x05\x66iles\x18\x01 \x03(\x0b\x32$.google.protobuf.FileDescriptorProto2\x8a\x01\n\x11ReflectionService\x12u\n\x0f\x46ileDescriptors\x12,.cosmos.reflection.v1.FileDescriptorsRequest\x1a-.cosmos.reflection.v1.FileDescriptorsResponse\"\x05\x88\xe7\xb0*\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.reflection.v1.reflection_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.reflection.v1.reflection_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _REFLECTIONSERVICE.methods_by_name['FileDescriptors']._options = None _REFLECTIONSERVICE.methods_by_name['FileDescriptors']._serialized_options = b'\210\347\260*\000' - _FILEDESCRIPTORSREQUEST._serialized_start=126 - _FILEDESCRIPTORSREQUEST._serialized_end=150 - _FILEDESCRIPTORSRESPONSE._serialized_start=152 - _FILEDESCRIPTORSRESPONSE._serialized_end=230 - _REFLECTIONSERVICE._serialized_start=233 - _REFLECTIONSERVICE._serialized_end=371 + _globals['_FILEDESCRIPTORSREQUEST']._serialized_start=126 + _globals['_FILEDESCRIPTORSREQUEST']._serialized_end=150 + _globals['_FILEDESCRIPTORSRESPONSE']._serialized_start=152 + _globals['_FILEDESCRIPTORSRESPONSE']._serialized_end=230 + _globals['_REFLECTIONSERVICE']._serialized_start=233 + _globals['_REFLECTIONSERVICE']._serialized_end=371 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py index c151a26b..5bd41895 100644 --- a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/slashing/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"L\n\x06Module\x12\x11\n\tauthority\x18\x01 \x01(\t:/\xba\xc0\x96\xda\x01)\n\'github.com/cosmos/cosmos-sdk/x/slashingb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001)\n\'github.com/cosmos/cosmos-sdk/x/slashing' - _MODULE._serialized_start=103 - _MODULE._serialized_end=179 + _globals['_MODULE']._serialized_start=103 + _globals['_MODULE']._serialized_end=179 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py index 0086f114..1c58919a 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/slashing/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +19,9 @@ 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\"\xe4\x01\n\x0cGenesisState\x12:\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x46\n\rsigning_infos\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.SigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12P\n\rmissed_blocks\x18\x03 \x03(\x0b\x32..cosmos.slashing.v1beta1.ValidatorMissedBlocksB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x92\x01\n\x0bSigningInfo\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12X\n\x16validator_signing_info\x18\x02 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x01\n\x15ValidatorMissedBlocks\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x46\n\rmissed_blocks\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.MissedBlockB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\",\n\x0bMissedBlock\x12\r\n\x05index\x18\x01 \x01(\x03\x12\x0e\n\x06missed\x18\x02 \x01(\x08\x42/Z-github.com/cosmos/cosmos-sdk/x/slashing/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -39,12 +40,12 @@ _VALIDATORMISSEDBLOCKS.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _VALIDATORMISSEDBLOCKS.fields_by_name['missed_blocks']._options = None _VALIDATORMISSEDBLOCKS.fields_by_name['missed_blocks']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _GENESISSTATE._serialized_start=175 - _GENESISSTATE._serialized_end=403 - _SIGNINGINFO._serialized_start=406 - _SIGNINGINFO._serialized_end=552 - _VALIDATORMISSEDBLOCKS._serialized_start=555 - _VALIDATORMISSEDBLOCKS._serialized_end=693 - _MISSEDBLOCK._serialized_start=695 - _MISSEDBLOCK._serialized_end=739 + _globals['_GENESISSTATE']._serialized_start=175 + _globals['_GENESISSTATE']._serialized_end=403 + _globals['_SIGNINGINFO']._serialized_start=406 + _globals['_SIGNINGINFO']._serialized_end=552 + _globals['_VALIDATORMISSEDBLOCKS']._serialized_start=555 + _globals['_VALIDATORMISSEDBLOCKS']._serialized_end=693 + _globals['_MISSEDBLOCK']._serialized_start=695 + _globals['_MISSEDBLOCK']._serialized_end=739 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py index 3f381588..3ce054fd 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/slashing/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +21,9 @@ 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\"Q\n\x13QueryParamsResponse\x12:\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"I\n\x17QuerySigningInfoRequest\x12.\n\x0c\x63ons_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"n\n\x18QuerySigningInfoResponse\x12R\n\x10val_signing_info\x18\x01 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"V\n\x18QuerySigningInfosRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa0\x01\n\x19QuerySigningInfosResponse\x12\x46\n\x04info\x18\x01 \x03(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\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/Z-github.com/cosmos/cosmos-sdk/x/slashing/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -41,18 +42,18 @@ _QUERY.methods_by_name['SigningInfo']._serialized_options = b'\202\323\344\223\0027\0225/cosmos/slashing/v1beta1/signing_infos/{cons_address}' _QUERY.methods_by_name['SigningInfos']._options = None _QUERY.methods_by_name['SigningInfos']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/slashing/v1beta1/signing_infos' - _QUERYPARAMSREQUEST._serialized_start=246 - _QUERYPARAMSREQUEST._serialized_end=266 - _QUERYPARAMSRESPONSE._serialized_start=268 - _QUERYPARAMSRESPONSE._serialized_end=349 - _QUERYSIGNINGINFOREQUEST._serialized_start=351 - _QUERYSIGNINGINFOREQUEST._serialized_end=424 - _QUERYSIGNINGINFORESPONSE._serialized_start=426 - _QUERYSIGNINGINFORESPONSE._serialized_end=536 - _QUERYSIGNINGINFOSREQUEST._serialized_start=538 - _QUERYSIGNINGINFOSREQUEST._serialized_end=624 - _QUERYSIGNINGINFOSRESPONSE._serialized_start=627 - _QUERYSIGNINGINFOSRESPONSE._serialized_end=787 - _QUERY._serialized_start=790 - _QUERY._serialized_end=1288 + _globals['_QUERYPARAMSREQUEST']._serialized_start=246 + _globals['_QUERYPARAMSREQUEST']._serialized_end=266 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=268 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=349 + _globals['_QUERYSIGNINGINFOREQUEST']._serialized_start=351 + _globals['_QUERYSIGNINGINFOREQUEST']._serialized_end=424 + _globals['_QUERYSIGNINGINFORESPONSE']._serialized_start=426 + _globals['_QUERYSIGNINGINFORESPONSE']._serialized_end=536 + _globals['_QUERYSIGNINGINFOSREQUEST']._serialized_start=538 + _globals['_QUERYSIGNINGINFOSREQUEST']._serialized_end=624 + _globals['_QUERYSIGNINGINFOSRESPONSE']._serialized_start=627 + _globals['_QUERYSIGNINGINFOSRESPONSE']._serialized_end=787 + _globals['_QUERY']._serialized_start=790 + _globals['_QUERY']._serialized_end=1288 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py index 1756212a..47ca1ed1 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/slashing/v1beta1/slashing.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +18,11 @@ from 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\"\xeb\x01\n\x14ValidatorSigningInfo\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x14\n\x0cstart_height\x18\x02 \x01(\x03\x12\x14\n\x0cindex_offset\x18\x03 \x01(\x03\x12?\n\x0cjailed_until\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x12\n\ntombstoned\x18\x05 \x01(\x08\x12\x1d\n\x15missed_blocks_counter\x18\x06 \x01(\x03:\x08\xe8\xa0\x1f\x01\x98\xa0\x1f\x00\"\x96\x03\n\x06Params\x12\x1c\n\x14signed_blocks_window\x18\x01 \x01(\x03\x12R\n\x15min_signed_per_window\x18\x02 \x01(\x0c\x42\x33\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12H\n\x16\x64owntime_jail_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x98\xdf\x1f\x01\x12W\n\x1aslash_fraction_double_sign\x18\x04 \x01(\x0c\x42\x33\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12T\n\x17slash_fraction_downtime\x18\x05 \x01(\x0c\x42\x33\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:!\x8a\xe7\xb0*\x1c\x63osmos-sdk/x/slashing/ParamsB3Z-github.com/cosmos/cosmos-sdk/x/slashing/types\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\"\xeb\x01\n\x14ValidatorSigningInfo\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x14\n\x0cstart_height\x18\x02 \x01(\x03\x12\x14\n\x0cindex_offset\x18\x03 \x01(\x03\x12?\n\x0cjailed_until\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12\x12\n\ntombstoned\x18\x05 \x01(\x08\x12\x1d\n\x15missed_blocks_counter\x18\x06 \x01(\x03:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\"\x96\x03\n\x06Params\x12\x1c\n\x14signed_blocks_window\x18\x01 \x01(\x03\x12R\n\x15min_signed_per_window\x18\x02 \x01(\x0c\x42\x33\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xa8\xe7\xb0*\x01\x12H\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*\x01\x12W\n\x1aslash_fraction_double_sign\x18\x04 \x01(\x0c\x42\x33\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xa8\xe7\xb0*\x01\x12T\n\x17slash_fraction_downtime\x18\x05 \x01(\x0c\x42\x33\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xa8\xe7\xb0*\x01:!\x8a\xe7\xb0*\x1c\x63osmos-sdk/x/slashing/ParamsB3Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa8\xe2\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.slashing_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.slashing_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -29,21 +30,21 @@ _VALIDATORSIGNINGINFO.fields_by_name['address']._options = None _VALIDATORSIGNINGINFO.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _VALIDATORSIGNINGINFO.fields_by_name['jailed_until']._options = None - _VALIDATORSIGNINGINFO.fields_by_name['jailed_until']._serialized_options = b'\220\337\037\001\310\336\037\000\250\347\260*\001' + _VALIDATORSIGNINGINFO.fields_by_name['jailed_until']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _VALIDATORSIGNINGINFO._options = None - _VALIDATORSIGNINGINFO._serialized_options = b'\350\240\037\001\230\240\037\000' + _VALIDATORSIGNINGINFO._serialized_options = b'\230\240\037\000\350\240\037\001' _PARAMS.fields_by_name['min_signed_per_window']._options = None - _PARAMS.fields_by_name['min_signed_per_window']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000\250\347\260*\001' + _PARAMS.fields_by_name['min_signed_per_window']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\250\347\260*\001' _PARAMS.fields_by_name['downtime_jail_duration']._options = None - _PARAMS.fields_by_name['downtime_jail_duration']._serialized_options = b'\310\336\037\000\250\347\260*\001\230\337\037\001' + _PARAMS.fields_by_name['downtime_jail_duration']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' _PARAMS.fields_by_name['slash_fraction_double_sign']._options = None - _PARAMS.fields_by_name['slash_fraction_double_sign']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000\250\347\260*\001' + _PARAMS.fields_by_name['slash_fraction_double_sign']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\250\347\260*\001' _PARAMS.fields_by_name['slash_fraction_downtime']._options = None - _PARAMS.fields_by_name['slash_fraction_downtime']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000\250\347\260*\001' + _PARAMS.fields_by_name['slash_fraction_downtime']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\250\347\260*\001' _PARAMS._options = None _PARAMS._serialized_options = b'\212\347\260*\034cosmos-sdk/x/slashing/Params' - _VALIDATORSIGNINGINFO._serialized_start=201 - _VALIDATORSIGNINGINFO._serialized_end=436 - _PARAMS._serialized_start=439 - _PARAMS._serialized_end=845 + _globals['_VALIDATORSIGNINGINFO']._serialized_start=201 + _globals['_VALIDATORSIGNINGINFO']._serialized_end=436 + _globals['_PARAMS']._serialized_start=439 + _globals['_PARAMS']._serialized_end=845 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py index 05331632..4fe8c5bc 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/slashing/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +18,19 @@ from 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\"\x8f\x01\n\tMsgUnjail\x12L\n\x0evalidator_addr\x18\x01 \x01(\tB4\xd2\xb4-\x14\x63osmos.AddressString\xea\xde\x1f\x07\x61\x64\x64ress\xa2\xe7\xb0*\x07\x61\x64\x64ress\xa8\xe7\xb0*\x01:4\x82\xe7\xb0*\x0evalidator_addr\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgUnjail\x88\xa0\x1f\x00\x98\xa0\x1f\x01\"\x13\n\x11MsgUnjailResponse\"\xb4\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\x06params\x18\x02 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01: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\x33Z-github.com/cosmos/cosmos-sdk/x/slashing/types\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\"\x8f\x01\n\tMsgUnjail\x12L\n\x0evalidator_addr\x18\x01 \x01(\tB4\xea\xde\x1f\x07\x61\x64\x64ress\xd2\xb4-\x14\x63osmos.AddressString\xa2\xe7\xb0*\x07\x61\x64\x64ress\xa8\xe7\xb0*\x01:4\x88\xa0\x1f\x00\x98\xa0\x1f\x01\x82\xe7\xb0*\x0evalidator_addr\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgUnjail\"\x13\n\x11MsgUnjailResponse\"\xb4\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\x06params\x18\x02 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01: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\x33Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa8\xe2\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z-github.com/cosmos/cosmos-sdk/x/slashing/types\250\342\036\001' _MSGUNJAIL.fields_by_name['validator_addr']._options = None - _MSGUNJAIL.fields_by_name['validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString\352\336\037\007address\242\347\260*\007address\250\347\260*\001' + _MSGUNJAIL.fields_by_name['validator_addr']._serialized_options = b'\352\336\037\007address\322\264-\024cosmos.AddressString\242\347\260*\007address\250\347\260*\001' _MSGUNJAIL._options = None - _MSGUNJAIL._serialized_options = b'\202\347\260*\016validator_addr\212\347\260*\024cosmos-sdk/MsgUnjail\210\240\037\000\230\240\037\001' + _MSGUNJAIL._serialized_options = b'\210\240\037\000\230\240\037\001\202\347\260*\016validator_addr\212\347\260*\024cosmos-sdk/MsgUnjail' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEPARAMS.fields_by_name['params']._options = None @@ -38,14 +39,14 @@ _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority\212\347\260*%cosmos-sdk/x/slashing/MsgUpdateParams' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGUNJAIL._serialized_start=195 - _MSGUNJAIL._serialized_end=338 - _MSGUNJAILRESPONSE._serialized_start=340 - _MSGUNJAILRESPONSE._serialized_end=359 - _MSGUPDATEPARAMS._serialized_start=362 - _MSGUPDATEPARAMS._serialized_end=542 - _MSGUPDATEPARAMSRESPONSE._serialized_start=544 - _MSGUPDATEPARAMSRESPONSE._serialized_end=569 - _MSG._serialized_start=572 - _MSG._serialized_end=782 + _globals['_MSGUNJAIL']._serialized_start=195 + _globals['_MSGUNJAIL']._serialized_end=338 + _globals['_MSGUNJAILRESPONSE']._serialized_start=340 + _globals['_MSGUNJAILRESPONSE']._serialized_end=359 + _globals['_MSGUPDATEPARAMS']._serialized_start=362 + _globals['_MSGUPDATEPARAMS']._serialized_end=542 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=544 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=569 + _globals['_MSG']._serialized_start=572 + _globals['_MSG']._serialized_end=782 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py b/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py index 06f477ad..6c1ce4a8 100644 --- a/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/staking/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"`\n\x06Module\x12\x13\n\x0bhooks_order\x18\x01 \x03(\t\x12\x11\n\tauthority\x18\x02 \x01(\t:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/stakingb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/staking' - _MODULE._serialized_start=101 - _MODULE._serialized_end=197 + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=197 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py index 72376689..d10de675 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/staking/v1beta1/authz.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +19,9 @@ 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\"\xe1\x03\n\x12StakeAuthorization\x12Z\n\nmax_tokens\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB+\xaa\xdf\x1f\'github.com/cosmos/cosmos-sdk/types.Coin\x12K\n\nallow_list\x18\x02 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsH\x00\x12J\n\tdeny_list\x18\x03 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsH\x00\x12\x45\n\x12\x61uthorization_type\x18\x04 \x01(\x0e\x32).cosmos.staking.v1beta1.AuthorizationType\x1a\x37\n\nValidators\x12)\n\x07\x61\x64\x64ress\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:H\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1d\x63osmos-sdk/StakeAuthorizationB\x0c\n\nvalidators*\x9e\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\x42.Z,github.com/cosmos/cosmos-sdk/x/staking/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.authz_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -31,10 +32,10 @@ _STAKEAUTHORIZATION.fields_by_name['max_tokens']._serialized_options = b'\252\337\037\'github.com/cosmos/cosmos-sdk/types.Coin' _STAKEAUTHORIZATION._options = None _STAKEAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\035cosmos-sdk/StakeAuthorization' - _AUTHORIZATIONTYPE._serialized_start=647 - _AUTHORIZATIONTYPE._serialized_end=805 - _STAKEAUTHORIZATION._serialized_start=163 - _STAKEAUTHORIZATION._serialized_end=644 - _STAKEAUTHORIZATION_VALIDATORS._serialized_start=501 - _STAKEAUTHORIZATION_VALIDATORS._serialized_end=556 + _globals['_AUTHORIZATIONTYPE']._serialized_start=647 + _globals['_AUTHORIZATIONTYPE']._serialized_end=805 + _globals['_STAKEAUTHORIZATION']._serialized_start=163 + _globals['_STAKEAUTHORIZATION']._serialized_end=644 + _globals['_STAKEAUTHORIZATION_VALIDATORS']._serialized_start=501 + _globals['_STAKEAUTHORIZATION_VALIDATORS']._serialized_end=556 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py index c5d3ff8f..931739de 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/staking/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +17,11 @@ from 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\"\xa5\x04\n\x0cGenesisState\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12M\n\x10last_total_power\x18\x02 \x01(\x0c\x42\x33\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12T\n\x15last_validator_powers\x18\x03 \x03(\x0b\x32*.cosmos.staking.v1beta1.LastValidatorPowerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12@\n\nvalidators\x18\x04 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x42\n\x0b\x64\x65legations\x18\x05 \x03(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12U\n\x15unbonding_delegations\x18\x06 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x46\n\rredelegations\x18\x07 \x03(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x10\n\x08\x65xported\x18\x08 \x01(\x08\"X\n\x12LastValidatorPower\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05power\x18\x02 \x01(\x03:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x42.Z,github.com/cosmos/cosmos-sdk/x/staking/typesb\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\"\xa5\x04\n\x0cGenesisState\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12M\n\x10last_total_power\x18\x02 \x01(\x0c\x42\x33\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xa8\xe7\xb0*\x01\x12T\n\x15last_validator_powers\x18\x03 \x03(\x0b\x32*.cosmos.staking.v1beta1.LastValidatorPowerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12@\n\nvalidators\x18\x04 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x42\n\x0b\x64\x65legations\x18\x05 \x03(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12U\n\x15unbonding_delegations\x18\x06 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x46\n\rredelegations\x18\x07 \x03(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x10\n\x08\x65xported\x18\x08 \x01(\x08\"X\n\x12LastValidatorPower\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05power\x18\x02 \x01(\x03:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42.Z,github.com/cosmos/cosmos-sdk/x/staking/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -28,7 +29,7 @@ _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE.fields_by_name['last_total_power']._options = None - _GENESISSTATE.fields_by_name['last_total_power']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000\250\347\260*\001' + _GENESISSTATE.fields_by_name['last_total_power']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\250\347\260*\001' _GENESISSTATE.fields_by_name['last_validator_powers']._options = None _GENESISSTATE.fields_by_name['last_validator_powers']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE.fields_by_name['validators']._options = None @@ -42,9 +43,9 @@ _LASTVALIDATORPOWER.fields_by_name['address']._options = None _LASTVALIDATORPOWER.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _LASTVALIDATORPOWER._options = None - _LASTVALIDATORPOWER._serialized_options = b'\350\240\037\000\210\240\037\000' - _GENESISSTATE._serialized_start=171 - _GENESISSTATE._serialized_end=720 - _LASTVALIDATORPOWER._serialized_start=722 - _LASTVALIDATORPOWER._serialized_end=810 + _LASTVALIDATORPOWER._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_GENESISSTATE']._serialized_start=171 + _globals['_GENESISSTATE']._serialized_end=720 + _globals['_LASTVALIDATORPOWER']._serialized_start=722 + _globals['_LASTVALIDATORPOWER']._serialized_end=810 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py index 596e12f1..7d1638f7 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/staking/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +20,11 @@ from 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\"d\n\x16QueryValidatorsRequest\x12\x0e\n\x06status\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x98\x01\n\x17QueryValidatorsResponse\x12@\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"I\n\x15QueryValidatorRequest\x12\x30\n\x0evalidator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"Y\n\x16QueryValidatorResponse\x12?\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x90\x01\n QueryValidatorDelegationsRequest\x12\x30\n\x0evalidator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xcc\x01\n!QueryValidatorDelegationsResponse\x12j\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB \xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f\x13\x44\x65legationResponses\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x99\x01\n)QueryValidatorUnbondingDelegationsRequest\x12\x30\n\x0evalidator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xbe\x01\n*QueryValidatorUnbondingDelegationsResponse\x12S\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x86\x01\n\x16QueryDelegationRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x0evalidator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"b\n\x17QueryDelegationResponse\x12G\n\x13\x64\x65legation_response\x18\x01 \x01(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponse\"\x8f\x01\n\x1fQueryUnbondingDelegationRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x0evalidator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"j\n QueryUnbondingDelegationResponse\x12\x46\n\x06unbond\x18\x01 \x01(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x9a\x01\n QueryDelegatorDelegationsRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xb5\x01\n!QueryDelegatorDelegationsResponse\x12S\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\xa3\x01\n)QueryDelegatorUnbondingDelegationsRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xbe\x01\n*QueryDelegatorUnbondingDelegationsResponse\x12S\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\xff\x01\n\x19QueryRedelegationsRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x12src_validator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x12\x64st_validator_addr\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xb2\x01\n\x1aQueryRedelegationsResponse\x12W\n\x16redelegation_responses\x18\x01 \x03(\x0b\x32,.cosmos.staking.v1beta1.RedelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x99\x01\n\x1fQueryDelegatorValidatorsRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xa1\x01\n QueryDelegatorValidatorsResponse\x12@\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x8e\x01\n\x1eQueryDelegatorValidatorRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x0evalidator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"b\n\x1fQueryDelegatorValidatorResponse\x12?\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\",\n\x1aQueryHistoricalInfoRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"S\n\x1bQueryHistoricalInfoResponse\x12\x34\n\x04hist\x18\x01 \x01(\x0b\x32&.cosmos.staking.v1beta1.HistoricalInfo\"\x12\n\x10QueryPoolRequest\"J\n\x11QueryPoolResponse\x12\x35\n\x04pool\x18\x01 \x01(\x0b\x32\x1c.cosmos.staking.v1beta1.PoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x14\n\x12QueryParamsRequest\"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x32\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.Z,github.com/cosmos/cosmos-sdk/x/staking/typesb\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\"d\n\x16QueryValidatorsRequest\x12\x0e\n\x06status\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x98\x01\n\x17QueryValidatorsResponse\x12@\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"I\n\x15QueryValidatorRequest\x12\x30\n\x0evalidator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"Y\n\x16QueryValidatorResponse\x12?\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x90\x01\n QueryValidatorDelegationsRequest\x12\x30\n\x0evalidator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xcc\x01\n!QueryValidatorDelegationsResponse\x12j\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*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x99\x01\n)QueryValidatorUnbondingDelegationsRequest\x12\x30\n\x0evalidator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xbe\x01\n*QueryValidatorUnbondingDelegationsResponse\x12S\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x86\x01\n\x16QueryDelegationRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x0evalidator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"b\n\x17QueryDelegationResponse\x12G\n\x13\x64\x65legation_response\x18\x01 \x01(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponse\"\x8f\x01\n\x1fQueryUnbondingDelegationRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x0evalidator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"j\n QueryUnbondingDelegationResponse\x12\x46\n\x06unbond\x18\x01 \x01(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x9a\x01\n QueryDelegatorDelegationsRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb5\x01\n!QueryDelegatorDelegationsResponse\x12S\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\xa3\x01\n)QueryDelegatorUnbondingDelegationsRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbe\x01\n*QueryDelegatorUnbondingDelegationsResponse\x12S\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\xff\x01\n\x19QueryRedelegationsRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x12src_validator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x12\x64st_validator_addr\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb2\x01\n\x1aQueryRedelegationsResponse\x12W\n\x16redelegation_responses\x18\x01 \x03(\x0b\x32,.cosmos.staking.v1beta1.RedelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x99\x01\n\x1fQueryDelegatorValidatorsRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa1\x01\n QueryDelegatorValidatorsResponse\x12@\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x8e\x01\n\x1eQueryDelegatorValidatorRequest\x12\x30\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x0evalidator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"b\n\x1fQueryDelegatorValidatorResponse\x12?\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\",\n\x1aQueryHistoricalInfoRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"S\n\x1bQueryHistoricalInfoResponse\x12\x34\n\x04hist\x18\x01 \x01(\x0b\x32&.cosmos.staking.v1beta1.HistoricalInfo\"\x12\n\x10QueryPoolRequest\"J\n\x11QueryPoolResponse\x12\x35\n\x04pool\x18\x01 \x01(\x0b\x32\x1c.cosmos.staking.v1beta1.PoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x14\n\x12QueryParamsRequest\"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x32\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.Z,github.com/cosmos/cosmos-sdk/x/staking/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -37,7 +38,7 @@ _QUERYVALIDATORDELEGATIONSREQUEST.fields_by_name['validator_addr']._options = None _QUERYVALIDATORDELEGATIONSREQUEST.fields_by_name['validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYVALIDATORDELEGATIONSRESPONSE.fields_by_name['delegation_responses']._options = None - _QUERYVALIDATORDELEGATIONSRESPONSE.fields_by_name['delegation_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037\023DelegationResponses' + _QUERYVALIDATORDELEGATIONSRESPONSE.fields_by_name['delegation_responses']._serialized_options = b'\310\336\037\000\252\337\037\023DelegationResponses\250\347\260*\001' _QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST.fields_by_name['validator_addr']._options = None _QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST.fields_by_name['validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE.fields_by_name['unbonding_responses']._options = None @@ -47,25 +48,25 @@ _QUERYDELEGATIONREQUEST.fields_by_name['validator_addr']._options = None _QUERYDELEGATIONREQUEST.fields_by_name['validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYDELEGATIONREQUEST._options = None - _QUERYDELEGATIONREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYDELEGATIONREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYUNBONDINGDELEGATIONREQUEST.fields_by_name['delegator_addr']._options = None _QUERYUNBONDINGDELEGATIONREQUEST.fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYUNBONDINGDELEGATIONREQUEST.fields_by_name['validator_addr']._options = None _QUERYUNBONDINGDELEGATIONREQUEST.fields_by_name['validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYUNBONDINGDELEGATIONREQUEST._options = None - _QUERYUNBONDINGDELEGATIONREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYUNBONDINGDELEGATIONREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYUNBONDINGDELEGATIONRESPONSE.fields_by_name['unbond']._options = None _QUERYUNBONDINGDELEGATIONRESPONSE.fields_by_name['unbond']._serialized_options = b'\310\336\037\000\250\347\260*\001' _QUERYDELEGATORDELEGATIONSREQUEST.fields_by_name['delegator_addr']._options = None _QUERYDELEGATORDELEGATIONSREQUEST.fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYDELEGATORDELEGATIONSREQUEST._options = None - _QUERYDELEGATORDELEGATIONSREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYDELEGATORDELEGATIONSREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYDELEGATORDELEGATIONSRESPONSE.fields_by_name['delegation_responses']._options = None _QUERYDELEGATORDELEGATIONSRESPONSE.fields_by_name['delegation_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' _QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST.fields_by_name['delegator_addr']._options = None _QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST.fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST._options = None - _QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE.fields_by_name['unbonding_responses']._options = None _QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE.fields_by_name['unbonding_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' _QUERYREDELEGATIONSREQUEST.fields_by_name['delegator_addr']._options = None @@ -75,13 +76,13 @@ _QUERYREDELEGATIONSREQUEST.fields_by_name['dst_validator_addr']._options = None _QUERYREDELEGATIONSREQUEST.fields_by_name['dst_validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYREDELEGATIONSREQUEST._options = None - _QUERYREDELEGATIONSREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYREDELEGATIONSREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYREDELEGATIONSRESPONSE.fields_by_name['redelegation_responses']._options = None _QUERYREDELEGATIONSRESPONSE.fields_by_name['redelegation_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' _QUERYDELEGATORVALIDATORSREQUEST.fields_by_name['delegator_addr']._options = None _QUERYDELEGATORVALIDATORSREQUEST.fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYDELEGATORVALIDATORSREQUEST._options = None - _QUERYDELEGATORVALIDATORSREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYDELEGATORVALIDATORSREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYDELEGATORVALIDATORSRESPONSE.fields_by_name['validators']._options = None _QUERYDELEGATORVALIDATORSRESPONSE.fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' _QUERYDELEGATORVALIDATORREQUEST.fields_by_name['delegator_addr']._options = None @@ -89,7 +90,7 @@ _QUERYDELEGATORVALIDATORREQUEST.fields_by_name['validator_addr']._options = None _QUERYDELEGATORVALIDATORREQUEST.fields_by_name['validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYDELEGATORVALIDATORREQUEST._options = None - _QUERYDELEGATORVALIDATORREQUEST._serialized_options = b'\350\240\037\000\210\240\037\000' + _QUERYDELEGATORVALIDATORREQUEST._serialized_options = b'\210\240\037\000\350\240\037\000' _QUERYDELEGATORVALIDATORRESPONSE.fields_by_name['validator']._options = None _QUERYDELEGATORVALIDATORRESPONSE.fields_by_name['validator']._serialized_options = b'\310\336\037\000\250\347\260*\001' _QUERYPOOLRESPONSE.fields_by_name['pool']._options = None @@ -124,62 +125,62 @@ _QUERY.methods_by_name['Pool']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\036\022\034/cosmos/staking/v1beta1/pool' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002 \022\036/cosmos/staking/v1beta1/params' - _QUERYVALIDATORSREQUEST._serialized_start=271 - _QUERYVALIDATORSREQUEST._serialized_end=371 - _QUERYVALIDATORSRESPONSE._serialized_start=374 - _QUERYVALIDATORSRESPONSE._serialized_end=526 - _QUERYVALIDATORREQUEST._serialized_start=528 - _QUERYVALIDATORREQUEST._serialized_end=601 - _QUERYVALIDATORRESPONSE._serialized_start=603 - _QUERYVALIDATORRESPONSE._serialized_end=692 - _QUERYVALIDATORDELEGATIONSREQUEST._serialized_start=695 - _QUERYVALIDATORDELEGATIONSREQUEST._serialized_end=839 - _QUERYVALIDATORDELEGATIONSRESPONSE._serialized_start=842 - _QUERYVALIDATORDELEGATIONSRESPONSE._serialized_end=1046 - _QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST._serialized_start=1049 - _QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST._serialized_end=1202 - _QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE._serialized_start=1205 - _QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE._serialized_end=1395 - _QUERYDELEGATIONREQUEST._serialized_start=1398 - _QUERYDELEGATIONREQUEST._serialized_end=1532 - _QUERYDELEGATIONRESPONSE._serialized_start=1534 - _QUERYDELEGATIONRESPONSE._serialized_end=1632 - _QUERYUNBONDINGDELEGATIONREQUEST._serialized_start=1635 - _QUERYUNBONDINGDELEGATIONREQUEST._serialized_end=1778 - _QUERYUNBONDINGDELEGATIONRESPONSE._serialized_start=1780 - _QUERYUNBONDINGDELEGATIONRESPONSE._serialized_end=1886 - _QUERYDELEGATORDELEGATIONSREQUEST._serialized_start=1889 - _QUERYDELEGATORDELEGATIONSREQUEST._serialized_end=2043 - _QUERYDELEGATORDELEGATIONSRESPONSE._serialized_start=2046 - _QUERYDELEGATORDELEGATIONSRESPONSE._serialized_end=2227 - _QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST._serialized_start=2230 - _QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST._serialized_end=2393 - _QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE._serialized_start=2396 - _QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE._serialized_end=2586 - _QUERYREDELEGATIONSREQUEST._serialized_start=2589 - _QUERYREDELEGATIONSREQUEST._serialized_end=2844 - _QUERYREDELEGATIONSRESPONSE._serialized_start=2847 - _QUERYREDELEGATIONSRESPONSE._serialized_end=3025 - _QUERYDELEGATORVALIDATORSREQUEST._serialized_start=3028 - _QUERYDELEGATORVALIDATORSREQUEST._serialized_end=3181 - _QUERYDELEGATORVALIDATORSRESPONSE._serialized_start=3184 - _QUERYDELEGATORVALIDATORSRESPONSE._serialized_end=3345 - _QUERYDELEGATORVALIDATORREQUEST._serialized_start=3348 - _QUERYDELEGATORVALIDATORREQUEST._serialized_end=3490 - _QUERYDELEGATORVALIDATORRESPONSE._serialized_start=3492 - _QUERYDELEGATORVALIDATORRESPONSE._serialized_end=3590 - _QUERYHISTORICALINFOREQUEST._serialized_start=3592 - _QUERYHISTORICALINFOREQUEST._serialized_end=3636 - _QUERYHISTORICALINFORESPONSE._serialized_start=3638 - _QUERYHISTORICALINFORESPONSE._serialized_end=3721 - _QUERYPOOLREQUEST._serialized_start=3723 - _QUERYPOOLREQUEST._serialized_end=3741 - _QUERYPOOLRESPONSE._serialized_start=3743 - _QUERYPOOLRESPONSE._serialized_end=3817 - _QUERYPARAMSREQUEST._serialized_start=3819 - _QUERYPARAMSREQUEST._serialized_end=3839 - _QUERYPARAMSRESPONSE._serialized_start=3841 - _QUERYPARAMSRESPONSE._serialized_end=3921 - _QUERY._serialized_start=3924 - _QUERY._serialized_end=6788 + _globals['_QUERYVALIDATORSREQUEST']._serialized_start=271 + _globals['_QUERYVALIDATORSREQUEST']._serialized_end=371 + _globals['_QUERYVALIDATORSRESPONSE']._serialized_start=374 + _globals['_QUERYVALIDATORSRESPONSE']._serialized_end=526 + _globals['_QUERYVALIDATORREQUEST']._serialized_start=528 + _globals['_QUERYVALIDATORREQUEST']._serialized_end=601 + _globals['_QUERYVALIDATORRESPONSE']._serialized_start=603 + _globals['_QUERYVALIDATORRESPONSE']._serialized_end=692 + _globals['_QUERYVALIDATORDELEGATIONSREQUEST']._serialized_start=695 + _globals['_QUERYVALIDATORDELEGATIONSREQUEST']._serialized_end=839 + _globals['_QUERYVALIDATORDELEGATIONSRESPONSE']._serialized_start=842 + _globals['_QUERYVALIDATORDELEGATIONSRESPONSE']._serialized_end=1046 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST']._serialized_start=1049 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST']._serialized_end=1202 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE']._serialized_start=1205 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE']._serialized_end=1395 + _globals['_QUERYDELEGATIONREQUEST']._serialized_start=1398 + _globals['_QUERYDELEGATIONREQUEST']._serialized_end=1532 + _globals['_QUERYDELEGATIONRESPONSE']._serialized_start=1534 + _globals['_QUERYDELEGATIONRESPONSE']._serialized_end=1632 + _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_start=1635 + _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_end=1778 + _globals['_QUERYUNBONDINGDELEGATIONRESPONSE']._serialized_start=1780 + _globals['_QUERYUNBONDINGDELEGATIONRESPONSE']._serialized_end=1886 + _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_start=1889 + _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_end=2043 + _globals['_QUERYDELEGATORDELEGATIONSRESPONSE']._serialized_start=2046 + _globals['_QUERYDELEGATORDELEGATIONSRESPONSE']._serialized_end=2227 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_start=2230 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_end=2393 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE']._serialized_start=2396 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE']._serialized_end=2586 + _globals['_QUERYREDELEGATIONSREQUEST']._serialized_start=2589 + _globals['_QUERYREDELEGATIONSREQUEST']._serialized_end=2844 + _globals['_QUERYREDELEGATIONSRESPONSE']._serialized_start=2847 + _globals['_QUERYREDELEGATIONSRESPONSE']._serialized_end=3025 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_start=3028 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_end=3181 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_start=3184 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_end=3345 + _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_start=3348 + _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_end=3490 + _globals['_QUERYDELEGATORVALIDATORRESPONSE']._serialized_start=3492 + _globals['_QUERYDELEGATORVALIDATORRESPONSE']._serialized_end=3590 + _globals['_QUERYHISTORICALINFOREQUEST']._serialized_start=3592 + _globals['_QUERYHISTORICALINFOREQUEST']._serialized_end=3636 + _globals['_QUERYHISTORICALINFORESPONSE']._serialized_start=3638 + _globals['_QUERYHISTORICALINFORESPONSE']._serialized_end=3721 + _globals['_QUERYPOOLREQUEST']._serialized_start=3723 + _globals['_QUERYPOOLREQUEST']._serialized_end=3741 + _globals['_QUERYPOOLRESPONSE']._serialized_start=3743 + _globals['_QUERYPOOLRESPONSE']._serialized_end=3817 + _globals['_QUERYPARAMSREQUEST']._serialized_start=3819 + _globals['_QUERYPARAMSREQUEST']._serialized_end=3839 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=3841 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=3921 + _globals['_QUERY']._serialized_start=3924 + _globals['_QUERY']._serialized_end=6788 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py index 045f08a5..a6694eb0 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/staking/v1beta1/staking.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +22,11 @@ from 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\"\x83\x01\n\x0eHistoricalInfo\x12\x33\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12<\n\x06valset\x18\x02 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8e\x02\n\x0f\x43ommissionRates\x12J\n\x04rate\x18\x01 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x08max_rate\x18\x02 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12U\n\x0fmax_change_rate\x18\x03 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x08\xe8\xa0\x1f\x01\x98\xa0\x1f\x00\"\xa8\x01\n\nCommission\x12P\n\x10\x63ommission_rates\x18\x01 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\r\xd0\xde\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12>\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01:\x08\xe8\xa0\x1f\x01\x98\xa0\x1f\x00\"v\n\x0b\x44\x65scription\x12\x0f\n\x07moniker\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0f\n\x07website\x18\x03 \x01(\t\x12\x18\n\x10security_contact\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x05 \x01(\t:\x08\xe8\xa0\x1f\x01\x98\xa0\x1f\x00\"\xfd\x05\n\tValidator\x12\x32\n\x10operator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12H\n\x10\x63onsensus_pubkey\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKey\x12\x0e\n\x06jailed\x18\x03 \x01(\x08\x12\x32\n\x06status\x18\x04 \x01(\x0e\x32\".cosmos.staking.v1beta1.BondStatus\x12L\n\x06tokens\x18\x05 \x01(\tB<\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12V\n\x10\x64\x65legator_shares\x18\x06 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x43\n\x0b\x64\x65scription\x18\x07 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x18\n\x10unbonding_height\x18\x08 \x01(\x03\x12\x41\n\x0eunbonding_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01\x12\x41\n\ncommission\x18\n \x01(\x0b\x32\".cosmos.staking.v1beta1.CommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12Y\n\x13min_self_delegation\x18\x0b \x01(\tB<\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12#\n\x1bunbonding_on_hold_ref_count\x18\x0c \x01(\x03\x12\x15\n\runbonding_ids\x18\r \x03(\x04:\x0c\xe8\xa0\x1f\x00\x98\xa0\x1f\x00\x88\xa0\x1f\x00\"E\n\x0cValAddresses\x12+\n\taddresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x98\xa0\x1f\x00\x80\xdc \x01\"\x80\x01\n\x06\x44VPair\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x0c\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"C\n\x07\x44VPairs\x12\x38\n\x05pairs\x18\x01 \x03(\x0b\x32\x1e.cosmos.staking.v1beta1.DVPairB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xc1\x01\n\nDVVTriplet\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_src_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_dst_address\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x0c\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"N\n\x0b\x44VVTriplets\x12?\n\x08triplets\x18\x01 \x03(\x0b\x32\".cosmos.staking.v1beta1.DVVTripletB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xd2\x01\n\nDelegation\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12L\n\x06shares\x18\x03 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x0c\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"\xdb\x01\n\x13UnbondingDelegation\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12L\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x30.cosmos.staking.v1beta1.UnbondingDelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x0c\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"\xe2\x02\n\x18UnbondingDelegationEntry\x12\x17\n\x0f\x63reation_height\x18\x01 \x01(\x03\x12\x42\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01\x12U\n\x0finitial_balance\x18\x03 \x01(\tB<\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12M\n\x07\x62\x61lance\x18\x04 \x01(\tB<\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x14\n\x0cunbonding_id\x18\x05 \x01(\x04\x12#\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03:\x08\xe8\xa0\x1f\x01\x98\xa0\x1f\x00\"\xde\x02\n\x11RedelegationEntry\x12\x17\n\x0f\x63reation_height\x18\x01 \x01(\x03\x12\x42\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01\x12U\n\x0finitial_balance\x18\x03 \x01(\tB<\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12P\n\nshares_dst\x18\x04 \x01(\tB<\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x14\n\x0cunbonding_id\x18\x05 \x01(\x04\x12#\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03:\x08\xe8\xa0\x1f\x01\x98\xa0\x1f\x00\"\x8a\x02\n\x0cRedelegation\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_src_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_dst_address\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x45\n\x07\x65ntries\x18\x04 \x03(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x0c\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"\xbc\x02\n\x06Params\x12@\n\x0eunbonding_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x98\xdf\x1f\x01\x12\x16\n\x0emax_validators\x18\x02 \x01(\r\x12\x13\n\x0bmax_entries\x18\x03 \x01(\r\x12\x1a\n\x12historical_entries\x18\x04 \x01(\r\x12\x12\n\nbond_denom\x18\x05 \x01(\t\x12i\n\x13min_commission_rate\x18\x06 \x01(\tBL\xf2\xde\x1f\x1ayaml:\"min_commission_rate\"\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:(\x8a\xe7\xb0*\x1b\x63osmos-sdk/x/staking/Params\xe8\xa0\x1f\x01\x98\xa0\x1f\x00\"\x98\x01\n\x12\x44\x65legationResponse\x12\x41\n\ndelegation\x18\x01 \x01(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x35\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\xe8\xa0\x1f\x00\x98\xa0\x1f\x00\"\xc2\x01\n\x19RedelegationEntryResponse\x12P\n\x12redelegation_entry\x18\x01 \x01(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12M\n\x07\x62\x61lance\x18\x04 \x01(\tB<\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00:\x04\xe8\xa0\x1f\x01\"\xb2\x01\n\x14RedelegationResponse\x12\x45\n\x0credelegation\x18\x01 \x01(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12M\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x31.cosmos.staking.v1beta1.RedelegationEntryResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x00\"\xee\x01\n\x04Pool\x12q\n\x11not_bonded_tokens\x18\x01 \x01(\tBV\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\xea\xde\x1f\x11not_bonded_tokens\xa8\xe7\xb0*\x01\x12i\n\rbonded_tokens\x18\x02 \x01(\tBR\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\xea\xde\x1f\rbonded_tokens\xa8\xe7\xb0*\x01:\x08\xf0\xa0\x1f\x01\xe8\xa0\x1f\x01\"P\n\x10ValidatorUpdates\x12<\n\x07updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01*\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.Z,github.com/cosmos/cosmos-sdk/x/staking/typesb\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\"\x83\x01\n\x0eHistoricalInfo\x12\x33\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12<\n\x06valset\x18\x02 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8e\x02\n\x0f\x43ommissionRates\x12J\n\x04rate\x18\x01 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12N\n\x08max_rate\x18\x02 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12U\n\x0fmax_change_rate\x18\x03 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\"\xa8\x01\n\nCommission\x12P\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*\x01\x12>\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\"v\n\x0b\x44\x65scription\x12\x0f\n\x07moniker\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0f\n\x07website\x18\x03 \x01(\t\x12\x18\n\x10security_contact\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x05 \x01(\t:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\"\xfd\x05\n\tValidator\x12\x32\n\x10operator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12H\n\x10\x63onsensus_pubkey\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKey\x12\x0e\n\x06jailed\x18\x03 \x01(\x08\x12\x32\n\x06status\x18\x04 \x01(\x0e\x32\".cosmos.staking.v1beta1.BondStatus\x12L\n\x06tokens\x18\x05 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12V\n\x10\x64\x65legator_shares\x18\x06 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12\x43\n\x0b\x64\x65scription\x18\x07 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x18\n\x10unbonding_height\x18\x08 \x01(\x03\x12\x41\n\x0eunbonding_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12\x41\n\ncommission\x18\n \x01(\x0b\x32\".cosmos.staking.v1beta1.CommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12Y\n\x13min_self_delegation\x18\x0b \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12#\n\x1bunbonding_on_hold_ref_count\x18\x0c \x01(\x03\x12\x15\n\runbonding_ids\x18\r \x03(\x04:\x0c\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"E\n\x0cValAddresses\x12+\n\taddresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x08\x98\xa0\x1f\x00\x80\xdc \x01\"\x80\x01\n\x06\x44VPair\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x0c\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"C\n\x07\x44VPairs\x12\x38\n\x05pairs\x18\x01 \x03(\x0b\x32\x1e.cosmos.staking.v1beta1.DVPairB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xc1\x01\n\nDVVTriplet\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_src_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_dst_address\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x0c\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"N\n\x0b\x44VVTriplets\x12?\n\x08triplets\x18\x01 \x03(\x0b\x32\".cosmos.staking.v1beta1.DVVTripletB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xd2\x01\n\nDelegation\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12L\n\x06shares\x18\x03 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec:\x0c\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xdb\x01\n\x13UnbondingDelegation\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12L\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x30.cosmos.staking.v1beta1.UnbondingDelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x0c\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe2\x02\n\x18UnbondingDelegationEntry\x12\x17\n\x0f\x63reation_height\x18\x01 \x01(\x03\x12\x42\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*\x01\x12U\n\x0finitial_balance\x18\x03 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12M\n\x07\x62\x61lance\x18\x04 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12\x14\n\x0cunbonding_id\x18\x05 \x01(\x04\x12#\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\"\xde\x02\n\x11RedelegationEntry\x12\x17\n\x0f\x63reation_height\x18\x01 \x01(\x03\x12\x42\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*\x01\x12U\n\x0finitial_balance\x18\x03 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12P\n\nshares_dst\x18\x04 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12\x14\n\x0cunbonding_id\x18\x05 \x01(\x04\x12#\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\"\x8a\x02\n\x0cRedelegation\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_src_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_dst_address\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x45\n\x07\x65ntries\x18\x04 \x03(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x0c\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbc\x02\n\x06Params\x12@\n\x0eunbonding_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12\x16\n\x0emax_validators\x18\x02 \x01(\r\x12\x13\n\x0bmax_entries\x18\x03 \x01(\r\x12\x1a\n\x12historical_entries\x18\x04 \x01(\r\x12\x12\n\nbond_denom\x18\x05 \x01(\t\x12i\n\x13min_commission_rate\x18\x06 \x01(\tBL\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xf2\xde\x1f\x1ayaml:\"min_commission_rate\":(\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x1b\x63osmos-sdk/x/staking/Params\"\x98\x01\n\x12\x44\x65legationResponse\x12\x41\n\ndelegation\x18\x01 \x01(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x35\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc2\x01\n\x19RedelegationEntryResponse\x12P\n\x12redelegation_entry\x18\x01 \x01(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12M\n\x07\x62\x61lance\x18\x04 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int:\x04\xe8\xa0\x1f\x01\"\xb2\x01\n\x14RedelegationResponse\x12\x45\n\x0credelegation\x18\x01 \x01(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12M\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x31.cosmos.staking.v1beta1.RedelegationEntryResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x00\"\xee\x01\n\x04Pool\x12q\n\x11not_bonded_tokens\x18\x01 \x01(\tBV\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xea\xde\x1f\x11not_bonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01\x12i\n\rbonded_tokens\x18\x02 \x01(\tBR\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xea\xde\x1f\rbonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01:\x08\xe8\xa0\x1f\x01\xf0\xa0\x1f\x01\"P\n\x10ValidatorUpdates\x12<\n\x07updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01*\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.Z,github.com/cosmos/cosmos-sdk/x/staking/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.staking_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.staking_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -45,39 +46,39 @@ _HISTORICALINFO.fields_by_name['valset']._options = None _HISTORICALINFO.fields_by_name['valset']._serialized_options = b'\310\336\037\000\250\347\260*\001' _COMMISSIONRATES.fields_by_name['rate']._options = None - _COMMISSIONRATES.fields_by_name['rate']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _COMMISSIONRATES.fields_by_name['rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _COMMISSIONRATES.fields_by_name['max_rate']._options = None - _COMMISSIONRATES.fields_by_name['max_rate']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _COMMISSIONRATES.fields_by_name['max_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _COMMISSIONRATES.fields_by_name['max_change_rate']._options = None - _COMMISSIONRATES.fields_by_name['max_change_rate']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _COMMISSIONRATES.fields_by_name['max_change_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _COMMISSIONRATES._options = None - _COMMISSIONRATES._serialized_options = b'\350\240\037\001\230\240\037\000' + _COMMISSIONRATES._serialized_options = b'\230\240\037\000\350\240\037\001' _COMMISSION.fields_by_name['commission_rates']._options = None - _COMMISSION.fields_by_name['commission_rates']._serialized_options = b'\320\336\037\001\310\336\037\000\250\347\260*\001' + _COMMISSION.fields_by_name['commission_rates']._serialized_options = b'\310\336\037\000\320\336\037\001\250\347\260*\001' _COMMISSION.fields_by_name['update_time']._options = None - _COMMISSION.fields_by_name['update_time']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _COMMISSION.fields_by_name['update_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _COMMISSION._options = None - _COMMISSION._serialized_options = b'\350\240\037\001\230\240\037\000' + _COMMISSION._serialized_options = b'\230\240\037\000\350\240\037\001' _DESCRIPTION._options = None - _DESCRIPTION._serialized_options = b'\350\240\037\001\230\240\037\000' + _DESCRIPTION._serialized_options = b'\230\240\037\000\350\240\037\001' _VALIDATOR.fields_by_name['operator_address']._options = None _VALIDATOR.fields_by_name['operator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _VALIDATOR.fields_by_name['consensus_pubkey']._options = None _VALIDATOR.fields_by_name['consensus_pubkey']._serialized_options = b'\312\264-\024cosmos.crypto.PubKey' _VALIDATOR.fields_by_name['tokens']._options = None - _VALIDATOR.fields_by_name['tokens']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _VALIDATOR.fields_by_name['tokens']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _VALIDATOR.fields_by_name['delegator_shares']._options = None - _VALIDATOR.fields_by_name['delegator_shares']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _VALIDATOR.fields_by_name['delegator_shares']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _VALIDATOR.fields_by_name['description']._options = None _VALIDATOR.fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' _VALIDATOR.fields_by_name['unbonding_time']._options = None - _VALIDATOR.fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _VALIDATOR.fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _VALIDATOR.fields_by_name['commission']._options = None _VALIDATOR.fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' _VALIDATOR.fields_by_name['min_self_delegation']._options = None - _VALIDATOR.fields_by_name['min_self_delegation']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _VALIDATOR.fields_by_name['min_self_delegation']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _VALIDATOR._options = None - _VALIDATOR._serialized_options = b'\350\240\037\000\230\240\037\000\210\240\037\000' + _VALIDATOR._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000' _VALADDRESSES.fields_by_name['addresses']._options = None _VALADDRESSES.fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' _VALADDRESSES._options = None @@ -87,7 +88,7 @@ _DVPAIR.fields_by_name['validator_address']._options = None _DVPAIR.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _DVPAIR._options = None - _DVPAIR._serialized_options = b'\350\240\037\000\210\240\037\000\230\240\037\000' + _DVPAIR._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000' _DVPAIRS.fields_by_name['pairs']._options = None _DVPAIRS.fields_by_name['pairs']._serialized_options = b'\310\336\037\000\250\347\260*\001' _DVVTRIPLET.fields_by_name['delegator_address']._options = None @@ -97,7 +98,7 @@ _DVVTRIPLET.fields_by_name['validator_dst_address']._options = None _DVVTRIPLET.fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _DVVTRIPLET._options = None - _DVVTRIPLET._serialized_options = b'\350\240\037\000\210\240\037\000\230\240\037\000' + _DVVTRIPLET._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000' _DVVTRIPLETS.fields_by_name['triplets']._options = None _DVVTRIPLETS.fields_by_name['triplets']._serialized_options = b'\310\336\037\000\250\347\260*\001' _DELEGATION.fields_by_name['delegator_address']._options = None @@ -105,9 +106,9 @@ _DELEGATION.fields_by_name['validator_address']._options = None _DELEGATION.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _DELEGATION.fields_by_name['shares']._options = None - _DELEGATION.fields_by_name['shares']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DELEGATION.fields_by_name['shares']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _DELEGATION._options = None - _DELEGATION._serialized_options = b'\350\240\037\000\210\240\037\000\230\240\037\000' + _DELEGATION._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000' _UNBONDINGDELEGATION.fields_by_name['delegator_address']._options = None _UNBONDINGDELEGATION.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _UNBONDINGDELEGATION.fields_by_name['validator_address']._options = None @@ -115,23 +116,23 @@ _UNBONDINGDELEGATION.fields_by_name['entries']._options = None _UNBONDINGDELEGATION.fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' _UNBONDINGDELEGATION._options = None - _UNBONDINGDELEGATION._serialized_options = b'\350\240\037\000\210\240\037\000\230\240\037\000' + _UNBONDINGDELEGATION._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000' _UNBONDINGDELEGATIONENTRY.fields_by_name['completion_time']._options = None - _UNBONDINGDELEGATIONENTRY.fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _UNBONDINGDELEGATIONENTRY.fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _UNBONDINGDELEGATIONENTRY.fields_by_name['initial_balance']._options = None - _UNBONDINGDELEGATIONENTRY.fields_by_name['initial_balance']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _UNBONDINGDELEGATIONENTRY.fields_by_name['initial_balance']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _UNBONDINGDELEGATIONENTRY.fields_by_name['balance']._options = None - _UNBONDINGDELEGATIONENTRY.fields_by_name['balance']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _UNBONDINGDELEGATIONENTRY.fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _UNBONDINGDELEGATIONENTRY._options = None - _UNBONDINGDELEGATIONENTRY._serialized_options = b'\350\240\037\001\230\240\037\000' + _UNBONDINGDELEGATIONENTRY._serialized_options = b'\230\240\037\000\350\240\037\001' _REDELEGATIONENTRY.fields_by_name['completion_time']._options = None - _REDELEGATIONENTRY.fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _REDELEGATIONENTRY.fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _REDELEGATIONENTRY.fields_by_name['initial_balance']._options = None - _REDELEGATIONENTRY.fields_by_name['initial_balance']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _REDELEGATIONENTRY.fields_by_name['initial_balance']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _REDELEGATIONENTRY.fields_by_name['shares_dst']._options = None - _REDELEGATIONENTRY.fields_by_name['shares_dst']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _REDELEGATIONENTRY.fields_by_name['shares_dst']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _REDELEGATIONENTRY._options = None - _REDELEGATIONENTRY._serialized_options = b'\350\240\037\001\230\240\037\000' + _REDELEGATIONENTRY._serialized_options = b'\230\240\037\000\350\240\037\001' _REDELEGATION.fields_by_name['delegator_address']._options = None _REDELEGATION.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _REDELEGATION.fields_by_name['validator_src_address']._options = None @@ -141,23 +142,23 @@ _REDELEGATION.fields_by_name['entries']._options = None _REDELEGATION.fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' _REDELEGATION._options = None - _REDELEGATION._serialized_options = b'\350\240\037\000\210\240\037\000\230\240\037\000' + _REDELEGATION._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000' _PARAMS.fields_by_name['unbonding_time']._options = None - _PARAMS.fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\250\347\260*\001\230\337\037\001' + _PARAMS.fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' _PARAMS.fields_by_name['min_commission_rate']._options = None - _PARAMS.fields_by_name['min_commission_rate']._serialized_options = b'\362\336\037\032yaml:\"min_commission_rate\"\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['min_commission_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\362\336\037\032yaml:\"min_commission_rate\"' _PARAMS._options = None - _PARAMS._serialized_options = b'\212\347\260*\033cosmos-sdk/x/staking/Params\350\240\037\001\230\240\037\000' + _PARAMS._serialized_options = b'\230\240\037\000\350\240\037\001\212\347\260*\033cosmos-sdk/x/staking/Params' _DELEGATIONRESPONSE.fields_by_name['delegation']._options = None _DELEGATIONRESPONSE.fields_by_name['delegation']._serialized_options = b'\310\336\037\000\250\347\260*\001' _DELEGATIONRESPONSE.fields_by_name['balance']._options = None _DELEGATIONRESPONSE.fields_by_name['balance']._serialized_options = b'\310\336\037\000\250\347\260*\001' _DELEGATIONRESPONSE._options = None - _DELEGATIONRESPONSE._serialized_options = b'\350\240\037\000\230\240\037\000' + _DELEGATIONRESPONSE._serialized_options = b'\230\240\037\000\350\240\037\000' _REDELEGATIONENTRYRESPONSE.fields_by_name['redelegation_entry']._options = None _REDELEGATIONENTRYRESPONSE.fields_by_name['redelegation_entry']._serialized_options = b'\310\336\037\000\250\347\260*\001' _REDELEGATIONENTRYRESPONSE.fields_by_name['balance']._options = None - _REDELEGATIONENTRYRESPONSE.fields_by_name['balance']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _REDELEGATIONENTRYRESPONSE.fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _REDELEGATIONENTRYRESPONSE._options = None _REDELEGATIONENTRYRESPONSE._serialized_options = b'\350\240\037\001' _REDELEGATIONRESPONSE.fields_by_name['redelegation']._options = None @@ -167,57 +168,57 @@ _REDELEGATIONRESPONSE._options = None _REDELEGATIONRESPONSE._serialized_options = b'\350\240\037\000' _POOL.fields_by_name['not_bonded_tokens']._options = None - _POOL.fields_by_name['not_bonded_tokens']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000\352\336\037\021not_bonded_tokens\250\347\260*\001' + _POOL.fields_by_name['not_bonded_tokens']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\352\336\037\021not_bonded_tokens\322\264-\ncosmos.Int\250\347\260*\001' _POOL.fields_by_name['bonded_tokens']._options = None - _POOL.fields_by_name['bonded_tokens']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000\352\336\037\rbonded_tokens\250\347\260*\001' + _POOL.fields_by_name['bonded_tokens']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\352\336\037\rbonded_tokens\322\264-\ncosmos.Int\250\347\260*\001' _POOL._options = None - _POOL._serialized_options = b'\360\240\037\001\350\240\037\001' + _POOL._serialized_options = b'\350\240\037\001\360\240\037\001' _VALIDATORUPDATES.fields_by_name['updates']._options = None _VALIDATORUPDATES.fields_by_name['updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _BONDSTATUS._serialized_start=4918 - _BONDSTATUS._serialized_end=5100 - _INFRACTION._serialized_start=5102 - _INFRACTION._serialized_end=5195 - _HISTORICALINFO._serialized_start=316 - _HISTORICALINFO._serialized_end=447 - _COMMISSIONRATES._serialized_start=450 - _COMMISSIONRATES._serialized_end=720 - _COMMISSION._serialized_start=723 - _COMMISSION._serialized_end=891 - _DESCRIPTION._serialized_start=893 - _DESCRIPTION._serialized_end=1011 - _VALIDATOR._serialized_start=1014 - _VALIDATOR._serialized_end=1779 - _VALADDRESSES._serialized_start=1781 - _VALADDRESSES._serialized_end=1850 - _DVPAIR._serialized_start=1853 - _DVPAIR._serialized_end=1981 - _DVPAIRS._serialized_start=1983 - _DVPAIRS._serialized_end=2050 - _DVVTRIPLET._serialized_start=2053 - _DVVTRIPLET._serialized_end=2246 - _DVVTRIPLETS._serialized_start=2248 - _DVVTRIPLETS._serialized_end=2326 - _DELEGATION._serialized_start=2329 - _DELEGATION._serialized_end=2539 - _UNBONDINGDELEGATION._serialized_start=2542 - _UNBONDINGDELEGATION._serialized_end=2761 - _UNBONDINGDELEGATIONENTRY._serialized_start=2764 - _UNBONDINGDELEGATIONENTRY._serialized_end=3118 - _REDELEGATIONENTRY._serialized_start=3121 - _REDELEGATIONENTRY._serialized_end=3471 - _REDELEGATION._serialized_start=3474 - _REDELEGATION._serialized_end=3740 - _PARAMS._serialized_start=3743 - _PARAMS._serialized_end=4059 - _DELEGATIONRESPONSE._serialized_start=4062 - _DELEGATIONRESPONSE._serialized_end=4214 - _REDELEGATIONENTRYRESPONSE._serialized_start=4217 - _REDELEGATIONENTRYRESPONSE._serialized_end=4411 - _REDELEGATIONRESPONSE._serialized_start=4414 - _REDELEGATIONRESPONSE._serialized_end=4592 - _POOL._serialized_start=4595 - _POOL._serialized_end=4833 - _VALIDATORUPDATES._serialized_start=4835 - _VALIDATORUPDATES._serialized_end=4915 + _globals['_BONDSTATUS']._serialized_start=4918 + _globals['_BONDSTATUS']._serialized_end=5100 + _globals['_INFRACTION']._serialized_start=5102 + _globals['_INFRACTION']._serialized_end=5195 + _globals['_HISTORICALINFO']._serialized_start=316 + _globals['_HISTORICALINFO']._serialized_end=447 + _globals['_COMMISSIONRATES']._serialized_start=450 + _globals['_COMMISSIONRATES']._serialized_end=720 + _globals['_COMMISSION']._serialized_start=723 + _globals['_COMMISSION']._serialized_end=891 + _globals['_DESCRIPTION']._serialized_start=893 + _globals['_DESCRIPTION']._serialized_end=1011 + _globals['_VALIDATOR']._serialized_start=1014 + _globals['_VALIDATOR']._serialized_end=1779 + _globals['_VALADDRESSES']._serialized_start=1781 + _globals['_VALADDRESSES']._serialized_end=1850 + _globals['_DVPAIR']._serialized_start=1853 + _globals['_DVPAIR']._serialized_end=1981 + _globals['_DVPAIRS']._serialized_start=1983 + _globals['_DVPAIRS']._serialized_end=2050 + _globals['_DVVTRIPLET']._serialized_start=2053 + _globals['_DVVTRIPLET']._serialized_end=2246 + _globals['_DVVTRIPLETS']._serialized_start=2248 + _globals['_DVVTRIPLETS']._serialized_end=2326 + _globals['_DELEGATION']._serialized_start=2329 + _globals['_DELEGATION']._serialized_end=2539 + _globals['_UNBONDINGDELEGATION']._serialized_start=2542 + _globals['_UNBONDINGDELEGATION']._serialized_end=2761 + _globals['_UNBONDINGDELEGATIONENTRY']._serialized_start=2764 + _globals['_UNBONDINGDELEGATIONENTRY']._serialized_end=3118 + _globals['_REDELEGATIONENTRY']._serialized_start=3121 + _globals['_REDELEGATIONENTRY']._serialized_end=3471 + _globals['_REDELEGATION']._serialized_start=3474 + _globals['_REDELEGATION']._serialized_end=3740 + _globals['_PARAMS']._serialized_start=3743 + _globals['_PARAMS']._serialized_end=4059 + _globals['_DELEGATIONRESPONSE']._serialized_start=4062 + _globals['_DELEGATIONRESPONSE']._serialized_end=4214 + _globals['_REDELEGATIONENTRYRESPONSE']._serialized_start=4217 + _globals['_REDELEGATIONENTRYRESPONSE']._serialized_end=4411 + _globals['_REDELEGATIONRESPONSE']._serialized_start=4414 + _globals['_REDELEGATIONRESPONSE']._serialized_end=4592 + _globals['_POOL']._serialized_start=4595 + _globals['_POOL']._serialized_end=4833 + _globals['_VALIDATORUPDATES']._serialized_start=4835 + _globals['_VALIDATORUPDATES']._serialized_end=4915 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py index 4061ceef..558d0622 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/staking/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +21,11 @@ from 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\"\xb3\x04\n\x12MsgCreateValidator\x12\x43\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x46\n\ncommission\x18\x02 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12Y\n\x13min_self_delegation\x18\x03 \x01(\tB<\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x33\n\x11\x64\x65legator_address\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x05 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12>\n\x06pubkey\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKey\x12\x33\n\x05value\x18\x07 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:V\x82\xe7\xb0*\x11\x64\x65legator_address\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgCreateValidator\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1c\n\x1aMsgCreateValidatorResponse\"\xf6\x02\n\x10MsgEditValidator\x12\x43\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12Q\n\x0f\x63ommission_rate\x18\x03 \x01(\tB8\xd2\xb4-\ncosmos.Dec\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12U\n\x13min_self_delegation\x18\x04 \x01(\tB8\xd2\xb4-\ncosmos.Int\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int:>\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgEditValidator\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1a\n\x18MsgEditValidatorResponse\"\xe8\x01\n\x0bMsgDelegate\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:9\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgDelegate\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x15\n\x13MsgDelegateResponse\"\xb3\x02\n\x12MsgBeginRedelegate\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_src_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_dst_address\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:@\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgBeginRedelegate\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"`\n\x1aMsgBeginRedelegateResponse\x12\x42\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01\"\xec\x01\n\rMsgUndelegate\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:;\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x18\x63osmos-sdk/MsgUndelegate\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"[\n\x15MsgUndelegateResponse\x12\x42\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x90\xdf\x1f\x01\"\xa3\x02\n\x1cMsgCancelUnbondingDelegation\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x17\n\x0f\x63reation_height\x18\x04 \x01(\x03:J\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\'cosmos-sdk/MsgCancelUnbondingDelegation\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"&\n$MsgCancelUnbondingDelegationResponse\"\xb2\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x39\n\x06params\x18\x02 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01: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.Z,github.com/cosmos/cosmos-sdk/x/staking/typesb\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\"\xb3\x04\n\x12MsgCreateValidator\x12\x43\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x46\n\ncommission\x18\x02 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12Y\n\x13min_self_delegation\x18\x03 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12\x33\n\x11\x64\x65legator_address\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x05 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12>\n\x06pubkey\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKey\x12\x33\n\x05value\x18\x07 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:V\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgCreateValidator\"\x1c\n\x1aMsgCreateValidatorResponse\"\xf6\x02\n\x10MsgEditValidator\x12\x43\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12Q\n\x0f\x63ommission_rate\x18\x03 \x01(\tB8\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec\x12U\n\x13min_self_delegation\x18\x04 \x01(\tB8\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int:>\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgEditValidator\"\x1a\n\x18MsgEditValidatorResponse\"\xe8\x01\n\x0bMsgDelegate\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01: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\"\xb3\x02\n\x12MsgBeginRedelegate\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_src_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x15validator_dst_address\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgBeginRedelegate\"`\n\x1aMsgBeginRedelegateResponse\x12\x42\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*\x01\"\xec\x01\n\rMsgUndelegate\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x18\x63osmos-sdk/MsgUndelegate\"[\n\x15MsgUndelegateResponse\x12\x42\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*\x01\"\xa3\x02\n\x1cMsgCancelUnbondingDelegation\x12\x33\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x11validator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x34\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x17\n\x0f\x63reation_height\x18\x04 \x01(\x03:J\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\'cosmos-sdk/MsgCancelUnbondingDelegation\"&\n$MsgCancelUnbondingDelegationResponse\"\xb2\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x39\n\x06params\x18\x02 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01: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.Z,github.com/cosmos/cosmos-sdk/x/staking/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -34,7 +35,7 @@ _MSGCREATEVALIDATOR.fields_by_name['commission']._options = None _MSGCREATEVALIDATOR.fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGCREATEVALIDATOR.fields_by_name['min_self_delegation']._options = None - _MSGCREATEVALIDATOR.fields_by_name['min_self_delegation']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _MSGCREATEVALIDATOR.fields_by_name['min_self_delegation']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _MSGCREATEVALIDATOR.fields_by_name['delegator_address']._options = None _MSGCREATEVALIDATOR.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGCREATEVALIDATOR.fields_by_name['validator_address']._options = None @@ -44,17 +45,17 @@ _MSGCREATEVALIDATOR.fields_by_name['value']._options = None _MSGCREATEVALIDATOR.fields_by_name['value']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGCREATEVALIDATOR._options = None - _MSGCREATEVALIDATOR._serialized_options = b'\202\347\260*\021delegator_address\202\347\260*\021validator_address\212\347\260*\035cosmos-sdk/MsgCreateValidator\350\240\037\000\210\240\037\000' + _MSGCREATEVALIDATOR._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\202\347\260*\021validator_address\212\347\260*\035cosmos-sdk/MsgCreateValidator' _MSGEDITVALIDATOR.fields_by_name['description']._options = None _MSGEDITVALIDATOR.fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGEDITVALIDATOR.fields_by_name['validator_address']._options = None _MSGEDITVALIDATOR.fields_by_name['validator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGEDITVALIDATOR.fields_by_name['commission_rate']._options = None - _MSGEDITVALIDATOR.fields_by_name['commission_rate']._serialized_options = b'\322\264-\ncosmos.Dec\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _MSGEDITVALIDATOR.fields_by_name['commission_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec' _MSGEDITVALIDATOR.fields_by_name['min_self_delegation']._options = None - _MSGEDITVALIDATOR.fields_by_name['min_self_delegation']._serialized_options = b'\322\264-\ncosmos.Int\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' + _MSGEDITVALIDATOR.fields_by_name['min_self_delegation']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int' _MSGEDITVALIDATOR._options = None - _MSGEDITVALIDATOR._serialized_options = b'\202\347\260*\021validator_address\212\347\260*\033cosmos-sdk/MsgEditValidator\350\240\037\000\210\240\037\000' + _MSGEDITVALIDATOR._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\033cosmos-sdk/MsgEditValidator' _MSGDELEGATE.fields_by_name['delegator_address']._options = None _MSGDELEGATE.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGDELEGATE.fields_by_name['validator_address']._options = None @@ -62,7 +63,7 @@ _MSGDELEGATE.fields_by_name['amount']._options = None _MSGDELEGATE.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGDELEGATE._options = None - _MSGDELEGATE._serialized_options = b'\202\347\260*\021delegator_address\212\347\260*\026cosmos-sdk/MsgDelegate\350\240\037\000\210\240\037\000' + _MSGDELEGATE._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\026cosmos-sdk/MsgDelegate' _MSGBEGINREDELEGATE.fields_by_name['delegator_address']._options = None _MSGBEGINREDELEGATE.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGBEGINREDELEGATE.fields_by_name['validator_src_address']._options = None @@ -72,9 +73,9 @@ _MSGBEGINREDELEGATE.fields_by_name['amount']._options = None _MSGBEGINREDELEGATE.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGBEGINREDELEGATE._options = None - _MSGBEGINREDELEGATE._serialized_options = b'\202\347\260*\021delegator_address\212\347\260*\035cosmos-sdk/MsgBeginRedelegate\350\240\037\000\210\240\037\000' + _MSGBEGINREDELEGATE._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\035cosmos-sdk/MsgBeginRedelegate' _MSGBEGINREDELEGATERESPONSE.fields_by_name['completion_time']._options = None - _MSGBEGINREDELEGATERESPONSE.fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _MSGBEGINREDELEGATERESPONSE.fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _MSGUNDELEGATE.fields_by_name['delegator_address']._options = None _MSGUNDELEGATE.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUNDELEGATE.fields_by_name['validator_address']._options = None @@ -82,9 +83,9 @@ _MSGUNDELEGATE.fields_by_name['amount']._options = None _MSGUNDELEGATE.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGUNDELEGATE._options = None - _MSGUNDELEGATE._serialized_options = b'\202\347\260*\021delegator_address\212\347\260*\030cosmos-sdk/MsgUndelegate\350\240\037\000\210\240\037\000' + _MSGUNDELEGATE._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\030cosmos-sdk/MsgUndelegate' _MSGUNDELEGATERESPONSE.fields_by_name['completion_time']._options = None - _MSGUNDELEGATERESPONSE.fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\250\347\260*\001\220\337\037\001' + _MSGUNDELEGATERESPONSE.fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' _MSGCANCELUNBONDINGDELEGATION.fields_by_name['delegator_address']._options = None _MSGCANCELUNBONDINGDELEGATION.fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGCANCELUNBONDINGDELEGATION.fields_by_name['validator_address']._options = None @@ -92,7 +93,7 @@ _MSGCANCELUNBONDINGDELEGATION.fields_by_name['amount']._options = None _MSGCANCELUNBONDINGDELEGATION.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGCANCELUNBONDINGDELEGATION._options = None - _MSGCANCELUNBONDINGDELEGATION._serialized_options = b'\202\347\260*\021delegator_address\212\347\260*\'cosmos-sdk/MsgCancelUnbondingDelegation\350\240\037\000\210\240\037\000' + _MSGCANCELUNBONDINGDELEGATION._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\'cosmos-sdk/MsgCancelUnbondingDelegation' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEPARAMS.fields_by_name['params']._options = None @@ -101,34 +102,34 @@ _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority\212\347\260*$cosmos-sdk/x/staking/MsgUpdateParams' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGCREATEVALIDATOR._serialized_start=283 - _MSGCREATEVALIDATOR._serialized_end=846 - _MSGCREATEVALIDATORRESPONSE._serialized_start=848 - _MSGCREATEVALIDATORRESPONSE._serialized_end=876 - _MSGEDITVALIDATOR._serialized_start=879 - _MSGEDITVALIDATOR._serialized_end=1253 - _MSGEDITVALIDATORRESPONSE._serialized_start=1255 - _MSGEDITVALIDATORRESPONSE._serialized_end=1281 - _MSGDELEGATE._serialized_start=1284 - _MSGDELEGATE._serialized_end=1516 - _MSGDELEGATERESPONSE._serialized_start=1518 - _MSGDELEGATERESPONSE._serialized_end=1539 - _MSGBEGINREDELEGATE._serialized_start=1542 - _MSGBEGINREDELEGATE._serialized_end=1849 - _MSGBEGINREDELEGATERESPONSE._serialized_start=1851 - _MSGBEGINREDELEGATERESPONSE._serialized_end=1947 - _MSGUNDELEGATE._serialized_start=1950 - _MSGUNDELEGATE._serialized_end=2186 - _MSGUNDELEGATERESPONSE._serialized_start=2188 - _MSGUNDELEGATERESPONSE._serialized_end=2279 - _MSGCANCELUNBONDINGDELEGATION._serialized_start=2282 - _MSGCANCELUNBONDINGDELEGATION._serialized_end=2573 - _MSGCANCELUNBONDINGDELEGATIONRESPONSE._serialized_start=2575 - _MSGCANCELUNBONDINGDELEGATIONRESPONSE._serialized_end=2613 - _MSGUPDATEPARAMS._serialized_start=2616 - _MSGUPDATEPARAMS._serialized_end=2794 - _MSGUPDATEPARAMSRESPONSE._serialized_start=2796 - _MSGUPDATEPARAMSRESPONSE._serialized_end=2821 - _MSG._serialized_start=2824 - _MSG._serialized_end=3621 + _globals['_MSGCREATEVALIDATOR']._serialized_start=283 + _globals['_MSGCREATEVALIDATOR']._serialized_end=846 + _globals['_MSGCREATEVALIDATORRESPONSE']._serialized_start=848 + _globals['_MSGCREATEVALIDATORRESPONSE']._serialized_end=876 + _globals['_MSGEDITVALIDATOR']._serialized_start=879 + _globals['_MSGEDITVALIDATOR']._serialized_end=1253 + _globals['_MSGEDITVALIDATORRESPONSE']._serialized_start=1255 + _globals['_MSGEDITVALIDATORRESPONSE']._serialized_end=1281 + _globals['_MSGDELEGATE']._serialized_start=1284 + _globals['_MSGDELEGATE']._serialized_end=1516 + _globals['_MSGDELEGATERESPONSE']._serialized_start=1518 + _globals['_MSGDELEGATERESPONSE']._serialized_end=1539 + _globals['_MSGBEGINREDELEGATE']._serialized_start=1542 + _globals['_MSGBEGINREDELEGATE']._serialized_end=1849 + _globals['_MSGBEGINREDELEGATERESPONSE']._serialized_start=1851 + _globals['_MSGBEGINREDELEGATERESPONSE']._serialized_end=1947 + _globals['_MSGUNDELEGATE']._serialized_start=1950 + _globals['_MSGUNDELEGATE']._serialized_end=2186 + _globals['_MSGUNDELEGATERESPONSE']._serialized_start=2188 + _globals['_MSGUNDELEGATERESPONSE']._serialized_end=2279 + _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_start=2282 + _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_end=2573 + _globals['_MSGCANCELUNBONDINGDELEGATIONRESPONSE']._serialized_start=2575 + _globals['_MSGCANCELUNBONDINGDELEGATIONRESPONSE']._serialized_end=2613 + _globals['_MSGUPDATEPARAMS']._serialized_start=2616 + _globals['_MSGUPDATEPARAMS']._serialized_end=2794 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2796 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2821 + _globals['_MSG']._serialized_start=2824 + _globals['_MSG']._serialized_end=3621 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py b/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py index e456cb7e..ea481b3b 100644 --- a/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py +++ b/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/tx/config/v1/config.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"n\n\x06\x43onfig\x12\x19\n\x11skip_ante_handler\x18\x01 \x01(\x08\x12\x19\n\x11skip_post_handler\x18\x02 \x01(\x08:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/auth/txb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.config.v1.config_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.config.v1.config_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _CONFIG._options = None _CONFIG._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/auth/tx' - _CONFIG._serialized_start=91 - _CONFIG._serialized_end=201 + _globals['_CONFIG']._serialized_start=91 + _globals['_CONFIG']._serialized_end=201 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py index c925292e..6417d59d 100644 --- a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py +++ b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/tx/signing/v1beta1/signing.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +17,23 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/tx/signing/v1beta1/signing.proto\x12\x19\x63osmos.tx.signing.v1beta1\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x19google/protobuf/any.proto\"Z\n\x14SignatureDescriptors\x12\x42\n\nsignatures\x18\x01 \x03(\x0b\x32..cosmos.tx.signing.v1beta1.SignatureDescriptor\"\xa4\x04\n\x13SignatureDescriptor\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x41\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x1a\x8d\x03\n\x04\x44\x61ta\x12L\n\x06single\x18\x01 \x01(\x0b\x32:.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.SingleH\x00\x12J\n\x05multi\x18\x02 \x01(\x0b\x32\x39.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.MultiH\x00\x1aN\n\x06Single\x12\x31\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignMode\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x1a\x93\x01\n\x05Multi\x12\x41\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArray\x12G\n\nsignatures\x18\x02 \x03(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataB\x05\n\x03sum*\xa5\x01\n\x08SignMode\x12\x19\n\x15SIGN_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10SIGN_MODE_DIRECT\x10\x01\x12\x15\n\x11SIGN_MODE_TEXTUAL\x10\x02\x12\x18\n\x14SIGN_MODE_DIRECT_AUX\x10\x03\x12\x1f\n\x1bSIGN_MODE_LEGACY_AMINO_JSON\x10\x7f\x12\x16\n\x11SIGN_MODE_EIP_191\x10\xbf\x01\x42/Z-github.com/cosmos/cosmos-sdk/types/tx/signingb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.signing.v1beta1.signing_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.signing.v1beta1.signing_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z-github.com/cosmos/cosmos-sdk/types/tx/signing' - _SIGNMODE._serialized_start=788 - _SIGNMODE._serialized_end=953 - _SIGNATUREDESCRIPTORS._serialized_start=144 - _SIGNATUREDESCRIPTORS._serialized_end=234 - _SIGNATUREDESCRIPTOR._serialized_start=237 - _SIGNATUREDESCRIPTOR._serialized_end=785 - _SIGNATUREDESCRIPTOR_DATA._serialized_start=388 - _SIGNATUREDESCRIPTOR_DATA._serialized_end=785 - _SIGNATUREDESCRIPTOR_DATA_SINGLE._serialized_start=550 - _SIGNATUREDESCRIPTOR_DATA_SINGLE._serialized_end=628 - _SIGNATUREDESCRIPTOR_DATA_MULTI._serialized_start=631 - _SIGNATUREDESCRIPTOR_DATA_MULTI._serialized_end=778 + _globals['_SIGNMODE']._serialized_start=788 + _globals['_SIGNMODE']._serialized_end=953 + _globals['_SIGNATUREDESCRIPTORS']._serialized_start=144 + _globals['_SIGNATUREDESCRIPTORS']._serialized_end=234 + _globals['_SIGNATUREDESCRIPTOR']._serialized_start=237 + _globals['_SIGNATUREDESCRIPTOR']._serialized_end=785 + _globals['_SIGNATUREDESCRIPTOR_DATA']._serialized_start=388 + _globals['_SIGNATUREDESCRIPTOR_DATA']._serialized_end=785 + _globals['_SIGNATUREDESCRIPTOR_DATA_SINGLE']._serialized_start=550 + _globals['_SIGNATUREDESCRIPTOR_DATA_SINGLE']._serialized_end=628 + _globals['_SIGNATUREDESCRIPTOR_DATA_MULTI']._serialized_start=631 + _globals['_SIGNATUREDESCRIPTOR_DATA_MULTI']._serialized_end=778 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py index 700a9dbc..287f469f 100644 --- a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py +++ b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/tx/v1beta1/service.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +21,9 @@ 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\"\xaf\x01\n\x12GetTxsEventRequest\x12\x0e\n\x06\x65vents\x18\x01 \x03(\t\x12>\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestB\x02\x18\x01\x12,\n\x08order_by\x18\x03 \x01(\x0e\x32\x1a.cosmos.tx.v1beta1.OrderBy\x12\x0c\n\x04page\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x04\"\xc5\x01\n\x13GetTxsEventResponse\x12\"\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.Tx\x12:\n\x0ctx_responses\x18\x02 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponse\x12?\n\npagination\x18\x03 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseB\x02\x18\x01\x12\r\n\x05total\x18\x04 \x01(\x04\"V\n\x12\x42roadcastTxRequest\x12\x10\n\x08tx_bytes\x18\x01 \x01(\x0c\x12.\n\x04mode\x18\x02 \x01(\x0e\x32 .cosmos.tx.v1beta1.BroadcastMode\"P\n\x13\x42roadcastTxResponse\x12\x39\n\x0btx_response\x18\x01 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponse\"J\n\x0fSimulateRequest\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxB\x02\x18\x01\x12\x10\n\x08tx_bytes\x18\x02 \x01(\x0c\"y\n\x10SimulateResponse\x12\x33\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfo\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.Result\"\x1c\n\x0cGetTxRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"m\n\rGetTxResponse\x12!\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.Tx\x12\x39\n\x0btx_response\x18\x02 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponse\"d\n\x16GetBlockWithTxsRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xcf\x01\n\x17GetBlockWithTxsResponse\x12\"\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.Tx\x12+\n\x08\x62lock_id\x18\x02 \x01(\x0b\x32\x19.tendermint.types.BlockID\x12&\n\x05\x62lock\x18\x03 \x01(\x0b\x32\x17.tendermint.types.Block\x12;\n\npagination\x18\x04 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"#\n\x0fTxDecodeRequest\x12\x10\n\x08tx_bytes\x18\x01 \x01(\x0c\"5\n\x10TxDecodeResponse\x12!\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.Tx\"4\n\x0fTxEncodeRequest\x12!\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.Tx\"$\n\x10TxEncodeResponse\x12\x10\n\x08tx_bytes\x18\x01 \x01(\x0c\"*\n\x14TxEncodeAminoRequest\x12\x12\n\namino_json\x18\x01 \x01(\t\"-\n\x15TxEncodeAminoResponse\x12\x14\n\x0c\x61mino_binary\x18\x01 \x01(\x0c\",\n\x14TxDecodeAminoRequest\x12\x14\n\x0c\x61mino_binary\x18\x01 \x01(\x0c\"+\n\x15TxDecodeAminoResponse\x12\x12\n\namino_json\x18\x01 \x01(\t*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\'Z%github.com/cosmos/cosmos-sdk/types/txb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.service_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.service_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -53,46 +54,46 @@ _SERVICE.methods_by_name['TxEncodeAmino']._serialized_options = b'\202\323\344\223\002$\"\037/cosmos/tx/v1beta1/encode/amino:\001*' _SERVICE.methods_by_name['TxDecodeAmino']._options = None _SERVICE.methods_by_name['TxDecodeAmino']._serialized_options = b'\202\323\344\223\002$\"\037/cosmos/tx/v1beta1/decode/amino:\001*' - _ORDERBY._serialized_start=1819 - _ORDERBY._serialized_end=1891 - _BROADCASTMODE._serialized_start=1894 - _BROADCASTMODE._serialized_end=2022 - _GETTXSEVENTREQUEST._serialized_start=254 - _GETTXSEVENTREQUEST._serialized_end=429 - _GETTXSEVENTRESPONSE._serialized_start=432 - _GETTXSEVENTRESPONSE._serialized_end=629 - _BROADCASTTXREQUEST._serialized_start=631 - _BROADCASTTXREQUEST._serialized_end=717 - _BROADCASTTXRESPONSE._serialized_start=719 - _BROADCASTTXRESPONSE._serialized_end=799 - _SIMULATEREQUEST._serialized_start=801 - _SIMULATEREQUEST._serialized_end=875 - _SIMULATERESPONSE._serialized_start=877 - _SIMULATERESPONSE._serialized_end=998 - _GETTXREQUEST._serialized_start=1000 - _GETTXREQUEST._serialized_end=1028 - _GETTXRESPONSE._serialized_start=1030 - _GETTXRESPONSE._serialized_end=1139 - _GETBLOCKWITHTXSREQUEST._serialized_start=1141 - _GETBLOCKWITHTXSREQUEST._serialized_end=1241 - _GETBLOCKWITHTXSRESPONSE._serialized_start=1244 - _GETBLOCKWITHTXSRESPONSE._serialized_end=1451 - _TXDECODEREQUEST._serialized_start=1453 - _TXDECODEREQUEST._serialized_end=1488 - _TXDECODERESPONSE._serialized_start=1490 - _TXDECODERESPONSE._serialized_end=1543 - _TXENCODEREQUEST._serialized_start=1545 - _TXENCODEREQUEST._serialized_end=1597 - _TXENCODERESPONSE._serialized_start=1599 - _TXENCODERESPONSE._serialized_end=1635 - _TXENCODEAMINOREQUEST._serialized_start=1637 - _TXENCODEAMINOREQUEST._serialized_end=1679 - _TXENCODEAMINORESPONSE._serialized_start=1681 - _TXENCODEAMINORESPONSE._serialized_end=1726 - _TXDECODEAMINOREQUEST._serialized_start=1728 - _TXDECODEAMINOREQUEST._serialized_end=1772 - _TXDECODEAMINORESPONSE._serialized_start=1774 - _TXDECODEAMINORESPONSE._serialized_end=1817 - _SERVICE._serialized_start=2025 - _SERVICE._serialized_end=3219 + _globals['_ORDERBY']._serialized_start=1819 + _globals['_ORDERBY']._serialized_end=1891 + _globals['_BROADCASTMODE']._serialized_start=1894 + _globals['_BROADCASTMODE']._serialized_end=2022 + _globals['_GETTXSEVENTREQUEST']._serialized_start=254 + _globals['_GETTXSEVENTREQUEST']._serialized_end=429 + _globals['_GETTXSEVENTRESPONSE']._serialized_start=432 + _globals['_GETTXSEVENTRESPONSE']._serialized_end=629 + _globals['_BROADCASTTXREQUEST']._serialized_start=631 + _globals['_BROADCASTTXREQUEST']._serialized_end=717 + _globals['_BROADCASTTXRESPONSE']._serialized_start=719 + _globals['_BROADCASTTXRESPONSE']._serialized_end=799 + _globals['_SIMULATEREQUEST']._serialized_start=801 + _globals['_SIMULATEREQUEST']._serialized_end=875 + _globals['_SIMULATERESPONSE']._serialized_start=877 + _globals['_SIMULATERESPONSE']._serialized_end=998 + _globals['_GETTXREQUEST']._serialized_start=1000 + _globals['_GETTXREQUEST']._serialized_end=1028 + _globals['_GETTXRESPONSE']._serialized_start=1030 + _globals['_GETTXRESPONSE']._serialized_end=1139 + _globals['_GETBLOCKWITHTXSREQUEST']._serialized_start=1141 + _globals['_GETBLOCKWITHTXSREQUEST']._serialized_end=1241 + _globals['_GETBLOCKWITHTXSRESPONSE']._serialized_start=1244 + _globals['_GETBLOCKWITHTXSRESPONSE']._serialized_end=1451 + _globals['_TXDECODEREQUEST']._serialized_start=1453 + _globals['_TXDECODEREQUEST']._serialized_end=1488 + _globals['_TXDECODERESPONSE']._serialized_start=1490 + _globals['_TXDECODERESPONSE']._serialized_end=1543 + _globals['_TXENCODEREQUEST']._serialized_start=1545 + _globals['_TXENCODEREQUEST']._serialized_end=1597 + _globals['_TXENCODERESPONSE']._serialized_start=1599 + _globals['_TXENCODERESPONSE']._serialized_end=1635 + _globals['_TXENCODEAMINOREQUEST']._serialized_start=1637 + _globals['_TXENCODEAMINOREQUEST']._serialized_end=1679 + _globals['_TXENCODEAMINORESPONSE']._serialized_start=1681 + _globals['_TXENCODEAMINORESPONSE']._serialized_end=1726 + _globals['_TXDECODEAMINOREQUEST']._serialized_start=1728 + _globals['_TXDECODEAMINOREQUEST']._serialized_end=1772 + _globals['_TXDECODEAMINORESPONSE']._serialized_start=1774 + _globals['_TXDECODEAMINORESPONSE']._serialized_end=1817 + _globals['_SERVICE']._serialized_start=2025 + _globals['_SERVICE']._serialized_end=3219 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py index 2334c3f7..7e229ce1 100644 --- a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/tx/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +21,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmos/tx/v1beta1/tx.proto\x12\x11\x63osmos.tx.v1beta1\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\"q\n\x02Tx\x12\'\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.cosmos.tx.v1beta1.TxBody\x12.\n\tauth_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.AuthInfo\x12\x12\n\nsignatures\x18\x03 \x03(\x0c\"H\n\x05TxRaw\x12\x12\n\nbody_bytes\x18\x01 \x01(\x0c\x12\x17\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0c\x12\x12\n\nsignatures\x18\x03 \x03(\x0c\"`\n\x07SignDoc\x12\x12\n\nbody_bytes\x18\x01 \x01(\x0c\x12\x17\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0c\x12\x10\n\x08\x63hain_id\x18\x03 \x01(\t\x12\x16\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04\"\xb1\x01\n\x10SignDocDirectAux\x12\x12\n\nbody_bytes\x18\x01 \x01(\x0c\x12(\n\npublic_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x10\n\x08\x63hain_id\x18\x03 \x01(\t\x12\x16\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04\x12\x10\n\x08sequence\x18\x05 \x01(\x04\x12#\n\x03tip\x18\x06 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.Tip\"\xc7\x01\n\x06TxBody\x12&\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.Any\x12\x0c\n\x04memo\x18\x02 \x01(\t\x12\x16\n\x0etimeout_height\x18\x03 \x01(\x04\x12\x30\n\x11\x65xtension_options\x18\xff\x07 \x03(\x0b\x32\x14.google.protobuf.Any\x12=\n\x1enon_critical_extension_options\x18\xff\x0f \x03(\x0b\x32\x14.google.protobuf.Any\"\x89\x01\n\x08\x41uthInfo\x12\x33\n\x0csigner_infos\x18\x01 \x03(\x0b\x32\x1d.cosmos.tx.v1beta1.SignerInfo\x12#\n\x03\x66\x65\x65\x18\x02 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.Fee\x12#\n\x03tip\x18\x03 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.Tip\"x\n\nSignerInfo\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12.\n\tmode_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfo\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"\xb5\x02\n\x08ModeInfo\x12\x34\n\x06single\x18\x01 \x01(\x0b\x32\".cosmos.tx.v1beta1.ModeInfo.SingleH\x00\x12\x32\n\x05multi\x18\x02 \x01(\x0b\x32!.cosmos.tx.v1beta1.ModeInfo.MultiH\x00\x1a;\n\x06Single\x12\x31\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignMode\x1a{\n\x05Multi\x12\x41\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArray\x12/\n\nmode_infos\x18\x02 \x03(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoB\x05\n\x03sum\"\xc9\x01\n\x03\x46\x65\x65\x12[\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\'\n\x05payer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07granter\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\x8c\x01\n\x03Tip\x12[\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12(\n\x06tipper\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\xb1\x01\n\rAuxSignerData\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x35\n\x08sign_doc\x18\x02 \x01(\x0b\x32#.cosmos.tx.v1beta1.SignDocDirectAux\x12\x31\n\x04mode\x18\x03 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignMode\x12\x0b\n\x03sig\x18\x04 \x01(\x0c\x42\'Z%github.com/cosmos/cosmos-sdk/types/txb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -39,30 +40,30 @@ _TIP.fields_by_name['tipper']._serialized_options = b'\322\264-\024cosmos.AddressString' _AUXSIGNERDATA.fields_by_name['address']._options = None _AUXSIGNERDATA.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _TX._serialized_start=245 - _TX._serialized_end=358 - _TXRAW._serialized_start=360 - _TXRAW._serialized_end=432 - _SIGNDOC._serialized_start=434 - _SIGNDOC._serialized_end=530 - _SIGNDOCDIRECTAUX._serialized_start=533 - _SIGNDOCDIRECTAUX._serialized_end=710 - _TXBODY._serialized_start=713 - _TXBODY._serialized_end=912 - _AUTHINFO._serialized_start=915 - _AUTHINFO._serialized_end=1052 - _SIGNERINFO._serialized_start=1054 - _SIGNERINFO._serialized_end=1174 - _MODEINFO._serialized_start=1177 - _MODEINFO._serialized_end=1486 - _MODEINFO_SINGLE._serialized_start=1295 - _MODEINFO_SINGLE._serialized_end=1354 - _MODEINFO_MULTI._serialized_start=1356 - _MODEINFO_MULTI._serialized_end=1479 - _FEE._serialized_start=1489 - _FEE._serialized_end=1690 - _TIP._serialized_start=1693 - _TIP._serialized_end=1833 - _AUXSIGNERDATA._serialized_start=1836 - _AUXSIGNERDATA._serialized_end=2013 + _globals['_TX']._serialized_start=245 + _globals['_TX']._serialized_end=358 + _globals['_TXRAW']._serialized_start=360 + _globals['_TXRAW']._serialized_end=432 + _globals['_SIGNDOC']._serialized_start=434 + _globals['_SIGNDOC']._serialized_end=530 + _globals['_SIGNDOCDIRECTAUX']._serialized_start=533 + _globals['_SIGNDOCDIRECTAUX']._serialized_end=710 + _globals['_TXBODY']._serialized_start=713 + _globals['_TXBODY']._serialized_end=912 + _globals['_AUTHINFO']._serialized_start=915 + _globals['_AUTHINFO']._serialized_end=1052 + _globals['_SIGNERINFO']._serialized_start=1054 + _globals['_SIGNERINFO']._serialized_end=1174 + _globals['_MODEINFO']._serialized_start=1177 + _globals['_MODEINFO']._serialized_end=1486 + _globals['_MODEINFO_SINGLE']._serialized_start=1295 + _globals['_MODEINFO_SINGLE']._serialized_end=1354 + _globals['_MODEINFO_MULTI']._serialized_start=1356 + _globals['_MODEINFO_MULTI']._serialized_end=1479 + _globals['_FEE']._serialized_start=1489 + _globals['_FEE']._serialized_end=1690 + _globals['_TIP']._serialized_start=1693 + _globals['_TIP']._serialized_end=1833 + _globals['_AUXSIGNERDATA']._serialized_start=1836 + _globals['_AUXSIGNERDATA']._serialized_end=2013 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py index 667df3c7..c82b43b2 100644 --- a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/upgrade/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\"K\n\x06Module\x12\x11\n\tauthority\x18\x01 \x01(\t:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/upgradeb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/upgrade' - _MODULE._serialized_start=101 - _MODULE._serialized_end=176 + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=176 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py index f3da742a..21ae4bd6 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/upgrade/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ 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\"F\n\x18QueryCurrentPlanResponse\x12*\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.Plan\"\'\n\x17QueryAppliedPlanRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"*\n\x18QueryAppliedPlanResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\"=\n\"QueryUpgradedConsensusStateRequest\x12\x13\n\x0blast_height\x18\x01 \x01(\x03:\x02\x18\x01\"Q\n#QueryUpgradedConsensusStateResponse\x12 \n\x18upgraded_consensus_state\x18\x02 \x01(\x0c:\x02\x18\x01J\x04\x08\x01\x10\x02\"1\n\x1aQueryModuleVersionsRequest\x12\x13\n\x0bmodule_name\x18\x01 \x01(\t\"]\n\x1bQueryModuleVersionsResponse\x12>\n\x0fmodule_versions\x18\x01 \x03(\x0b\x32%.cosmos.upgrade.v1beta1.ModuleVersion\"\x17\n\x15QueryAuthorityRequest\")\n\x16QueryAuthorityResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t2\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.Z,github.com/cosmos/cosmos-sdk/x/upgrade/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -37,26 +38,26 @@ _QUERY.methods_by_name['ModuleVersions']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/upgrade/v1beta1/module_versions' _QUERY.methods_by_name['Authority']._options = None _QUERY.methods_by_name['Authority']._serialized_options = b'\202\323\344\223\002#\022!/cosmos/upgrade/v1beta1/authority' - _QUERYCURRENTPLANREQUEST._serialized_start=130 - _QUERYCURRENTPLANREQUEST._serialized_end=155 - _QUERYCURRENTPLANRESPONSE._serialized_start=157 - _QUERYCURRENTPLANRESPONSE._serialized_end=227 - _QUERYAPPLIEDPLANREQUEST._serialized_start=229 - _QUERYAPPLIEDPLANREQUEST._serialized_end=268 - _QUERYAPPLIEDPLANRESPONSE._serialized_start=270 - _QUERYAPPLIEDPLANRESPONSE._serialized_end=312 - _QUERYUPGRADEDCONSENSUSSTATEREQUEST._serialized_start=314 - _QUERYUPGRADEDCONSENSUSSTATEREQUEST._serialized_end=375 - _QUERYUPGRADEDCONSENSUSSTATERESPONSE._serialized_start=377 - _QUERYUPGRADEDCONSENSUSSTATERESPONSE._serialized_end=458 - _QUERYMODULEVERSIONSREQUEST._serialized_start=460 - _QUERYMODULEVERSIONSREQUEST._serialized_end=509 - _QUERYMODULEVERSIONSRESPONSE._serialized_start=511 - _QUERYMODULEVERSIONSRESPONSE._serialized_end=604 - _QUERYAUTHORITYREQUEST._serialized_start=606 - _QUERYAUTHORITYREQUEST._serialized_end=629 - _QUERYAUTHORITYRESPONSE._serialized_start=631 - _QUERYAUTHORITYRESPONSE._serialized_end=672 - _QUERY._serialized_start=675 - _QUERY._serialized_end=1559 + _globals['_QUERYCURRENTPLANREQUEST']._serialized_start=130 + _globals['_QUERYCURRENTPLANREQUEST']._serialized_end=155 + _globals['_QUERYCURRENTPLANRESPONSE']._serialized_start=157 + _globals['_QUERYCURRENTPLANRESPONSE']._serialized_end=227 + _globals['_QUERYAPPLIEDPLANREQUEST']._serialized_start=229 + _globals['_QUERYAPPLIEDPLANREQUEST']._serialized_end=268 + _globals['_QUERYAPPLIEDPLANRESPONSE']._serialized_start=270 + _globals['_QUERYAPPLIEDPLANRESPONSE']._serialized_end=312 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_start=314 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_end=375 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_start=377 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_end=458 + _globals['_QUERYMODULEVERSIONSREQUEST']._serialized_start=460 + _globals['_QUERYMODULEVERSIONSREQUEST']._serialized_end=509 + _globals['_QUERYMODULEVERSIONSRESPONSE']._serialized_start=511 + _globals['_QUERYMODULEVERSIONSRESPONSE']._serialized_end=604 + _globals['_QUERYAUTHORITYREQUEST']._serialized_start=606 + _globals['_QUERYAUTHORITYREQUEST']._serialized_end=629 + _globals['_QUERYAUTHORITYRESPONSE']._serialized_start=631 + _globals['_QUERYAUTHORITYRESPONSE']._serialized_end=672 + _globals['_QUERY']._serialized_start=675 + _globals['_QUERY']._serialized_end=1559 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py index 00f8d07f..5f29905b 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/upgrade/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +20,9 @@ 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\"\xaa\x01\n\x12MsgSoftwareUpgrade\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x35\n\x04plan\x18\x02 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:0\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgSoftwareUpgrade\"\x1c\n\x1aMsgSoftwareUpgradeResponse\"o\n\x10MsgCancelUpgrade\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:.\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.Z,github.com/cosmos/cosmos-sdk/x/upgrade/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -38,14 +39,14 @@ _MSGCANCELUPGRADE._serialized_options = b'\202\347\260*\tauthority\212\347\260*\033cosmos-sdk/MsgCancelUpgrade' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGSOFTWAREUPGRADE._serialized_start=191 - _MSGSOFTWAREUPGRADE._serialized_end=361 - _MSGSOFTWAREUPGRADERESPONSE._serialized_start=363 - _MSGSOFTWAREUPGRADERESPONSE._serialized_end=391 - _MSGCANCELUPGRADE._serialized_start=393 - _MSGCANCELUPGRADE._serialized_end=504 - _MSGCANCELUPGRADERESPONSE._serialized_start=506 - _MSGCANCELUPGRADERESPONSE._serialized_end=532 - _MSG._serialized_start=535 - _MSG._serialized_end=771 + _globals['_MSGSOFTWAREUPGRADE']._serialized_start=191 + _globals['_MSGSOFTWAREUPGRADE']._serialized_end=361 + _globals['_MSGSOFTWAREUPGRADERESPONSE']._serialized_start=363 + _globals['_MSGSOFTWAREUPGRADERESPONSE']._serialized_end=391 + _globals['_MSGCANCELUPGRADE']._serialized_start=393 + _globals['_MSGCANCELUPGRADE']._serialized_end=504 + _globals['_MSGCANCELUPGRADERESPONSE']._serialized_start=506 + _globals['_MSGCANCELUPGRADERESPONSE']._serialized_end=532 + _globals['_MSG']._serialized_start=535 + _globals['_MSG']._serialized_end=771 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py index 72c8ebd1..7e9bee80 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/upgrade/v1beta1/upgrade.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +18,35 @@ from 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\"\xc4\x01\n\x04Plan\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x39\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0f\x18\x01\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x37\n\x15upgraded_client_state\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01:\x1c\x8a\xe7\xb0*\x0f\x63osmos-sdk/Plan\xe8\xa0\x1f\x01\x98\xa0\x1f\x00\"\xc5\x01\n\x17SoftwareUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x35\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:O\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\"cosmos-sdk/SoftwareUpgradeProposal\xe8\xa0\x1f\x01\x98\xa0\x1f\x00\"\x9a\x01\n\x1d\x43\x61ncelSoftwareUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t:U\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(cosmos-sdk/CancelSoftwareUpgradeProposal\xe8\xa0\x1f\x01\x98\xa0\x1f\x00\"8\n\rModuleVersion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x04:\x08\xe8\xa0\x1f\x01\x98\xa0\x1f\x01\x42\x32Z,github.com/cosmos/cosmos-sdk/x/upgrade/types\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\"\xc4\x01\n\x04Plan\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x39\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*\x01\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x37\n\x15upgraded_client_state\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01:\x1c\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x63osmos-sdk/Plan\"\xc5\x01\n\x17SoftwareUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x35\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:O\x18\x01\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\"cosmos-sdk/SoftwareUpgradeProposal\"\x9a\x01\n\x1d\x43\x61ncelSoftwareUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t:U\x18\x01\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(cosmos-sdk/CancelSoftwareUpgradeProposal\"8\n\rModuleVersion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x04:\x08\x98\xa0\x1f\x01\xe8\xa0\x1f\x01\x42\x32Z,github.com/cosmos/cosmos-sdk/x/upgrade/types\xc8\xe1\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.upgrade_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.upgrade_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z,github.com/cosmos/cosmos-sdk/x/upgrade/types\310\341\036\000' _PLAN.fields_by_name['time']._options = None - _PLAN.fields_by_name['time']._serialized_options = b'\030\001\220\337\037\001\310\336\037\000\250\347\260*\001' + _PLAN.fields_by_name['time']._serialized_options = b'\030\001\310\336\037\000\220\337\037\001\250\347\260*\001' _PLAN.fields_by_name['upgraded_client_state']._options = None _PLAN.fields_by_name['upgraded_client_state']._serialized_options = b'\030\001' _PLAN._options = None - _PLAN._serialized_options = b'\212\347\260*\017cosmos-sdk/Plan\350\240\037\001\230\240\037\000' + _PLAN._serialized_options = b'\230\240\037\000\350\240\037\001\212\347\260*\017cosmos-sdk/Plan' _SOFTWAREUPGRADEPROPOSAL.fields_by_name['plan']._options = None _SOFTWAREUPGRADEPROPOSAL.fields_by_name['plan']._serialized_options = b'\310\336\037\000\250\347\260*\001' _SOFTWAREUPGRADEPROPOSAL._options = None - _SOFTWAREUPGRADEPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\"cosmos-sdk/SoftwareUpgradeProposal\350\240\037\001\230\240\037\000' + _SOFTWAREUPGRADEPROPOSAL._serialized_options = b'\030\001\230\240\037\000\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\"cosmos-sdk/SoftwareUpgradeProposal' _CANCELSOFTWAREUPGRADEPROPOSAL._options = None - _CANCELSOFTWAREUPGRADEPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(cosmos-sdk/CancelSoftwareUpgradeProposal\350\240\037\001\230\240\037\000' + _CANCELSOFTWAREUPGRADEPROPOSAL._serialized_options = b'\030\001\230\240\037\000\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(cosmos-sdk/CancelSoftwareUpgradeProposal' _MODULEVERSION._options = None - _MODULEVERSION._serialized_options = b'\350\240\037\001\230\240\037\001' - _PLAN._serialized_start=193 - _PLAN._serialized_end=389 - _SOFTWAREUPGRADEPROPOSAL._serialized_start=392 - _SOFTWAREUPGRADEPROPOSAL._serialized_end=589 - _CANCELSOFTWAREUPGRADEPROPOSAL._serialized_start=592 - _CANCELSOFTWAREUPGRADEPROPOSAL._serialized_end=746 - _MODULEVERSION._serialized_start=748 - _MODULEVERSION._serialized_end=804 + _MODULEVERSION._serialized_options = b'\230\240\037\001\350\240\037\001' + _globals['_PLAN']._serialized_start=193 + _globals['_PLAN']._serialized_end=389 + _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_start=392 + _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_end=589 + _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_start=592 + _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_end=746 + _globals['_MODULEVERSION']._serialized_start=748 + _globals['_MODULEVERSION']._serialized_end=804 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py index 415c33df..3dad92dd 100644 --- a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/vesting/module/v1/module.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,13 +16,14 @@ 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\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.module.v1.module_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/auth/vesting' - _MODULE._serialized_start=101 - _MODULE._serialized_end=162 + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=162 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py index 1a99bddc..59c3da1e 100644 --- a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/vesting/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +19,11 @@ from 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\"\xba\x02\n\x17MsgCreateVestingAccount\x12.\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12,\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12`\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x03\x12\x0f\n\x07\x64\x65layed\x18\x05 \x01(\x08:<\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\"cosmos-sdk/MsgCreateVestingAccount\xe8\xa0\x1f\x01\"!\n\x1fMsgCreateVestingAccountResponse\"\x9e\x02\n\x1fMsgCreatePermanentLockedAccount\x12-\n\x0c\x66rom_address\x18\x01 \x01(\tB\x17\xf2\xde\x1f\x13yaml:\"from_address\"\x12)\n\nto_address\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"to_address\"\x12`\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:?\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePermLockedAccount\xe8\xa0\x1f\x01\")\n\'MsgCreatePermanentLockedAccountResponse\"\xe9\x01\n\x1fMsgCreatePeriodicVestingAccount\x12\x14\n\x0c\x66rom_address\x18\x01 \x01(\t\x12\x12\n\nto_address\x18\x02 \x01(\t\x12\x12\n\nstart_time\x18\x03 \x01(\x03\x12\x42\n\x0fvesting_periods\x18\x04 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:D\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0**cosmos-sdk/MsgCreatePeriodicVestingAccount\xe8\xa0\x1f\x00\")\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\x33Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/typesb\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\"\xba\x02\n\x17MsgCreateVestingAccount\x12.\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12,\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12`\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*\x01\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x03\x12\x0f\n\x07\x64\x65layed\x18\x05 \x01(\x08:<\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\"cosmos-sdk/MsgCreateVestingAccount\"!\n\x1fMsgCreateVestingAccountResponse\"\x9e\x02\n\x1fMsgCreatePermanentLockedAccount\x12-\n\x0c\x66rom_address\x18\x01 \x01(\tB\x17\xf2\xde\x1f\x13yaml:\"from_address\"\x12)\n\nto_address\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"to_address\"\x12`\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*\x01:?\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePermLockedAccount\")\n\'MsgCreatePermanentLockedAccountResponse\"\xe9\x01\n\x1fMsgCreatePeriodicVestingAccount\x12\x14\n\x0c\x66rom_address\x18\x01 \x01(\t\x12\x12\n\nto_address\x18\x02 \x01(\t\x12\x12\n\nstart_time\x18\x03 \x01(\x03\x12\x42\n\x0fvesting_periods\x18\x04 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:D\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0**cosmos-sdk/MsgCreatePeriodicVestingAccount\")\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\x33Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -32,35 +33,35 @@ _MSGCREATEVESTINGACCOUNT.fields_by_name['to_address']._options = None _MSGCREATEVESTINGACCOUNT.fields_by_name['to_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGCREATEVESTINGACCOUNT.fields_by_name['amount']._options = None - _MSGCREATEVESTINGACCOUNT.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGCREATEVESTINGACCOUNT.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' _MSGCREATEVESTINGACCOUNT._options = None - _MSGCREATEVESTINGACCOUNT._serialized_options = b'\202\347\260*\014from_address\212\347\260*\"cosmos-sdk/MsgCreateVestingAccount\350\240\037\001' + _MSGCREATEVESTINGACCOUNT._serialized_options = b'\350\240\037\001\202\347\260*\014from_address\212\347\260*\"cosmos-sdk/MsgCreateVestingAccount' _MSGCREATEPERMANENTLOCKEDACCOUNT.fields_by_name['from_address']._options = None _MSGCREATEPERMANENTLOCKEDACCOUNT.fields_by_name['from_address']._serialized_options = b'\362\336\037\023yaml:\"from_address\"' _MSGCREATEPERMANENTLOCKEDACCOUNT.fields_by_name['to_address']._options = None _MSGCREATEPERMANENTLOCKEDACCOUNT.fields_by_name['to_address']._serialized_options = b'\362\336\037\021yaml:\"to_address\"' _MSGCREATEPERMANENTLOCKEDACCOUNT.fields_by_name['amount']._options = None - _MSGCREATEPERMANENTLOCKEDACCOUNT.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGCREATEPERMANENTLOCKEDACCOUNT.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' _MSGCREATEPERMANENTLOCKEDACCOUNT._options = None - _MSGCREATEPERMANENTLOCKEDACCOUNT._serialized_options = b'\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePermLockedAccount\350\240\037\001' + _MSGCREATEPERMANENTLOCKEDACCOUNT._serialized_options = b'\350\240\037\001\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePermLockedAccount' _MSGCREATEPERIODICVESTINGACCOUNT.fields_by_name['vesting_periods']._options = None _MSGCREATEPERIODICVESTINGACCOUNT.fields_by_name['vesting_periods']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGCREATEPERIODICVESTINGACCOUNT._options = None - _MSGCREATEPERIODICVESTINGACCOUNT._serialized_options = b'\202\347\260*\014from_address\212\347\260**cosmos-sdk/MsgCreatePeriodicVestingAccount\350\240\037\000' + _MSGCREATEPERIODICVESTINGACCOUNT._serialized_options = b'\350\240\037\000\202\347\260*\014from_address\212\347\260**cosmos-sdk/MsgCreatePeriodicVestingAccount' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGCREATEVESTINGACCOUNT._serialized_start=223 - _MSGCREATEVESTINGACCOUNT._serialized_end=537 - _MSGCREATEVESTINGACCOUNTRESPONSE._serialized_start=539 - _MSGCREATEVESTINGACCOUNTRESPONSE._serialized_end=572 - _MSGCREATEPERMANENTLOCKEDACCOUNT._serialized_start=575 - _MSGCREATEPERMANENTLOCKEDACCOUNT._serialized_end=861 - _MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE._serialized_start=863 - _MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE._serialized_end=904 - _MSGCREATEPERIODICVESTINGACCOUNT._serialized_start=907 - _MSGCREATEPERIODICVESTINGACCOUNT._serialized_end=1140 - _MSGCREATEPERIODICVESTINGACCOUNTRESPONSE._serialized_start=1142 - _MSGCREATEPERIODICVESTINGACCOUNTRESPONSE._serialized_end=1183 - _MSG._serialized_start=1186 - _MSG._serialized_end=1639 + _globals['_MSGCREATEVESTINGACCOUNT']._serialized_start=223 + _globals['_MSGCREATEVESTINGACCOUNT']._serialized_end=537 + _globals['_MSGCREATEVESTINGACCOUNTRESPONSE']._serialized_start=539 + _globals['_MSGCREATEVESTINGACCOUNTRESPONSE']._serialized_end=572 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_start=575 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_end=861 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE']._serialized_start=863 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE']._serialized_end=904 + _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_start=907 + _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_end=1140 + _globals['_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE']._serialized_start=1142 + _globals['_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE']._serialized_end=1183 + _globals['_MSG']._serialized_start=1186 + _globals['_MSG']._serialized_end=1639 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py index 01f52868..cb175294 100644 --- a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py +++ b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos/vesting/v1beta1/vesting.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +17,11 @@ from 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\"\xd3\x03\n\x12\x42\x61seVestingAccount\x12<\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01\x12j\n\x10original_vesting\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12h\n\x0e\x64\x65legated_free\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12k\n\x11\x64\x65legated_vesting\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x03:*\x8a\xe7\xb0*\x1d\x63osmos-sdk/BaseVestingAccount\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"\xb0\x01\n\x18\x43ontinuousVestingAccount\x12N\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01\x12\x12\n\nstart_time\x18\x02 \x01(\x03:0\x8a\xe7\xb0*#cosmos-sdk/ContinuousVestingAccount\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"\x96\x01\n\x15\x44\x65layedVestingAccount\x12N\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01:-\x8a\xe7\xb0* cosmos-sdk/DelayedVestingAccount\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"\x80\x01\n\x06Period\x12\x0e\n\x06length\x18\x01 \x01(\x03\x12`\n\x06\x61mount\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:\x04\x98\xa0\x1f\x00\"\xf0\x01\n\x16PeriodicVestingAccount\x12N\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01\x12\x12\n\nstart_time\x18\x02 \x01(\x03\x12\x42\n\x0fvesting_periods\x18\x03 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:.\x8a\xe7\xb0*!cosmos-sdk/PeriodicVestingAccount\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"\x98\x01\n\x16PermanentLockedAccount\x12N\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01:.\x8a\xe7\xb0*!cosmos-sdk/PermanentLockedAccount\x88\xa0\x1f\x00\x98\xa0\x1f\x00\x42\x33Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/typesb\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\"\xd3\x03\n\x12\x42\x61seVestingAccount\x12<\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01\x12j\n\x10original_vesting\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12h\n\x0e\x64\x65legated_free\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*\x01\x12k\n\x11\x64\x65legated_vesting\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x03:*\x88\xa0\x1f\x00\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1d\x63osmos-sdk/BaseVestingAccount\"\xb0\x01\n\x18\x43ontinuousVestingAccount\x12N\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01\x12\x12\n\nstart_time\x18\x02 \x01(\x03:0\x88\xa0\x1f\x00\x98\xa0\x1f\x00\x8a\xe7\xb0*#cosmos-sdk/ContinuousVestingAccount\"\x96\x01\n\x15\x44\x65layedVestingAccount\x12N\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01:-\x88\xa0\x1f\x00\x98\xa0\x1f\x00\x8a\xe7\xb0* cosmos-sdk/DelayedVestingAccount\"\x80\x01\n\x06Period\x12\x0e\n\x06length\x18\x01 \x01(\x03\x12`\n\x06\x61mount\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\x04\x98\xa0\x1f\x00\"\xf0\x01\n\x16PeriodicVestingAccount\x12N\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01\x12\x12\n\nstart_time\x18\x02 \x01(\x03\x12\x42\n\x0fvesting_periods\x18\x03 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:.\x88\xa0\x1f\x00\x98\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PeriodicVestingAccount\"\x98\x01\n\x16PermanentLockedAccount\x12N\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01:.\x88\xa0\x1f\x00\x98\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PermanentLockedAccountB3Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.vesting_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.vesting_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -28,23 +29,23 @@ _BASEVESTINGACCOUNT.fields_by_name['base_account']._options = None _BASEVESTINGACCOUNT.fields_by_name['base_account']._serialized_options = b'\320\336\037\001' _BASEVESTINGACCOUNT.fields_by_name['original_vesting']._options = None - _BASEVESTINGACCOUNT.fields_by_name['original_vesting']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _BASEVESTINGACCOUNT.fields_by_name['original_vesting']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _BASEVESTINGACCOUNT.fields_by_name['delegated_free']._options = None - _BASEVESTINGACCOUNT.fields_by_name['delegated_free']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _BASEVESTINGACCOUNT.fields_by_name['delegated_free']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _BASEVESTINGACCOUNT.fields_by_name['delegated_vesting']._options = None - _BASEVESTINGACCOUNT.fields_by_name['delegated_vesting']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _BASEVESTINGACCOUNT.fields_by_name['delegated_vesting']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _BASEVESTINGACCOUNT._options = None - _BASEVESTINGACCOUNT._serialized_options = b'\212\347\260*\035cosmos-sdk/BaseVestingAccount\210\240\037\000\230\240\037\000' + _BASEVESTINGACCOUNT._serialized_options = b'\210\240\037\000\230\240\037\000\212\347\260*\035cosmos-sdk/BaseVestingAccount' _CONTINUOUSVESTINGACCOUNT.fields_by_name['base_vesting_account']._options = None _CONTINUOUSVESTINGACCOUNT.fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' _CONTINUOUSVESTINGACCOUNT._options = None - _CONTINUOUSVESTINGACCOUNT._serialized_options = b'\212\347\260*#cosmos-sdk/ContinuousVestingAccount\210\240\037\000\230\240\037\000' + _CONTINUOUSVESTINGACCOUNT._serialized_options = b'\210\240\037\000\230\240\037\000\212\347\260*#cosmos-sdk/ContinuousVestingAccount' _DELAYEDVESTINGACCOUNT.fields_by_name['base_vesting_account']._options = None _DELAYEDVESTINGACCOUNT.fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' _DELAYEDVESTINGACCOUNT._options = None - _DELAYEDVESTINGACCOUNT._serialized_options = b'\212\347\260* cosmos-sdk/DelayedVestingAccount\210\240\037\000\230\240\037\000' + _DELAYEDVESTINGACCOUNT._serialized_options = b'\210\240\037\000\230\240\037\000\212\347\260* cosmos-sdk/DelayedVestingAccount' _PERIOD.fields_by_name['amount']._options = None - _PERIOD.fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _PERIOD.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' _PERIOD._options = None _PERIOD._serialized_options = b'\230\240\037\000' _PERIODICVESTINGACCOUNT.fields_by_name['base_vesting_account']._options = None @@ -52,21 +53,21 @@ _PERIODICVESTINGACCOUNT.fields_by_name['vesting_periods']._options = None _PERIODICVESTINGACCOUNT.fields_by_name['vesting_periods']._serialized_options = b'\310\336\037\000\250\347\260*\001' _PERIODICVESTINGACCOUNT._options = None - _PERIODICVESTINGACCOUNT._serialized_options = b'\212\347\260*!cosmos-sdk/PeriodicVestingAccount\210\240\037\000\230\240\037\000' + _PERIODICVESTINGACCOUNT._serialized_options = b'\210\240\037\000\230\240\037\000\212\347\260*!cosmos-sdk/PeriodicVestingAccount' _PERMANENTLOCKEDACCOUNT.fields_by_name['base_vesting_account']._options = None _PERMANENTLOCKEDACCOUNT.fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' _PERMANENTLOCKEDACCOUNT._options = None - _PERMANENTLOCKEDACCOUNT._serialized_options = b'\212\347\260*!cosmos-sdk/PermanentLockedAccount\210\240\037\000\230\240\037\000' - _BASEVESTINGACCOUNT._serialized_start=170 - _BASEVESTINGACCOUNT._serialized_end=637 - _CONTINUOUSVESTINGACCOUNT._serialized_start=640 - _CONTINUOUSVESTINGACCOUNT._serialized_end=816 - _DELAYEDVESTINGACCOUNT._serialized_start=819 - _DELAYEDVESTINGACCOUNT._serialized_end=969 - _PERIOD._serialized_start=972 - _PERIOD._serialized_end=1100 - _PERIODICVESTINGACCOUNT._serialized_start=1103 - _PERIODICVESTINGACCOUNT._serialized_end=1343 - _PERMANENTLOCKEDACCOUNT._serialized_start=1346 - _PERMANENTLOCKEDACCOUNT._serialized_end=1498 + _PERMANENTLOCKEDACCOUNT._serialized_options = b'\210\240\037\000\230\240\037\000\212\347\260*!cosmos-sdk/PermanentLockedAccount' + _globals['_BASEVESTINGACCOUNT']._serialized_start=170 + _globals['_BASEVESTINGACCOUNT']._serialized_end=637 + _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_start=640 + _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_end=816 + _globals['_DELAYEDVESTINGACCOUNT']._serialized_start=819 + _globals['_DELAYEDVESTINGACCOUNT']._serialized_end=969 + _globals['_PERIOD']._serialized_start=972 + _globals['_PERIOD']._serialized_end=1100 + _globals['_PERIODICVESTINGACCOUNT']._serialized_start=1103 + _globals['_PERIODICVESTINGACCOUNT']._serialized_end=1343 + _globals['_PERMANENTLOCKEDACCOUNT']._serialized_start=1346 + _globals['_PERMANENTLOCKEDACCOUNT']._serialized_end=1498 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos_proto/cosmos_pb2.py b/pyinjective/proto/cosmos_proto/cosmos_pb2.py index 854e58ae..9238ca21 100644 --- a/pyinjective/proto/cosmos_proto/cosmos_pb2.py +++ b/pyinjective/proto/cosmos_proto/cosmos_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmos_proto/cosmos.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmos_proto/cosmos.proto\x12\x0c\x63osmos_proto\x1a google/protobuf/descriptor.proto\"8\n\x13InterfaceDescriptor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"c\n\x10ScalarDescriptor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12,\n\nfield_type\x18\x03 \x03(\x0e\x32\x18.cosmos_proto.ScalarType*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:?\n\x14implements_interface\x12\x1f.google.protobuf.MessageOptions\x18\xc9\xd6\x05 \x03(\t::\n\x11\x61\x63\x63\x65pts_interface\x12\x1d.google.protobuf.FieldOptions\x18\xc9\xd6\x05 \x01(\t:/\n\x06scalar\x12\x1d.google.protobuf.FieldOptions\x18\xca\xd6\x05 \x01(\t:\\\n\x11\x64\x65\x63lare_interface\x12\x1c.google.protobuf.FileOptions\x18\xbd\xb3\x30 \x03(\x0b\x32!.cosmos_proto.InterfaceDescriptor:V\n\x0e\x64\x65\x63lare_scalar\x12\x1c.google.protobuf.FileOptions\x18\xbe\xb3\x30 \x03(\x0b\x32\x1e.cosmos_proto.ScalarDescriptorB-Z+github.com/cosmos/cosmos-proto;cosmos_protob\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos_proto.cosmos_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos_proto.cosmos_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(implements_interface) google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(accepts_interface) @@ -27,10 +28,10 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z+github.com/cosmos/cosmos-proto;cosmos_proto' - _SCALARTYPE._serialized_start=236 - _SCALARTYPE._serialized_end=324 - _INTERFACEDESCRIPTOR._serialized_start=77 - _INTERFACEDESCRIPTOR._serialized_end=133 - _SCALARDESCRIPTOR._serialized_start=135 - _SCALARDESCRIPTOR._serialized_end=234 + _globals['_SCALARTYPE']._serialized_start=236 + _globals['_SCALARTYPE']._serialized_end=324 + _globals['_INTERFACEDESCRIPTOR']._serialized_start=77 + _globals['_INTERFACEDESCRIPTOR']._serialized_end=133 + _globals['_SCALARDESCRIPTOR']._serialized_start=135 + _globals['_SCALARDESCRIPTOR']._serialized_end=234 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py index 2b97a616..cf25dbc3 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmwasm/wasm/v1/authz.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +18,11 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\xca\xb4-\"cosmos.authz.v1beta1.Authorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\xca\xb4-\"cosmos.authz.v1beta1.Authorization\"\xc1\x01\n\rContractGrant\x12\x10\n\x08\x63ontract\x18\x01 \x01(\t\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:?\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:?\x8a\xe7\xb0*\x12wasm/CombinedLimit\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\"c\n\x16\x41llowAllMessagesFilter:I\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilter\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterXB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"\xc1\x01\n\rContractGrant\x12\x10\n\x08\x63ontract\x18\x01 \x01(\t\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/CombinedLimit\"c\n\x16\x41llowAllMessagesFilter:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.authz_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -29,49 +30,49 @@ _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._options = None _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTEXECUTIONAUTHORIZATION._options = None - _CONTRACTEXECUTIONAUTHORIZATION._serialized_options = b'\212\347\260*#wasm/ContractExecutionAuthorization\312\264-\"cosmos.authz.v1beta1.Authorization' + _CONTRACTEXECUTIONAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractExecutionAuthorization' _CONTRACTMIGRATIONAUTHORIZATION.fields_by_name['grants']._options = None _CONTRACTMIGRATIONAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTMIGRATIONAUTHORIZATION._options = None - _CONTRACTMIGRATIONAUTHORIZATION._serialized_options = b'\212\347\260*#wasm/ContractMigrationAuthorization\312\264-\"cosmos.authz.v1beta1.Authorization' + _CONTRACTMIGRATIONAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractMigrationAuthorization' _CONTRACTGRANT.fields_by_name['limit']._options = None _CONTRACTGRANT.fields_by_name['limit']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX' _CONTRACTGRANT.fields_by_name['filter']._options = None _CONTRACTGRANT.fields_by_name['filter']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX' _MAXCALLSLIMIT._options = None - _MAXCALLSLIMIT._serialized_options = b'\212\347\260*\022wasm/MaxCallsLimit\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX' + _MAXCALLSLIMIT._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxCallsLimit' _MAXFUNDSLIMIT.fields_by_name['amounts']._options = None - _MAXFUNDSLIMIT.fields_by_name['amounts']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MAXFUNDSLIMIT.fields_by_name['amounts']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MAXFUNDSLIMIT._options = None - _MAXFUNDSLIMIT._serialized_options = b'\212\347\260*\022wasm/MaxFundsLimit\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX' + _MAXFUNDSLIMIT._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxFundsLimit' _COMBINEDLIMIT.fields_by_name['amounts']._options = None - _COMBINEDLIMIT.fields_by_name['amounts']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _COMBINEDLIMIT.fields_by_name['amounts']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _COMBINEDLIMIT._options = None - _COMBINEDLIMIT._serialized_options = b'\212\347\260*\022wasm/CombinedLimit\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX' + _COMBINEDLIMIT._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/CombinedLimit' _ALLOWALLMESSAGESFILTER._options = None - _ALLOWALLMESSAGESFILTER._serialized_options = b'\212\347\260*\033wasm/AllowAllMessagesFilter\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX' + _ALLOWALLMESSAGESFILTER._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AllowAllMessagesFilter' _ACCEPTEDMESSAGEKEYSFILTER._options = None - _ACCEPTEDMESSAGEKEYSFILTER._serialized_options = b'\212\347\260*\036wasm/AcceptedMessageKeysFilter\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX' + _ACCEPTEDMESSAGEKEYSFILTER._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\036wasm/AcceptedMessageKeysFilter' _ACCEPTEDMESSAGESFILTER.fields_by_name['messages']._options = None _ACCEPTEDMESSAGESFILTER.fields_by_name['messages']._serialized_options = b'\372\336\037\022RawContractMessage' _ACCEPTEDMESSAGESFILTER._options = None - _ACCEPTEDMESSAGESFILTER._serialized_options = b'\212\347\260*\033wasm/AcceptedMessagesFilter\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX' - _CONTRACTEXECUTIONAUTHORIZATION._serialized_start=178 - _CONTRACTEXECUTIONAUTHORIZATION._serialized_end=350 - _CONTRACTMIGRATIONAUTHORIZATION._serialized_start=353 - _CONTRACTMIGRATIONAUTHORIZATION._serialized_end=525 - _CONTRACTGRANT._serialized_start=528 - _CONTRACTGRANT._serialized_end=721 - _MAXCALLSLIMIT._serialized_start=723 - _MAXCALLSLIMIT._serialized_end=822 - _MAXFUNDSLIMIT._serialized_start=825 - _MAXFUNDSLIMIT._serialized_end=1004 - _COMBINEDLIMIT._serialized_start=1007 - _COMBINEDLIMIT._serialized_end=1211 - _ALLOWALLMESSAGESFILTER._serialized_start=1213 - _ALLOWALLMESSAGESFILTER._serialized_end=1312 - _ACCEPTEDMESSAGEKEYSFILTER._serialized_start=1314 - _ACCEPTEDMESSAGEKEYSFILTER._serialized_end=1433 - _ACCEPTEDMESSAGESFILTER._serialized_start=1436 - _ACCEPTEDMESSAGESFILTER._serialized_end=1577 + _ACCEPTEDMESSAGESFILTER._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter' + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=178 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=350 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=353 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=525 + _globals['_CONTRACTGRANT']._serialized_start=528 + _globals['_CONTRACTGRANT']._serialized_end=721 + _globals['_MAXCALLSLIMIT']._serialized_start=723 + _globals['_MAXCALLSLIMIT']._serialized_end=822 + _globals['_MAXFUNDSLIMIT']._serialized_start=825 + _globals['_MAXFUNDSLIMIT']._serialized_end=1004 + _globals['_COMBINEDLIMIT']._serialized_start=1007 + _globals['_COMBINEDLIMIT']._serialized_end=1211 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1213 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1312 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1314 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1433 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1436 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=1577 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py index 12471e82..18e31e46 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmwasm/wasm/v1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +16,11 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xaa\x02\n\x0cGenesisState\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x43\n\x05\x63odes\x18\x02 \x03(\x0b\x32\x16.cosmwasm.wasm.v1.CodeB\x1c\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xea\xde\x1f\x0f\x63odes,omitempty\x12O\n\tcontracts\x18\x03 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.ContractB \xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xea\xde\x1f\x13\x63ontracts,omitempty\x12O\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xea\xde\x1f\x13sequences,omitempty\"\x81\x01\n\x04\x43ode\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x38\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x12\n\ncode_bytes\x18\x03 \x01(\x0c\x12\x0e\n\x06pinned\x18\x04 \x01(\x08\"\xf8\x01\n\x08\x43ontract\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12@\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12:\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12T\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"4\n\x08Sequence\x12\x19\n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKey\x12\r\n\x05value\x18\x02 \x01(\x04\x42(Z&github.com/CosmWasm/wasmd/x/wasm/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xaa\x02\n\x0cGenesisState\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x43\n\x05\x63odes\x18\x02 \x03(\x0b\x32\x16.cosmwasm.wasm.v1.CodeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x0f\x63odes,omitempty\xa8\xe7\xb0*\x01\x12O\n\tcontracts\x18\x03 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.ContractB \xc8\xde\x1f\x00\xea\xde\x1f\x13\x63ontracts,omitempty\xa8\xe7\xb0*\x01\x12O\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01\"\x81\x01\n\x04\x43ode\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x38\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x12\n\ncode_bytes\x18\x03 \x01(\x0c\x12\x0e\n\x06pinned\x18\x04 \x01(\x08\"\xf8\x01\n\x08\x43ontract\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12@\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12:\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12T\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"4\n\x08Sequence\x12\x19\n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKey\x12\r\n\x05value\x18\x02 \x01(\x04\x42(Z&github.com/CosmWasm/wasmd/x/wasm/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -27,11 +28,11 @@ _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' _GENESISSTATE.fields_by_name['codes']._options = None - _GENESISSTATE.fields_by_name['codes']._serialized_options = b'\310\336\037\000\250\347\260*\001\352\336\037\017codes,omitempty' + _GENESISSTATE.fields_by_name['codes']._serialized_options = b'\310\336\037\000\352\336\037\017codes,omitempty\250\347\260*\001' _GENESISSTATE.fields_by_name['contracts']._options = None - _GENESISSTATE.fields_by_name['contracts']._serialized_options = b'\310\336\037\000\250\347\260*\001\352\336\037\023contracts,omitempty' + _GENESISSTATE.fields_by_name['contracts']._serialized_options = b'\310\336\037\000\352\336\037\023contracts,omitempty\250\347\260*\001' _GENESISSTATE.fields_by_name['sequences']._options = None - _GENESISSTATE.fields_by_name['sequences']._serialized_options = b'\310\336\037\000\250\347\260*\001\352\336\037\023sequences,omitempty' + _GENESISSTATE.fields_by_name['sequences']._serialized_options = b'\310\336\037\000\352\336\037\023sequences,omitempty\250\347\260*\001' _CODE.fields_by_name['code_id']._options = None _CODE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _CODE.fields_by_name['code_info']._options = None @@ -44,12 +45,12 @@ _CONTRACT.fields_by_name['contract_code_history']._serialized_options = b'\310\336\037\000\250\347\260*\001' _SEQUENCE.fields_by_name['id_key']._options = None _SEQUENCE.fields_by_name['id_key']._serialized_options = b'\342\336\037\005IDKey' - _GENESISSTATE._serialized_start=124 - _GENESISSTATE._serialized_end=422 - _CODE._serialized_start=425 - _CODE._serialized_end=554 - _CONTRACT._serialized_start=557 - _CONTRACT._serialized_end=805 - _SEQUENCE._serialized_start=807 - _SEQUENCE._serialized_end=859 + _globals['_GENESISSTATE']._serialized_start=124 + _globals['_GENESISSTATE']._serialized_end=422 + _globals['_CODE']._serialized_start=425 + _globals['_CODE']._serialized_end=554 + _globals['_CONTRACT']._serialized_start=557 + _globals['_CONTRACT']._serialized_end=805 + _globals['_SEQUENCE']._serialized_start=807 + _globals['_SEQUENCE']._serialized_end=859 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py index 31615fbb..52f15f4f 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmwasm/wasm/v1/ibc.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmwasm/wasm/v1/ibc.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\"\xb2\x01\n\nMsgIBCSend\x12*\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"\x12\x31\n\x0etimeout_height\x18\x04 \x01(\x04\x42\x19\xf2\xde\x1f\x15yaml:\"timeout_height\"\x12\x37\n\x11timeout_timestamp\x18\x05 \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:\"timeout_timestamp\"\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\"&\n\x12MsgIBCSendResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04\"@\n\x12MsgIBCCloseChannel\x12*\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"B,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.ibc_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.ibc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -30,10 +31,10 @@ _MSGIBCSEND.fields_by_name['timeout_timestamp']._serialized_options = b'\362\336\037\030yaml:\"timeout_timestamp\"' _MSGIBCCLOSECHANNEL.fields_by_name['channel']._options = None _MSGIBCCLOSECHANNEL.fields_by_name['channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' - _MSGIBCSEND._serialized_start=71 - _MSGIBCSEND._serialized_end=249 - _MSGIBCSENDRESPONSE._serialized_start=251 - _MSGIBCSENDRESPONSE._serialized_end=289 - _MSGIBCCLOSECHANNEL._serialized_start=291 - _MSGIBCCLOSECHANNEL._serialized_end=355 + _globals['_MSGIBCSEND']._serialized_start=71 + _globals['_MSGIBCSEND']._serialized_end=249 + _globals['_MSGIBCSENDRESPONSE']._serialized_start=251 + _globals['_MSGIBCSENDRESPONSE']._serialized_end=289 + _globals['_MSGIBCCLOSECHANNEL']._serialized_start=291 + _globals['_MSGIBCCLOSECHANNEL']._serialized_end=355 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py index 02254d9c..49b6692c 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmwasm/wasm/v1/proposal.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,56 +18,57 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmwasm/wasm/v1/proposal.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xc2\x02\n\x11StoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x08 \x01(\x08\x12\x0e\n\x06source\x18\t \x01(\t\x12\x0f\n\x07\x62uilder\x18\n \x01(\t\x12\x11\n\tcode_hash\x18\x0b \x01(\x0c:;\x18\x01\x8a\xe7\xb0*\x16wasm/StoreCodeProposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\xd9\x02\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:E\x18\x01\x8a\xe7\xb0* wasm/InstantiateContractProposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xfa\x02\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x0c\n\x04salt\x18\t \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\n \x01(\x08:F\x18\x01\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd4\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x06 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:A\x18\x01\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb1\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:>\x18\x01\x8a\xe7\xb0*\x19wasm/SudoContractProposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa8\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:A\x18\x01\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb3\x01\n\x13UpdateAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\'\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\"\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t:=\x18\x01\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x88\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:<\x18\x01\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xce\x01\n\x10PinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"::\x18\x01\x8a\xe7\xb0*\x15wasm/PinCodesProposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd2\x01\n\x12UnpinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":<\x18\x01\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x02\n\x1fUpdateInstantiateConfigProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12N\n\x15\x61\x63\x63\x65ss_config_updates\x18\x03 \x03(\x0b\x32$.cosmwasm.wasm.v1.AccessConfigUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:I\x18\x01\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xfe\x03\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x06 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x07 \x01(\t\x12\r\n\x05label\x18\x08 \x01(\t\x12#\n\x03msg\x18\t \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0c \x01(\t\x12\x11\n\tcode_hash\x18\r \x01(\x0c:M\x18\x01\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposal\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB4Z&github.com/CosmWasm/wasmd/x/wasm/types\xd8\xe1\x1e\x00\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmwasm/wasm/v1/proposal.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xc2\x02\n\x11StoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x08 \x01(\x08\x12\x0e\n\x06source\x18\t \x01(\t\x12\x0f\n\x07\x62uilder\x18\n \x01(\t\x12\x11\n\tcode_hash\x18\x0b \x01(\x0c:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\xd9\x02\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\xfa\x02\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\t \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\n \x01(\x08:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xd4\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x06 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xb1\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xa8\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\xb3\x01\n\x13UpdateAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\'\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\"\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\x88\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xce\x01\n\x10PinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xd2\x01\n\x12UnpinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x02\n\x1fUpdateInstantiateConfigProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12N\n\x15\x61\x63\x63\x65ss_config_updates\x18\x03 \x03(\x0b\x32$.cosmwasm.wasm.v1.AccessConfigUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\xfe\x03\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x06 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x07 \x01(\t\x12\r\n\x05label\x18\x08 \x01(\t\x12#\n\x03msg\x18\t \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0c \x01(\t\x12\x11\n\tcode_hash\x18\r \x01(\x0c:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB4Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\330\341\036\000\310\341\036\000\250\342\036\001' + DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\330\341\036\000\250\342\036\001' _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._options = None _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' _STORECODEPROPOSAL._options = None - _STORECODEPROPOSAL._serialized_options = b'\030\001\212\347\260*\026wasm/StoreCodeProposal\312\264-\032cosmos.gov.v1beta1.Content' + _STORECODEPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _INSTANTIATECONTRACTPROPOSAL._options = None - _INSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\212\347\260* wasm/InstantiateContractProposal\312\264-\032cosmos.gov.v1beta1.Content' + _INSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._options = None _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._options = None _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _INSTANTIATECONTRACT2PROPOSAL._options = None - _INSTANTIATECONTRACT2PROPOSAL._serialized_options = b'\030\001\212\347\260*!wasm/InstantiateContract2Proposal\312\264-\032cosmos.gov.v1beta1.Content' + _INSTANTIATECONTRACT2PROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._options = None _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MIGRATECONTRACTPROPOSAL._options = None - _MIGRATECONTRACTPROPOSAL._serialized_options = b'\030\001\212\347\260*\034wasm/MigrateContractProposal\312\264-\032cosmos.gov.v1beta1.Content' + _MIGRATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._options = None _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _SUDOCONTRACTPROPOSAL._options = None - _SUDOCONTRACTPROPOSAL._serialized_options = b'\030\001\212\347\260*\031wasm/SudoContractProposal\312\264-\032cosmos.gov.v1beta1.Content' + _SUDOCONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._options = None _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _EXECUTECONTRACTPROPOSAL._options = None - _EXECUTECONTRACTPROPOSAL._serialized_options = b'\030\001\212\347\260*\034wasm/ExecuteContractProposal\312\264-\032cosmos.gov.v1beta1.Content' + _EXECUTECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._options = None _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"' _UPDATEADMINPROPOSAL._options = None - _UPDATEADMINPROPOSAL._serialized_options = b'\030\001\212\347\260*\030wasm/UpdateAdminProposal\312\264-\032cosmos.gov.v1beta1.Content' + _UPDATEADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' _CLEARADMINPROPOSAL._options = None - _CLEARADMINPROPOSAL._serialized_options = b'\030\001\212\347\260*\027wasm/ClearAdminProposal\312\264-\032cosmos.gov.v1beta1.Content' + _CLEARADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' _PINCODESPROPOSAL.fields_by_name['title']._options = None _PINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' _PINCODESPROPOSAL.fields_by_name['description']._options = None @@ -75,7 +76,7 @@ _PINCODESPROPOSAL.fields_by_name['code_ids']._options = None _PINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' _PINCODESPROPOSAL._options = None - _PINCODESPROPOSAL._serialized_options = b'\030\001\212\347\260*\025wasm/PinCodesProposal\312\264-\032cosmos.gov.v1beta1.Content' + _PINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' _UNPINCODESPROPOSAL.fields_by_name['title']._options = None _UNPINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' _UNPINCODESPROPOSAL.fields_by_name['description']._options = None @@ -83,7 +84,7 @@ _UNPINCODESPROPOSAL.fields_by_name['code_ids']._options = None _UNPINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' _UNPINCODESPROPOSAL._options = None - _UNPINCODESPROPOSAL._serialized_options = b'\030\001\212\347\260*\027wasm/UnpinCodesProposal\312\264-\032cosmos.gov.v1beta1.Content' + _UNPINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' _ACCESSCONFIGUPDATE.fields_by_name['code_id']._options = None _ACCESSCONFIGUPDATE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._options = None @@ -95,39 +96,39 @@ _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._options = None _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' _UPDATEINSTANTIATECONFIGPROPOSAL._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_options = b'\030\001\212\347\260*$wasm/UpdateInstantiateConfigProposal\312\264-\032cosmos.gov.v1beta1.Content' + _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._options = None _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _STOREANDINSTANTIATECONTRACTPROPOSAL._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\212\347\260*(wasm/StoreAndInstantiateContractProposal\312\264-\032cosmos.gov.v1beta1.Content' - _STORECODEPROPOSAL._serialized_start=184 - _STORECODEPROPOSAL._serialized_end=506 - _INSTANTIATECONTRACTPROPOSAL._serialized_start=509 - _INSTANTIATECONTRACTPROPOSAL._serialized_end=854 - _INSTANTIATECONTRACT2PROPOSAL._serialized_start=857 - _INSTANTIATECONTRACT2PROPOSAL._serialized_end=1235 - _MIGRATECONTRACTPROPOSAL._serialized_start=1238 - _MIGRATECONTRACTPROPOSAL._serialized_end=1450 - _SUDOCONTRACTPROPOSAL._serialized_start=1453 - _SUDOCONTRACTPROPOSAL._serialized_end=1630 - _EXECUTECONTRACTPROPOSAL._serialized_start=1633 - _EXECUTECONTRACTPROPOSAL._serialized_end=1929 - _UPDATEADMINPROPOSAL._serialized_start=1932 - _UPDATEADMINPROPOSAL._serialized_end=2111 - _CLEARADMINPROPOSAL._serialized_start=2114 - _CLEARADMINPROPOSAL._serialized_end=2250 - _PINCODESPROPOSAL._serialized_start=2253 - _PINCODESPROPOSAL._serialized_end=2459 - _UNPINCODESPROPOSAL._serialized_start=2462 - _UNPINCODESPROPOSAL._serialized_end=2672 - _ACCESSCONFIGUPDATE._serialized_start=2674 - _ACCESSCONFIGUPDATE._serialized_end=2798 - _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_start=2801 - _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_end=3067 - _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_start=3070 - _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_end=3580 + _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' + _globals['_STORECODEPROPOSAL']._serialized_start=184 + _globals['_STORECODEPROPOSAL']._serialized_end=506 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=509 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=854 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=857 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1235 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1238 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1450 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1453 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=1630 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=1633 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=1929 + _globals['_UPDATEADMINPROPOSAL']._serialized_start=1932 + _globals['_UPDATEADMINPROPOSAL']._serialized_end=2111 + _globals['_CLEARADMINPROPOSAL']._serialized_start=2114 + _globals['_CLEARADMINPROPOSAL']._serialized_end=2250 + _globals['_PINCODESPROPOSAL']._serialized_start=2253 + _globals['_PINCODESPROPOSAL']._serialized_end=2459 + _globals['_UNPINCODESPROPOSAL']._serialized_start=2462 + _globals['_UNPINCODESPROPOSAL']._serialized_end=2672 + _globals['_ACCESSCONFIGUPDATE']._serialized_start=2674 + _globals['_ACCESSCONFIGUPDATE']._serialized_end=2798 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=2801 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3067 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=3070 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=3580 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py index cc2ee0d3..bd8315e3 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmwasm/wasm/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +18,17 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\"+\n\x18QueryContractInfoRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"|\n\x19QueryContractInfoResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12H\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\x11\xd0\xde\x1f\x01\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xea\xde\x1f\x00:\x04\xe8\xa0\x1f\x01\"j\n\x1bQueryContractHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa3\x01\n\x1cQueryContractHistoryResponse\x12\x46\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"j\n\x1bQueryContractsByCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"n\n\x1cQueryContractsByCodeResponse\x12\x11\n\tcontracts\x18\x01 \x03(\t\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"k\n\x1cQueryAllContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n\x1dQueryAllContractStateResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"C\n\x1cQueryRawContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x12\n\nquery_data\x18\x02 \x01(\x0c\"-\n\x1dQueryRawContractStateResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"]\n\x1eQuerySmartContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12*\n\nquery_data\x18\x02 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"G\n\x1fQuerySmartContractStateResponse\x12$\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"#\n\x10QueryCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\"\xec\x01\n\x10\x43odeInfoResponse\x12!\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02id\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12G\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12I\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"r\n\x11QueryCodeResponse\x12?\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00\x12\x16\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"O\n\x11QueryCodesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x94\x01\n\x12QueryCodesResponse\x12\x41\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"U\n\x17QueryPinnedCodesRequest\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"v\n\x18QueryPinnedCodesResponse\x12\x1d\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDs\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"J\n\x13QueryParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"u\n\x1eQueryContractsByCreatorRequest\x12\x17\n\x0f\x63reator_address\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"z\n\x1fQueryContractsByCreatorResponse\x12\x1a\n\x12\x63ontract_addresses\x18\x01 \x03(\t\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xc3\r\n\x05Query\x12\x95\x01\n\x0c\x43ontractInfo\x12*.cosmwasm.wasm.v1.QueryContractInfoRequest\x1a+.cosmwasm.wasm.v1.QueryContractInfoResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmwasm/wasm/v1/contract/{address}\x12\xa6\x01\n\x0f\x43ontractHistory\x12-.cosmwasm.wasm.v1.QueryContractHistoryRequest\x1a..cosmwasm.wasm.v1.QueryContractHistoryResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmwasm/wasm/v1/contract/{address}/history\x12\xa4\x01\n\x0f\x43ontractsByCode\x12-.cosmwasm.wasm.v1.QueryContractsByCodeRequest\x1a..cosmwasm.wasm.v1.QueryContractsByCodeResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/code/{code_id}/contracts\x12\xa7\x01\n\x10\x41llContractState\x12..cosmwasm.wasm.v1.QueryAllContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryAllContractStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/contract/{address}/state\x12\xb2\x01\n\x10RawContractState\x12..cosmwasm.wasm.v1.QueryRawContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryRawContractStateResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}\x12\xba\x01\n\x12SmartContractState\x12\x30.cosmwasm.wasm.v1.QuerySmartContractStateRequest\x1a\x31.cosmwasm.wasm.v1.QuerySmartContractStateResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}\x12y\n\x04\x43ode\x12\".cosmwasm.wasm.v1.QueryCodeRequest\x1a#.cosmwasm.wasm.v1.QueryCodeResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmwasm/wasm/v1/code/{code_id}\x12r\n\x05\x43odes\x12#.cosmwasm.wasm.v1.QueryCodesRequest\x1a$.cosmwasm.wasm.v1.QueryCodesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmwasm/wasm/v1/code\x12\x8c\x01\n\x0bPinnedCodes\x12).cosmwasm.wasm.v1.QueryPinnedCodesRequest\x1a*.cosmwasm.wasm.v1.QueryPinnedCodesResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/pinned\x12}\n\x06Params\x12$.cosmwasm.wasm.v1.QueryParamsRequest\x1a%.cosmwasm.wasm.v1.QueryParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/params\x12\xb8\x01\n\x12\x43ontractsByCreator\x12\x30.cosmwasm.wasm.v1.QueryContractsByCreatorRequest\x1a\x31.cosmwasm.wasm.v1.QueryContractsByCreatorResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contracts/creator/{creator_address}B0Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\"+\n\x18QueryContractInfoRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"|\n\x19QueryContractInfoResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12H\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\x11\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xea\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01\"j\n\x1bQueryContractHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa3\x01\n\x1cQueryContractHistoryResponse\x12\x46\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"j\n\x1bQueryContractsByCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"n\n\x1cQueryContractsByCodeResponse\x12\x11\n\tcontracts\x18\x01 \x03(\t\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"k\n\x1cQueryAllContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n\x1dQueryAllContractStateResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"C\n\x1cQueryRawContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x12\n\nquery_data\x18\x02 \x01(\x0c\"-\n\x1dQueryRawContractStateResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"]\n\x1eQuerySmartContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12*\n\nquery_data\x18\x02 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"G\n\x1fQuerySmartContractStateResponse\x12$\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"#\n\x10QueryCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\"\xec\x01\n\x10\x43odeInfoResponse\x12!\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02id\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12G\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12I\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"r\n\x11QueryCodeResponse\x12?\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00\x12\x16\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"O\n\x11QueryCodesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x94\x01\n\x12QueryCodesResponse\x12\x41\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"U\n\x17QueryPinnedCodesRequest\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"v\n\x18QueryPinnedCodesResponse\x12\x1d\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDs\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"J\n\x13QueryParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"u\n\x1eQueryContractsByCreatorRequest\x12\x17\n\x0f\x63reator_address\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"z\n\x1fQueryContractsByCreatorResponse\x12\x1a\n\x12\x63ontract_addresses\x18\x01 \x03(\t\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xc3\r\n\x05Query\x12\x95\x01\n\x0c\x43ontractInfo\x12*.cosmwasm.wasm.v1.QueryContractInfoRequest\x1a+.cosmwasm.wasm.v1.QueryContractInfoResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmwasm/wasm/v1/contract/{address}\x12\xa6\x01\n\x0f\x43ontractHistory\x12-.cosmwasm.wasm.v1.QueryContractHistoryRequest\x1a..cosmwasm.wasm.v1.QueryContractHistoryResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmwasm/wasm/v1/contract/{address}/history\x12\xa4\x01\n\x0f\x43ontractsByCode\x12-.cosmwasm.wasm.v1.QueryContractsByCodeRequest\x1a..cosmwasm.wasm.v1.QueryContractsByCodeResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/code/{code_id}/contracts\x12\xa7\x01\n\x10\x41llContractState\x12..cosmwasm.wasm.v1.QueryAllContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryAllContractStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/contract/{address}/state\x12\xb2\x01\n\x10RawContractState\x12..cosmwasm.wasm.v1.QueryRawContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryRawContractStateResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}\x12\xba\x01\n\x12SmartContractState\x12\x30.cosmwasm.wasm.v1.QuerySmartContractStateRequest\x1a\x31.cosmwasm.wasm.v1.QuerySmartContractStateResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}\x12y\n\x04\x43ode\x12\".cosmwasm.wasm.v1.QueryCodeRequest\x1a#.cosmwasm.wasm.v1.QueryCodeResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmwasm/wasm/v1/code/{code_id}\x12r\n\x05\x43odes\x12#.cosmwasm.wasm.v1.QueryCodesRequest\x1a$.cosmwasm.wasm.v1.QueryCodesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmwasm/wasm/v1/code\x12\x8c\x01\n\x0bPinnedCodes\x12).cosmwasm.wasm.v1.QueryPinnedCodesRequest\x1a*.cosmwasm.wasm.v1.QueryPinnedCodesResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/pinned\x12}\n\x06Params\x12$.cosmwasm.wasm.v1.QueryParamsRequest\x1a%.cosmwasm.wasm.v1.QueryParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/params\x12\xb8\x01\n\x12\x43ontractsByCreator\x12\x30.cosmwasm.wasm.v1.QueryContractsByCreatorRequest\x1a\x31.cosmwasm.wasm.v1.QueryContractsByCreatorResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contracts/creator/{creator_address}B0Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\250\342\036\000' _QUERYCONTRACTINFORESPONSE.fields_by_name['contract_info']._options = None - _QUERYCONTRACTINFORESPONSE.fields_by_name['contract_info']._serialized_options = b'\320\336\037\001\310\336\037\000\250\347\260*\001\352\336\037\000' + _QUERYCONTRACTINFORESPONSE.fields_by_name['contract_info']._serialized_options = b'\310\336\037\000\320\336\037\001\352\336\037\000\250\347\260*\001' _QUERYCONTRACTINFORESPONSE._options = None _QUERYCONTRACTINFORESPONSE._serialized_options = b'\350\240\037\001' _QUERYCONTRACTHISTORYRESPONSE.fields_by_name['entries']._options = None @@ -80,52 +81,52 @@ _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/params' _QUERY.methods_by_name['ContractsByCreator']._options = None _QUERY.methods_by_name['ContractsByCreator']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contracts/creator/{creator_address}' - _QUERYCONTRACTINFOREQUEST._serialized_start=195 - _QUERYCONTRACTINFOREQUEST._serialized_end=238 - _QUERYCONTRACTINFORESPONSE._serialized_start=240 - _QUERYCONTRACTINFORESPONSE._serialized_end=364 - _QUERYCONTRACTHISTORYREQUEST._serialized_start=366 - _QUERYCONTRACTHISTORYREQUEST._serialized_end=472 - _QUERYCONTRACTHISTORYRESPONSE._serialized_start=475 - _QUERYCONTRACTHISTORYRESPONSE._serialized_end=638 - _QUERYCONTRACTSBYCODEREQUEST._serialized_start=640 - _QUERYCONTRACTSBYCODEREQUEST._serialized_end=746 - _QUERYCONTRACTSBYCODERESPONSE._serialized_start=748 - _QUERYCONTRACTSBYCODERESPONSE._serialized_end=858 - _QUERYALLCONTRACTSTATEREQUEST._serialized_start=860 - _QUERYALLCONTRACTSTATEREQUEST._serialized_end=967 - _QUERYALLCONTRACTSTATERESPONSE._serialized_start=970 - _QUERYALLCONTRACTSTATERESPONSE._serialized_end=1114 - _QUERYRAWCONTRACTSTATEREQUEST._serialized_start=1116 - _QUERYRAWCONTRACTSTATEREQUEST._serialized_end=1183 - _QUERYRAWCONTRACTSTATERESPONSE._serialized_start=1185 - _QUERYRAWCONTRACTSTATERESPONSE._serialized_end=1230 - _QUERYSMARTCONTRACTSTATEREQUEST._serialized_start=1232 - _QUERYSMARTCONTRACTSTATEREQUEST._serialized_end=1325 - _QUERYSMARTCONTRACTSTATERESPONSE._serialized_start=1327 - _QUERYSMARTCONTRACTSTATERESPONSE._serialized_end=1398 - _QUERYCODEREQUEST._serialized_start=1400 - _QUERYCODEREQUEST._serialized_end=1435 - _CODEINFORESPONSE._serialized_start=1438 - _CODEINFORESPONSE._serialized_end=1674 - _QUERYCODERESPONSE._serialized_start=1676 - _QUERYCODERESPONSE._serialized_end=1790 - _QUERYCODESREQUEST._serialized_start=1792 - _QUERYCODESREQUEST._serialized_end=1871 - _QUERYCODESRESPONSE._serialized_start=1874 - _QUERYCODESRESPONSE._serialized_end=2022 - _QUERYPINNEDCODESREQUEST._serialized_start=2024 - _QUERYPINNEDCODESREQUEST._serialized_end=2109 - _QUERYPINNEDCODESRESPONSE._serialized_start=2111 - _QUERYPINNEDCODESRESPONSE._serialized_end=2229 - _QUERYPARAMSREQUEST._serialized_start=2231 - _QUERYPARAMSREQUEST._serialized_end=2251 - _QUERYPARAMSRESPONSE._serialized_start=2253 - _QUERYPARAMSRESPONSE._serialized_end=2327 - _QUERYCONTRACTSBYCREATORREQUEST._serialized_start=2329 - _QUERYCONTRACTSBYCREATORREQUEST._serialized_end=2446 - _QUERYCONTRACTSBYCREATORRESPONSE._serialized_start=2448 - _QUERYCONTRACTSBYCREATORRESPONSE._serialized_end=2570 - _QUERY._serialized_start=2573 - _QUERY._serialized_end=4304 + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_start=195 + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_end=238 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_start=240 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_end=364 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_start=366 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_end=472 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_start=475 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_end=638 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_start=640 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_end=746 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_start=748 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_end=858 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_start=860 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_end=967 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_start=970 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_end=1114 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_start=1116 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_end=1183 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_start=1185 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_end=1230 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_start=1232 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_end=1325 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_start=1327 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_end=1398 + _globals['_QUERYCODEREQUEST']._serialized_start=1400 + _globals['_QUERYCODEREQUEST']._serialized_end=1435 + _globals['_CODEINFORESPONSE']._serialized_start=1438 + _globals['_CODEINFORESPONSE']._serialized_end=1674 + _globals['_QUERYCODERESPONSE']._serialized_start=1676 + _globals['_QUERYCODERESPONSE']._serialized_end=1790 + _globals['_QUERYCODESREQUEST']._serialized_start=1792 + _globals['_QUERYCODESREQUEST']._serialized_end=1871 + _globals['_QUERYCODESRESPONSE']._serialized_start=1874 + _globals['_QUERYCODESRESPONSE']._serialized_end=2022 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_start=2024 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_end=2109 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_start=2111 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_end=2229 + _globals['_QUERYPARAMSREQUEST']._serialized_start=2231 + _globals['_QUERYPARAMSREQUEST']._serialized_end=2251 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=2253 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=2327 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_start=2329 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_end=2446 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_start=2448 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_end=2570 + _globals['_QUERY']._serialized_start=2573 + _globals['_QUERY']._serialized_end=4304 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py index a10097d9..51a995ec 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmwasm/wasm/v1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +19,11 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb7\x01\n\x0cMsgStoreCode\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x8a\xe7\xb0*\x11wasm/MsgStoreCode\x82\xe7\xb0*\x06senderJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\x96\x02\n\x16MsgInstantiateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:+\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\x82\xe7\xb0*\x06sender\"?\n\x1eMsgInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb7\x02\n\x17MsgInstantiateContract2\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\x82\xe7\xb0*\x06sender\"@\n\x1fMsgInstantiateContract2Response\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xe5\x01\n\x12MsgExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins:\'\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\x82\xe7\xb0*\x06sender\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xa1\x01\n\x12MsgMigrateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\x82\xe7\xb0*\x06sender\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"j\n\x0eMsgUpdateAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:#\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\x82\xe7\xb0*\x06sender\"\x18\n\x16MsgUpdateAdminResponse\"U\n\rMsgClearAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:\"\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\x82\xe7\xb0*\x06sender\"\x17\n\x15MsgClearAdminResponse\"\xbe\x01\n\x1aMsgUpdateInstantiateConfig\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\x82\xe7\xb0*\x06sender\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x9e\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x8a\xe7\xb0*\x14wasm/MsgSudoContract\x82\xe7\xb0*\tauthority\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x8a\xe7\xb0*\x10wasm/MsgPinCodes\x82\xe7\xb0*\tauthority\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\x82\xe7\xb0*\tauthority\"\x17\n\x15MsgUnpinCodesResponse\"\xdb\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x06 \x01(\t\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\x82\xe7\xb0*\tauthority\"G\n&MsgStoreAndInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x32\xb5\n\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponseB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb7\x01\n\x0cMsgStoreCode\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\x96\x02\n\x16MsgInstantiateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"?\n\x1eMsgInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb7\x02\n\x17MsgInstantiateContract2\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"@\n\x1fMsgInstantiateContract2Response\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xe5\x01\n\x12MsgExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xa1\x01\n\x12MsgMigrateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"j\n\x0eMsgUpdateAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"U\n\rMsgClearAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\xbe\x01\n\x1aMsgUpdateInstantiateConfig\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9e\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xdb\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x06 \x01(\t\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"G\n&MsgStoreAndInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb0\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xb6\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse2\xdc\x0c\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponse\x12\x95\x01\n\x1fRemoveCodeUploadParamsAddresses\x12\x34.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses\x1a<.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse\x12\x8c\x01\n\x1c\x41\x64\x64\x43odeUploadParamsAddresses\x12\x31.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses\x1a\x39.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponseB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -30,7 +31,7 @@ _MSGSTORECODE.fields_by_name['wasm_byte_code']._options = None _MSGSTORECODE.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' _MSGSTORECODE._options = None - _MSGSTORECODE._serialized_options = b'\212\347\260*\021wasm/MsgStoreCode\202\347\260*\006sender' + _MSGSTORECODE._serialized_options = b'\202\347\260*\006sender\212\347\260*\021wasm/MsgStoreCode' _MSGSTORECODERESPONSE.fields_by_name['code_id']._options = None _MSGSTORECODERESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGINSTANTIATECONTRACT.fields_by_name['code_id']._options = None @@ -38,61 +39,61 @@ _MSGINSTANTIATECONTRACT.fields_by_name['msg']._options = None _MSGINSTANTIATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGINSTANTIATECONTRACT.fields_by_name['funds']._options = None - _MSGINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGINSTANTIATECONTRACT._options = None - _MSGINSTANTIATECONTRACT._serialized_options = b'\212\347\260*\033wasm/MsgInstantiateContract\202\347\260*\006sender' + _MSGINSTANTIATECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgInstantiateContract' _MSGINSTANTIATECONTRACT2.fields_by_name['code_id']._options = None _MSGINSTANTIATECONTRACT2.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGINSTANTIATECONTRACT2.fields_by_name['msg']._options = None _MSGINSTANTIATECONTRACT2.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGINSTANTIATECONTRACT2.fields_by_name['funds']._options = None - _MSGINSTANTIATECONTRACT2.fields_by_name['funds']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGINSTANTIATECONTRACT2.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGINSTANTIATECONTRACT2._options = None - _MSGINSTANTIATECONTRACT2._serialized_options = b'\212\347\260*\034wasm/MsgInstantiateContract2\202\347\260*\006sender' + _MSGINSTANTIATECONTRACT2._serialized_options = b'\202\347\260*\006sender\212\347\260*\034wasm/MsgInstantiateContract2' _MSGEXECUTECONTRACT.fields_by_name['msg']._options = None _MSGEXECUTECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGEXECUTECONTRACT.fields_by_name['funds']._options = None - _MSGEXECUTECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGEXECUTECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGEXECUTECONTRACT._options = None - _MSGEXECUTECONTRACT._serialized_options = b'\212\347\260*\027wasm/MsgExecuteContract\202\347\260*\006sender' + _MSGEXECUTECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgExecuteContract' _MSGMIGRATECONTRACT.fields_by_name['code_id']._options = None _MSGMIGRATECONTRACT.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGMIGRATECONTRACT.fields_by_name['msg']._options = None _MSGMIGRATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGMIGRATECONTRACT._options = None - _MSGMIGRATECONTRACT._serialized_options = b'\212\347\260*\027wasm/MsgMigrateContract\202\347\260*\006sender' + _MSGMIGRATECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgMigrateContract' _MSGUPDATEADMIN._options = None - _MSGUPDATEADMIN._serialized_options = b'\212\347\260*\023wasm/MsgUpdateAdmin\202\347\260*\006sender' + _MSGUPDATEADMIN._serialized_options = b'\202\347\260*\006sender\212\347\260*\023wasm/MsgUpdateAdmin' _MSGCLEARADMIN._options = None - _MSGCLEARADMIN._serialized_options = b'\212\347\260*\022wasm/MsgClearAdmin\202\347\260*\006sender' + _MSGCLEARADMIN._serialized_options = b'\202\347\260*\006sender\212\347\260*\022wasm/MsgClearAdmin' _MSGUPDATEINSTANTIATECONFIG.fields_by_name['code_id']._options = None _MSGUPDATEINSTANTIATECONFIG.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGUPDATEINSTANTIATECONFIG._options = None - _MSGUPDATEINSTANTIATECONFIG._serialized_options = b'\212\347\260*\037wasm/MsgUpdateInstantiateConfig\202\347\260*\006sender' + _MSGUPDATEINSTANTIATECONFIG._serialized_options = b'\202\347\260*\006sender\212\347\260*\037wasm/MsgUpdateInstantiateConfig' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEPARAMS.fields_by_name['params']._options = None _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\212\347\260*\024wasm/MsgUpdateParams\202\347\260*\tauthority' + _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgUpdateParams' _MSGSUDOCONTRACT.fields_by_name['authority']._options = None _MSGSUDOCONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSUDOCONTRACT.fields_by_name['msg']._options = None _MSGSUDOCONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGSUDOCONTRACT._options = None - _MSGSUDOCONTRACT._serialized_options = b'\212\347\260*\024wasm/MsgSudoContract\202\347\260*\tauthority' + _MSGSUDOCONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgSudoContract' _MSGPINCODES.fields_by_name['authority']._options = None _MSGPINCODES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGPINCODES.fields_by_name['code_ids']._options = None _MSGPINCODES.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' _MSGPINCODES._options = None - _MSGPINCODES._serialized_options = b'\212\347\260*\020wasm/MsgPinCodes\202\347\260*\tauthority' + _MSGPINCODES._serialized_options = b'\202\347\260*\tauthority\212\347\260*\020wasm/MsgPinCodes' _MSGUNPINCODES.fields_by_name['authority']._options = None _MSGUNPINCODES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUNPINCODES.fields_by_name['code_ids']._options = None _MSGUNPINCODES.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' _MSGUNPINCODES._options = None - _MSGUNPINCODES._serialized_options = b'\212\347\260*\022wasm/MsgUnpinCodes\202\347\260*\tauthority' + _MSGUNPINCODES._serialized_options = b'\202\347\260*\tauthority\212\347\260*\022wasm/MsgUnpinCodes' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['authority']._options = None _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['wasm_byte_code']._options = None @@ -100,61 +101,81 @@ _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['msg']._options = None _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['funds']._options = None - _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\250\347\260*\001\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGSTOREANDINSTANTIATECONTRACT._options = None - _MSGSTOREANDINSTANTIATECONTRACT._serialized_options = b'\212\347\260*#wasm/MsgStoreAndInstantiateContract\202\347\260*\tauthority' - _MSGSTORECODE._serialized_start=203 - _MSGSTORECODE._serialized_end=386 - _MSGSTORECODERESPONSE._serialized_start=388 - _MSGSTORECODERESPONSE._serialized_end=457 - _MSGINSTANTIATECONTRACT._serialized_start=460 - _MSGINSTANTIATECONTRACT._serialized_end=738 - _MSGINSTANTIATECONTRACTRESPONSE._serialized_start=740 - _MSGINSTANTIATECONTRACTRESPONSE._serialized_end=803 - _MSGINSTANTIATECONTRACT2._serialized_start=806 - _MSGINSTANTIATECONTRACT2._serialized_end=1117 - _MSGINSTANTIATECONTRACT2RESPONSE._serialized_start=1119 - _MSGINSTANTIATECONTRACT2RESPONSE._serialized_end=1183 - _MSGEXECUTECONTRACT._serialized_start=1186 - _MSGEXECUTECONTRACT._serialized_end=1415 - _MSGEXECUTECONTRACTRESPONSE._serialized_start=1417 - _MSGEXECUTECONTRACTRESPONSE._serialized_end=1459 - _MSGMIGRATECONTRACT._serialized_start=1462 - _MSGMIGRATECONTRACT._serialized_end=1623 - _MSGMIGRATECONTRACTRESPONSE._serialized_start=1625 - _MSGMIGRATECONTRACTRESPONSE._serialized_end=1667 - _MSGUPDATEADMIN._serialized_start=1669 - _MSGUPDATEADMIN._serialized_end=1775 - _MSGUPDATEADMINRESPONSE._serialized_start=1777 - _MSGUPDATEADMINRESPONSE._serialized_end=1801 - _MSGCLEARADMIN._serialized_start=1803 - _MSGCLEARADMIN._serialized_end=1888 - _MSGCLEARADMINRESPONSE._serialized_start=1890 - _MSGCLEARADMINRESPONSE._serialized_end=1913 - _MSGUPDATEINSTANTIATECONFIG._serialized_start=1916 - _MSGUPDATEINSTANTIATECONFIG._serialized_end=2106 - _MSGUPDATEINSTANTIATECONFIGRESPONSE._serialized_start=2108 - _MSGUPDATEINSTANTIATECONFIGRESPONSE._serialized_end=2144 - _MSGUPDATEPARAMS._serialized_start=2147 - _MSGUPDATEPARAMS._serialized_end=2303 - _MSGUPDATEPARAMSRESPONSE._serialized_start=2305 - _MSGUPDATEPARAMSRESPONSE._serialized_end=2330 - _MSGSUDOCONTRACT._serialized_start=2333 - _MSGSUDOCONTRACT._serialized_end=2491 - _MSGSUDOCONTRACTRESPONSE._serialized_start=2493 - _MSGSUDOCONTRACTRESPONSE._serialized_end=2532 - _MSGPINCODES._serialized_start=2535 - _MSGPINCODES._serialized_end=2680 - _MSGPINCODESRESPONSE._serialized_start=2682 - _MSGPINCODESRESPONSE._serialized_end=2703 - _MSGUNPINCODES._serialized_start=2706 - _MSGUNPINCODES._serialized_end=2855 - _MSGUNPINCODESRESPONSE._serialized_start=2857 - _MSGUNPINCODESRESPONSE._serialized_end=2880 - _MSGSTOREANDINSTANTIATECONTRACT._serialized_start=2883 - _MSGSTOREANDINSTANTIATECONTRACT._serialized_end=3358 - _MSGSTOREANDINSTANTIATECONTRACTRESPONSE._serialized_start=3360 - _MSGSTOREANDINSTANTIATECONTRACTRESPONSE._serialized_end=3431 - _MSG._serialized_start=3434 - _MSG._serialized_end=4767 + _MSGSTOREANDINSTANTIATECONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract' + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._options = None + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._options = None + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _MSGADDCODEUPLOADPARAMSADDRESSES._options = None + _MSGADDCODEUPLOADPARAMSADDRESSES._serialized_options = b'\202\347\260*\tauthority\212\347\260*$wasm/MsgAddCodeUploadParamsAddresses' + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._options = None + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._options = None + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _MSGREMOVECODEUPLOADPARAMSADDRESSES._options = None + _MSGREMOVECODEUPLOADPARAMSADDRESSES._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'wasm/MsgRemoveCodeUploadParamsAddresses' + _globals['_MSGSTORECODE']._serialized_start=203 + _globals['_MSGSTORECODE']._serialized_end=386 + _globals['_MSGSTORECODERESPONSE']._serialized_start=388 + _globals['_MSGSTORECODERESPONSE']._serialized_end=457 + _globals['_MSGINSTANTIATECONTRACT']._serialized_start=460 + _globals['_MSGINSTANTIATECONTRACT']._serialized_end=738 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_start=740 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_end=803 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_start=806 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_end=1117 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_start=1119 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_end=1183 + _globals['_MSGEXECUTECONTRACT']._serialized_start=1186 + _globals['_MSGEXECUTECONTRACT']._serialized_end=1415 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_start=1417 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_end=1459 + _globals['_MSGMIGRATECONTRACT']._serialized_start=1462 + _globals['_MSGMIGRATECONTRACT']._serialized_end=1623 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_start=1625 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_end=1667 + _globals['_MSGUPDATEADMIN']._serialized_start=1669 + _globals['_MSGUPDATEADMIN']._serialized_end=1775 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_start=1777 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_end=1801 + _globals['_MSGCLEARADMIN']._serialized_start=1803 + _globals['_MSGCLEARADMIN']._serialized_end=1888 + _globals['_MSGCLEARADMINRESPONSE']._serialized_start=1890 + _globals['_MSGCLEARADMINRESPONSE']._serialized_end=1913 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=1916 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=2106 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=2108 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=2144 + _globals['_MSGUPDATEPARAMS']._serialized_start=2147 + _globals['_MSGUPDATEPARAMS']._serialized_end=2303 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2305 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2330 + _globals['_MSGSUDOCONTRACT']._serialized_start=2333 + _globals['_MSGSUDOCONTRACT']._serialized_end=2491 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=2493 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=2532 + _globals['_MSGPINCODES']._serialized_start=2535 + _globals['_MSGPINCODES']._serialized_end=2680 + _globals['_MSGPINCODESRESPONSE']._serialized_start=2682 + _globals['_MSGPINCODESRESPONSE']._serialized_end=2703 + _globals['_MSGUNPINCODES']._serialized_start=2706 + _globals['_MSGUNPINCODES']._serialized_end=2855 + _globals['_MSGUNPINCODESRESPONSE']._serialized_start=2857 + _globals['_MSGUNPINCODESRESPONSE']._serialized_end=2880 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=2883 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3358 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3360 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=3431 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=3434 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=3610 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=3612 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=3653 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=3656 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=3838 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=3840 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=3884 + _globals['_MSG']._serialized_start=3887 + _globals['_MSG']._serialized_end=5515 # @@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 ac3b86e9..d78c99ea 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py @@ -80,6 +80,16 @@ def __init__(self, channel): request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, ) + self.RemoveCodeUploadParamsAddresses = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, + ) + self.AddCodeUploadParamsAddresses = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, + ) class MsgServicer(object): @@ -194,6 +204,24 @@ def StoreAndInstantiateContract(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def RemoveCodeUploadParamsAddresses(self, request, context): + """RemoveCodeUploadParamsAddresses defines a governance operation for + removing addresses from code upload params. + The authority is defined in the keeper. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddCodeUploadParamsAddresses(self, request, context): + """AddCodeUploadParamsAddresses defines a governance operation for + adding addresses to code upload params. + The authority is defined in the keeper. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -262,6 +290,16 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.FromString, response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.SerializeToString, ), + 'RemoveCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( + servicer.RemoveCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.SerializeToString, + ), + 'AddCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( + servicer.AddCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'cosmwasm.wasm.v1.Msg', rpc_method_handlers) @@ -493,3 +531,37 @@ def StoreAndInstantiateContract(request, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def RemoveCodeUploadParamsAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def AddCodeUploadParamsAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py index edcc441e..afff5713 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cosmwasm/wasm/v1/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +17,11 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\x8c\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12\'\n\taddresses\x18\x03 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\xf2\xde\x1f\x19yaml:\"code_upload_access\"\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x81\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x90\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\r\n\x05\x61\x64min\x18\x03 \x01(\t\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c*\xf6\x01\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\"\x04\x08\x02\x10\x02*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\x8c\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12\'\n\taddresses\x18\x03 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"code_upload_access\"\xa8\xe7\xb0*\x01\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x81\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x90\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\r\n\x05\x61\x64min\x18\x03 \x01(\t\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c*\xf6\x01\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\"\x04\x08\x02\x10\x02*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -56,7 +57,7 @@ _ACCESSCONFIG._options = None _ACCESSCONFIG._serialized_options = b'\230\240\037\001' _PARAMS.fields_by_name['code_upload_access']._options = None - _PARAMS.fields_by_name['code_upload_access']._serialized_options = b'\310\336\037\000\250\347\260*\001\362\336\037\031yaml:\"code_upload_access\"' + _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' _PARAMS.fields_by_name['instantiate_default_permission']._options = None _PARAMS.fields_by_name['instantiate_default_permission']._serialized_options = b'\362\336\037%yaml:\"instantiate_default_permission\"' _PARAMS._options = None @@ -77,24 +78,24 @@ _CONTRACTCODEHISTORYENTRY.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MODEL.fields_by_name['key']._options = None _MODEL.fields_by_name['key']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' - _ACCESSTYPE._serialized_start=1388 - _ACCESSTYPE._serialized_end=1634 - _CONTRACTCODEHISTORYOPERATIONTYPE._serialized_start=1637 - _CONTRACTCODEHISTORYOPERATIONTYPE._serialized_end=2059 - _ACCESSTYPEPARAM._serialized_start=145 - _ACCESSTYPEPARAM._serialized_end=231 - _ACCESSCONFIG._serialized_start=234 - _ACCESSCONFIG._serialized_end=374 - _PARAMS._serialized_start=377 - _PARAMS._serialized_end=604 - _CODEINFO._serialized_start=607 - _CODEINFO._serialized_end=736 - _CONTRACTINFO._serialized_start=739 - _CONTRACTINFO._serialized_end=1011 - _CONTRACTCODEHISTORYENTRY._serialized_start=1014 - _CONTRACTCODEHISTORYENTRY._serialized_end=1232 - _ABSOLUTETXPOSITION._serialized_start=1234 - _ABSOLUTETXPOSITION._serialized_end=1294 - _MODEL._serialized_start=1296 - _MODEL._serialized_end=1385 + _globals['_ACCESSTYPE']._serialized_start=1388 + _globals['_ACCESSTYPE']._serialized_end=1634 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=1637 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2059 + _globals['_ACCESSTYPEPARAM']._serialized_start=145 + _globals['_ACCESSTYPEPARAM']._serialized_end=231 + _globals['_ACCESSCONFIG']._serialized_start=234 + _globals['_ACCESSCONFIG']._serialized_end=374 + _globals['_PARAMS']._serialized_start=377 + _globals['_PARAMS']._serialized_end=604 + _globals['_CODEINFO']._serialized_start=607 + _globals['_CODEINFO']._serialized_end=736 + _globals['_CONTRACTINFO']._serialized_start=739 + _globals['_CONTRACTINFO']._serialized_end=1011 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1014 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1232 + _globals['_ABSOLUTETXPOSITION']._serialized_start=1234 + _globals['_ABSOLUTETXPOSITION']._serialized_end=1294 + _globals['_MODEL']._serialized_start=1296 + _globals['_MODEL']._serialized_end=1385 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/event_provider_api_pb2.py b/pyinjective/proto/exchange/event_provider_api_pb2.py index 5f1acc37..c0879dc4 100644 --- a/pyinjective/proto/exchange/event_provider_api_pb2.py +++ b/pyinjective/proto/exchange/event_provider_api_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exchange/event_provider_api.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,34 +13,53 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!exchange/event_provider_api.proto\x12\x12\x65vent_provider_api\"\x18\n\x16GetLatestHeightRequest\"o\n\x17GetLatestHeightResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x33\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32%.event_provider_api.LatestBlockHeight\"#\n\x11LatestBlockHeight\x12\x0e\n\x06height\x18\x01 \x01(\x04\";\n\x18GetBlockEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"n\n\x19GetBlockEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC\"\xa5\x01\n\x0e\x42lockEventsRPC\x12\r\n\x05types\x18\x01 \x03(\t\x12\x0e\n\x06\x65vents\x18\x02 \x03(\x0c\x12\x43\n\ttx_hashes\x18\x03 \x03(\x0b\x32\x30.event_provider_api.BlockEventsRPC.TxHashesEntry\x1a/\n\rTxHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x11\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"L\n\x19GetCustomEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\x12\x0e\n\x06\x65vents\x18\x03 \x01(\t\"o\n\x1aGetCustomEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC2\xe5\x02\n\x10\x45ventProviderAPI\x12j\n\x0fGetLatestHeight\x12*.event_provider_api.GetLatestHeightRequest\x1a+.event_provider_api.GetLatestHeightResponse\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.GetCustomEventsRPCResponseB\x17Z\x15/event_provider_apipbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!exchange/event_provider_api.proto\x12\x12\x65vent_provider_api\"\x18\n\x16GetLatestHeightRequest\"o\n\x17GetLatestHeightResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x33\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32%.event_provider_api.LatestBlockHeight\"#\n\x11LatestBlockHeight\x12\x0e\n\x06height\x18\x01 \x01(\x04\";\n\x18StreamBlockEventsRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"F\n\x19StreamBlockEventsResponse\x12)\n\x06\x62locks\x18\x01 \x03(\x0b\x32\x19.event_provider_api.Block\"\x8d\x02\n\x05\x42lock\x12\x0e\n\x06height\x18\x01 \x01(\x12\x12\x0f\n\x07version\x18\x02 \x01(\t\x12.\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x1e.event_provider_api.BlockEvent\x12\x0f\n\x07in_sync\x18\x04 \x01(\x08\x12H\n\x11tx_hash_to_orders\x18\x05 \x03(\x0b\x32-.event_provider_api.Block.TxHashToOrdersEntry\x1aX\n\x13TxHashToOrdersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.event_provider_api.ArrayOfString:\x02\x38\x01\">\n\nBlockEvent\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x0f\n\x07tx_hash\x18\x03 \x01(\x0c\"\x1e\n\rArrayOfString\x12\r\n\x05\x66ield\x18\x01 \x03(\t\";\n\x18GetBlockEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"n\n\x19GetBlockEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC\"\xc5\x02\n\x0e\x42lockEventsRPC\x12\r\n\x05types\x18\x01 \x03(\t\x12\x0e\n\x06\x65vents\x18\x02 \x03(\x0c\x12\x43\n\ttx_hashes\x18\x03 \x03(\x0b\x32\x30.event_provider_api.BlockEventsRPC.TxHashesEntry\x12H\n\x0ctx_to_orders\x18\x04 \x03(\x0b\x32\x32.event_provider_api.BlockEventsRPC.TxToOrdersEntry\x1a/\n\rTxHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x11\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1aT\n\x0fTxToOrdersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.event_provider_api.ArrayOfString:\x02\x38\x01\"L\n\x19GetCustomEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\x12\x0e\n\x06\x65vents\x18\x03 \x01(\t\"o\n\x1aGetCustomEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC2\xd9\x03\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.GetCustomEventsRPCResponseB\x17Z\x15/event_provider_apipbb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.event_provider_api_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.event_provider_api_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\025/event_provider_apipb' + _BLOCK_TXHASHTOORDERSENTRY._options = None + _BLOCK_TXHASHTOORDERSENTRY._serialized_options = b'8\001' _BLOCKEVENTSRPC_TXHASHESENTRY._options = None _BLOCKEVENTSRPC_TXHASHESENTRY._serialized_options = b'8\001' - _GETLATESTHEIGHTREQUEST._serialized_start=57 - _GETLATESTHEIGHTREQUEST._serialized_end=81 - _GETLATESTHEIGHTRESPONSE._serialized_start=83 - _GETLATESTHEIGHTRESPONSE._serialized_end=194 - _LATESTBLOCKHEIGHT._serialized_start=196 - _LATESTBLOCKHEIGHT._serialized_end=231 - _GETBLOCKEVENTSRPCREQUEST._serialized_start=233 - _GETBLOCKEVENTSRPCREQUEST._serialized_end=292 - _GETBLOCKEVENTSRPCRESPONSE._serialized_start=294 - _GETBLOCKEVENTSRPCRESPONSE._serialized_end=404 - _BLOCKEVENTSRPC._serialized_start=407 - _BLOCKEVENTSRPC._serialized_end=572 - _BLOCKEVENTSRPC_TXHASHESENTRY._serialized_start=525 - _BLOCKEVENTSRPC_TXHASHESENTRY._serialized_end=572 - _GETCUSTOMEVENTSRPCREQUEST._serialized_start=574 - _GETCUSTOMEVENTSRPCREQUEST._serialized_end=650 - _GETCUSTOMEVENTSRPCRESPONSE._serialized_start=652 - _GETCUSTOMEVENTSRPCRESPONSE._serialized_end=763 - _EVENTPROVIDERAPI._serialized_start=766 - _EVENTPROVIDERAPI._serialized_end=1123 + _BLOCKEVENTSRPC_TXTOORDERSENTRY._options = None + _BLOCKEVENTSRPC_TXTOORDERSENTRY._serialized_options = b'8\001' + _globals['_GETLATESTHEIGHTREQUEST']._serialized_start=57 + _globals['_GETLATESTHEIGHTREQUEST']._serialized_end=81 + _globals['_GETLATESTHEIGHTRESPONSE']._serialized_start=83 + _globals['_GETLATESTHEIGHTRESPONSE']._serialized_end=194 + _globals['_LATESTBLOCKHEIGHT']._serialized_start=196 + _globals['_LATESTBLOCKHEIGHT']._serialized_end=231 + _globals['_STREAMBLOCKEVENTSREQUEST']._serialized_start=233 + _globals['_STREAMBLOCKEVENTSREQUEST']._serialized_end=292 + _globals['_STREAMBLOCKEVENTSRESPONSE']._serialized_start=294 + _globals['_STREAMBLOCKEVENTSRESPONSE']._serialized_end=364 + _globals['_BLOCK']._serialized_start=367 + _globals['_BLOCK']._serialized_end=636 + _globals['_BLOCK_TXHASHTOORDERSENTRY']._serialized_start=548 + _globals['_BLOCK_TXHASHTOORDERSENTRY']._serialized_end=636 + _globals['_BLOCKEVENT']._serialized_start=638 + _globals['_BLOCKEVENT']._serialized_end=700 + _globals['_ARRAYOFSTRING']._serialized_start=702 + _globals['_ARRAYOFSTRING']._serialized_end=732 + _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_start=734 + _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_end=793 + _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_start=795 + _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_end=905 + _globals['_BLOCKEVENTSRPC']._serialized_start=908 + _globals['_BLOCKEVENTSRPC']._serialized_end=1233 + _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_start=1100 + _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_end=1147 + _globals['_BLOCKEVENTSRPC_TXTOORDERSENTRY']._serialized_start=1149 + _globals['_BLOCKEVENTSRPC_TXTOORDERSENTRY']._serialized_end=1233 + _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_start=1235 + _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_end=1311 + _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_start=1313 + _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_end=1424 + _globals['_EVENTPROVIDERAPI']._serialized_start=1427 + _globals['_EVENTPROVIDERAPI']._serialized_end=1900 # @@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 index 01f63ec9..75e5a946 100644 --- a/pyinjective/proto/exchange/event_provider_api_pb2_grpc.py +++ b/pyinjective/proto/exchange/event_provider_api_pb2_grpc.py @@ -20,6 +20,11 @@ def __init__(self, channel): request_serializer=exchange_dot_event__provider__api__pb2.GetLatestHeightRequest.SerializeToString, response_deserializer=exchange_dot_event__provider__api__pb2.GetLatestHeightResponse.FromString, ) + 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, + ) self.GetBlockEventsRPC = channel.unary_unary( '/event_provider_api.EventProviderAPI/GetBlockEventsRPC', request_serializer=exchange_dot_event__provider__api__pb2.GetBlockEventsRPCRequest.SerializeToString, @@ -43,6 +48,13 @@ def GetLatestHeight(self, request, context): 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 """ @@ -65,6 +77,11 @@ def add_EventProviderAPIServicer_to_server(servicer, server): 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, @@ -103,6 +120,23 @@ def GetLatestHeight(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @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) + @staticmethod def GetBlockEventsRPC(request, target, diff --git a/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py b/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py index da696fdb..2ec5ce74 100644 --- a/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exchange/injective_accounts_rpc.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,70 +13,71 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_accounts_rpc.proto\x12\x16injective_accounts_rpc\"+\n\x10PortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"P\n\x11PortfolioResponse\x12;\n\tportfolio\x18\x01 \x01(\x0b\x32(.injective_accounts_rpc.AccountPortfolio\"\xb8\x01\n\x10\x41\x63\x63ountPortfolio\x12\x17\n\x0fportfolio_value\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\x12@\n\x0bsubaccounts\x18\x05 \x03(\x0b\x32+.injective_accounts_rpc.SubaccountPortfolio\"w\n\x13SubaccountPortfolio\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\"P\n\x12OrderStatesRequest\x12\x19\n\x11spot_order_hashes\x18\x01 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x02 \x03(\t\"\xa5\x01\n\x13OrderStatesResponse\x12\x43\n\x11spot_order_states\x18\x01 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\x12I\n\x17\x64\x65rivative_order_states\x18\x02 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\"\xe4\x01\n\x10OrderStateRecord\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x12\n\norder_type\x18\x04 \x01(\t\x12\x12\n\norder_side\x18\x05 \x01(\t\x12\r\n\x05state\x18\x06 \x01(\t\x12\x17\n\x0fquantity_filled\x18\x07 \x01(\t\x12\x1a\n\x12quantity_remaining\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\x12\x12\x12\n\nupdated_at\x18\n \x01(\x12\"1\n\x16SubaccountsListRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\".\n\x17SubaccountsListResponse\x12\x13\n\x0bsubaccounts\x18\x01 \x03(\t\"F\n\x1dSubaccountBalancesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"]\n\x1eSubaccountBalancesListResponse\x12;\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"\x8e\x01\n\x11SubaccountBalance\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x03 \x01(\t\x12:\n\x07\x64\x65posit\x18\x04 \x01(\x0b\x32).injective_accounts_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"H\n SubaccountBalanceEndpointRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"_\n!SubaccountBalanceEndpointResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"G\n\x1eStreamSubaccountBalanceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"p\n\x1fStreamSubaccountBalanceResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\x87\x01\n\x18SubaccountHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x16\n\x0etransfer_types\x18\x03 \x03(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\"\x91\x01\n\x19SubaccountHistoryResponse\x12\x44\n\ttransfers\x18\x01 \x03(\x0b\x32\x31.injective_accounts_rpc.SubaccountBalanceTransfer\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_accounts_rpc.Paging\"\xeb\x01\n\x19SubaccountBalanceTransfer\x12\x15\n\rtransfer_type\x18\x01 \x01(\t\x12\x19\n\x11src_subaccount_id\x18\x02 \x01(\t\x12\x1b\n\x13src_account_address\x18\x03 \x01(\t\x12\x19\n\x11\x64st_subaccount_id\x18\x04 \x01(\t\x12\x1b\n\x13\x64st_account_address\x18\x05 \x01(\t\x12\x32\n\x06\x61mount\x18\x06 \x01(\x0b\x32\".injective_accounts_rpc.CosmosCoin\x12\x13\n\x0b\x65xecuted_at\x18\x07 \x01(\x12\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"b\n\x1dSubaccountOrderSummaryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0forder_direction\x18\x03 \x01(\t\"\\\n\x1eSubaccountOrderSummaryResponse\x12\x19\n\x11spot_orders_total\x18\x01 \x01(\x12\x12\x1f\n\x17\x64\x65rivative_orders_total\x18\x02 \x01(\x12\"8\n\x0eRewardsRequest\x12\r\n\x05\x65poch\x18\x01 \x01(\x12\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"B\n\x0fRewardsResponse\x12/\n\x07rewards\x18\x01 \x03(\x0b\x32\x1e.injective_accounts_rpc.Reward\"h\n\x06Reward\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12-\n\x07rewards\x18\x02 \x03(\x0b\x32\x1c.injective_accounts_rpc.Coin\x12\x16\n\x0e\x64istributed_at\x18\x03 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xe0\x08\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.RewardsResponseB\x1bZ\x19/injective_accounts_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_accounts_rpc.proto\x12\x16injective_accounts_rpc\"+\n\x10PortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"P\n\x11PortfolioResponse\x12;\n\tportfolio\x18\x01 \x01(\x0b\x32(.injective_accounts_rpc.AccountPortfolio\"\xb8\x01\n\x10\x41\x63\x63ountPortfolio\x12\x17\n\x0fportfolio_value\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\x12@\n\x0bsubaccounts\x18\x05 \x03(\x0b\x32+.injective_accounts_rpc.SubaccountPortfolio\"w\n\x13SubaccountPortfolio\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\"P\n\x12OrderStatesRequest\x12\x19\n\x11spot_order_hashes\x18\x01 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x02 \x03(\t\"\xa5\x01\n\x13OrderStatesResponse\x12\x43\n\x11spot_order_states\x18\x01 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\x12I\n\x17\x64\x65rivative_order_states\x18\x02 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\"\xe4\x01\n\x10OrderStateRecord\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x12\n\norder_type\x18\x04 \x01(\t\x12\x12\n\norder_side\x18\x05 \x01(\t\x12\r\n\x05state\x18\x06 \x01(\t\x12\x17\n\x0fquantity_filled\x18\x07 \x01(\t\x12\x1a\n\x12quantity_remaining\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\x12\x12\x12\n\nupdated_at\x18\n \x01(\x12\"1\n\x16SubaccountsListRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\".\n\x17SubaccountsListResponse\x12\x13\n\x0bsubaccounts\x18\x01 \x03(\t\"F\n\x1dSubaccountBalancesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"]\n\x1eSubaccountBalancesListResponse\x12;\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"\x8e\x01\n\x11SubaccountBalance\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x03 \x01(\t\x12:\n\x07\x64\x65posit\x18\x04 \x01(\x0b\x32).injective_accounts_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"H\n SubaccountBalanceEndpointRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"_\n!SubaccountBalanceEndpointResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"G\n\x1eStreamSubaccountBalanceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"p\n\x1fStreamSubaccountBalanceResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\x87\x01\n\x18SubaccountHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x16\n\x0etransfer_types\x18\x03 \x03(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\"\x91\x01\n\x19SubaccountHistoryResponse\x12\x44\n\ttransfers\x18\x01 \x03(\x0b\x32\x31.injective_accounts_rpc.SubaccountBalanceTransfer\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_accounts_rpc.Paging\"\xeb\x01\n\x19SubaccountBalanceTransfer\x12\x15\n\rtransfer_type\x18\x01 \x01(\t\x12\x19\n\x11src_subaccount_id\x18\x02 \x01(\t\x12\x1b\n\x13src_account_address\x18\x03 \x01(\t\x12\x19\n\x11\x64st_subaccount_id\x18\x04 \x01(\t\x12\x1b\n\x13\x64st_account_address\x18\x05 \x01(\t\x12\x32\n\x06\x61mount\x18\x06 \x01(\x0b\x32\".injective_accounts_rpc.CosmosCoin\x12\x13\n\x0b\x65xecuted_at\x18\x07 \x01(\x12\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"b\n\x1dSubaccountOrderSummaryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0forder_direction\x18\x03 \x01(\t\"\\\n\x1eSubaccountOrderSummaryResponse\x12\x19\n\x11spot_orders_total\x18\x01 \x01(\x12\x12\x1f\n\x17\x64\x65rivative_orders_total\x18\x02 \x01(\x12\"8\n\x0eRewardsRequest\x12\r\n\x05\x65poch\x18\x01 \x01(\x12\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"B\n\x0fRewardsResponse\x12/\n\x07rewards\x18\x01 \x03(\x0b\x32\x1e.injective_accounts_rpc.Reward\"h\n\x06Reward\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12-\n\x07rewards\x18\x02 \x03(\x0b\x32\x1c.injective_accounts_rpc.Coin\x12\x16\n\x0e\x64istributed_at\x18\x03 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xe0\x08\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.RewardsResponseB\x1bZ\x19/injective_accounts_rpcpbb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_accounts_rpc_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_accounts_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\031/injective_accounts_rpcpb' - _PORTFOLIOREQUEST._serialized_start=65 - _PORTFOLIOREQUEST._serialized_end=108 - _PORTFOLIORESPONSE._serialized_start=110 - _PORTFOLIORESPONSE._serialized_end=190 - _ACCOUNTPORTFOLIO._serialized_start=193 - _ACCOUNTPORTFOLIO._serialized_end=377 - _SUBACCOUNTPORTFOLIO._serialized_start=379 - _SUBACCOUNTPORTFOLIO._serialized_end=498 - _ORDERSTATESREQUEST._serialized_start=500 - _ORDERSTATESREQUEST._serialized_end=580 - _ORDERSTATESRESPONSE._serialized_start=583 - _ORDERSTATESRESPONSE._serialized_end=748 - _ORDERSTATERECORD._serialized_start=751 - _ORDERSTATERECORD._serialized_end=979 - _SUBACCOUNTSLISTREQUEST._serialized_start=981 - _SUBACCOUNTSLISTREQUEST._serialized_end=1030 - _SUBACCOUNTSLISTRESPONSE._serialized_start=1032 - _SUBACCOUNTSLISTRESPONSE._serialized_end=1078 - _SUBACCOUNTBALANCESLISTREQUEST._serialized_start=1080 - _SUBACCOUNTBALANCESLISTREQUEST._serialized_end=1150 - _SUBACCOUNTBALANCESLISTRESPONSE._serialized_start=1152 - _SUBACCOUNTBALANCESLISTRESPONSE._serialized_end=1245 - _SUBACCOUNTBALANCE._serialized_start=1248 - _SUBACCOUNTBALANCE._serialized_end=1390 - _SUBACCOUNTDEPOSIT._serialized_start=1392 - _SUBACCOUNTDEPOSIT._serialized_end=1461 - _SUBACCOUNTBALANCEENDPOINTREQUEST._serialized_start=1463 - _SUBACCOUNTBALANCEENDPOINTREQUEST._serialized_end=1535 - _SUBACCOUNTBALANCEENDPOINTRESPONSE._serialized_start=1537 - _SUBACCOUNTBALANCEENDPOINTRESPONSE._serialized_end=1632 - _STREAMSUBACCOUNTBALANCEREQUEST._serialized_start=1634 - _STREAMSUBACCOUNTBALANCEREQUEST._serialized_end=1705 - _STREAMSUBACCOUNTBALANCERESPONSE._serialized_start=1707 - _STREAMSUBACCOUNTBALANCERESPONSE._serialized_end=1819 - _SUBACCOUNTHISTORYREQUEST._serialized_start=1822 - _SUBACCOUNTHISTORYREQUEST._serialized_end=1957 - _SUBACCOUNTHISTORYRESPONSE._serialized_start=1960 - _SUBACCOUNTHISTORYRESPONSE._serialized_end=2105 - _SUBACCOUNTBALANCETRANSFER._serialized_start=2108 - _SUBACCOUNTBALANCETRANSFER._serialized_end=2343 - _COSMOSCOIN._serialized_start=2345 - _COSMOSCOIN._serialized_end=2388 - _PAGING._serialized_start=2390 - _PAGING._serialized_end=2468 - _SUBACCOUNTORDERSUMMARYREQUEST._serialized_start=2470 - _SUBACCOUNTORDERSUMMARYREQUEST._serialized_end=2568 - _SUBACCOUNTORDERSUMMARYRESPONSE._serialized_start=2570 - _SUBACCOUNTORDERSUMMARYRESPONSE._serialized_end=2662 - _REWARDSREQUEST._serialized_start=2664 - _REWARDSREQUEST._serialized_end=2720 - _REWARDSRESPONSE._serialized_start=2722 - _REWARDSRESPONSE._serialized_end=2788 - _REWARD._serialized_start=2790 - _REWARD._serialized_end=2894 - _COIN._serialized_start=2896 - _COIN._serialized_end=2933 - _INJECTIVEACCOUNTSRPC._serialized_start=2936 - _INJECTIVEACCOUNTSRPC._serialized_end=4056 + _globals['_PORTFOLIOREQUEST']._serialized_start=65 + _globals['_PORTFOLIOREQUEST']._serialized_end=108 + _globals['_PORTFOLIORESPONSE']._serialized_start=110 + _globals['_PORTFOLIORESPONSE']._serialized_end=190 + _globals['_ACCOUNTPORTFOLIO']._serialized_start=193 + _globals['_ACCOUNTPORTFOLIO']._serialized_end=377 + _globals['_SUBACCOUNTPORTFOLIO']._serialized_start=379 + _globals['_SUBACCOUNTPORTFOLIO']._serialized_end=498 + _globals['_ORDERSTATESREQUEST']._serialized_start=500 + _globals['_ORDERSTATESREQUEST']._serialized_end=580 + _globals['_ORDERSTATESRESPONSE']._serialized_start=583 + _globals['_ORDERSTATESRESPONSE']._serialized_end=748 + _globals['_ORDERSTATERECORD']._serialized_start=751 + _globals['_ORDERSTATERECORD']._serialized_end=979 + _globals['_SUBACCOUNTSLISTREQUEST']._serialized_start=981 + _globals['_SUBACCOUNTSLISTREQUEST']._serialized_end=1030 + _globals['_SUBACCOUNTSLISTRESPONSE']._serialized_start=1032 + _globals['_SUBACCOUNTSLISTRESPONSE']._serialized_end=1078 + _globals['_SUBACCOUNTBALANCESLISTREQUEST']._serialized_start=1080 + _globals['_SUBACCOUNTBALANCESLISTREQUEST']._serialized_end=1150 + _globals['_SUBACCOUNTBALANCESLISTRESPONSE']._serialized_start=1152 + _globals['_SUBACCOUNTBALANCESLISTRESPONSE']._serialized_end=1245 + _globals['_SUBACCOUNTBALANCE']._serialized_start=1248 + _globals['_SUBACCOUNTBALANCE']._serialized_end=1390 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=1392 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=1461 + _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_start=1463 + _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_end=1535 + _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_start=1537 + _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_end=1632 + _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_start=1634 + _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_end=1705 + _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_start=1707 + _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_end=1819 + _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_start=1822 + _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_end=1957 + _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_start=1960 + _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_end=2105 + _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_start=2108 + _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_end=2343 + _globals['_COSMOSCOIN']._serialized_start=2345 + _globals['_COSMOSCOIN']._serialized_end=2388 + _globals['_PAGING']._serialized_start=2390 + _globals['_PAGING']._serialized_end=2482 + _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_start=2484 + _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_end=2582 + _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_start=2584 + _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_end=2676 + _globals['_REWARDSREQUEST']._serialized_start=2678 + _globals['_REWARDSREQUEST']._serialized_end=2734 + _globals['_REWARDSRESPONSE']._serialized_start=2736 + _globals['_REWARDSRESPONSE']._serialized_end=2802 + _globals['_REWARD']._serialized_start=2804 + _globals['_REWARD']._serialized_end=2908 + _globals['_COIN']._serialized_start=2910 + _globals['_COIN']._serialized_end=2947 + _globals['_INJECTIVEACCOUNTSRPC']._serialized_start=2950 + _globals['_INJECTIVEACCOUNTSRPC']._serialized_end=4070 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_auction_rpc_pb2.py b/pyinjective/proto/exchange/injective_auction_rpc_pb2.py index aa682134..6b89271a 100644 --- a/pyinjective/proto/exchange/injective_auction_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_auction_rpc_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exchange/injective_auction_rpc.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,31 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_auction_rpc.proto\x12\x15injective_auction_rpc\"\'\n\x16\x41uctionEndpointRequest\x12\r\n\x05round\x18\x01 \x01(\x12\"t\n\x17\x41uctionEndpointResponse\x12/\n\x07\x61uction\x18\x01 \x01(\x0b\x32\x1e.injective_auction_rpc.Auction\x12(\n\x04\x62ids\x18\x02 \x03(\x0b\x32\x1a.injective_auction_rpc.Bid\"\x9c\x01\n\x07\x41uction\x12\x0e\n\x06winner\x18\x01 \x01(\t\x12+\n\x06\x62\x61sket\x18\x02 \x03(\x0b\x32\x1b.injective_auction_rpc.Coin\x12\x1a\n\x12winning_bid_amount\x18\x03 \x01(\t\x12\r\n\x05round\x18\x04 \x01(\x04\x12\x15\n\rend_timestamp\x18\x05 \x01(\x12\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"8\n\x03\x42id\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x11\n\x0f\x41uctionsRequest\"D\n\x10\x41uctionsResponse\x12\x30\n\x08\x61uctions\x18\x01 \x03(\x0b\x32\x1e.injective_auction_rpc.Auction\"\x13\n\x11StreamBidsRequest\"Z\n\x12StreamBidsResponse\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12\x12\n\nbid_amount\x18\x02 \x01(\t\x12\r\n\x05round\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\x32\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\x1aZ\x18/injective_auction_rpcpbb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_auction_rpc_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_auction_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\030/injective_auction_rpcpb' - _AUCTIONENDPOINTREQUEST._serialized_start=63 - _AUCTIONENDPOINTREQUEST._serialized_end=102 - _AUCTIONENDPOINTRESPONSE._serialized_start=104 - _AUCTIONENDPOINTRESPONSE._serialized_end=220 - _AUCTION._serialized_start=223 - _AUCTION._serialized_end=379 - _COIN._serialized_start=381 - _COIN._serialized_end=418 - _BID._serialized_start=420 - _BID._serialized_end=476 - _AUCTIONSREQUEST._serialized_start=478 - _AUCTIONSREQUEST._serialized_end=495 - _AUCTIONSRESPONSE._serialized_start=497 - _AUCTIONSRESPONSE._serialized_end=565 - _STREAMBIDSREQUEST._serialized_start=567 - _STREAMBIDSREQUEST._serialized_end=586 - _STREAMBIDSRESPONSE._serialized_start=588 - _STREAMBIDSRESPONSE._serialized_end=678 - _INJECTIVEAUCTIONRPC._serialized_start=681 - _INJECTIVEAUCTIONRPC._serialized_end=1010 + _globals['_AUCTIONENDPOINTREQUEST']._serialized_start=63 + _globals['_AUCTIONENDPOINTREQUEST']._serialized_end=102 + _globals['_AUCTIONENDPOINTRESPONSE']._serialized_start=104 + _globals['_AUCTIONENDPOINTRESPONSE']._serialized_end=220 + _globals['_AUCTION']._serialized_start=223 + _globals['_AUCTION']._serialized_end=379 + _globals['_COIN']._serialized_start=381 + _globals['_COIN']._serialized_end=418 + _globals['_BID']._serialized_start=420 + _globals['_BID']._serialized_end=476 + _globals['_AUCTIONSREQUEST']._serialized_start=478 + _globals['_AUCTIONSREQUEST']._serialized_end=495 + _globals['_AUCTIONSRESPONSE']._serialized_start=497 + _globals['_AUCTIONSRESPONSE']._serialized_end=565 + _globals['_STREAMBIDSREQUEST']._serialized_start=567 + _globals['_STREAMBIDSREQUEST']._serialized_end=586 + _globals['_STREAMBIDSRESPONSE']._serialized_start=588 + _globals['_STREAMBIDSRESPONSE']._serialized_end=678 + _globals['_INJECTIVEAUCTIONRPC']._serialized_start=681 + _globals['_INJECTIVEAUCTIONRPC']._serialized_end=1010 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py index 11ef6a7f..c5f6caf2 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exchange/injective_derivative_exchange_rpc.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,140 +13,141 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"<\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\x9d\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcb\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xa3\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xc2\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xa5\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xb0\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\x17\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\x9d\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcb\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xa3\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xc2\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xc2\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xb0\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\x17\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_derivative_exchange_rpc_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_derivative_exchange_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$/injective_derivative_exchange_rpcpb' - _MARKETSREQUEST._serialized_start=87 - _MARKETSREQUEST._serialized_end=147 - _MARKETSRESPONSE._serialized_start=149 - _MARKETSRESPONSE._serialized_end=240 - _DERIVATIVEMARKETINFO._serialized_start=243 - _DERIVATIVEMARKETINFO._serialized_end=1010 - _TOKENMETA._serialized_start=1012 - _TOKENMETA._serialized_end=1122 - _PERPETUALMARKETINFO._serialized_start=1125 - _PERPETUALMARKETINFO._serialized_end=1267 - _PERPETUALMARKETFUNDING._serialized_start=1269 - _PERPETUALMARKETFUNDING._serialized_end=1371 - _EXPIRYFUTURESMARKETINFO._serialized_start=1373 - _EXPIRYFUTURESMARKETINFO._serialized_end=1454 - _MARKETREQUEST._serialized_start=1456 - _MARKETREQUEST._serialized_end=1490 - _MARKETRESPONSE._serialized_start=1492 - _MARKETRESPONSE._serialized_end=1581 - _STREAMMARKETREQUEST._serialized_start=1583 - _STREAMMARKETREQUEST._serialized_end=1624 - _STREAMMARKETRESPONSE._serialized_start=1627 - _STREAMMARKETRESPONSE._serialized_end=1765 - _BINARYOPTIONSMARKETSREQUEST._serialized_start=1767 - _BINARYOPTIONSMARKETSREQUEST._serialized_end=1869 - _BINARYOPTIONSMARKETSRESPONSE._serialized_start=1872 - _BINARYOPTIONSMARKETSRESPONSE._serialized_end=2038 - _BINARYOPTIONSMARKETINFO._serialized_start=2041 - _BINARYOPTIONSMARKETINFO._serialized_end=2540 - _PAGING._serialized_start=2542 - _PAGING._serialized_end=2620 - _BINARYOPTIONSMARKETREQUEST._serialized_start=2622 - _BINARYOPTIONSMARKETREQUEST._serialized_end=2669 - _BINARYOPTIONSMARKETRESPONSE._serialized_start=2671 - _BINARYOPTIONSMARKETRESPONSE._serialized_end=2776 - _ORDERBOOKV2REQUEST._serialized_start=2778 - _ORDERBOOKV2REQUEST._serialized_end=2817 - _ORDERBOOKV2RESPONSE._serialized_start=2819 - _ORDERBOOKV2RESPONSE._serialized_end=2922 - _DERIVATIVELIMITORDERBOOKV2._serialized_start=2925 - _DERIVATIVELIMITORDERBOOKV2._serialized_end=3113 - _PRICELEVEL._serialized_start=3115 - _PRICELEVEL._serialized_end=3179 - _ORDERBOOKSV2REQUEST._serialized_start=3181 - _ORDERBOOKSV2REQUEST._serialized_end=3222 - _ORDERBOOKSV2RESPONSE._serialized_start=3224 - _ORDERBOOKSV2RESPONSE._serialized_end=3335 - _SINGLEDERIVATIVELIMITORDERBOOKV2._serialized_start=3338 - _SINGLEDERIVATIVELIMITORDERBOOKV2._serialized_end=3473 - _STREAMORDERBOOKV2REQUEST._serialized_start=3475 - _STREAMORDERBOOKV2REQUEST._serialized_end=3521 - _STREAMORDERBOOKV2RESPONSE._serialized_start=3524 - _STREAMORDERBOOKV2RESPONSE._serialized_end=3695 - _STREAMORDERBOOKUPDATEREQUEST._serialized_start=3697 - _STREAMORDERBOOKUPDATEREQUEST._serialized_end=3747 - _STREAMORDERBOOKUPDATERESPONSE._serialized_start=3750 - _STREAMORDERBOOKUPDATERESPONSE._serialized_end=3934 - _ORDERBOOKLEVELUPDATES._serialized_start=3937 - _ORDERBOOKLEVELUPDATES._serialized_end=4152 - _PRICELEVELUPDATE._serialized_start=4154 - _PRICELEVELUPDATE._serialized_end=4243 - _ORDERSREQUEST._serialized_start=4246 - _ORDERSREQUEST._serialized_end=4531 - _ORDERSRESPONSE._serialized_start=4534 - _ORDERSRESPONSE._serialized_end=4682 - _DERIVATIVELIMITORDER._serialized_start=4685 - _DERIVATIVELIMITORDER._serialized_end=5144 - _POSITIONSREQUEST._serialized_start=5147 - _POSITIONSREQUEST._serialized_end=5349 - _POSITIONSRESPONSE._serialized_start=5352 - _POSITIONSRESPONSE._serialized_end=5504 - _DERIVATIVEPOSITION._serialized_start=5507 - _DERIVATIVEPOSITION._serialized_end=5786 - _LIQUIDABLEPOSITIONSREQUEST._serialized_start=5788 - _LIQUIDABLEPOSITIONSREQUEST._serialized_end=5864 - _LIQUIDABLEPOSITIONSRESPONSE._serialized_start=5866 - _LIQUIDABLEPOSITIONSRESPONSE._serialized_end=5969 - _FUNDINGPAYMENTSREQUEST._serialized_start=5972 - _FUNDINGPAYMENTSREQUEST._serialized_end=6105 - _FUNDINGPAYMENTSRESPONSE._serialized_start=6108 - _FUNDINGPAYMENTSRESPONSE._serialized_end=6261 - _FUNDINGPAYMENT._serialized_start=6263 - _FUNDINGPAYMENT._serialized_end=6356 - _FUNDINGRATESREQUEST._serialized_start=6358 - _FUNDINGRATESREQUEST._serialized_end=6445 - _FUNDINGRATESRESPONSE._serialized_start=6448 - _FUNDINGRATESRESPONSE._serialized_end=6600 - _FUNDINGRATE._serialized_start=6602 - _FUNDINGRATE._serialized_end=6667 - _STREAMPOSITIONSREQUEST._serialized_start=6669 - _STREAMPOSITIONSREQUEST._serialized_end=6779 - _STREAMPOSITIONSRESPONSE._serialized_start=6781 - _STREAMPOSITIONSRESPONSE._serialized_end=6898 - _STREAMORDERSREQUEST._serialized_start=6901 - _STREAMORDERSREQUEST._serialized_end=7192 - _STREAMORDERSRESPONSE._serialized_start=7195 - _STREAMORDERSRESPONSE._serialized_end=7332 - _TRADESREQUEST._serialized_start=7335 - _TRADESREQUEST._serialized_end=7614 - _TRADESRESPONSE._serialized_start=7617 - _TRADESRESPONSE._serialized_end=7760 - _DERIVATIVETRADE._serialized_start=7763 - _DERIVATIVETRADE._serialized_end=8085 - _POSITIONDELTA._serialized_start=8087 - _POSITIONDELTA._serialized_end=8206 - _STREAMTRADESREQUEST._serialized_start=8209 - _STREAMTRADESREQUEST._serialized_end=8494 - _STREAMTRADESRESPONSE._serialized_start=8497 - _STREAMTRADESRESPONSE._serialized_end=8629 - _SUBACCOUNTORDERSLISTREQUEST._serialized_start=8631 - _SUBACCOUNTORDERSLISTREQUEST._serialized_end=8731 - _SUBACCOUNTORDERSLISTRESPONSE._serialized_start=8734 - _SUBACCOUNTORDERSLISTRESPONSE._serialized_end=8896 - _SUBACCOUNTTRADESLISTREQUEST._serialized_start=8899 - _SUBACCOUNTTRADESLISTREQUEST._serialized_end=9042 - _SUBACCOUNTTRADESLISTRESPONSE._serialized_start=9044 - _SUBACCOUNTTRADESLISTRESPONSE._serialized_end=9142 - _ORDERSHISTORYREQUEST._serialized_start=9145 - _ORDERSHISTORYREQUEST._serialized_end=9438 - _ORDERSHISTORYRESPONSE._serialized_start=9441 - _ORDERSHISTORYRESPONSE._serialized_end=9598 - _DERIVATIVEORDERHISTORY._serialized_start=9601 - _DERIVATIVEORDERHISTORY._serialized_end=10033 - _STREAMORDERSHISTORYREQUEST._serialized_start=10036 - _STREAMORDERSHISTORYREQUEST._serialized_end=10186 - _STREAMORDERSHISTORYRESPONSE._serialized_start=10189 - _STREAMORDERSHISTORYRESPONSE._serialized_end=10335 - _INJECTIVEDERIVATIVEEXCHANGERPC._serialized_start=10338 - _INJECTIVEDERIVATIVEEXCHANGERPC._serialized_end=13353 + _globals['_MARKETSREQUEST']._serialized_start=87 + _globals['_MARKETSREQUEST']._serialized_end=172 + _globals['_MARKETSRESPONSE']._serialized_start=174 + _globals['_MARKETSRESPONSE']._serialized_end=265 + _globals['_DERIVATIVEMARKETINFO']._serialized_start=268 + _globals['_DERIVATIVEMARKETINFO']._serialized_end=1035 + _globals['_TOKENMETA']._serialized_start=1037 + _globals['_TOKENMETA']._serialized_end=1147 + _globals['_PERPETUALMARKETINFO']._serialized_start=1150 + _globals['_PERPETUALMARKETINFO']._serialized_end=1292 + _globals['_PERPETUALMARKETFUNDING']._serialized_start=1294 + _globals['_PERPETUALMARKETFUNDING']._serialized_end=1396 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=1398 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=1479 + _globals['_MARKETREQUEST']._serialized_start=1481 + _globals['_MARKETREQUEST']._serialized_end=1515 + _globals['_MARKETRESPONSE']._serialized_start=1517 + _globals['_MARKETRESPONSE']._serialized_end=1606 + _globals['_STREAMMARKETREQUEST']._serialized_start=1608 + _globals['_STREAMMARKETREQUEST']._serialized_end=1649 + _globals['_STREAMMARKETRESPONSE']._serialized_start=1652 + _globals['_STREAMMARKETRESPONSE']._serialized_end=1790 + _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_start=1792 + _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_end=1894 + _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_start=1897 + _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_end=2063 + _globals['_BINARYOPTIONSMARKETINFO']._serialized_start=2066 + _globals['_BINARYOPTIONSMARKETINFO']._serialized_end=2565 + _globals['_PAGING']._serialized_start=2567 + _globals['_PAGING']._serialized_end=2659 + _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_start=2661 + _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_end=2708 + _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_start=2710 + _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_end=2815 + _globals['_ORDERBOOKV2REQUEST']._serialized_start=2817 + _globals['_ORDERBOOKV2REQUEST']._serialized_end=2856 + _globals['_ORDERBOOKV2RESPONSE']._serialized_start=2858 + _globals['_ORDERBOOKV2RESPONSE']._serialized_end=2961 + _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_start=2964 + _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_end=3152 + _globals['_PRICELEVEL']._serialized_start=3154 + _globals['_PRICELEVEL']._serialized_end=3218 + _globals['_ORDERBOOKSV2REQUEST']._serialized_start=3220 + _globals['_ORDERBOOKSV2REQUEST']._serialized_end=3261 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=3263 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=3374 + _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_start=3377 + _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_end=3512 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=3514 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=3560 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=3563 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=3734 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=3736 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=3786 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=3789 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=3973 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=3976 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=4191 + _globals['_PRICELEVELUPDATE']._serialized_start=4193 + _globals['_PRICELEVELUPDATE']._serialized_end=4282 + _globals['_ORDERSREQUEST']._serialized_start=4285 + _globals['_ORDERSREQUEST']._serialized_end=4570 + _globals['_ORDERSRESPONSE']._serialized_start=4573 + _globals['_ORDERSRESPONSE']._serialized_end=4721 + _globals['_DERIVATIVELIMITORDER']._serialized_start=4724 + _globals['_DERIVATIVELIMITORDER']._serialized_end=5183 + _globals['_POSITIONSREQUEST']._serialized_start=5186 + _globals['_POSITIONSREQUEST']._serialized_end=5388 + _globals['_POSITIONSRESPONSE']._serialized_start=5391 + _globals['_POSITIONSRESPONSE']._serialized_end=5543 + _globals['_DERIVATIVEPOSITION']._serialized_start=5546 + _globals['_DERIVATIVEPOSITION']._serialized_end=5825 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=5827 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=5903 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=5905 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6008 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6011 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6144 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6147 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6300 + _globals['_FUNDINGPAYMENT']._serialized_start=6302 + _globals['_FUNDINGPAYMENT']._serialized_end=6395 + _globals['_FUNDINGRATESREQUEST']._serialized_start=6397 + _globals['_FUNDINGRATESREQUEST']._serialized_end=6484 + _globals['_FUNDINGRATESRESPONSE']._serialized_start=6487 + _globals['_FUNDINGRATESRESPONSE']._serialized_end=6639 + _globals['_FUNDINGRATE']._serialized_start=6641 + _globals['_FUNDINGRATE']._serialized_end=6706 + _globals['_STREAMPOSITIONSREQUEST']._serialized_start=6708 + _globals['_STREAMPOSITIONSREQUEST']._serialized_end=6818 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=6820 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=6937 + _globals['_STREAMORDERSREQUEST']._serialized_start=6940 + _globals['_STREAMORDERSREQUEST']._serialized_end=7231 + _globals['_STREAMORDERSRESPONSE']._serialized_start=7234 + _globals['_STREAMORDERSRESPONSE']._serialized_end=7371 + _globals['_TRADESREQUEST']._serialized_start=7374 + _globals['_TRADESREQUEST']._serialized_end=7653 + _globals['_TRADESRESPONSE']._serialized_start=7656 + _globals['_TRADESRESPONSE']._serialized_end=7799 + _globals['_DERIVATIVETRADE']._serialized_start=7802 + _globals['_DERIVATIVETRADE']._serialized_end=8124 + _globals['_POSITIONDELTA']._serialized_start=8126 + _globals['_POSITIONDELTA']._serialized_end=8245 + _globals['_STREAMTRADESREQUEST']._serialized_start=8248 + _globals['_STREAMTRADESREQUEST']._serialized_end=8533 + _globals['_STREAMTRADESRESPONSE']._serialized_start=8536 + _globals['_STREAMTRADESRESPONSE']._serialized_end=8668 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=8670 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=8770 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=8773 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=8935 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=8938 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9081 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9083 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9181 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=9184 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=9506 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=9509 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=9666 + _globals['_DERIVATIVEORDERHISTORY']._serialized_start=9669 + _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10101 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10104 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10254 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10257 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10403 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10406 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=13421 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py index 1562434b..8734282d 100644 --- a/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exchange/injective_exchange_rpc.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,42 +15,43 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_exchange_rpc.proto\x12\x16injective_exchange_rpc\"\x1c\n\x0cGetTxRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"\x92\x01\n\rGetTxResponse\x12\x0f\n\x07tx_hash\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x12\x12\r\n\x05index\x18\x03 \x01(\r\x12\x11\n\tcodespace\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x05 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0f\n\x07raw_log\x18\x07 \x01(\t\x12\x11\n\ttimestamp\x18\x08 \x01(\t\"\xb4\x01\n\x10PrepareTxRequest\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\x04\x12\x16\n\x0esigner_address\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x0c\n\x04memo\x18\x04 \x01(\t\x12\x16\n\x0etimeout_height\x18\x05 \x01(\x04\x12\x30\n\x03\x66\x65\x65\x18\x06 \x01(\x0b\x32#.injective_exchange_rpc.CosmosTxFee\x12\x0c\n\x04msgs\x18\x07 \x03(\x0c\"c\n\x0b\x43osmosTxFee\x12\x31\n\x05price\x18\x01 \x03(\x0b\x32\".injective_exchange_rpc.CosmosCoin\x12\x0b\n\x03gas\x18\x02 \x01(\x04\x12\x14\n\x0c\x64\x65legate_fee\x18\x03 \x01(\x08\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x86\x01\n\x11PrepareTxResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x11\n\tsign_mode\x18\x03 \x01(\t\x12\x14\n\x0cpub_key_type\x18\x04 \x01(\t\x12\x11\n\tfee_payer\x18\x05 \x01(\t\x12\x15\n\rfee_payer_sig\x18\x06 \x01(\t\"\xc2\x01\n\x12\x42roadcastTxRequest\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\x04\x12\n\n\x02tx\x18\x02 \x01(\x0c\x12\x0c\n\x04msgs\x18\x03 \x03(\x0c\x12\x35\n\x07pub_key\x18\x04 \x01(\x0b\x32$.injective_exchange_rpc.CosmosPubKey\x12\x11\n\tsignature\x18\x05 \x01(\t\x12\x11\n\tfee_payer\x18\x06 \x01(\t\x12\x15\n\rfee_payer_sig\x18\x07 \x01(\t\x12\x0c\n\x04mode\x18\x08 \x01(\t\")\n\x0c\x43osmosPubKey\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\"\x98\x01\n\x13\x42roadcastTxResponse\x12\x0f\n\x07tx_hash\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x12\x12\r\n\x05index\x18\x03 \x01(\r\x12\x11\n\tcodespace\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x05 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0f\n\x07raw_log\x18\x07 \x01(\t\x12\x11\n\ttimestamp\x18\x08 \x01(\t\"\xa8\x01\n\x16PrepareCosmosTxRequest\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\x04\x12\x16\n\x0esender_address\x18\x02 \x01(\t\x12\x0c\n\x04memo\x18\x03 \x01(\t\x12\x16\n\x0etimeout_height\x18\x04 \x01(\x04\x12\x30\n\x03\x66\x65\x65\x18\x05 \x01(\x0b\x32#.injective_exchange_rpc.CosmosTxFee\x12\x0c\n\x04msgs\x18\x06 \x03(\x0c\"\xb9\x01\n\x17PrepareCosmosTxResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x11\n\tsign_mode\x18\x02 \x01(\t\x12\x14\n\x0cpub_key_type\x18\x03 \x01(\t\x12\x11\n\tfee_payer\x18\x04 \x01(\t\x12\x15\n\rfee_payer_sig\x18\x05 \x01(\t\x12?\n\x11\x66\x65\x65_payer_pub_key\x18\x06 \x01(\x0b\x32$.injective_exchange_rpc.CosmosPubKey\"\x88\x01\n\x18\x42roadcastCosmosTxRequest\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x35\n\x07pub_key\x18\x02 \x01(\x0b\x32$.injective_exchange_rpc.CosmosPubKey\x12\x11\n\tsignature\x18\x03 \x01(\t\x12\x16\n\x0esender_address\x18\x04 \x01(\t\"\x9e\x01\n\x19\x42roadcastCosmosTxResponse\x12\x0f\n\x07tx_hash\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x12\x12\r\n\x05index\x18\x03 \x01(\r\x12\x11\n\tcodespace\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x05 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0f\n\x07raw_log\x18\x07 \x01(\t\x12\x11\n\ttimestamp\x18\x08 \x01(\t\"\x14\n\x12GetFeePayerRequest\"i\n\x13GetFeePayerResponse\x12\x11\n\tfee_payer\x18\x01 \x01(\t\x12?\n\x11\x66\x65\x65_payer_pub_key\x18\x02 \x01(\x0b\x32$.injective_exchange_rpc.CosmosPubKey2\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\x1bZ\x19/injective_exchange_rpcpbb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_exchange_rpc_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_exchange_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\031/injective_exchange_rpcpb' - _GETTXREQUEST._serialized_start=65 - _GETTXREQUEST._serialized_end=93 - _GETTXRESPONSE._serialized_start=96 - _GETTXRESPONSE._serialized_end=242 - _PREPARETXREQUEST._serialized_start=245 - _PREPARETXREQUEST._serialized_end=425 - _COSMOSTXFEE._serialized_start=427 - _COSMOSTXFEE._serialized_end=526 - _COSMOSCOIN._serialized_start=528 - _COSMOSCOIN._serialized_end=571 - _PREPARETXRESPONSE._serialized_start=574 - _PREPARETXRESPONSE._serialized_end=708 - _BROADCASTTXREQUEST._serialized_start=711 - _BROADCASTTXREQUEST._serialized_end=905 - _COSMOSPUBKEY._serialized_start=907 - _COSMOSPUBKEY._serialized_end=948 - _BROADCASTTXRESPONSE._serialized_start=951 - _BROADCASTTXRESPONSE._serialized_end=1103 - _PREPARECOSMOSTXREQUEST._serialized_start=1106 - _PREPARECOSMOSTXREQUEST._serialized_end=1274 - _PREPARECOSMOSTXRESPONSE._serialized_start=1277 - _PREPARECOSMOSTXRESPONSE._serialized_end=1462 - _BROADCASTCOSMOSTXREQUEST._serialized_start=1465 - _BROADCASTCOSMOSTXREQUEST._serialized_end=1601 - _BROADCASTCOSMOSTXRESPONSE._serialized_start=1604 - _BROADCASTCOSMOSTXRESPONSE._serialized_end=1762 - _GETFEEPAYERREQUEST._serialized_start=1764 - _GETFEEPAYERREQUEST._serialized_end=1784 - _GETFEEPAYERRESPONSE._serialized_start=1786 - _GETFEEPAYERRESPONSE._serialized_end=1891 - _INJECTIVEEXCHANGERPC._serialized_start=1894 - _INJECTIVEEXCHANGERPC._serialized_end=2546 + _globals['_GETTXREQUEST']._serialized_start=65 + _globals['_GETTXREQUEST']._serialized_end=93 + _globals['_GETTXRESPONSE']._serialized_start=96 + _globals['_GETTXRESPONSE']._serialized_end=242 + _globals['_PREPARETXREQUEST']._serialized_start=245 + _globals['_PREPARETXREQUEST']._serialized_end=425 + _globals['_COSMOSTXFEE']._serialized_start=427 + _globals['_COSMOSTXFEE']._serialized_end=526 + _globals['_COSMOSCOIN']._serialized_start=528 + _globals['_COSMOSCOIN']._serialized_end=571 + _globals['_PREPARETXRESPONSE']._serialized_start=574 + _globals['_PREPARETXRESPONSE']._serialized_end=708 + _globals['_BROADCASTTXREQUEST']._serialized_start=711 + _globals['_BROADCASTTXREQUEST']._serialized_end=905 + _globals['_COSMOSPUBKEY']._serialized_start=907 + _globals['_COSMOSPUBKEY']._serialized_end=948 + _globals['_BROADCASTTXRESPONSE']._serialized_start=951 + _globals['_BROADCASTTXRESPONSE']._serialized_end=1103 + _globals['_PREPARECOSMOSTXREQUEST']._serialized_start=1106 + _globals['_PREPARECOSMOSTXREQUEST']._serialized_end=1274 + _globals['_PREPARECOSMOSTXRESPONSE']._serialized_start=1277 + _globals['_PREPARECOSMOSTXRESPONSE']._serialized_end=1462 + _globals['_BROADCASTCOSMOSTXREQUEST']._serialized_start=1465 + _globals['_BROADCASTCOSMOSTXREQUEST']._serialized_end=1601 + _globals['_BROADCASTCOSMOSTXRESPONSE']._serialized_start=1604 + _globals['_BROADCASTCOSMOSTXRESPONSE']._serialized_end=1762 + _globals['_GETFEEPAYERREQUEST']._serialized_start=1764 + _globals['_GETFEEPAYERREQUEST']._serialized_end=1784 + _globals['_GETFEEPAYERRESPONSE']._serialized_start=1786 + _globals['_GETFEEPAYERRESPONSE']._serialized_end=1891 + _globals['_INJECTIVEEXCHANGERPC']._serialized_start=1894 + _globals['_INJECTIVEEXCHANGERPC']._serialized_end=2546 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py b/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py index bb95253c..6e29c3de 100644 --- a/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exchange/injective_explorer_rpc.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,154 +13,163 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_explorer_rpc.proto\x12\x16injective_explorer_rpc\"\xdf\x01\n\x14GetAccountTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0e\n\x06\x62\x65\x66ore\x18\x02 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\x0c\n\x04type\x18\x06 \x01(\t\x12\x0e\n\x06module\x18\x07 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x08 \x01(\x12\x12\x11\n\tto_number\x18\t \x01(\x12\x12\x12\n\nstart_time\x18\n \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x0b \x01(\x12\x12\x0e\n\x06status\x18\x0c \x01(\t\"{\n\x15GetAccountTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"\xd4\x03\n\x0cTxDetailData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x05 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0c\n\x04info\x18\x08 \x01(\t\x12\x12\n\ngas_wanted\x18\t \x01(\x12\x12\x10\n\x08gas_used\x18\n \x01(\x12\x12/\n\x07gas_fee\x18\x0b \x01(\x0b\x32\x1e.injective_explorer_rpc.GasFee\x12\x11\n\tcodespace\x18\x0c \x01(\t\x12-\n\x06\x65vents\x18\r \x03(\x0b\x32\x1d.injective_explorer_rpc.Event\x12\x0f\n\x07tx_type\x18\x0e \x01(\t\x12\x10\n\x08messages\x18\x0f \x01(\x0c\x12\x35\n\nsignatures\x18\x10 \x03(\x0b\x32!.injective_explorer_rpc.Signature\x12\x0c\n\x04memo\x18\x11 \x01(\t\x12\x11\n\ttx_number\x18\x12 \x01(\x04\x12\x1c\n\x14\x62lock_unix_timestamp\x18\x13 \x01(\x04\x12\x11\n\terror_log\x18\x14 \x01(\t\x12\x0c\n\x04logs\x18\x15 \x01(\x0c\"o\n\x06GasFee\x12\x32\n\x06\x61mount\x18\x01 \x03(\x0b\x32\".injective_explorer_rpc.CosmosCoin\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\r\n\x05payer\x18\x03 \x01(\t\x12\x0f\n\x07granter\x18\x04 \x01(\t\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8b\x01\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x41\n\nattributes\x18\x02 \x03(\x0b\x32-.injective_explorer_rpc.Event.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\tSignature\x12\x0e\n\x06pubkey\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\tsignature\x18\x04 \x01(\t\"m\n\x15GetContractTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\x13\n\x0b\x66rom_number\x18\x04 \x01(\x12\x12\x11\n\tto_number\x18\x05 \x01(\x12\"|\n\x16GetContractTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"@\n\x10GetBlocksRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"t\n\x11GetBlocksResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12/\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32!.injective_explorer_rpc.BlockInfo\"\xd4\x01\n\tBlockInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t\"\xad\x01\n\tTxDataRPC\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\"\x1d\n\x0fGetBlockRequest\x12\n\n\x02id\x18\x01 \x01(\t\"d\n\x10GetBlockResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\'.injective_explorer_rpc.BlockDetailInfo\"\xea\x01\n\x0f\x42lockDetailInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12\x11\n\ttotal_txs\x18\x08 \x01(\x12\x12+\n\x03txs\x18\t \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\x12\x11\n\ttimestamp\x18\n \x01(\t\"\xce\x01\n\x06TxData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\x0c\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\x12\x14\n\x0ctx_msg_types\x18\n \x01(\x0c\x12\x0c\n\x04logs\x18\x0b \x01(\x0c\"\x16\n\x14GetValidatorsRequest\"c\n\x15GetValidatorsResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32!.injective_explorer_rpc.Validator\"\xf0\x04\n\tValidator\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07moniker\x18\x02 \x01(\t\x12\x18\n\x10operator_address\x18\x03 \x01(\t\x12\x19\n\x11\x63onsensus_address\x18\x04 \x01(\t\x12\x0e\n\x06jailed\x18\x05 \x01(\x08\x12\x0e\n\x06status\x18\x06 \x01(\x11\x12\x0e\n\x06tokens\x18\x07 \x01(\t\x12\x18\n\x10\x64\x65legator_shares\x18\x08 \x01(\t\x12\x41\n\x0b\x64\x65scription\x18\t \x01(\x0b\x32,.injective_explorer_rpc.ValidatorDescription\x12\x18\n\x10unbonding_height\x18\n \x01(\x12\x12\x16\n\x0eunbonding_time\x18\x0b \x01(\t\x12\x17\n\x0f\x63ommission_rate\x18\x0c \x01(\t\x12\x1b\n\x13\x63ommission_max_rate\x18\r \x01(\t\x12\"\n\x1a\x63ommission_max_change_rate\x18\x0e \x01(\t\x12\x1e\n\x16\x63ommission_update_time\x18\x0f \x01(\t\x12\x10\n\x08proposed\x18\x10 \x01(\x04\x12\x0e\n\x06signed\x18\x11 \x01(\x04\x12\x0e\n\x06missed\x18\x12 \x01(\x04\x12\x11\n\ttimestamp\x18\x13 \x01(\t\x12\x38\n\x07uptimes\x18\x14 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\x12>\n\x0fslashing_events\x18\x15 \x03(\x0b\x32%.injective_explorer_rpc.SlashingEvent\x12\x19\n\x11uptime_percentage\x18\x16 \x01(\x01\"u\n\x14ValidatorDescription\x12\x0f\n\x07moniker\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0f\n\x07website\x18\x03 \x01(\t\x12\x18\n\x10security_contact\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x05 \x01(\t\"7\n\x0fValidatorUptime\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x0e\n\x06status\x18\x02 \x01(\t\"\x95\x01\n\rSlashingEvent\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\r\n\x05power\x18\x04 \x01(\x04\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x0e\n\x06jailed\x18\x06 \x01(\t\x12\x15\n\rmissed_blocks\x18\x07 \x01(\x04\"&\n\x13GetValidatorRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"b\n\x14GetValidatorResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32!.injective_explorer_rpc.Validator\",\n\x19GetValidatorUptimeRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"n\n\x1aGetValidatorUptimeResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\"\xc7\x01\n\rGetTxsRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\x0c\n\x04type\x18\x05 \x01(\t\x12\x0e\n\x06module\x18\x06 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x07 \x01(\x12\x12\x11\n\tto_number\x18\x08 \x01(\x12\x12\x12\n\nstart_time\x18\t \x01(\x12\x12\x10\n\x08\x65nd_time\x18\n \x01(\x12\x12\x0e\n\x06status\x18\x0b \x01(\t\"n\n\x0eGetTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12,\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\"$\n\x14GetTxByTxHashRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"f\n\x15GetTxByTxHashResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x32\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32$.injective_explorer_rpc.TxDetailData\"Z\n\x19GetPeggyDepositTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"S\n\x1aGetPeggyDepositTxsResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.PeggyDepositTx\"\xf8\x01\n\x0ePeggyDepositTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\x03 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x04 \x01(\x04\x12\x0e\n\x06\x61mount\x18\x05 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x06 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x07 \x01(\t\x12\r\n\x05state\x18\x08 \x01(\t\x12\x12\n\nclaim_type\x18\t \x01(\x11\x12\x11\n\ttx_hashes\x18\n \x03(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\t\"]\n\x1cGetPeggyWithdrawalTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"Y\n\x1dGetPeggyWithdrawalTxsResponse\x12\x38\n\x05\x66ield\x18\x01 \x03(\x0b\x32).injective_explorer_rpc.PeggyWithdrawalTx\"\xd3\x02\n\x11PeggyWithdrawalTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x04 \x01(\t\x12\x12\n\nbridge_fee\x18\x05 \x01(\t\x12\x16\n\x0eoutgoing_tx_id\x18\x06 \x01(\x04\x12\x15\n\rbatch_timeout\x18\x07 \x01(\x04\x12\x13\n\x0b\x62\x61tch_nonce\x18\x08 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\t \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\n \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x0b \x01(\x04\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\nclaim_type\x18\r \x01(\x11\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"\xa9\x01\n\x18GetIBCTransferTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsrc_channel\x18\x03 \x01(\t\x12\x10\n\x08src_port\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65st_channel\x18\x05 \x01(\t\x12\x11\n\tdest_port\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"Q\n\x19GetIBCTransferTxsResponse\x12\x34\n\x05\x66ield\x18\x01 \x03(\x0b\x32%.injective_explorer_rpc.IBCTransferTx\"\xdc\x02\n\rIBCTransferTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsource_port\x18\x03 \x01(\t\x12\x16\n\x0esource_channel\x18\x04 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x05 \x01(\t\x12\x1b\n\x13\x64\x65stination_channel\x18\x06 \x01(\t\x12\x0e\n\x06\x61mount\x18\x07 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x08 \x01(\t\x12\x16\n\x0etimeout_height\x18\t \x01(\t\x12\x19\n\x11timeout_timestamp\x18\n \x01(\x04\x12\x17\n\x0fpacket_sequence\x18\x0b \x01(\x04\x12\x10\n\x08\x64\x61ta_hex\x18\x0c \x01(\x0c\x12\r\n\x05state\x18\r \x01(\t\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"L\n\x13GetWasmCodesRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x02 \x01(\x12\x12\x11\n\tto_number\x18\x03 \x01(\x12\"v\n\x14GetWasmCodesResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12.\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective_explorer_rpc.WasmCode\"\xd5\x02\n\x08WasmCode\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"+\n\x08\x43hecksum\x12\x11\n\talgorithm\x18\x01 \x01(\t\x12\x0c\n\x04hash\x18\x02 \x01(\t\":\n\x12\x43ontractPermission\x12\x13\n\x0b\x61\x63\x63\x65ss_type\x18\x01 \x01(\x11\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\")\n\x16GetWasmCodeByIDRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x12\"\xe4\x02\n\x17GetWasmCodeByIDResponse\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"\x84\x01\n\x17GetWasmContractsRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x0f\n\x07\x63ode_id\x18\x02 \x01(\x12\x12\x13\n\x0b\x66rom_number\x18\x03 \x01(\x12\x12\x11\n\tto_number\x18\x04 \x01(\x12\x12\x13\n\x0b\x61ssets_only\x18\x05 \x01(\x08\x12\x0c\n\x04skip\x18\x06 \x01(\x12\"~\n\x18GetWasmContractsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.WasmContract\"\xab\x03\n\x0cWasmContract\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"-\n\x0c\x43ontractFund\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8c\x01\n\x0c\x43w20Metadata\x12\x39\n\ntoken_info\x18\x01 \x01(\x0b\x32%.injective_explorer_rpc.Cw20TokenInfo\x12\x41\n\x0emarketing_info\x18\x02 \x01(\x0b\x32).injective_explorer_rpc.Cw20MarketingInfo\"U\n\rCw20TokenInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x03 \x01(\x12\x12\x14\n\x0ctotal_supply\x18\x04 \x01(\t\"Z\n\x11\x43w20MarketingInfo\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04logo\x18\x03 \x01(\t\x12\x11\n\tmarketing\x18\x04 \x01(\x0c\";\n\x1fGetWasmContractByAddressRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"\xbf\x03\n GetWasmContractByAddressResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"7\n\x15GetCw20BalanceRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\"P\n\x16GetCw20BalanceResponse\x12\x36\n\x05\x66ield\x18\x01 \x03(\x0b\x32\'.injective_explorer_rpc.WasmCw20Balance\"\x9e\x01\n\x0fWasmCw20Balance\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x03 \x01(\t\x12\x12\n\nupdated_at\x18\x04 \x01(\x12\x12;\n\rcw20_metadata\x18\x05 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\"&\n\x0fRelayersRequest\x12\x13\n\x0bmarket_i_ds\x18\x01 \x03(\t\"I\n\x10RelayersResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.RelayerMarkets\"V\n\x0eRelayerMarkets\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x31\n\x08relayers\x18\x02 \x03(\x0b\x32\x1f.injective_explorer_rpc.Relayer\"$\n\x07Relayer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x63ta\x18\x02 \x01(\t\"\x12\n\x10StreamTxsRequest\"\xb5\x01\n\x11StreamTxsResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\"\x15\n\x13StreamBlocksRequest\"\xdf\x01\n\x14StreamBlocksResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t2\xd8\x11\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\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\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\x1bZ\x19/injective_explorer_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_explorer_rpc.proto\x12\x16injective_explorer_rpc\"\xdf\x01\n\x14GetAccountTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0e\n\x06\x62\x65\x66ore\x18\x02 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\x0c\n\x04type\x18\x06 \x01(\t\x12\x0e\n\x06module\x18\x07 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x08 \x01(\x12\x12\x11\n\tto_number\x18\t \x01(\x12\x12\x12\n\nstart_time\x18\n \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x0b \x01(\x12\x12\x0e\n\x06status\x18\x0c \x01(\t\"{\n\x15GetAccountTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\xe7\x03\n\x0cTxDetailData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x05 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0c\n\x04info\x18\x08 \x01(\t\x12\x12\n\ngas_wanted\x18\t \x01(\x12\x12\x10\n\x08gas_used\x18\n \x01(\x12\x12/\n\x07gas_fee\x18\x0b \x01(\x0b\x32\x1e.injective_explorer_rpc.GasFee\x12\x11\n\tcodespace\x18\x0c \x01(\t\x12-\n\x06\x65vents\x18\r \x03(\x0b\x32\x1d.injective_explorer_rpc.Event\x12\x0f\n\x07tx_type\x18\x0e \x01(\t\x12\x10\n\x08messages\x18\x0f \x01(\x0c\x12\x35\n\nsignatures\x18\x10 \x03(\x0b\x32!.injective_explorer_rpc.Signature\x12\x0c\n\x04memo\x18\x11 \x01(\t\x12\x11\n\ttx_number\x18\x12 \x01(\x04\x12\x1c\n\x14\x62lock_unix_timestamp\x18\x13 \x01(\x04\x12\x11\n\terror_log\x18\x14 \x01(\t\x12\x0c\n\x04logs\x18\x15 \x01(\x0c\x12\x11\n\tclaim_ids\x18\x16 \x03(\x12\"o\n\x06GasFee\x12\x32\n\x06\x61mount\x18\x01 \x03(\x0b\x32\".injective_explorer_rpc.CosmosCoin\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\r\n\x05payer\x18\x03 \x01(\t\x12\x0f\n\x07granter\x18\x04 \x01(\t\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8b\x01\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x41\n\nattributes\x18\x02 \x03(\x0b\x32-.injective_explorer_rpc.Event.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\tSignature\x12\x0e\n\x06pubkey\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\tsignature\x18\x04 \x01(\t\"m\n\x15GetContractTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\x13\n\x0b\x66rom_number\x18\x04 \x01(\x12\x12\x11\n\tto_number\x18\x05 \x01(\x12\"|\n\x16GetContractTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"@\n\x10GetBlocksRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"t\n\x11GetBlocksResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12/\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32!.injective_explorer_rpc.BlockInfo\"\xd4\x01\n\tBlockInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t\"\xc0\x01\n\tTxDataRPC\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\x12\x11\n\tclaim_ids\x18\n \x03(\x12\"\x1d\n\x0fGetBlockRequest\x12\n\n\x02id\x18\x01 \x01(\t\"d\n\x10GetBlockResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\'.injective_explorer_rpc.BlockDetailInfo\"\xea\x01\n\x0f\x42lockDetailInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12\x11\n\ttotal_txs\x18\x08 \x01(\x12\x12+\n\x03txs\x18\t \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\x12\x11\n\ttimestamp\x18\n \x01(\t\"\xe1\x01\n\x06TxData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\x0c\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\x12\x14\n\x0ctx_msg_types\x18\n \x01(\x0c\x12\x0c\n\x04logs\x18\x0b \x01(\x0c\x12\x11\n\tclaim_ids\x18\x0c \x03(\x12\"\x16\n\x14GetValidatorsRequest\"c\n\x15GetValidatorsResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32!.injective_explorer_rpc.Validator\"\x83\x05\n\tValidator\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07moniker\x18\x02 \x01(\t\x12\x18\n\x10operator_address\x18\x03 \x01(\t\x12\x19\n\x11\x63onsensus_address\x18\x04 \x01(\t\x12\x0e\n\x06jailed\x18\x05 \x01(\x08\x12\x0e\n\x06status\x18\x06 \x01(\x11\x12\x0e\n\x06tokens\x18\x07 \x01(\t\x12\x18\n\x10\x64\x65legator_shares\x18\x08 \x01(\t\x12\x41\n\x0b\x64\x65scription\x18\t \x01(\x0b\x32,.injective_explorer_rpc.ValidatorDescription\x12\x18\n\x10unbonding_height\x18\n \x01(\x12\x12\x16\n\x0eunbonding_time\x18\x0b \x01(\t\x12\x17\n\x0f\x63ommission_rate\x18\x0c \x01(\t\x12\x1b\n\x13\x63ommission_max_rate\x18\r \x01(\t\x12\"\n\x1a\x63ommission_max_change_rate\x18\x0e \x01(\t\x12\x1e\n\x16\x63ommission_update_time\x18\x0f \x01(\t\x12\x10\n\x08proposed\x18\x10 \x01(\x04\x12\x0e\n\x06signed\x18\x11 \x01(\x04\x12\x0e\n\x06missed\x18\x12 \x01(\x04\x12\x11\n\ttimestamp\x18\x13 \x01(\t\x12\x38\n\x07uptimes\x18\x14 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\x12>\n\x0fslashing_events\x18\x15 \x03(\x0b\x32%.injective_explorer_rpc.SlashingEvent\x12\x19\n\x11uptime_percentage\x18\x16 \x01(\x01\x12\x11\n\timage_url\x18\x17 \x01(\t\"\x88\x01\n\x14ValidatorDescription\x12\x0f\n\x07moniker\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0f\n\x07website\x18\x03 \x01(\t\x12\x18\n\x10security_contact\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x05 \x01(\t\x12\x11\n\timage_url\x18\x06 \x01(\t\"7\n\x0fValidatorUptime\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x0e\n\x06status\x18\x02 \x01(\t\"\x95\x01\n\rSlashingEvent\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\r\n\x05power\x18\x04 \x01(\x04\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x0e\n\x06jailed\x18\x06 \x01(\t\x12\x15\n\rmissed_blocks\x18\x07 \x01(\x04\"&\n\x13GetValidatorRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"b\n\x14GetValidatorResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32!.injective_explorer_rpc.Validator\",\n\x19GetValidatorUptimeRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"n\n\x1aGetValidatorUptimeResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\"\xc7\x01\n\rGetTxsRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\x0c\n\x04type\x18\x05 \x01(\t\x12\x0e\n\x06module\x18\x06 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x07 \x01(\x12\x12\x11\n\tto_number\x18\x08 \x01(\x12\x12\x12\n\nstart_time\x18\t \x01(\x12\x12\x10\n\x08\x65nd_time\x18\n \x01(\x12\x12\x0e\n\x06status\x18\x0b \x01(\t\"n\n\x0eGetTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12,\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\"$\n\x14GetTxByTxHashRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"f\n\x15GetTxByTxHashResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x32\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32$.injective_explorer_rpc.TxDetailData\"Z\n\x19GetPeggyDepositTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"S\n\x1aGetPeggyDepositTxsResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.PeggyDepositTx\"\xf8\x01\n\x0ePeggyDepositTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\x03 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x04 \x01(\x04\x12\x0e\n\x06\x61mount\x18\x05 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x06 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x07 \x01(\t\x12\r\n\x05state\x18\x08 \x01(\t\x12\x12\n\nclaim_type\x18\t \x01(\x11\x12\x11\n\ttx_hashes\x18\n \x03(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\t\"]\n\x1cGetPeggyWithdrawalTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"Y\n\x1dGetPeggyWithdrawalTxsResponse\x12\x38\n\x05\x66ield\x18\x01 \x03(\x0b\x32).injective_explorer_rpc.PeggyWithdrawalTx\"\xd3\x02\n\x11PeggyWithdrawalTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x04 \x01(\t\x12\x12\n\nbridge_fee\x18\x05 \x01(\t\x12\x16\n\x0eoutgoing_tx_id\x18\x06 \x01(\x04\x12\x15\n\rbatch_timeout\x18\x07 \x01(\x04\x12\x13\n\x0b\x62\x61tch_nonce\x18\x08 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\t \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\n \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x0b \x01(\x04\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\nclaim_type\x18\r \x01(\x11\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"\xa9\x01\n\x18GetIBCTransferTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsrc_channel\x18\x03 \x01(\t\x12\x10\n\x08src_port\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65st_channel\x18\x05 \x01(\t\x12\x11\n\tdest_port\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"Q\n\x19GetIBCTransferTxsResponse\x12\x34\n\x05\x66ield\x18\x01 \x03(\x0b\x32%.injective_explorer_rpc.IBCTransferTx\"\xdc\x02\n\rIBCTransferTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsource_port\x18\x03 \x01(\t\x12\x16\n\x0esource_channel\x18\x04 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x05 \x01(\t\x12\x1b\n\x13\x64\x65stination_channel\x18\x06 \x01(\t\x12\x0e\n\x06\x61mount\x18\x07 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x08 \x01(\t\x12\x16\n\x0etimeout_height\x18\t \x01(\t\x12\x19\n\x11timeout_timestamp\x18\n \x01(\x04\x12\x17\n\x0fpacket_sequence\x18\x0b \x01(\x04\x12\x10\n\x08\x64\x61ta_hex\x18\x0c \x01(\x0c\x12\r\n\x05state\x18\r \x01(\t\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"L\n\x13GetWasmCodesRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x02 \x01(\x12\x12\x11\n\tto_number\x18\x03 \x01(\x12\"v\n\x14GetWasmCodesResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12.\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective_explorer_rpc.WasmCode\"\xd5\x02\n\x08WasmCode\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"+\n\x08\x43hecksum\x12\x11\n\talgorithm\x18\x01 \x01(\t\x12\x0c\n\x04hash\x18\x02 \x01(\t\":\n\x12\x43ontractPermission\x12\x13\n\x0b\x61\x63\x63\x65ss_type\x18\x01 \x01(\x11\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\")\n\x16GetWasmCodeByIDRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x12\"\xe4\x02\n\x17GetWasmCodeByIDResponse\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"\x93\x01\n\x17GetWasmContractsRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x0f\n\x07\x63ode_id\x18\x02 \x01(\x12\x12\x13\n\x0b\x66rom_number\x18\x03 \x01(\x12\x12\x11\n\tto_number\x18\x04 \x01(\x12\x12\x13\n\x0b\x61ssets_only\x18\x05 \x01(\x08\x12\x0c\n\x04skip\x18\x06 \x01(\x12\x12\r\n\x05label\x18\x07 \x01(\t\"~\n\x18GetWasmContractsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.WasmContract\"\xab\x03\n\x0cWasmContract\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"-\n\x0c\x43ontractFund\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8c\x01\n\x0c\x43w20Metadata\x12\x39\n\ntoken_info\x18\x01 \x01(\x0b\x32%.injective_explorer_rpc.Cw20TokenInfo\x12\x41\n\x0emarketing_info\x18\x02 \x01(\x0b\x32).injective_explorer_rpc.Cw20MarketingInfo\"U\n\rCw20TokenInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x03 \x01(\x12\x12\x14\n\x0ctotal_supply\x18\x04 \x01(\t\"Z\n\x11\x43w20MarketingInfo\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04logo\x18\x03 \x01(\t\x12\x11\n\tmarketing\x18\x04 \x01(\x0c\";\n\x1fGetWasmContractByAddressRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"\xbf\x03\n GetWasmContractByAddressResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"7\n\x15GetCw20BalanceRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\"P\n\x16GetCw20BalanceResponse\x12\x36\n\x05\x66ield\x18\x01 \x03(\x0b\x32\'.injective_explorer_rpc.WasmCw20Balance\"\x9e\x01\n\x0fWasmCw20Balance\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x03 \x01(\t\x12\x12\n\nupdated_at\x18\x04 \x01(\x12\x12;\n\rcw20_metadata\x18\x05 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\"&\n\x0fRelayersRequest\x12\x13\n\x0bmarket_i_ds\x18\x01 \x03(\t\"I\n\x10RelayersResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.RelayerMarkets\"V\n\x0eRelayerMarkets\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x31\n\x08relayers\x18\x02 \x03(\x0b\x32\x1f.injective_explorer_rpc.Relayer\"$\n\x07Relayer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x63ta\x18\x02 \x01(\t\"\xd6\x01\n\x17GetBankTransfersRequest\x12\x0f\n\x07senders\x18\x01 \x03(\t\x12\x12\n\nrecipients\x18\x02 \x03(\t\x12!\n\x19is_community_pool_related\x18\x03 \x01(\x08\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x0f\n\x07\x61\x64\x64ress\x18\x08 \x03(\t\x12\x10\n\x08per_page\x18\t \x01(\x11\x12\r\n\x05token\x18\n \x01(\t\"~\n\x18GetBankTransfersResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.BankTransfer\"\x8f\x01\n\x0c\x42\x61nkTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\trecipient\x18\x02 \x01(\t\x12-\n\x07\x61mounts\x18\x03 \x03(\x0b\x32\x1c.injective_explorer_rpc.Coin\x12\x14\n\x0c\x62lock_number\x18\x04 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x05 \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x12\n\x10StreamTxsRequest\"\xc8\x01\n\x11StreamTxsResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\x12\x11\n\tclaim_ids\x18\n \x03(\x12\"\x15\n\x13StreamBlocksRequest\"\xdf\x01\n\x14StreamBlocksResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t2\xcf\x12\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\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\x1bZ\x19/injective_explorer_rpcpbb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_explorer_rpc_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_explorer_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\031/injective_explorer_rpcpb' _EVENT_ATTRIBUTESENTRY._options = None _EVENT_ATTRIBUTESENTRY._serialized_options = b'8\001' - _GETACCOUNTTXSREQUEST._serialized_start=66 - _GETACCOUNTTXSREQUEST._serialized_end=289 - _GETACCOUNTTXSRESPONSE._serialized_start=291 - _GETACCOUNTTXSRESPONSE._serialized_end=414 - _PAGING._serialized_start=416 - _PAGING._serialized_end=494 - _TXDETAILDATA._serialized_start=497 - _TXDETAILDATA._serialized_end=965 - _GASFEE._serialized_start=967 - _GASFEE._serialized_end=1078 - _COSMOSCOIN._serialized_start=1080 - _COSMOSCOIN._serialized_end=1123 - _EVENT._serialized_start=1126 - _EVENT._serialized_end=1265 - _EVENT_ATTRIBUTESENTRY._serialized_start=1216 - _EVENT_ATTRIBUTESENTRY._serialized_end=1265 - _SIGNATURE._serialized_start=1267 - _SIGNATURE._serialized_end=1348 - _GETCONTRACTTXSREQUEST._serialized_start=1350 - _GETCONTRACTTXSREQUEST._serialized_end=1459 - _GETCONTRACTTXSRESPONSE._serialized_start=1461 - _GETCONTRACTTXSRESPONSE._serialized_end=1585 - _GETBLOCKSREQUEST._serialized_start=1587 - _GETBLOCKSREQUEST._serialized_end=1651 - _GETBLOCKSRESPONSE._serialized_start=1653 - _GETBLOCKSRESPONSE._serialized_end=1769 - _BLOCKINFO._serialized_start=1772 - _BLOCKINFO._serialized_end=1984 - _TXDATARPC._serialized_start=1987 - _TXDATARPC._serialized_end=2160 - _GETBLOCKREQUEST._serialized_start=2162 - _GETBLOCKREQUEST._serialized_end=2191 - _GETBLOCKRESPONSE._serialized_start=2193 - _GETBLOCKRESPONSE._serialized_end=2293 - _BLOCKDETAILINFO._serialized_start=2296 - _BLOCKDETAILINFO._serialized_end=2530 - _TXDATA._serialized_start=2533 - _TXDATA._serialized_end=2739 - _GETVALIDATORSREQUEST._serialized_start=2741 - _GETVALIDATORSREQUEST._serialized_end=2763 - _GETVALIDATORSRESPONSE._serialized_start=2765 - _GETVALIDATORSRESPONSE._serialized_end=2864 - _VALIDATOR._serialized_start=2867 - _VALIDATOR._serialized_end=3491 - _VALIDATORDESCRIPTION._serialized_start=3493 - _VALIDATORDESCRIPTION._serialized_end=3610 - _VALIDATORUPTIME._serialized_start=3612 - _VALIDATORUPTIME._serialized_end=3667 - _SLASHINGEVENT._serialized_start=3670 - _SLASHINGEVENT._serialized_end=3819 - _GETVALIDATORREQUEST._serialized_start=3821 - _GETVALIDATORREQUEST._serialized_end=3859 - _GETVALIDATORRESPONSE._serialized_start=3861 - _GETVALIDATORRESPONSE._serialized_end=3959 - _GETVALIDATORUPTIMEREQUEST._serialized_start=3961 - _GETVALIDATORUPTIMEREQUEST._serialized_end=4005 - _GETVALIDATORUPTIMERESPONSE._serialized_start=4007 - _GETVALIDATORUPTIMERESPONSE._serialized_end=4117 - _GETTXSREQUEST._serialized_start=4120 - _GETTXSREQUEST._serialized_end=4319 - _GETTXSRESPONSE._serialized_start=4321 - _GETTXSRESPONSE._serialized_end=4431 - _GETTXBYTXHASHREQUEST._serialized_start=4433 - _GETTXBYTXHASHREQUEST._serialized_end=4469 - _GETTXBYTXHASHRESPONSE._serialized_start=4471 - _GETTXBYTXHASHRESPONSE._serialized_end=4573 - _GETPEGGYDEPOSITTXSREQUEST._serialized_start=4575 - _GETPEGGYDEPOSITTXSREQUEST._serialized_end=4665 - _GETPEGGYDEPOSITTXSRESPONSE._serialized_start=4667 - _GETPEGGYDEPOSITTXSRESPONSE._serialized_end=4750 - _PEGGYDEPOSITTX._serialized_start=4753 - _PEGGYDEPOSITTX._serialized_end=5001 - _GETPEGGYWITHDRAWALTXSREQUEST._serialized_start=5003 - _GETPEGGYWITHDRAWALTXSREQUEST._serialized_end=5096 - _GETPEGGYWITHDRAWALTXSRESPONSE._serialized_start=5098 - _GETPEGGYWITHDRAWALTXSRESPONSE._serialized_end=5187 - _PEGGYWITHDRAWALTX._serialized_start=5190 - _PEGGYWITHDRAWALTX._serialized_end=5529 - _GETIBCTRANSFERTXSREQUEST._serialized_start=5532 - _GETIBCTRANSFERTXSREQUEST._serialized_end=5701 - _GETIBCTRANSFERTXSRESPONSE._serialized_start=5703 - _GETIBCTRANSFERTXSRESPONSE._serialized_end=5784 - _IBCTRANSFERTX._serialized_start=5787 - _IBCTRANSFERTX._serialized_end=6135 - _GETWASMCODESREQUEST._serialized_start=6137 - _GETWASMCODESREQUEST._serialized_end=6213 - _GETWASMCODESRESPONSE._serialized_start=6215 - _GETWASMCODESRESPONSE._serialized_end=6333 - _WASMCODE._serialized_start=6336 - _WASMCODE._serialized_end=6677 - _CHECKSUM._serialized_start=6679 - _CHECKSUM._serialized_end=6722 - _CONTRACTPERMISSION._serialized_start=6724 - _CONTRACTPERMISSION._serialized_end=6782 - _GETWASMCODEBYIDREQUEST._serialized_start=6784 - _GETWASMCODEBYIDREQUEST._serialized_end=6825 - _GETWASMCODEBYIDRESPONSE._serialized_start=6828 - _GETWASMCODEBYIDRESPONSE._serialized_end=7184 - _GETWASMCONTRACTSREQUEST._serialized_start=7187 - _GETWASMCONTRACTSREQUEST._serialized_end=7319 - _GETWASMCONTRACTSRESPONSE._serialized_start=7321 - _GETWASMCONTRACTSRESPONSE._serialized_end=7447 - _WASMCONTRACT._serialized_start=7450 - _WASMCONTRACT._serialized_end=7877 - _CONTRACTFUND._serialized_start=7879 - _CONTRACTFUND._serialized_end=7924 - _CW20METADATA._serialized_start=7927 - _CW20METADATA._serialized_end=8067 - _CW20TOKENINFO._serialized_start=8069 - _CW20TOKENINFO._serialized_end=8154 - _CW20MARKETINGINFO._serialized_start=8156 - _CW20MARKETINGINFO._serialized_end=8246 - _GETWASMCONTRACTBYADDRESSREQUEST._serialized_start=8248 - _GETWASMCONTRACTBYADDRESSREQUEST._serialized_end=8307 - _GETWASMCONTRACTBYADDRESSRESPONSE._serialized_start=8310 - _GETWASMCONTRACTBYADDRESSRESPONSE._serialized_end=8757 - _GETCW20BALANCEREQUEST._serialized_start=8759 - _GETCW20BALANCEREQUEST._serialized_end=8814 - _GETCW20BALANCERESPONSE._serialized_start=8816 - _GETCW20BALANCERESPONSE._serialized_end=8896 - _WASMCW20BALANCE._serialized_start=8899 - _WASMCW20BALANCE._serialized_end=9057 - _RELAYERSREQUEST._serialized_start=9059 - _RELAYERSREQUEST._serialized_end=9097 - _RELAYERSRESPONSE._serialized_start=9099 - _RELAYERSRESPONSE._serialized_end=9172 - _RELAYERMARKETS._serialized_start=9174 - _RELAYERMARKETS._serialized_end=9260 - _RELAYER._serialized_start=9262 - _RELAYER._serialized_end=9298 - _STREAMTXSREQUEST._serialized_start=9300 - _STREAMTXSREQUEST._serialized_end=9318 - _STREAMTXSRESPONSE._serialized_start=9321 - _STREAMTXSRESPONSE._serialized_end=9502 - _STREAMBLOCKSREQUEST._serialized_start=9504 - _STREAMBLOCKSREQUEST._serialized_end=9525 - _STREAMBLOCKSRESPONSE._serialized_start=9528 - _STREAMBLOCKSRESPONSE._serialized_end=9751 - _INJECTIVEEXPLORERRPC._serialized_start=9754 - _INJECTIVEEXPLORERRPC._serialized_end=12018 + _globals['_GETACCOUNTTXSREQUEST']._serialized_start=66 + _globals['_GETACCOUNTTXSREQUEST']._serialized_end=289 + _globals['_GETACCOUNTTXSRESPONSE']._serialized_start=291 + _globals['_GETACCOUNTTXSRESPONSE']._serialized_end=414 + _globals['_PAGING']._serialized_start=416 + _globals['_PAGING']._serialized_end=508 + _globals['_TXDETAILDATA']._serialized_start=511 + _globals['_TXDETAILDATA']._serialized_end=998 + _globals['_GASFEE']._serialized_start=1000 + _globals['_GASFEE']._serialized_end=1111 + _globals['_COSMOSCOIN']._serialized_start=1113 + _globals['_COSMOSCOIN']._serialized_end=1156 + _globals['_EVENT']._serialized_start=1159 + _globals['_EVENT']._serialized_end=1298 + _globals['_EVENT_ATTRIBUTESENTRY']._serialized_start=1249 + _globals['_EVENT_ATTRIBUTESENTRY']._serialized_end=1298 + _globals['_SIGNATURE']._serialized_start=1300 + _globals['_SIGNATURE']._serialized_end=1381 + _globals['_GETCONTRACTTXSREQUEST']._serialized_start=1383 + _globals['_GETCONTRACTTXSREQUEST']._serialized_end=1492 + _globals['_GETCONTRACTTXSRESPONSE']._serialized_start=1494 + _globals['_GETCONTRACTTXSRESPONSE']._serialized_end=1618 + _globals['_GETBLOCKSREQUEST']._serialized_start=1620 + _globals['_GETBLOCKSREQUEST']._serialized_end=1684 + _globals['_GETBLOCKSRESPONSE']._serialized_start=1686 + _globals['_GETBLOCKSRESPONSE']._serialized_end=1802 + _globals['_BLOCKINFO']._serialized_start=1805 + _globals['_BLOCKINFO']._serialized_end=2017 + _globals['_TXDATARPC']._serialized_start=2020 + _globals['_TXDATARPC']._serialized_end=2212 + _globals['_GETBLOCKREQUEST']._serialized_start=2214 + _globals['_GETBLOCKREQUEST']._serialized_end=2243 + _globals['_GETBLOCKRESPONSE']._serialized_start=2245 + _globals['_GETBLOCKRESPONSE']._serialized_end=2345 + _globals['_BLOCKDETAILINFO']._serialized_start=2348 + _globals['_BLOCKDETAILINFO']._serialized_end=2582 + _globals['_TXDATA']._serialized_start=2585 + _globals['_TXDATA']._serialized_end=2810 + _globals['_GETVALIDATORSREQUEST']._serialized_start=2812 + _globals['_GETVALIDATORSREQUEST']._serialized_end=2834 + _globals['_GETVALIDATORSRESPONSE']._serialized_start=2836 + _globals['_GETVALIDATORSRESPONSE']._serialized_end=2935 + _globals['_VALIDATOR']._serialized_start=2938 + _globals['_VALIDATOR']._serialized_end=3581 + _globals['_VALIDATORDESCRIPTION']._serialized_start=3584 + _globals['_VALIDATORDESCRIPTION']._serialized_end=3720 + _globals['_VALIDATORUPTIME']._serialized_start=3722 + _globals['_VALIDATORUPTIME']._serialized_end=3777 + _globals['_SLASHINGEVENT']._serialized_start=3780 + _globals['_SLASHINGEVENT']._serialized_end=3929 + _globals['_GETVALIDATORREQUEST']._serialized_start=3931 + _globals['_GETVALIDATORREQUEST']._serialized_end=3969 + _globals['_GETVALIDATORRESPONSE']._serialized_start=3971 + _globals['_GETVALIDATORRESPONSE']._serialized_end=4069 + _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_start=4071 + _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_end=4115 + _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_start=4117 + _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_end=4227 + _globals['_GETTXSREQUEST']._serialized_start=4230 + _globals['_GETTXSREQUEST']._serialized_end=4429 + _globals['_GETTXSRESPONSE']._serialized_start=4431 + _globals['_GETTXSRESPONSE']._serialized_end=4541 + _globals['_GETTXBYTXHASHREQUEST']._serialized_start=4543 + _globals['_GETTXBYTXHASHREQUEST']._serialized_end=4579 + _globals['_GETTXBYTXHASHRESPONSE']._serialized_start=4581 + _globals['_GETTXBYTXHASHRESPONSE']._serialized_end=4683 + _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_start=4685 + _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_end=4775 + _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_start=4777 + _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_end=4860 + _globals['_PEGGYDEPOSITTX']._serialized_start=4863 + _globals['_PEGGYDEPOSITTX']._serialized_end=5111 + _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_start=5113 + _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_end=5206 + _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_start=5208 + _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_end=5297 + _globals['_PEGGYWITHDRAWALTX']._serialized_start=5300 + _globals['_PEGGYWITHDRAWALTX']._serialized_end=5639 + _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_start=5642 + _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_end=5811 + _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_start=5813 + _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_end=5894 + _globals['_IBCTRANSFERTX']._serialized_start=5897 + _globals['_IBCTRANSFERTX']._serialized_end=6245 + _globals['_GETWASMCODESREQUEST']._serialized_start=6247 + _globals['_GETWASMCODESREQUEST']._serialized_end=6323 + _globals['_GETWASMCODESRESPONSE']._serialized_start=6325 + _globals['_GETWASMCODESRESPONSE']._serialized_end=6443 + _globals['_WASMCODE']._serialized_start=6446 + _globals['_WASMCODE']._serialized_end=6787 + _globals['_CHECKSUM']._serialized_start=6789 + _globals['_CHECKSUM']._serialized_end=6832 + _globals['_CONTRACTPERMISSION']._serialized_start=6834 + _globals['_CONTRACTPERMISSION']._serialized_end=6892 + _globals['_GETWASMCODEBYIDREQUEST']._serialized_start=6894 + _globals['_GETWASMCODEBYIDREQUEST']._serialized_end=6935 + _globals['_GETWASMCODEBYIDRESPONSE']._serialized_start=6938 + _globals['_GETWASMCODEBYIDRESPONSE']._serialized_end=7294 + _globals['_GETWASMCONTRACTSREQUEST']._serialized_start=7297 + _globals['_GETWASMCONTRACTSREQUEST']._serialized_end=7444 + _globals['_GETWASMCONTRACTSRESPONSE']._serialized_start=7446 + _globals['_GETWASMCONTRACTSRESPONSE']._serialized_end=7572 + _globals['_WASMCONTRACT']._serialized_start=7575 + _globals['_WASMCONTRACT']._serialized_end=8002 + _globals['_CONTRACTFUND']._serialized_start=8004 + _globals['_CONTRACTFUND']._serialized_end=8049 + _globals['_CW20METADATA']._serialized_start=8052 + _globals['_CW20METADATA']._serialized_end=8192 + _globals['_CW20TOKENINFO']._serialized_start=8194 + _globals['_CW20TOKENINFO']._serialized_end=8279 + _globals['_CW20MARKETINGINFO']._serialized_start=8281 + _globals['_CW20MARKETINGINFO']._serialized_end=8371 + _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_start=8373 + _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_end=8432 + _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_start=8435 + _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_end=8882 + _globals['_GETCW20BALANCEREQUEST']._serialized_start=8884 + _globals['_GETCW20BALANCEREQUEST']._serialized_end=8939 + _globals['_GETCW20BALANCERESPONSE']._serialized_start=8941 + _globals['_GETCW20BALANCERESPONSE']._serialized_end=9021 + _globals['_WASMCW20BALANCE']._serialized_start=9024 + _globals['_WASMCW20BALANCE']._serialized_end=9182 + _globals['_RELAYERSREQUEST']._serialized_start=9184 + _globals['_RELAYERSREQUEST']._serialized_end=9222 + _globals['_RELAYERSRESPONSE']._serialized_start=9224 + _globals['_RELAYERSRESPONSE']._serialized_end=9297 + _globals['_RELAYERMARKETS']._serialized_start=9299 + _globals['_RELAYERMARKETS']._serialized_end=9385 + _globals['_RELAYER']._serialized_start=9387 + _globals['_RELAYER']._serialized_end=9423 + _globals['_GETBANKTRANSFERSREQUEST']._serialized_start=9426 + _globals['_GETBANKTRANSFERSREQUEST']._serialized_end=9640 + _globals['_GETBANKTRANSFERSRESPONSE']._serialized_start=9642 + _globals['_GETBANKTRANSFERSRESPONSE']._serialized_end=9768 + _globals['_BANKTRANSFER']._serialized_start=9771 + _globals['_BANKTRANSFER']._serialized_end=9914 + _globals['_COIN']._serialized_start=9916 + _globals['_COIN']._serialized_end=9953 + _globals['_STREAMTXSREQUEST']._serialized_start=9955 + _globals['_STREAMTXSREQUEST']._serialized_end=9973 + _globals['_STREAMTXSRESPONSE']._serialized_start=9976 + _globals['_STREAMTXSRESPONSE']._serialized_end=10176 + _globals['_STREAMBLOCKSREQUEST']._serialized_start=10178 + _globals['_STREAMBLOCKSREQUEST']._serialized_end=10199 + _globals['_STREAMBLOCKSRESPONSE']._serialized_start=10202 + _globals['_STREAMBLOCKSRESPONSE']._serialized_end=10425 + _globals['_INJECTIVEEXPLORERRPC']._serialized_start=10428 + _globals['_INJECTIVEEXPLORERRPC']._serialized_end=12811 # @@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 index 655cf39b..7c969b8c 100644 --- a/pyinjective/proto/exchange/injective_explorer_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_explorer_rpc_pb2_grpc.py @@ -105,6 +105,11 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__explorer__rpc__pb2.RelayersRequest.SerializeToString, response_deserializer=exchange_dot_injective__explorer__rpc__pb2.RelayersResponse.FromString, ) + 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, + ) self.StreamTxs = channel.unary_stream( '/injective_explorer_rpc.InjectiveExplorerRPC/StreamTxs', request_serializer=exchange_dot_injective__explorer__rpc__pb2.StreamTxsRequest.SerializeToString, @@ -251,6 +256,13 @@ def Relayers(self, request, context): 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 """ @@ -358,6 +370,11 @@ def add_InjectiveExplorerRPCServicer_to_server(servicer, server): 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, @@ -685,6 +702,23 @@ def Relayers(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @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) + @staticmethod def StreamTxs(request, target, diff --git a/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py b/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py index 186f8f8d..335512f7 100644 --- a/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exchange/injective_insurance_rpc.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,27 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&exchange/injective_insurance_rpc.proto\x12\x17injective_insurance_rpc\"\x0e\n\x0c\x46undsRequest\"F\n\rFundsResponse\x12\x35\n\x05\x66unds\x18\x01 \x03(\x0b\x32&.injective_insurance_rpc.InsuranceFund\"\xcb\x02\n\rInsuranceFund\x12\x15\n\rmarket_ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rdeposit_denom\x18\x03 \x01(\t\x12\x18\n\x10pool_token_denom\x18\x04 \x01(\t\x12)\n!redemption_notice_period_duration\x18\x05 \x01(\x12\x12\x0f\n\x07\x62\x61lance\x18\x06 \x01(\t\x12\x13\n\x0btotal_share\x18\x07 \x01(\t\x12\x13\n\x0boracle_base\x18\x08 \x01(\t\x12\x14\n\x0coracle_quote\x18\t \x01(\t\x12\x13\n\x0boracle_type\x18\n \x01(\t\x12\x0e\n\x06\x65xpiry\x18\x0b \x01(\x12\x12>\n\x12\x64\x65posit_token_meta\x18\x0c \x01(\x0b\x32\".injective_insurance_rpc.TokenMeta\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"P\n\x12RedemptionsRequest\x12\x10\n\x08redeemer\x18\x01 \x01(\t\x12\x18\n\x10redemption_denom\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\"`\n\x13RedemptionsResponse\x12I\n\x14redemption_schedules\x18\x01 \x03(\x0b\x32+.injective_insurance_rpc.RedemptionSchedule\"\x84\x02\n\x12RedemptionSchedule\x12\x15\n\rredemption_id\x18\x01 \x01(\x04\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x10\n\x08redeemer\x18\x03 \x01(\t\x12!\n\x19\x63laimable_redemption_time\x18\x04 \x01(\x12\x12\x19\n\x11redemption_amount\x18\x05 \x01(\t\x12\x18\n\x10redemption_denom\x18\x06 \x01(\t\x12\x14\n\x0crequested_at\x18\x07 \x01(\x12\x12\x18\n\x10\x64isbursed_amount\x18\x08 \x01(\t\x12\x17\n\x0f\x64isbursed_denom\x18\t \x01(\t\x12\x14\n\x0c\x64isbursed_at\x18\n \x01(\x12\x32\xd9\x01\n\x15InjectiveInsuranceRPC\x12V\n\x05\x46unds\x12%.injective_insurance_rpc.FundsRequest\x1a&.injective_insurance_rpc.FundsResponse\x12h\n\x0bRedemptions\x12+.injective_insurance_rpc.RedemptionsRequest\x1a,.injective_insurance_rpc.RedemptionsResponseB\x1cZ\x1a/injective_insurance_rpcpbb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_insurance_rpc_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_insurance_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\032/injective_insurance_rpcpb' - _FUNDSREQUEST._serialized_start=67 - _FUNDSREQUEST._serialized_end=81 - _FUNDSRESPONSE._serialized_start=83 - _FUNDSRESPONSE._serialized_end=153 - _INSURANCEFUND._serialized_start=156 - _INSURANCEFUND._serialized_end=487 - _TOKENMETA._serialized_start=489 - _TOKENMETA._serialized_end=599 - _REDEMPTIONSREQUEST._serialized_start=601 - _REDEMPTIONSREQUEST._serialized_end=681 - _REDEMPTIONSRESPONSE._serialized_start=683 - _REDEMPTIONSRESPONSE._serialized_end=779 - _REDEMPTIONSCHEDULE._serialized_start=782 - _REDEMPTIONSCHEDULE._serialized_end=1042 - _INJECTIVEINSURANCERPC._serialized_start=1045 - _INJECTIVEINSURANCERPC._serialized_end=1262 + _globals['_FUNDSREQUEST']._serialized_start=67 + _globals['_FUNDSREQUEST']._serialized_end=81 + _globals['_FUNDSRESPONSE']._serialized_start=83 + _globals['_FUNDSRESPONSE']._serialized_end=153 + _globals['_INSURANCEFUND']._serialized_start=156 + _globals['_INSURANCEFUND']._serialized_end=487 + _globals['_TOKENMETA']._serialized_start=489 + _globals['_TOKENMETA']._serialized_end=599 + _globals['_REDEMPTIONSREQUEST']._serialized_start=601 + _globals['_REDEMPTIONSREQUEST']._serialized_end=681 + _globals['_REDEMPTIONSRESPONSE']._serialized_start=683 + _globals['_REDEMPTIONSRESPONSE']._serialized_end=779 + _globals['_REDEMPTIONSCHEDULE']._serialized_start=782 + _globals['_REDEMPTIONSCHEDULE']._serialized_end=1042 + _globals['_INJECTIVEINSURANCERPC']._serialized_start=1045 + _globals['_INJECTIVEINSURANCERPC']._serialized_end=1262 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_meta_rpc_pb2.py b/pyinjective/proto/exchange/injective_meta_rpc_pb2.py index 2efc2156..1d0fb240 100644 --- a/pyinjective/proto/exchange/injective_meta_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_meta_rpc_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exchange/injective_meta_rpc.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +15,9 @@ 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\"\x8f\x01\n\x0fVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12=\n\x05\x62uild\x18\x02 \x03(\x0b\x32..injective_meta_rpc.VersionResponse.BuildEntry\x1a,\n\nBuildEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\" \n\x0bInfoRequest\x12\x11\n\ttimestamp\x18\x01 \x01(\x12\"\xc1\x01\n\x0cInfoResponse\x12\x11\n\ttimestamp\x18\x01 \x01(\x12\x12\x13\n\x0bserver_time\x18\x02 \x01(\x12\x12\x0f\n\x07version\x18\x03 \x01(\t\x12:\n\x05\x62uild\x18\x04 \x03(\x0b\x32+.injective_meta_rpc.InfoResponse.BuildEntry\x12\x0e\n\x06region\x18\x05 \x01(\t\x1a,\n\nBuildEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x18\n\x16StreamKeepaliveRequest\"Q\n\x17StreamKeepaliveResponse\x12\r\n\x05\x65vent\x18\x01 \x01(\t\x12\x14\n\x0cnew_endpoint\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"&\n\x14TokenMetadataRequest\x12\x0e\n\x06\x64\x65noms\x18\x01 \x03(\t\"Q\n\x15TokenMetadataResponse\x12\x38\n\x06tokens\x18\x01 \x03(\x0b\x32(.injective_meta_rpc.TokenMetadataElement\"\x93\x01\n\x14TokenMetadataElement\x12\x18\n\x10\x65thereum_address\x18\x01 \x01(\t\x12\x14\n\x0c\x63oingecko_id\x18\x02 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x0e\n\x06symbol\x18\x05 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x06 \x01(\x11\x12\x0c\n\x04logo\x18\x07 \x01(\t2\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\x17Z\x15/injective_meta_rpcpbb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_meta_rpc_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_meta_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -25,32 +26,32 @@ _VERSIONRESPONSE_BUILDENTRY._serialized_options = b'8\001' _INFORESPONSE_BUILDENTRY._options = None _INFORESPONSE_BUILDENTRY._serialized_options = b'8\001' - _PINGREQUEST._serialized_start=57 - _PINGREQUEST._serialized_end=70 - _PINGRESPONSE._serialized_start=72 - _PINGRESPONSE._serialized_end=86 - _VERSIONREQUEST._serialized_start=88 - _VERSIONREQUEST._serialized_end=104 - _VERSIONRESPONSE._serialized_start=107 - _VERSIONRESPONSE._serialized_end=250 - _VERSIONRESPONSE_BUILDENTRY._serialized_start=206 - _VERSIONRESPONSE_BUILDENTRY._serialized_end=250 - _INFOREQUEST._serialized_start=252 - _INFOREQUEST._serialized_end=284 - _INFORESPONSE._serialized_start=287 - _INFORESPONSE._serialized_end=480 - _INFORESPONSE_BUILDENTRY._serialized_start=206 - _INFORESPONSE_BUILDENTRY._serialized_end=250 - _STREAMKEEPALIVEREQUEST._serialized_start=482 - _STREAMKEEPALIVEREQUEST._serialized_end=506 - _STREAMKEEPALIVERESPONSE._serialized_start=508 - _STREAMKEEPALIVERESPONSE._serialized_end=589 - _TOKENMETADATAREQUEST._serialized_start=591 - _TOKENMETADATAREQUEST._serialized_end=629 - _TOKENMETADATARESPONSE._serialized_start=631 - _TOKENMETADATARESPONSE._serialized_end=712 - _TOKENMETADATAELEMENT._serialized_start=715 - _TOKENMETADATAELEMENT._serialized_end=862 - _INJECTIVEMETARPC._serialized_start=865 - _INJECTIVEMETARPC._serialized_end=1329 + _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=250 + _globals['_VERSIONRESPONSE_BUILDENTRY']._serialized_start=206 + _globals['_VERSIONRESPONSE_BUILDENTRY']._serialized_end=250 + _globals['_INFOREQUEST']._serialized_start=252 + _globals['_INFOREQUEST']._serialized_end=284 + _globals['_INFORESPONSE']._serialized_start=287 + _globals['_INFORESPONSE']._serialized_end=480 + _globals['_INFORESPONSE_BUILDENTRY']._serialized_start=206 + _globals['_INFORESPONSE_BUILDENTRY']._serialized_end=250 + _globals['_STREAMKEEPALIVEREQUEST']._serialized_start=482 + _globals['_STREAMKEEPALIVEREQUEST']._serialized_end=506 + _globals['_STREAMKEEPALIVERESPONSE']._serialized_start=508 + _globals['_STREAMKEEPALIVERESPONSE']._serialized_end=589 + _globals['_TOKENMETADATAREQUEST']._serialized_start=591 + _globals['_TOKENMETADATAREQUEST']._serialized_end=629 + _globals['_TOKENMETADATARESPONSE']._serialized_start=631 + _globals['_TOKENMETADATARESPONSE']._serialized_end=712 + _globals['_TOKENMETADATAELEMENT']._serialized_start=715 + _globals['_TOKENMETADATAELEMENT']._serialized_end=862 + _globals['_INJECTIVEMETARPC']._serialized_start=865 + _globals['_INJECTIVEMETARPC']._serialized_end=1329 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py b/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py index c27d3f28..89b39ea9 100644 --- a/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exchange/injective_oracle_rpc.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,31 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#exchange/injective_oracle_rpc.proto\x12\x14injective_oracle_rpc\"\x13\n\x11OracleListRequest\"C\n\x12OracleListResponse\x12-\n\x07oracles\x18\x01 \x03(\x0b\x32\x1c.injective_oracle_rpc.Oracle\"g\n\x06Oracle\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x13\n\x0b\x62\x61se_symbol\x18\x02 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x03 \x01(\t\x12\x13\n\x0boracle_type\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\"k\n\x0cPriceRequest\x12\x13\n\x0b\x62\x61se_symbol\x18\x01 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x02 \x01(\t\x12\x13\n\x0boracle_type\x18\x03 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x04 \x01(\r\"\x1e\n\rPriceResponse\x12\r\n\x05price\x18\x01 \x01(\t\"U\n\x13StreamPricesRequest\x12\x13\n\x0b\x62\x61se_symbol\x18\x01 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x02 \x01(\t\x12\x13\n\x0boracle_type\x18\x03 \x01(\t\"8\n\x14StreamPricesResponse\x12\r\n\x05price\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"2\n\x1cStreamPricesByMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"T\n\x1dStreamPricesByMarketsResponse\x12\r\n\x05price\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\x12\x11\n\tmarket_id\x18\x03 \x01(\t2\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\x19Z\x17/injective_oracle_rpcpbb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_oracle_rpc_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_oracle_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\027/injective_oracle_rpcpb' - _ORACLELISTREQUEST._serialized_start=61 - _ORACLELISTREQUEST._serialized_end=80 - _ORACLELISTRESPONSE._serialized_start=82 - _ORACLELISTRESPONSE._serialized_end=149 - _ORACLE._serialized_start=151 - _ORACLE._serialized_end=254 - _PRICEREQUEST._serialized_start=256 - _PRICEREQUEST._serialized_end=363 - _PRICERESPONSE._serialized_start=365 - _PRICERESPONSE._serialized_end=395 - _STREAMPRICESREQUEST._serialized_start=397 - _STREAMPRICESREQUEST._serialized_end=482 - _STREAMPRICESRESPONSE._serialized_start=484 - _STREAMPRICESRESPONSE._serialized_end=540 - _STREAMPRICESBYMARKETSREQUEST._serialized_start=542 - _STREAMPRICESBYMARKETSREQUEST._serialized_end=592 - _STREAMPRICESBYMARKETSRESPONSE._serialized_start=594 - _STREAMPRICESBYMARKETSRESPONSE._serialized_end=678 - _INJECTIVEORACLERPC._serialized_start=681 - _INJECTIVEORACLERPC._serialized_end=1118 + _globals['_ORACLELISTREQUEST']._serialized_start=61 + _globals['_ORACLELISTREQUEST']._serialized_end=80 + _globals['_ORACLELISTRESPONSE']._serialized_start=82 + _globals['_ORACLELISTRESPONSE']._serialized_end=149 + _globals['_ORACLE']._serialized_start=151 + _globals['_ORACLE']._serialized_end=254 + _globals['_PRICEREQUEST']._serialized_start=256 + _globals['_PRICEREQUEST']._serialized_end=363 + _globals['_PRICERESPONSE']._serialized_start=365 + _globals['_PRICERESPONSE']._serialized_end=395 + _globals['_STREAMPRICESREQUEST']._serialized_start=397 + _globals['_STREAMPRICESREQUEST']._serialized_end=482 + _globals['_STREAMPRICESRESPONSE']._serialized_start=484 + _globals['_STREAMPRICESRESPONSE']._serialized_end=540 + _globals['_STREAMPRICESBYMARKETSREQUEST']._serialized_start=542 + _globals['_STREAMPRICESBYMARKETSREQUEST']._serialized_end=592 + _globals['_STREAMPRICESBYMARKETSRESPONSE']._serialized_start=594 + _globals['_STREAMPRICESBYMARKETSRESPONSE']._serialized_end=678 + _globals['_INJECTIVEORACLERPC']._serialized_start=681 + _globals['_INJECTIVEORACLERPC']._serialized_end=1118 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py index d0800a0c..9d765df5 100644 --- a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exchange/injective_portfolio_rpc.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,32 +15,33 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&exchange/injective_portfolio_rpc.proto\x12\x17injective_portfolio_rpc\"2\n\x17\x41\x63\x63ountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"Q\n\x18\x41\x63\x63ountPortfolioResponse\x12\x35\n\tportfolio\x18\x01 \x01(\x0b\x32\".injective_portfolio_rpc.Portfolio\"\xe6\x01\n\tPortfolio\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x34\n\rbank_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x41\n\x0bsubaccounts\x18\x03 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2\x12G\n\x13positions_with_upnl\x18\x04 \x03(\x0b\x32*.injective_portfolio_rpc.PositionsWithUPNL\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"x\n\x13SubaccountBalanceV2\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12;\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32*.injective_portfolio_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"j\n\x11PositionsWithUPNL\x12=\n\x08position\x18\x01 \x01(\x0b\x32+.injective_portfolio_rpc.DerivativePosition\x12\x16\n\x0eunrealized_pnl\x18\x02 \x01(\t\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"]\n\x1dStreamAccountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"w\n\x1eStreamAccountPortfolioResponse\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x11\n\ttimestamp\x18\x05 \x01(\x12\x32\x9e\x02\n\x15InjectivePortfolioRPC\x12w\n\x10\x41\x63\x63ountPortfolio\x12\x30.injective_portfolio_rpc.AccountPortfolioRequest\x1a\x31.injective_portfolio_rpc.AccountPortfolioResponse\x12\x8b\x01\n\x16StreamAccountPortfolio\x12\x36.injective_portfolio_rpc.StreamAccountPortfolioRequest\x1a\x37.injective_portfolio_rpc.StreamAccountPortfolioResponse0\x01\x42\x1cZ\x1a/injective_portfolio_rpcpbb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_portfolio_rpc_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_portfolio_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\032/injective_portfolio_rpcpb' - _ACCOUNTPORTFOLIOREQUEST._serialized_start=67 - _ACCOUNTPORTFOLIOREQUEST._serialized_end=117 - _ACCOUNTPORTFOLIORESPONSE._serialized_start=119 - _ACCOUNTPORTFOLIORESPONSE._serialized_end=200 - _PORTFOLIO._serialized_start=203 - _PORTFOLIO._serialized_end=433 - _COIN._serialized_start=435 - _COIN._serialized_end=472 - _SUBACCOUNTBALANCEV2._serialized_start=474 - _SUBACCOUNTBALANCEV2._serialized_end=594 - _SUBACCOUNTDEPOSIT._serialized_start=596 - _SUBACCOUNTDEPOSIT._serialized_end=665 - _POSITIONSWITHUPNL._serialized_start=667 - _POSITIONSWITHUPNL._serialized_end=773 - _DERIVATIVEPOSITION._serialized_start=776 - _DERIVATIVEPOSITION._serialized_end=1055 - _STREAMACCOUNTPORTFOLIOREQUEST._serialized_start=1057 - _STREAMACCOUNTPORTFOLIOREQUEST._serialized_end=1150 - _STREAMACCOUNTPORTFOLIORESPONSE._serialized_start=1152 - _STREAMACCOUNTPORTFOLIORESPONSE._serialized_end=1271 - _INJECTIVEPORTFOLIORPC._serialized_start=1274 - _INJECTIVEPORTFOLIORPC._serialized_end=1560 + _globals['_ACCOUNTPORTFOLIOREQUEST']._serialized_start=67 + _globals['_ACCOUNTPORTFOLIOREQUEST']._serialized_end=117 + _globals['_ACCOUNTPORTFOLIORESPONSE']._serialized_start=119 + _globals['_ACCOUNTPORTFOLIORESPONSE']._serialized_end=200 + _globals['_PORTFOLIO']._serialized_start=203 + _globals['_PORTFOLIO']._serialized_end=433 + _globals['_COIN']._serialized_start=435 + _globals['_COIN']._serialized_end=472 + _globals['_SUBACCOUNTBALANCEV2']._serialized_start=474 + _globals['_SUBACCOUNTBALANCEV2']._serialized_end=594 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=596 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=665 + _globals['_POSITIONSWITHUPNL']._serialized_start=667 + _globals['_POSITIONSWITHUPNL']._serialized_end=773 + _globals['_DERIVATIVEPOSITION']._serialized_start=776 + _globals['_DERIVATIVEPOSITION']._serialized_end=1055 + _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_start=1057 + _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_end=1150 + _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_start=1152 + _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_end=1271 + _globals['_INJECTIVEPORTFOLIORPC']._serialized_start=1274 + _globals['_INJECTIVEPORTFOLIORPC']._serialized_end=1560 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py index f25a71f5..e0ca7343 100644 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exchange/injective_spot_exchange_rpc.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,96 +13,105 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"P\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xf1\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x94\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"\xf7\x01\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x9b\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\xf9\x01\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xbb\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xb3\x0e\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\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\x42 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"i\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x04 \x03(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xf1\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x94\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\xf7\x01\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x9b\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\x96\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xbb\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x8a\x01\n\x18\x41tomicSwapHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x05 \x01(\x11\x12\x11\n\tto_number\x18\x06 \x01(\x11\"\x87\x01\n\x19\x41tomicSwapHistoryResponse\x12\x33\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwap\"\xdc\x02\n\nAtomicSwap\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05route\x18\x02 \x01(\t\x12\x36\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x34\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12/\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x18\n\x10\x63ontract_address\x18\x06 \x01(\t\x12\x17\n\x0findex_by_sender\x18\x07 \x01(\x11\x12 \n\x18index_by_sender_contract\x18\x08 \x01(\x11\x12\x0f\n\x07tx_hash\x18\t \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\n \x01(\x12\x12\x15\n\rrefund_amount\x18\x0b \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xb8\x0f\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\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 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_spot_exchange_rpc_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_spot_exchange_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\036/injective_spot_exchange_rpcpb' - _MARKETSREQUEST._serialized_start=75 - _MARKETSREQUEST._serialized_end=155 - _MARKETSRESPONSE._serialized_start=157 - _MARKETSRESPONSE._serialized_end=236 - _SPOTMARKETINFO._serialized_start=239 - _SPOTMARKETINFO._serialized_end=624 - _TOKENMETA._serialized_start=626 - _TOKENMETA._serialized_end=736 - _MARKETREQUEST._serialized_start=738 - _MARKETREQUEST._serialized_end=772 - _MARKETRESPONSE._serialized_start=774 - _MARKETRESPONSE._serialized_end=851 - _STREAMMARKETSREQUEST._serialized_start=853 - _STREAMMARKETSREQUEST._serialized_end=895 - _STREAMMARKETSRESPONSE._serialized_start=897 - _STREAMMARKETSRESPONSE._serialized_end=1024 - _ORDERBOOKV2REQUEST._serialized_start=1026 - _ORDERBOOKV2REQUEST._serialized_end=1065 - _ORDERBOOKV2RESPONSE._serialized_start=1067 - _ORDERBOOKV2RESPONSE._serialized_end=1158 - _SPOTLIMITORDERBOOKV2._serialized_start=1161 - _SPOTLIMITORDERBOOKV2._serialized_end=1331 - _PRICELEVEL._serialized_start=1333 - _PRICELEVEL._serialized_end=1397 - _ORDERBOOKSV2REQUEST._serialized_start=1399 - _ORDERBOOKSV2REQUEST._serialized_end=1440 - _ORDERBOOKSV2RESPONSE._serialized_start=1442 - _ORDERBOOKSV2RESPONSE._serialized_end=1541 - _SINGLESPOTLIMITORDERBOOKV2._serialized_start=1543 - _SINGLESPOTLIMITORDERBOOKV2._serialized_end=1660 - _STREAMORDERBOOKV2REQUEST._serialized_start=1662 - _STREAMORDERBOOKV2REQUEST._serialized_end=1708 - _STREAMORDERBOOKV2RESPONSE._serialized_start=1711 - _STREAMORDERBOOKV2RESPONSE._serialized_end=1870 - _STREAMORDERBOOKUPDATEREQUEST._serialized_start=1872 - _STREAMORDERBOOKUPDATEREQUEST._serialized_end=1922 - _STREAMORDERBOOKUPDATERESPONSE._serialized_start=1925 - _STREAMORDERBOOKUPDATERESPONSE._serialized_end=2103 - _ORDERBOOKLEVELUPDATES._serialized_start=2106 - _ORDERBOOKLEVELUPDATES._serialized_end=2309 - _PRICELEVELUPDATE._serialized_start=2311 - _PRICELEVELUPDATE._serialized_end=2400 - _ORDERSREQUEST._serialized_start=2403 - _ORDERSREQUEST._serialized_end=2644 - _ORDERSRESPONSE._serialized_start=2647 - _ORDERSRESPONSE._serialized_end=2777 - _SPOTLIMITORDER._serialized_start=2780 - _SPOTLIMITORDER._serialized_end=3056 - _PAGING._serialized_start=3058 - _PAGING._serialized_end=3136 - _STREAMORDERSREQUEST._serialized_start=3139 - _STREAMORDERSREQUEST._serialized_end=3386 - _STREAMORDERSRESPONSE._serialized_start=3388 - _STREAMORDERSRESPONSE._serialized_end=3513 - _TRADESREQUEST._serialized_start=3516 - _TRADESREQUEST._serialized_end=3795 - _TRADESRESPONSE._serialized_start=3797 - _TRADESRESPONSE._serialized_end=3922 - _SPOTTRADE._serialized_start=3925 - _SPOTTRADE._serialized_end=4208 - _STREAMTRADESREQUEST._serialized_start=4211 - _STREAMTRADESREQUEST._serialized_end=4496 - _STREAMTRADESRESPONSE._serialized_start=4498 - _STREAMTRADESRESPONSE._serialized_end=4618 - _SUBACCOUNTORDERSLISTREQUEST._serialized_start=4620 - _SUBACCOUNTORDERSLISTREQUEST._serialized_end=4720 - _SUBACCOUNTORDERSLISTRESPONSE._serialized_start=4723 - _SUBACCOUNTORDERSLISTRESPONSE._serialized_end=4867 - _SUBACCOUNTTRADESLISTREQUEST._serialized_start=4870 - _SUBACCOUNTTRADESLISTREQUEST._serialized_end=5013 - _SUBACCOUNTTRADESLISTRESPONSE._serialized_start=5015 - _SUBACCOUNTTRADESLISTRESPONSE._serialized_end=5101 - _ORDERSHISTORYREQUEST._serialized_start=5104 - _ORDERSHISTORYREQUEST._serialized_end=5353 - _ORDERSHISTORYRESPONSE._serialized_start=5356 - _ORDERSHISTORYRESPONSE._serialized_end=5495 - _SPOTORDERHISTORY._serialized_start=5498 - _SPOTORDERHISTORY._serialized_end=5813 - _STREAMORDERSHISTORYREQUEST._serialized_start=5816 - _STREAMORDERSHISTORYREQUEST._serialized_end=5966 - _STREAMORDERSHISTORYRESPONSE._serialized_start=5969 - _STREAMORDERSHISTORYRESPONSE._serialized_end=6103 - _INJECTIVESPOTEXCHANGERPC._serialized_start=6106 - _INJECTIVESPOTEXCHANGERPC._serialized_end=7949 + _globals['_MARKETSREQUEST']._serialized_start=75 + _globals['_MARKETSREQUEST']._serialized_end=180 + _globals['_MARKETSRESPONSE']._serialized_start=182 + _globals['_MARKETSRESPONSE']._serialized_end=261 + _globals['_SPOTMARKETINFO']._serialized_start=264 + _globals['_SPOTMARKETINFO']._serialized_end=649 + _globals['_TOKENMETA']._serialized_start=651 + _globals['_TOKENMETA']._serialized_end=761 + _globals['_MARKETREQUEST']._serialized_start=763 + _globals['_MARKETREQUEST']._serialized_end=797 + _globals['_MARKETRESPONSE']._serialized_start=799 + _globals['_MARKETRESPONSE']._serialized_end=876 + _globals['_STREAMMARKETSREQUEST']._serialized_start=878 + _globals['_STREAMMARKETSREQUEST']._serialized_end=920 + _globals['_STREAMMARKETSRESPONSE']._serialized_start=922 + _globals['_STREAMMARKETSRESPONSE']._serialized_end=1049 + _globals['_ORDERBOOKV2REQUEST']._serialized_start=1051 + _globals['_ORDERBOOKV2REQUEST']._serialized_end=1090 + _globals['_ORDERBOOKV2RESPONSE']._serialized_start=1092 + _globals['_ORDERBOOKV2RESPONSE']._serialized_end=1183 + _globals['_SPOTLIMITORDERBOOKV2']._serialized_start=1186 + _globals['_SPOTLIMITORDERBOOKV2']._serialized_end=1356 + _globals['_PRICELEVEL']._serialized_start=1358 + _globals['_PRICELEVEL']._serialized_end=1422 + _globals['_ORDERBOOKSV2REQUEST']._serialized_start=1424 + _globals['_ORDERBOOKSV2REQUEST']._serialized_end=1465 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=1467 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=1566 + _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_start=1568 + _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_end=1685 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=1687 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=1733 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=1736 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=1895 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=1897 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=1947 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=1950 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=2128 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=2131 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=2334 + _globals['_PRICELEVELUPDATE']._serialized_start=2336 + _globals['_PRICELEVELUPDATE']._serialized_end=2425 + _globals['_ORDERSREQUEST']._serialized_start=2428 + _globals['_ORDERSREQUEST']._serialized_end=2669 + _globals['_ORDERSRESPONSE']._serialized_start=2672 + _globals['_ORDERSRESPONSE']._serialized_end=2802 + _globals['_SPOTLIMITORDER']._serialized_start=2805 + _globals['_SPOTLIMITORDER']._serialized_end=3081 + _globals['_PAGING']._serialized_start=3083 + _globals['_PAGING']._serialized_end=3175 + _globals['_STREAMORDERSREQUEST']._serialized_start=3178 + _globals['_STREAMORDERSREQUEST']._serialized_end=3425 + _globals['_STREAMORDERSRESPONSE']._serialized_start=3427 + _globals['_STREAMORDERSRESPONSE']._serialized_end=3552 + _globals['_TRADESREQUEST']._serialized_start=3555 + _globals['_TRADESREQUEST']._serialized_end=3834 + _globals['_TRADESRESPONSE']._serialized_start=3836 + _globals['_TRADESRESPONSE']._serialized_end=3961 + _globals['_SPOTTRADE']._serialized_start=3964 + _globals['_SPOTTRADE']._serialized_end=4247 + _globals['_STREAMTRADESREQUEST']._serialized_start=4250 + _globals['_STREAMTRADESREQUEST']._serialized_end=4535 + _globals['_STREAMTRADESRESPONSE']._serialized_start=4537 + _globals['_STREAMTRADESRESPONSE']._serialized_end=4657 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=4659 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=4759 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=4762 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=4906 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=4909 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5052 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5054 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5140 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=5143 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=5421 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5424 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=5563 + _globals['_SPOTORDERHISTORY']._serialized_start=5566 + _globals['_SPOTORDERHISTORY']._serialized_end=5881 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=5884 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6034 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6037 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6171 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=6174 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=6312 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=6315 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=6450 + _globals['_ATOMICSWAP']._serialized_start=6453 + _globals['_ATOMICSWAP']._serialized_end=6801 + _globals['_COIN']._serialized_start=6803 + _globals['_COIN']._serialized_end=6840 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6843 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8819 # @@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 index 826a92e8..3328c587 100644 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py @@ -90,6 +90,11 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryRequest.SerializeToString, response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryResponse.FromString, ) + 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, + ) class InjectiveSpotExchangeRPCServicer(object): @@ -201,6 +206,13 @@ def StreamOrdersHistory(self, request, context): 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 = { @@ -279,6 +291,11 @@ def add_InjectiveSpotExchangeRPCServicer_to_server(servicer, server): 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) @@ -544,3 +561,20 @@ def StreamOrdersHistory(request, exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @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) diff --git a/pyinjective/proto/exchange/injective_trading_rpc_pb2.py b/pyinjective/proto/exchange/injective_trading_rpc_pb2.py new file mode 100644 index 00000000..4c2d1fdc --- /dev/null +++ b/pyinjective/proto/exchange/injective_trading_rpc_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: exchange/injective_trading_rpc.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_trading_rpc.proto\x12\x15injective_trading_rpc\"\xb3\x01\n\x1cListTradingStrategiesRequest\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"\x8a\x01\n\x1dListTradingStrategiesResponse\x12:\n\nstrategies\x18\x01 \x03(\x0b\x32&.injective_trading_rpc.TradingStrategy\x12-\n\x06paging\x18\x02 \x01(\x0b\x32\x1d.injective_trading_rpc.Paging\"\xb0\x03\n\x0fTradingStrategy\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x06 \x01(\t\x12\x15\n\rbase_quantity\x18\x07 \x01(\t\x12\x13\n\x0blower_bound\x18\x08 \x01(\t\x12\x13\n\x0bupper_bound\x18\t \x01(\t\x12\x11\n\tstop_loss\x18\n \x01(\t\x12\x13\n\x0btake_profit\x18\x0b \x01(\t\x12\x10\n\x08swap_fee\x18\x0c \x01(\t\x12\x14\n\x0c\x62\x61se_deposit\x18\x11 \x01(\t\x12\x15\n\rquote_deposit\x18\x12 \x01(\t\x12\x18\n\x10market_mid_price\x18\x13 \x01(\t\x12\x16\n\x0e\x63reated_height\x18\r \x01(\x12\x12\x16\n\x0eremoved_height\x18\x0e \x01(\x12\x12\x12\n\ncreated_at\x18\x0f \x01(\x12\x12\x12\n\nupdated_at\x18\x10 \x01(\x12\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t2\x9a\x01\n\x13InjectiveTradingRPC\x12\x82\x01\n\x15ListTradingStrategies\x12\x33.injective_trading_rpc.ListTradingStrategiesRequest\x1a\x34.injective_trading_rpc.ListTradingStrategiesResponseB\x1aZ\x18/injective_trading_rpcpbb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_trading_rpc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z\030/injective_trading_rpcpb' + _globals['_LISTTRADINGSTRATEGIESREQUEST']._serialized_start=64 + _globals['_LISTTRADINGSTRATEGIESREQUEST']._serialized_end=243 + _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_start=246 + _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_end=384 + _globals['_TRADINGSTRATEGY']._serialized_start=387 + _globals['_TRADINGSTRATEGY']._serialized_end=819 + _globals['_PAGING']._serialized_start=821 + _globals['_PAGING']._serialized_end=913 + _globals['_INJECTIVETRADINGRPC']._serialized_start=916 + _globals['_INJECTIVETRADINGRPC']._serialized_end=1070 +# @@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 new file mode 100644 index 00000000..c9d845f0 --- /dev/null +++ b/pyinjective/proto/exchange/injective_trading_rpc_pb2_grpc.py @@ -0,0 +1,73 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from 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, + ) + + +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,)) + + + # 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) diff --git a/pyinjective/proto/gogoproto/gogo_pb2.py b/pyinjective/proto/gogoproto/gogo_pb2.py index c2473161..eb4574ea 100644 --- a/pyinjective/proto/gogoproto/gogo_pb2.py +++ b/pyinjective/proto/gogoproto/gogo_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: gogoproto/gogo.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14gogoproto/gogo.proto\x12\tgogoproto\x1a google/protobuf/descriptor.proto:;\n\x13goproto_enum_prefix\x12\x1c.google.protobuf.EnumOptions\x18\xb1\xe4\x03 \x01(\x08:=\n\x15goproto_enum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc5\xe4\x03 \x01(\x08:5\n\renum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc6\xe4\x03 \x01(\x08:7\n\x0f\x65num_customname\x12\x1c.google.protobuf.EnumOptions\x18\xc7\xe4\x03 \x01(\t:0\n\x08\x65numdecl\x12\x1c.google.protobuf.EnumOptions\x18\xc8\xe4\x03 \x01(\x08:A\n\x14\x65numvalue_customname\x12!.google.protobuf.EnumValueOptions\x18\xd1\x83\x04 \x01(\t:;\n\x13goproto_getters_all\x12\x1c.google.protobuf.FileOptions\x18\x99\xec\x03 \x01(\x08:?\n\x17goproto_enum_prefix_all\x12\x1c.google.protobuf.FileOptions\x18\x9a\xec\x03 \x01(\x08:<\n\x14goproto_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\x9b\xec\x03 \x01(\x08:9\n\x11verbose_equal_all\x12\x1c.google.protobuf.FileOptions\x18\x9c\xec\x03 \x01(\x08:0\n\x08\x66\x61\x63\x65_all\x12\x1c.google.protobuf.FileOptions\x18\x9d\xec\x03 \x01(\x08:4\n\x0cgostring_all\x12\x1c.google.protobuf.FileOptions\x18\x9e\xec\x03 \x01(\x08:4\n\x0cpopulate_all\x12\x1c.google.protobuf.FileOptions\x18\x9f\xec\x03 \x01(\x08:4\n\x0cstringer_all\x12\x1c.google.protobuf.FileOptions\x18\xa0\xec\x03 \x01(\x08:3\n\x0bonlyone_all\x12\x1c.google.protobuf.FileOptions\x18\xa1\xec\x03 \x01(\x08:1\n\tequal_all\x12\x1c.google.protobuf.FileOptions\x18\xa5\xec\x03 \x01(\x08:7\n\x0f\x64\x65scription_all\x12\x1c.google.protobuf.FileOptions\x18\xa6\xec\x03 \x01(\x08:3\n\x0btestgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa7\xec\x03 \x01(\x08:4\n\x0c\x62\x65nchgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa8\xec\x03 \x01(\x08:5\n\rmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xa9\xec\x03 \x01(\x08:7\n\x0funmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaa\xec\x03 \x01(\x08:<\n\x14stable_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xab\xec\x03 \x01(\x08:1\n\tsizer_all\x12\x1c.google.protobuf.FileOptions\x18\xac\xec\x03 \x01(\x08:A\n\x19goproto_enum_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xad\xec\x03 \x01(\x08:9\n\x11\x65num_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xae\xec\x03 \x01(\x08:<\n\x14unsafe_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaf\xec\x03 \x01(\x08:>\n\x16unsafe_unmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xb0\xec\x03 \x01(\x08:B\n\x1agoproto_extensions_map_all\x12\x1c.google.protobuf.FileOptions\x18\xb1\xec\x03 \x01(\x08:@\n\x18goproto_unrecognized_all\x12\x1c.google.protobuf.FileOptions\x18\xb2\xec\x03 \x01(\x08:8\n\x10gogoproto_import\x12\x1c.google.protobuf.FileOptions\x18\xb3\xec\x03 \x01(\x08:6\n\x0eprotosizer_all\x12\x1c.google.protobuf.FileOptions\x18\xb4\xec\x03 \x01(\x08:3\n\x0b\x63ompare_all\x12\x1c.google.protobuf.FileOptions\x18\xb5\xec\x03 \x01(\x08:4\n\x0ctypedecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb6\xec\x03 \x01(\x08:4\n\x0c\x65numdecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb7\xec\x03 \x01(\x08:<\n\x14goproto_registration\x12\x1c.google.protobuf.FileOptions\x18\xb8\xec\x03 \x01(\x08:7\n\x0fmessagename_all\x12\x1c.google.protobuf.FileOptions\x18\xb9\xec\x03 \x01(\x08:=\n\x15goproto_sizecache_all\x12\x1c.google.protobuf.FileOptions\x18\xba\xec\x03 \x01(\x08:;\n\x13goproto_unkeyed_all\x12\x1c.google.protobuf.FileOptions\x18\xbb\xec\x03 \x01(\x08::\n\x0fgoproto_getters\x12\x1f.google.protobuf.MessageOptions\x18\x81\xf4\x03 \x01(\x08:;\n\x10goproto_stringer\x12\x1f.google.protobuf.MessageOptions\x18\x83\xf4\x03 \x01(\x08:8\n\rverbose_equal\x12\x1f.google.protobuf.MessageOptions\x18\x84\xf4\x03 \x01(\x08:/\n\x04\x66\x61\x63\x65\x12\x1f.google.protobuf.MessageOptions\x18\x85\xf4\x03 \x01(\x08:3\n\x08gostring\x12\x1f.google.protobuf.MessageOptions\x18\x86\xf4\x03 \x01(\x08:3\n\x08populate\x12\x1f.google.protobuf.MessageOptions\x18\x87\xf4\x03 \x01(\x08:3\n\x08stringer\x12\x1f.google.protobuf.MessageOptions\x18\xc0\x8b\x04 \x01(\x08:2\n\x07onlyone\x12\x1f.google.protobuf.MessageOptions\x18\x89\xf4\x03 \x01(\x08:0\n\x05\x65qual\x12\x1f.google.protobuf.MessageOptions\x18\x8d\xf4\x03 \x01(\x08:6\n\x0b\x64\x65scription\x12\x1f.google.protobuf.MessageOptions\x18\x8e\xf4\x03 \x01(\x08:2\n\x07testgen\x12\x1f.google.protobuf.MessageOptions\x18\x8f\xf4\x03 \x01(\x08:3\n\x08\x62\x65nchgen\x12\x1f.google.protobuf.MessageOptions\x18\x90\xf4\x03 \x01(\x08:4\n\tmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x91\xf4\x03 \x01(\x08:6\n\x0bunmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x92\xf4\x03 \x01(\x08:;\n\x10stable_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x93\xf4\x03 \x01(\x08:0\n\x05sizer\x12\x1f.google.protobuf.MessageOptions\x18\x94\xf4\x03 \x01(\x08:;\n\x10unsafe_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x97\xf4\x03 \x01(\x08:=\n\x12unsafe_unmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x98\xf4\x03 \x01(\x08:A\n\x16goproto_extensions_map\x12\x1f.google.protobuf.MessageOptions\x18\x99\xf4\x03 \x01(\x08:?\n\x14goproto_unrecognized\x12\x1f.google.protobuf.MessageOptions\x18\x9a\xf4\x03 \x01(\x08:5\n\nprotosizer\x12\x1f.google.protobuf.MessageOptions\x18\x9c\xf4\x03 \x01(\x08:2\n\x07\x63ompare\x12\x1f.google.protobuf.MessageOptions\x18\x9d\xf4\x03 \x01(\x08:3\n\x08typedecl\x12\x1f.google.protobuf.MessageOptions\x18\x9e\xf4\x03 \x01(\x08:6\n\x0bmessagename\x12\x1f.google.protobuf.MessageOptions\x18\xa1\xf4\x03 \x01(\x08:<\n\x11goproto_sizecache\x12\x1f.google.protobuf.MessageOptions\x18\xa2\xf4\x03 \x01(\x08::\n\x0fgoproto_unkeyed\x12\x1f.google.protobuf.MessageOptions\x18\xa3\xf4\x03 \x01(\x08:1\n\x08nullable\x12\x1d.google.protobuf.FieldOptions\x18\xe9\xfb\x03 \x01(\x08:.\n\x05\x65mbed\x12\x1d.google.protobuf.FieldOptions\x18\xea\xfb\x03 \x01(\x08:3\n\ncustomtype\x12\x1d.google.protobuf.FieldOptions\x18\xeb\xfb\x03 \x01(\t:3\n\ncustomname\x12\x1d.google.protobuf.FieldOptions\x18\xec\xfb\x03 \x01(\t:0\n\x07jsontag\x12\x1d.google.protobuf.FieldOptions\x18\xed\xfb\x03 \x01(\t:1\n\x08moretags\x12\x1d.google.protobuf.FieldOptions\x18\xee\xfb\x03 \x01(\t:1\n\x08\x63\x61sttype\x12\x1d.google.protobuf.FieldOptions\x18\xef\xfb\x03 \x01(\t:0\n\x07\x63\x61stkey\x12\x1d.google.protobuf.FieldOptions\x18\xf0\xfb\x03 \x01(\t:2\n\tcastvalue\x12\x1d.google.protobuf.FieldOptions\x18\xf1\xfb\x03 \x01(\t:0\n\x07stdtime\x12\x1d.google.protobuf.FieldOptions\x18\xf2\xfb\x03 \x01(\x08:4\n\x0bstdduration\x12\x1d.google.protobuf.FieldOptions\x18\xf3\xfb\x03 \x01(\x08:3\n\nwktpointer\x12\x1d.google.protobuf.FieldOptions\x18\xf4\xfb\x03 \x01(\x08:5\n\x0c\x63\x61strepeated\x12\x1d.google.protobuf.FieldOptions\x18\xf5\xfb\x03 \x01(\tBH\n\x13\x63om.google.protobufB\nGoGoProtosZ%github.com/cosmos/gogoproto/gogoproto') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gogoproto.gogo_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gogoproto.gogo_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(goproto_enum_prefix) google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(goproto_enum_stringer) diff --git a/pyinjective/proto/google/api/annotations_pb2.py b/pyinjective/proto/google/api/annotations_pb2.py index 2b24ae71..c0c049c9 100644 --- a/pyinjective/proto/google/api/annotations_pb2.py +++ b/pyinjective/proto/google/api/annotations_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/annotations.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:E\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc\" \x01(\x0b\x32\x14.google.api.HttpRuleBn\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.annotations_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.annotations_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(http) diff --git a/pyinjective/proto/google/api/http_pb2.py b/pyinjective/proto/google/api/http_pb2.py index 3fc617cc..7ed5439f 100644 --- a/pyinjective/proto/google/api/http_pb2.py +++ b/pyinjective/proto/google/api/http_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/http.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,17 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15google/api/http.proto\x12\ngoogle.api\"T\n\x04Http\x12#\n\x05rules\x18\x01 \x03(\x0b\x32\x14.google.api.HttpRule\x12\'\n\x1f\x66ully_decode_reserved_expansion\x18\x02 \x01(\x08\"\x81\x02\n\x08HttpRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\r\n\x03get\x18\x02 \x01(\tH\x00\x12\r\n\x03put\x18\x03 \x01(\tH\x00\x12\x0e\n\x04post\x18\x04 \x01(\tH\x00\x12\x10\n\x06\x64\x65lete\x18\x05 \x01(\tH\x00\x12\x0f\n\x05patch\x18\x06 \x01(\tH\x00\x12/\n\x06\x63ustom\x18\x08 \x01(\x0b\x32\x1d.google.api.CustomHttpPatternH\x00\x12\x0c\n\x04\x62ody\x18\x07 \x01(\t\x12\x15\n\rresponse_body\x18\x0c \x01(\t\x12\x31\n\x13\x61\x64\x64itional_bindings\x18\x0b \x03(\x0b\x32\x14.google.api.HttpRuleB\t\n\x07pattern\"/\n\x11\x43ustomHttpPattern\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\tBj\n\x0e\x63om.google.apiB\tHttpProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xf8\x01\x01\xa2\x02\x04GAPIb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.http_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.http_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\016com.google.apiB\tHttpProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\370\001\001\242\002\004GAPI' - _HTTP._serialized_start=37 - _HTTP._serialized_end=121 - _HTTPRULE._serialized_start=124 - _HTTPRULE._serialized_end=381 - _CUSTOMHTTPPATTERN._serialized_start=383 - _CUSTOMHTTPPATTERN._serialized_end=430 + _globals['_HTTP']._serialized_start=37 + _globals['_HTTP']._serialized_end=121 + _globals['_HTTPRULE']._serialized_start=124 + _globals['_HTTPRULE']._serialized_end=381 + _globals['_CUSTOMHTTPPATTERN']._serialized_start=383 + _globals['_CUSTOMHTTPPATTERN']._serialized_end=430 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py index 6324c7ea..a7f891f5 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/fee/v1/ack.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,14 +13,15 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/ack.proto\x12\x17ibc.applications.fee.v1\"{\n\x1bIncentivizedAcknowledgement\x12\x1b\n\x13\x61pp_acknowledgement\x18\x01 \x01(\x0c\x12\x1f\n\x17\x66orward_relayer_address\x18\x02 \x01(\t\x12\x1e\n\x16underlying_app_success\x18\x03 \x01(\x08\x42\x37Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/ack.proto\x12\x17ibc.applications.fee.v1\"{\n\x1bIncentivizedAcknowledgement\x12\x1b\n\x13\x61pp_acknowledgement\x18\x01 \x01(\x0c\x12\x1f\n\x17\x66orward_relayer_address\x18\x02 \x01(\t\x12\x1e\n\x16underlying_app_success\x18\x03 \x01(\x08\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.ack_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.ack_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' - _INCENTIVIZEDACKNOWLEDGEMENT._serialized_start=62 - _INCENTIVIZEDACKNOWLEDGEMENT._serialized_end=185 + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' + _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_start=62 + _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_end=185 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py index bce8284e..32ac3f05 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/fee/v1/fee.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,16 +14,18 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/fee.proto\x12\x17ibc.applications.fee.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xa4\x02\n\x03\x46\x65\x65\x12]\n\x08recv_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\\\n\x07\x61\x63k_fee\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12`\n\x0btimeout_fee\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"f\n\tPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0erefund_address\x18\x02 \x01(\t\x12\x10\n\x08relayers\x18\x03 \x03(\t\"K\n\nPacketFees\x12=\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\"\x8d\x01\n\x14IdentifiedPacketFees\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12=\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\x42\x37Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/fee.proto\x12\x17ibc.applications.fee.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xa4\x02\n\x03\x46\x65\x65\x12]\n\x08recv_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\\\n\x07\x61\x63k_fee\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12`\n\x0btimeout_fee\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"{\n\tPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0erefund_address\x18\x02 \x01(\t\x12\x10\n\x08relayers\x18\x03 \x03(\t:\x13\x82\xe7\xb0*\x0erefund_address\"K\n\nPacketFees\x12=\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\"\x8d\x01\n\x14IdentifiedPacketFees\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12=\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.fee_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.fee_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _FEE.fields_by_name['recv_fee']._options = None _FEE.fields_by_name['recv_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _FEE.fields_by_name['ack_fee']._options = None @@ -32,18 +34,20 @@ _FEE.fields_by_name['timeout_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _PACKETFEE.fields_by_name['fee']._options = None _PACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' + _PACKETFEE._options = None + _PACKETFEE._serialized_options = b'\202\347\260*\016refund_address' _PACKETFEES.fields_by_name['packet_fees']._options = None _PACKETFEES.fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' _IDENTIFIEDPACKETFEES.fields_by_name['packet_id']._options = None _IDENTIFIEDPACKETFEES.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _IDENTIFIEDPACKETFEES.fields_by_name['packet_fees']._options = None _IDENTIFIEDPACKETFEES.fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' - _FEE._serialized_start=152 - _FEE._serialized_end=444 - _PACKETFEE._serialized_start=446 - _PACKETFEE._serialized_end=548 - _PACKETFEES._serialized_start=550 - _PACKETFEES._serialized_end=625 - _IDENTIFIEDPACKETFEES._serialized_start=628 - _IDENTIFIEDPACKETFEES._serialized_end=769 + _globals['_FEE']._serialized_start=177 + _globals['_FEE']._serialized_end=469 + _globals['_PACKETFEE']._serialized_start=471 + _globals['_PACKETFEE']._serialized_end=594 + _globals['_PACKETFEES']._serialized_start=596 + _globals['_PACKETFEES']._serialized_end=671 + _globals['_IDENTIFIEDPACKETFEES']._serialized_start=674 + _globals['_IDENTIFIEDPACKETFEES']._serialized_end=815 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py index 6a9332f6..410e05a0 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/fee/v1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +16,15 @@ from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/fee/v1/genesis.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"\xab\x03\n\x0cGenesisState\x12L\n\x0fidentified_fees\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\x12N\n\x14\x66\x65\x65_enabled_channels\x18\x02 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00\x12I\n\x11registered_payees\x18\x03 \x03(\x0b\x32(.ibc.applications.fee.v1.RegisteredPayeeB\x04\xc8\xde\x1f\x00\x12\x62\n\x1eregistered_counterparty_payees\x18\x04 \x03(\x0b\x32\x34.ibc.applications.fee.v1.RegisteredCounterpartyPayeeB\x04\xc8\xde\x1f\x00\x12N\n\x10\x66orward_relayers\x18\x05 \x03(\x0b\x32..ibc.applications.fee.v1.ForwardRelayerAddressB\x04\xc8\xde\x1f\x00\"8\n\x11\x46\x65\x65\x45nabledChannel\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"E\n\x0fRegisteredPayee\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\r\n\x05payee\x18\x03 \x01(\t\"^\n\x1bRegisteredCounterpartyPayee\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x03 \x01(\t\"`\n\x15\x46orwardRelayerAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x36\n\tpacket_id\x18\x02 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x42\x37Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/fee/v1/genesis.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"\xab\x03\n\x0cGenesisState\x12L\n\x0fidentified_fees\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\x12N\n\x14\x66\x65\x65_enabled_channels\x18\x02 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00\x12I\n\x11registered_payees\x18\x03 \x03(\x0b\x32(.ibc.applications.fee.v1.RegisteredPayeeB\x04\xc8\xde\x1f\x00\x12\x62\n\x1eregistered_counterparty_payees\x18\x04 \x03(\x0b\x32\x34.ibc.applications.fee.v1.RegisteredCounterpartyPayeeB\x04\xc8\xde\x1f\x00\x12N\n\x10\x66orward_relayers\x18\x05 \x03(\x0b\x32..ibc.applications.fee.v1.ForwardRelayerAddressB\x04\xc8\xde\x1f\x00\"8\n\x11\x46\x65\x65\x45nabledChannel\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"E\n\x0fRegisteredPayee\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\r\n\x05payee\x18\x03 \x01(\t\"^\n\x1bRegisteredCounterpartyPayee\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x03 \x01(\t\"`\n\x15\x46orwardRelayerAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x36\n\tpacket_id\x18\x02 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _GENESISSTATE.fields_by_name['identified_fees']._options = None _GENESISSTATE.fields_by_name['identified_fees']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['fee_enabled_channels']._options = None @@ -36,14 +37,14 @@ _GENESISSTATE.fields_by_name['forward_relayers']._serialized_options = b'\310\336\037\000' _FORWARDRELAYERADDRESS.fields_by_name['packet_id']._options = None _FORWARDRELAYERADDRESS.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' - _GENESISSTATE._serialized_start=159 - _GENESISSTATE._serialized_end=586 - _FEEENABLEDCHANNEL._serialized_start=588 - _FEEENABLEDCHANNEL._serialized_end=644 - _REGISTEREDPAYEE._serialized_start=646 - _REGISTEREDPAYEE._serialized_end=715 - _REGISTEREDCOUNTERPARTYPAYEE._serialized_start=717 - _REGISTEREDCOUNTERPARTYPAYEE._serialized_end=811 - _FORWARDRELAYERADDRESS._serialized_start=813 - _FORWARDRELAYERADDRESS._serialized_end=909 + _globals['_GENESISSTATE']._serialized_start=159 + _globals['_GENESISSTATE']._serialized_end=586 + _globals['_FEEENABLEDCHANNEL']._serialized_start=588 + _globals['_FEEENABLEDCHANNEL']._serialized_end=644 + _globals['_REGISTEREDPAYEE']._serialized_start=646 + _globals['_REGISTEREDPAYEE']._serialized_end=715 + _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_start=717 + _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_end=811 + _globals['_FORWARDRELAYERADDRESS']._serialized_start=813 + _globals['_FORWARDRELAYERADDRESS']._serialized_end=909 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py index 23d98b88..de02ff7f 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/fee/v1/metadata.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,14 +13,15 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&ibc/applications/fee/v1/metadata.proto\x12\x17ibc.applications.fee.v1\"4\n\x08Metadata\x12\x13\n\x0b\x66\x65\x65_version\x18\x01 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x02 \x01(\tB7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&ibc/applications/fee/v1/metadata.proto\x12\x17ibc.applications.fee.v1\"4\n\x08Metadata\x12\x13\n\x0b\x66\x65\x65_version\x18\x01 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x02 \x01(\tB7Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.metadata_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.metadata_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' - _METADATA._serialized_start=67 - _METADATA._serialized_end=119 + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' + _globals['_METADATA']._serialized_start=67 + _globals['_METADATA']._serialized_end=119 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py index 5feaaf4c..b8b5b67b 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/fee/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +20,15 @@ from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#ibc/applications/fee/v1/query.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a%ibc/applications/fee/v1/genesis.proto\x1a!ibc/core/channel/v1/channel.proto\"s\n\x1fQueryIncentivizedPacketsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"\xb2\x01\n QueryIncentivizedPacketsResponse\x12Q\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"n\n\x1eQueryIncentivizedPacketRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"s\n\x1fQueryIncentivizedPacketResponse\x12P\n\x13incentivized_packet\x18\x01 \x01(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\"\xa2\x01\n)QueryIncentivizedPacketsForChannelRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x12\n\nchannel_id\x18\x03 \x01(\t\x12\x14\n\x0cquery_height\x18\x04 \x01(\x04\"\xb6\x01\n*QueryIncentivizedPacketsForChannelResponse\x12K\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFees\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"S\n\x19QueryTotalRecvFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"|\n\x1aQueryTotalRecvFeesResponse\x12^\n\trecv_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"R\n\x18QueryTotalAckFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"z\n\x19QueryTotalAckFeesResponse\x12]\n\x08\x61\x63k_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"V\n\x1cQueryTotalTimeoutFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"\x82\x01\n\x1dQueryTotalTimeoutFeesResponse\x12\x61\n\x0ctimeout_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"8\n\x11QueryPayeeRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"+\n\x12QueryPayeeResponse\x12\x15\n\rpayee_address\x18\x01 \x01(\t\"D\n\x1dQueryCounterpartyPayeeRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"<\n\x1eQueryCounterpartyPayeeResponse\x12\x1a\n\x12\x63ounterparty_payee\x18\x01 \x01(\t\"r\n\x1eQueryFeeEnabledChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"\xae\x01\n\x1fQueryFeeEnabledChannelsResponse\x12N\n\x14\x66\x65\x65_enabled_channels\x18\x01 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"D\n\x1dQueryFeeEnabledChannelRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"5\n\x1eQueryFeeEnabledChannelResponse\x12\x13\n\x0b\x66\x65\x65_enabled\x18\x01 \x01(\x08\x32\xe6\x11\n\x05Query\x12\xb9\x01\n\x13IncentivizedPackets\x12\x38.ibc.applications.fee.v1.QueryIncentivizedPacketsRequest\x1a\x39.ibc.applications.fee.v1.QueryIncentivizedPacketsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/ibc/apps/fee/v1/incentivized_packets\x12\x8f\x02\n\x12IncentivizedPacket\x12\x37.ibc.applications.fee.v1.QueryIncentivizedPacketRequest\x1a\x38.ibc.applications.fee.v1.QueryIncentivizedPacketResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet\x12\xfd\x01\n\x1dIncentivizedPacketsForChannel\x12\x42.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest\x1a\x43.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse\"S\x82\xd3\xe4\x93\x02M\x12K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets\x12\xfc\x01\n\rTotalRecvFees\x12\x32.ibc.applications.fee.v1.QueryTotalRecvFeesRequest\x1a\x33.ibc.applications.fee.v1.QueryTotalRecvFeesResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees\x12\xf8\x01\n\x0cTotalAckFees\x12\x31.ibc.applications.fee.v1.QueryTotalAckFeesRequest\x1a\x32.ibc.applications.fee.v1.QueryTotalAckFeesResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\x12x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees\x12\x88\x02\n\x10TotalTimeoutFees\x12\x35.ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest\x1a\x36.ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse\"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees\x12\xa9\x01\n\x05Payee\x12*.ibc.applications.fee.v1.QueryPayeeRequest\x1a+.ibc.applications.fee.v1.QueryPayeeResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee\x12\xda\x01\n\x11\x43ounterpartyPayee\x12\x36.ibc.applications.fee.v1.QueryCounterpartyPayeeRequest\x1a\x37.ibc.applications.fee.v1.QueryCounterpartyPayeeResponse\"T\x82\xd3\xe4\x93\x02N\x12L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee\x12\xad\x01\n\x12\x46\x65\x65\x45nabledChannels\x12\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest\x1a\x38.ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/fee/v1/fee_enabled\x12\xd0\x01\n\x11\x46\x65\x65\x45nabledChannel\x12\x36.ibc.applications.fee.v1.QueryFeeEnabledChannelRequest\x1a\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabledB7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#ibc/applications/fee/v1/query.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a%ibc/applications/fee/v1/genesis.proto\x1a!ibc/core/channel/v1/channel.proto\"s\n\x1fQueryIncentivizedPacketsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"\xb2\x01\n QueryIncentivizedPacketsResponse\x12Q\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"n\n\x1eQueryIncentivizedPacketRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"s\n\x1fQueryIncentivizedPacketResponse\x12P\n\x13incentivized_packet\x18\x01 \x01(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\"\xa2\x01\n)QueryIncentivizedPacketsForChannelRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x12\n\nchannel_id\x18\x03 \x01(\t\x12\x14\n\x0cquery_height\x18\x04 \x01(\x04\"\xb6\x01\n*QueryIncentivizedPacketsForChannelResponse\x12K\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFees\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"S\n\x19QueryTotalRecvFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"|\n\x1aQueryTotalRecvFeesResponse\x12^\n\trecv_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"R\n\x18QueryTotalAckFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"z\n\x19QueryTotalAckFeesResponse\x12]\n\x08\x61\x63k_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"V\n\x1cQueryTotalTimeoutFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"\x82\x01\n\x1dQueryTotalTimeoutFeesResponse\x12\x61\n\x0ctimeout_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"8\n\x11QueryPayeeRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"+\n\x12QueryPayeeResponse\x12\x15\n\rpayee_address\x18\x01 \x01(\t\"D\n\x1dQueryCounterpartyPayeeRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"<\n\x1eQueryCounterpartyPayeeResponse\x12\x1a\n\x12\x63ounterparty_payee\x18\x01 \x01(\t\"r\n\x1eQueryFeeEnabledChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"\xae\x01\n\x1fQueryFeeEnabledChannelsResponse\x12N\n\x14\x66\x65\x65_enabled_channels\x18\x01 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"D\n\x1dQueryFeeEnabledChannelRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"5\n\x1eQueryFeeEnabledChannelResponse\x12\x13\n\x0b\x66\x65\x65_enabled\x18\x01 \x01(\x08\x32\xe6\x11\n\x05Query\x12\xb9\x01\n\x13IncentivizedPackets\x12\x38.ibc.applications.fee.v1.QueryIncentivizedPacketsRequest\x1a\x39.ibc.applications.fee.v1.QueryIncentivizedPacketsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/ibc/apps/fee/v1/incentivized_packets\x12\x8f\x02\n\x12IncentivizedPacket\x12\x37.ibc.applications.fee.v1.QueryIncentivizedPacketRequest\x1a\x38.ibc.applications.fee.v1.QueryIncentivizedPacketResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet\x12\xfd\x01\n\x1dIncentivizedPacketsForChannel\x12\x42.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest\x1a\x43.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse\"S\x82\xd3\xe4\x93\x02M\x12K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets\x12\xfc\x01\n\rTotalRecvFees\x12\x32.ibc.applications.fee.v1.QueryTotalRecvFeesRequest\x1a\x33.ibc.applications.fee.v1.QueryTotalRecvFeesResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees\x12\xf8\x01\n\x0cTotalAckFees\x12\x31.ibc.applications.fee.v1.QueryTotalAckFeesRequest\x1a\x32.ibc.applications.fee.v1.QueryTotalAckFeesResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\x12x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees\x12\x88\x02\n\x10TotalTimeoutFees\x12\x35.ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest\x1a\x36.ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse\"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees\x12\xa9\x01\n\x05Payee\x12*.ibc.applications.fee.v1.QueryPayeeRequest\x1a+.ibc.applications.fee.v1.QueryPayeeResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee\x12\xda\x01\n\x11\x43ounterpartyPayee\x12\x36.ibc.applications.fee.v1.QueryCounterpartyPayeeRequest\x1a\x37.ibc.applications.fee.v1.QueryCounterpartyPayeeResponse\"T\x82\xd3\xe4\x93\x02N\x12L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee\x12\xad\x01\n\x12\x46\x65\x65\x45nabledChannels\x12\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest\x1a\x38.ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/fee/v1/fee_enabled\x12\xd0\x01\n\x11\x46\x65\x65\x45nabledChannel\x12\x36.ibc.applications.fee.v1.QueryFeeEnabledChannelRequest\x1a\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabledB7Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _QUERYINCENTIVIZEDPACKETSRESPONSE.fields_by_name['incentivized_packets']._options = None _QUERYINCENTIVIZEDPACKETSRESPONSE.fields_by_name['incentivized_packets']._serialized_options = b'\310\336\037\000' _QUERYINCENTIVIZEDPACKETREQUEST.fields_by_name['packet_id']._options = None @@ -68,46 +69,46 @@ _QUERY.methods_by_name['FeeEnabledChannels']._serialized_options = b'\202\323\344\223\002\036\022\034/ibc/apps/fee/v1/fee_enabled' _QUERY.methods_by_name['FeeEnabledChannel']._options = None _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' - _QUERYINCENTIVIZEDPACKETSREQUEST._serialized_start=301 - _QUERYINCENTIVIZEDPACKETSREQUEST._serialized_end=416 - _QUERYINCENTIVIZEDPACKETSRESPONSE._serialized_start=419 - _QUERYINCENTIVIZEDPACKETSRESPONSE._serialized_end=597 - _QUERYINCENTIVIZEDPACKETREQUEST._serialized_start=599 - _QUERYINCENTIVIZEDPACKETREQUEST._serialized_end=709 - _QUERYINCENTIVIZEDPACKETRESPONSE._serialized_start=711 - _QUERYINCENTIVIZEDPACKETRESPONSE._serialized_end=826 - _QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST._serialized_start=829 - _QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST._serialized_end=991 - _QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE._serialized_start=994 - _QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE._serialized_end=1176 - _QUERYTOTALRECVFEESREQUEST._serialized_start=1178 - _QUERYTOTALRECVFEESREQUEST._serialized_end=1261 - _QUERYTOTALRECVFEESRESPONSE._serialized_start=1263 - _QUERYTOTALRECVFEESRESPONSE._serialized_end=1387 - _QUERYTOTALACKFEESREQUEST._serialized_start=1389 - _QUERYTOTALACKFEESREQUEST._serialized_end=1471 - _QUERYTOTALACKFEESRESPONSE._serialized_start=1473 - _QUERYTOTALACKFEESRESPONSE._serialized_end=1595 - _QUERYTOTALTIMEOUTFEESREQUEST._serialized_start=1597 - _QUERYTOTALTIMEOUTFEESREQUEST._serialized_end=1683 - _QUERYTOTALTIMEOUTFEESRESPONSE._serialized_start=1686 - _QUERYTOTALTIMEOUTFEESRESPONSE._serialized_end=1816 - _QUERYPAYEEREQUEST._serialized_start=1818 - _QUERYPAYEEREQUEST._serialized_end=1874 - _QUERYPAYEERESPONSE._serialized_start=1876 - _QUERYPAYEERESPONSE._serialized_end=1919 - _QUERYCOUNTERPARTYPAYEEREQUEST._serialized_start=1921 - _QUERYCOUNTERPARTYPAYEEREQUEST._serialized_end=1989 - _QUERYCOUNTERPARTYPAYEERESPONSE._serialized_start=1991 - _QUERYCOUNTERPARTYPAYEERESPONSE._serialized_end=2051 - _QUERYFEEENABLEDCHANNELSREQUEST._serialized_start=2053 - _QUERYFEEENABLEDCHANNELSREQUEST._serialized_end=2167 - _QUERYFEEENABLEDCHANNELSRESPONSE._serialized_start=2170 - _QUERYFEEENABLEDCHANNELSRESPONSE._serialized_end=2344 - _QUERYFEEENABLEDCHANNELREQUEST._serialized_start=2346 - _QUERYFEEENABLEDCHANNELREQUEST._serialized_end=2414 - _QUERYFEEENABLEDCHANNELRESPONSE._serialized_start=2416 - _QUERYFEEENABLEDCHANNELRESPONSE._serialized_end=2469 - _QUERY._serialized_start=2472 - _QUERY._serialized_end=4750 + _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_start=301 + _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_end=416 + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_start=419 + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_end=597 + _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_start=599 + _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_end=709 + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_start=711 + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_end=826 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_start=829 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_end=991 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_start=994 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_end=1176 + _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_start=1178 + _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_end=1261 + _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_start=1263 + _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_end=1387 + _globals['_QUERYTOTALACKFEESREQUEST']._serialized_start=1389 + _globals['_QUERYTOTALACKFEESREQUEST']._serialized_end=1471 + _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_start=1473 + _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_end=1595 + _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_start=1597 + _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_end=1683 + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_start=1686 + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_end=1816 + _globals['_QUERYPAYEEREQUEST']._serialized_start=1818 + _globals['_QUERYPAYEEREQUEST']._serialized_end=1874 + _globals['_QUERYPAYEERESPONSE']._serialized_start=1876 + _globals['_QUERYPAYEERESPONSE']._serialized_end=1919 + _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_start=1921 + _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_end=1989 + _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_start=1991 + _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_end=2051 + _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_start=2053 + _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_end=2167 + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_start=2170 + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_end=2344 + _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_start=2346 + _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_end=2414 + _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_start=2416 + _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_end=2469 + _globals['_QUERY']._serialized_start=2472 + _globals['_QUERY']._serialized_end=4750 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py index cdb3e405..7ad64282 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/fee/v1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +17,47 @@ from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"m\n\x10MsgRegisterPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:\x14\x82\xe7\xb0*\x07relayer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1a\n\x18MsgRegisterPayeeResponse\"\x86\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x04 \x01(\t:\x14\x82\xe7\xb0*\x07relayer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xac\x01\n\x0fMsgPayPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0esource_port_id\x18\x02 \x01(\t\x12\x19\n\x11source_channel_id\x18\x03 \x01(\t\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x19\n\x17MsgPayPacketFeeResponse\"\xb3\x01\n\x14MsgPayPacketFeeAsync\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12<\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00:%\x82\xe7\xb0*\x18packet_fee.refundaddress\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xf6\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x37Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"i\n\x10MsgRegisterPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:\x10\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\"\x1a\n\x18MsgRegisterPayeeResponse\"\x82\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x04 \x01(\t:\x10\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xa8\x01\n\x0fMsgPayPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0esource_port_id\x18\x02 \x01(\t\x12\x19\n\x11source_channel_id\x18\x03 \x01(\t\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgPayPacketFeeResponse\"\xa1\x01\n\x14MsgPayPacketFeeAsync\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12<\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\x82\xe7\xb0*\npacket_fee\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xf6\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _MSGREGISTERPAYEE._options = None - _MSGREGISTERPAYEE._serialized_options = b'\202\347\260*\007relayer\350\240\037\000\210\240\037\000' + _MSGREGISTERPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer' _MSGREGISTERCOUNTERPARTYPAYEE._options = None - _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\202\347\260*\007relayer\350\240\037\000\210\240\037\000' + _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer' _MSGPAYPACKETFEE.fields_by_name['fee']._options = None _MSGPAYPACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEE._options = None - _MSGPAYPACKETFEE._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGPAYPACKETFEE._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._options = None _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._options = None _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEEASYNC._options = None - _MSGPAYPACKETFEEASYNC._serialized_options = b'\202\347\260*\030packet_fee.refundaddress\350\240\037\000\210\240\037\000' + _MSGPAYPACKETFEEASYNC._serialized_options = b'\210\240\037\000\202\347\260*\npacket_fee' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGREGISTERPAYEE._serialized_start=178 - _MSGREGISTERPAYEE._serialized_end=287 - _MSGREGISTERPAYEERESPONSE._serialized_start=289 - _MSGREGISTERPAYEERESPONSE._serialized_end=315 - _MSGREGISTERCOUNTERPARTYPAYEE._serialized_start=318 - _MSGREGISTERCOUNTERPARTYPAYEE._serialized_end=452 - _MSGREGISTERCOUNTERPARTYPAYEERESPONSE._serialized_start=454 - _MSGREGISTERCOUNTERPARTYPAYEERESPONSE._serialized_end=492 - _MSGPAYPACKETFEE._serialized_start=495 - _MSGPAYPACKETFEE._serialized_end=667 - _MSGPAYPACKETFEERESPONSE._serialized_start=669 - _MSGPAYPACKETFEERESPONSE._serialized_end=694 - _MSGPAYPACKETFEEASYNC._serialized_start=697 - _MSGPAYPACKETFEEASYNC._serialized_end=876 - _MSGPAYPACKETFEEASYNCRESPONSE._serialized_start=878 - _MSGPAYPACKETFEEASYNCRESPONSE._serialized_end=908 - _MSG._serialized_start=911 - _MSG._serialized_end=1413 + _globals['_MSGREGISTERPAYEE']._serialized_start=178 + _globals['_MSGREGISTERPAYEE']._serialized_end=283 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_start=285 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_end=311 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_start=314 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_end=444 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=446 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=484 + _globals['_MSGPAYPACKETFEE']._serialized_start=487 + _globals['_MSGPAYPACKETFEE']._serialized_end=655 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=657 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=682 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=685 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=846 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=848 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=878 + _globals['_MSG']._serialized_start=881 + _globals['_MSG']._serialized_end=1383 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py index 4701dc2d..b6fbb7bb 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 @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/interchain_accounts/controller/v1/controller.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,14 +13,15 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCibc/applications/interchain_accounts/controller/v1/controller.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\"$\n\x06Params\x12\x1a\n\x12\x63ontroller_enabled\x18\x01 \x01(\x08\x42RZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCibc/applications/interchain_accounts/controller/v1/controller.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\"$\n\x06Params\x12\x1a\n\x12\x63ontroller_enabled\x18\x01 \x01(\x08\x42RZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.controller_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.controller_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types' - _PARAMS._serialized_start=123 - _PARAMS._serialized_end=159 + DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' + _globals['_PARAMS']._serialized_start=123 + _globals['_PARAMS']._serialized_end=159 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py index 05c82386..e4fc336e 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 @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/interchain_accounts/controller/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,27 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>ibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x1cgoogle/api/annotations.proto\"E\n\x1dQueryInterchainAccountRequest\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\"1\n\x1eQueryInterchainAccountResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x14\n\x12QueryParamsRequest\"a\n\x13QueryParamsResponse\x12J\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.Params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse\"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsBRZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>ibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x1cgoogle/api/annotations.proto\"E\n\x1dQueryInterchainAccountRequest\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\"1\n\x1eQueryInterchainAccountResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x14\n\x12QueryParamsRequest\"a\n\x13QueryParamsResponse\x12J\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.Params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse\"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsBRZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types' + DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' _QUERY.methods_by_name['InterchainAccount']._options = None _QUERY.methods_by_name['InterchainAccount']._serialized_options = b'\202\323\344\223\002X\022V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\0024\0222/ibc/apps/interchain_accounts/controller/v1/params' - _QUERYINTERCHAINACCOUNTREQUEST._serialized_start=217 - _QUERYINTERCHAINACCOUNTREQUEST._serialized_end=286 - _QUERYINTERCHAINACCOUNTRESPONSE._serialized_start=288 - _QUERYINTERCHAINACCOUNTRESPONSE._serialized_end=337 - _QUERYPARAMSREQUEST._serialized_start=339 - _QUERYPARAMSREQUEST._serialized_end=359 - _QUERYPARAMSRESPONSE._serialized_start=361 - _QUERYPARAMSRESPONSE._serialized_end=458 - _QUERY._serialized_start=461 - _QUERY._serialized_end=969 + _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_start=217 + _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_end=286 + _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_start=288 + _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_end=337 + _globals['_QUERYPARAMSREQUEST']._serialized_start=339 + _globals['_QUERYPARAMSREQUEST']._serialized_end=359 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=361 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=458 + _globals['_QUERY']._serialized_start=461 + _globals['_QUERY']._serialized_end=969 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py index 32ca0fcf..9abeeb7b 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 @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/interchain_accounts/controller/v1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,33 +13,47 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.applications.interchain_accounts.v1 import packet_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_v1_dot_packet__pb2 +from ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"i\n\x1cMsgRegisterInterchainAccount\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t:\x12\x82\xe7\xb0*\x05owner\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"K\n$MsgRegisterInterchainAccountResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t\"\xc0\x01\n\tMsgSendTx\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12_\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00\x12\x18\n\x10relative_timeout\x18\x04 \x01(\x04:\x12\x82\xe7\xb0*\x05owner\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"%\n\x11MsgSendTxResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x32\xe7\x02\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse\x1a\x05\x80\xe7\xb0*\x01\x42RZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"e\n\x1cMsgRegisterInterchainAccount\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"Q\n$MsgRegisterInterchainAccountResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\xbc\x01\n\tMsgSendTx\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12_\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00\x12\x18\n\x10relative_timeout\x18\x04 \x01(\x04:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"+\n\x11MsgSendTxResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04:\x04\x88\xa0\x1f\x00\"\x84\x01\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12P\n\x06params\x18\x02 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\x8a\x04\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse\x12\xa0\x01\n\x0cUpdateParams\x12\x43.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams\x1aK.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42RZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types' + DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' _MSGREGISTERINTERCHAINACCOUNT._options = None - _MSGREGISTERINTERCHAINACCOUNT._serialized_options = b'\202\347\260*\005owner\350\240\037\000\210\240\037\000' + _MSGREGISTERINTERCHAINACCOUNT._serialized_options = b'\210\240\037\000\202\347\260*\005owner' + _MSGREGISTERINTERCHAINACCOUNTRESPONSE._options = None + _MSGREGISTERINTERCHAINACCOUNTRESPONSE._serialized_options = b'\210\240\037\000' _MSGSENDTX.fields_by_name['packet_data']._options = None _MSGSENDTX.fields_by_name['packet_data']._serialized_options = b'\310\336\037\000' _MSGSENDTX._options = None - _MSGSENDTX._serialized_options = b'\202\347\260*\005owner\350\240\037\000\210\240\037\000' + _MSGSENDTX._serialized_options = b'\210\240\037\000\202\347\260*\005owner' + _MSGSENDTXRESPONSE._options = None + _MSGSENDTXRESPONSE._serialized_options = b'\210\240\037\000' + _MSGUPDATEPARAMS.fields_by_name['params']._options = None + _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _MSGUPDATEPARAMS._options = None + _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGREGISTERINTERCHAINACCOUNT._serialized_start=216 - _MSGREGISTERINTERCHAINACCOUNT._serialized_end=321 - _MSGREGISTERINTERCHAINACCOUNTRESPONSE._serialized_start=323 - _MSGREGISTERINTERCHAINACCOUNTRESPONSE._serialized_end=398 - _MSGSENDTX._serialized_start=401 - _MSGSENDTX._serialized_end=593 - _MSGSENDTXRESPONSE._serialized_start=595 - _MSGSENDTXRESPONSE._serialized_end=632 - _MSG._serialized_start=635 - _MSG._serialized_end=994 + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_start=285 + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_end=386 + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_start=388 + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_end=469 + _globals['_MSGSENDTX']._serialized_start=472 + _globals['_MSGSENDTX']._serialized_end=660 + _globals['_MSGSENDTXRESPONSE']._serialized_start=662 + _globals['_MSGSENDTXRESPONSE']._serialized_end=705 + _globals['_MSGUPDATEPARAMS']._serialized_start=708 + _globals['_MSGUPDATEPARAMS']._serialized_end=840 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=842 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=867 + _globals['_MSG']._serialized_start=870 + _globals['_MSG']._serialized_end=1392 # @@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 cbf4e543..e999014b 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py @@ -25,6 +25,11 @@ def __init__(self, channel): request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, ) + self.UpdateParams = channel.unary_unary( + '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + ) class MsgServicer(object): @@ -45,6 +50,13 @@ def SendTx(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def UpdateParams(self, request, context): + """UpdateParams defines a rpc handler for MsgUpdateParams. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -58,6 +70,11 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.FromString, response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.SerializeToString, ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'ibc.applications.interchain_accounts.controller.v1.Msg', rpc_method_handlers) @@ -102,3 +119,20 @@ def SendTx(request, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py index c1fd9ab9..792e89b2 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 @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/interchain_accounts/genesis/v1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +16,15 @@ from ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\xe4\x01\n\x0cGenesisState\x12o\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\x04\xc8\xde\x1f\x00\x12\x63\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB\x04\xc8\xde\x1f\x00\"\xc9\x02\n\x16\x43ontrollerGenesisState\x12]\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00\x12o\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00\x12\r\n\x05ports\x18\x03 \x03(\t\x12P\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00\"\xbc\x02\n\x10HostGenesisState\x12]\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00\x12o\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04port\x18\x03 \x01(\t\x12J\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00\"j\n\rActiveChannel\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x12\n\nchannel_id\x18\x03 \x01(\t\x12\x1d\n\x15is_middleware_enabled\x18\x04 \x01(\x08\"^\n\x1bRegisteredInterchainAccount\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tBOZMgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/genesis/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\xe4\x01\n\x0cGenesisState\x12o\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\x04\xc8\xde\x1f\x00\x12\x63\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB\x04\xc8\xde\x1f\x00\"\xc9\x02\n\x16\x43ontrollerGenesisState\x12]\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00\x12o\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00\x12\r\n\x05ports\x18\x03 \x03(\t\x12P\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00\"\xbc\x02\n\x10HostGenesisState\x12]\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00\x12o\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04port\x18\x03 \x01(\t\x12J\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00\"j\n\rActiveChannel\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x12\n\nchannel_id\x18\x03 \x01(\t\x12\x1d\n\x15is_middleware_enabled\x18\x04 \x01(\x08\"^\n\x1bRegisteredInterchainAccount\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tBOZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.genesis.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.genesis.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZMgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/genesis/types' + DESCRIPTOR._serialized_options = b'ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types' _GENESISSTATE.fields_by_name['controller_genesis_state']._options = None _GENESISSTATE.fields_by_name['controller_genesis_state']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['host_genesis_state']._options = None @@ -40,14 +41,14 @@ _HOSTGENESISSTATE.fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' _HOSTGENESISSTATE.fields_by_name['params']._options = None _HOSTGENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _GENESISSTATE._serialized_start=263 - _GENESISSTATE._serialized_end=491 - _CONTROLLERGENESISSTATE._serialized_start=494 - _CONTROLLERGENESISSTATE._serialized_end=823 - _HOSTGENESISSTATE._serialized_start=826 - _HOSTGENESISSTATE._serialized_end=1142 - _ACTIVECHANNEL._serialized_start=1144 - _ACTIVECHANNEL._serialized_end=1250 - _REGISTEREDINTERCHAINACCOUNT._serialized_start=1252 - _REGISTEREDINTERCHAINACCOUNT._serialized_end=1346 + _globals['_GENESISSTATE']._serialized_start=263 + _globals['_GENESISSTATE']._serialized_end=491 + _globals['_CONTROLLERGENESISSTATE']._serialized_start=494 + _globals['_CONTROLLERGENESISSTATE']._serialized_end=823 + _globals['_HOSTGENESISSTATE']._serialized_start=826 + _globals['_HOSTGENESISSTATE']._serialized_end=1142 + _globals['_ACTIVECHANNEL']._serialized_start=1144 + _globals['_ACTIVECHANNEL']._serialized_end=1250 + _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_start=1252 + _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_end=1346 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py index 369912c5..795968ac 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 @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/interchain_accounts/host/v1/host.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,14 +13,15 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1\"6\n\x06Params\x12\x14\n\x0chost_enabled\x18\x01 \x01(\x08\x12\x16\n\x0e\x61llow_messages\x18\x02 \x03(\tBLZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1\"6\n\x06Params\x12\x14\n\x0chost_enabled\x18\x01 \x01(\x08\x12\x16\n\x0e\x61llow_messages\x18\x02 \x03(\tBLZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.host_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.host_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types' - _PARAMS._serialized_start=105 - _PARAMS._serialized_end=159 + DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' + _globals['_PARAMS']._serialized_start=105 + _globals['_PARAMS']._serialized_end=159 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py index 7c5e5562..700142a4 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 @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/interchain_accounts/host/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,21 @@ from ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x14\n\x12QueryParamsRequest\"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.Params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsBLZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x14\n\x12QueryParamsRequest\"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.Params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsBLZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types' + DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/interchain_accounts/host/v1/params' - _QUERYPARAMSREQUEST._serialized_start=193 - _QUERYPARAMSREQUEST._serialized_end=213 - _QUERYPARAMSRESPONSE._serialized_start=215 - _QUERYPARAMSRESPONSE._serialized_end=306 - _QUERY._serialized_start=309 - _QUERY._serialized_end=514 + _globals['_QUERYPARAMSREQUEST']._serialized_start=193 + _globals['_QUERYPARAMSREQUEST']._serialized_end=213 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=215 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=306 + _globals['_QUERY']._serialized_start=309 + _globals['_QUERY']._serialized_end=514 # @@protoc_insertion_point(module_scope) 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 4602e00a..83486198 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 @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/interchain_accounts/host/v1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,25 @@ from ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/host/v1/tx.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x80\x01\n\x0fMsgUpdateParams\x12\x11\n\tauthority\x18\x01 \x01(\t\x12J\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xa3\x01\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42LZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/typesb\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\"~\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12J\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xa3\x01\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42LZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types' + DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' _MSGUPDATEPARAMS.fields_by_name['params']._options = None _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGUPDATEPARAMS._serialized_start=208 - _MSGUPDATEPARAMS._serialized_end=336 - _MSGUPDATEPARAMSRESPONSE._serialized_start=338 - _MSGUPDATEPARAMSRESPONSE._serialized_end=363 - _MSG._serialized_start=366 - _MSG._serialized_end=529 + _globals['_MSGUPDATEPARAMS']._serialized_start=207 + _globals['_MSGUPDATEPARAMS']._serialized_end=333 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=335 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=360 + _globals['_MSG']._serialized_start=363 + _globals['_MSG']._serialized_end=526 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py index 8a927bac..3878bf25 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/interchain_accounts/v1/account.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,19 @@ from cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/v1/account.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xb0\x01\n\x11InterchainAccount\x12<\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01\x12\x15\n\raccount_owner\x18\x02 \x01(\t:F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIBGZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/v1/account.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xb0\x01\n\x11InterchainAccount\x12<\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01\x12\x15\n\raccount_owner\x18\x02 \x01(\t:F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIBGZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.account_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.account_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types' + DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' _INTERCHAINACCOUNT.fields_by_name['base_account']._options = None _INTERCHAINACCOUNT.fields_by_name['base_account']._serialized_options = b'\320\336\037\001' _INTERCHAINACCOUNT._options = None _INTERCHAINACCOUNT._serialized_options = b'\210\240\037\000\230\240\037\000\312\264-:ibc.applications.interchain_accounts.v1.InterchainAccountI' - _INTERCHAINACCOUNT._serialized_start=180 - _INTERCHAINACCOUNT._serialized_end=356 + _globals['_INTERCHAINACCOUNT']._serialized_start=180 + _globals['_INTERCHAINACCOUNT']._serialized_end=356 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py index 47634915..9d4fd546 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/interchain_accounts/v1/metadata.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,14 +13,15 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12\'ibc.applications.interchain_accounts.v1\"\x8d\x01\n\x08Metadata\x12\x0f\n\x07version\x18\x01 \x01(\t\x12 \n\x18\x63ontroller_connection_id\x18\x02 \x01(\t\x12\x1a\n\x12host_connection_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x04 \x01(\t\x12\x10\n\x08\x65ncoding\x18\x05 \x01(\t\x12\x0f\n\x07tx_type\x18\x06 \x01(\tBGZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12\'ibc.applications.interchain_accounts.v1\"\x8d\x01\n\x08Metadata\x12\x0f\n\x07version\x18\x01 \x01(\t\x12 \n\x18\x63ontroller_connection_id\x18\x02 \x01(\t\x12\x1a\n\x12host_connection_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x04 \x01(\t\x12\x10\n\x08\x65ncoding\x18\x05 \x01(\t\x12\x0f\n\x07tx_type\x18\x06 \x01(\tBGZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.metadata_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.metadata_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types' - _METADATA._serialized_start=100 - _METADATA._serialized_end=241 + DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' + _globals['_METADATA']._serialized_start=100 + _globals['_METADATA']._serialized_end=241 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py index f86cbd4c..9558a2e3 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/interchain_accounts/v1/packet.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,25 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\"v\n\x1bInterchainAccountPacketData\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.Type\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0c\n\x04memo\x18\x03 \x01(\t\"2\n\x08\x43osmosTx\x12&\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.Any*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42GZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\"v\n\x1bInterchainAccountPacketData\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.Type\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0c\n\x04memo\x18\x03 \x01(\t\"2\n\x08\x43osmosTx\x12&\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.Any*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42GZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.packet_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.packet_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types' + DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' _TYPE._options = None _TYPE._serialized_options = b'\210\243\036\000' _TYPE.values_by_name["TYPE_UNSPECIFIED"]._options = None _TYPE.values_by_name["TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' _TYPE.values_by_name["TYPE_EXECUTE_TX"]._options = None _TYPE.values_by_name["TYPE_EXECUTE_TX"]._serialized_options = b'\212\235 \nEXECUTE_TX' - _TYPE._serialized_start=318 - _TYPE._serialized_end=406 - _INTERCHAINACCOUNTPACKETDATA._serialized_start=146 - _INTERCHAINACCOUNTPACKETDATA._serialized_end=264 - _COSMOSTX._serialized_start=266 - _COSMOSTX._serialized_end=316 + _globals['_TYPE']._serialized_start=318 + _globals['_TYPE']._serialized_end=406 + _globals['_INTERCHAINACCOUNTPACKETDATA']._serialized_start=146 + _globals['_INTERCHAINACCOUNTPACKETDATA']._serialized_end=264 + _globals['_COSMOSTX']._serialized_start=266 + _globals['_COSMOSTX']._serialized_end=316 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py index 0ec38692..4a179837 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/transfer/v1/authz.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,23 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xaf\x01\n\nAllocation\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12`\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x12\n\nallow_list\x18\x04 \x03(\t\"\x84\x01\n\x15TransferAuthorization\x12\x43\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00:&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xaf\x01\n\nAllocation\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12`\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x12\n\nallow_list\x18\x04 \x03(\t\"\x84\x01\n\x15TransferAuthorization\x12\x43\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00:&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.authz_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _ALLOCATION.fields_by_name['spend_limit']._options = None _ALLOCATION.fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _TRANSFERAUTHORIZATION.fields_by_name['allocations']._options = None _TRANSFERAUTHORIZATION.fields_by_name['allocations']._serialized_options = b'\310\336\037\000' _TRANSFERAUTHORIZATION._options = None _TRANSFERAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' - _ALLOCATION._serialized_start=156 - _ALLOCATION._serialized_end=331 - _TRANSFERAUTHORIZATION._serialized_start=334 - _TRANSFERAUTHORIZATION._serialized_end=466 + _globals['_ALLOCATION']._serialized_start=156 + _globals['_ALLOCATION']._serialized_end=331 + _globals['_TRANSFERAUTHORIZATION']._serialized_start=334 + _globals['_TRANSFERAUTHORIZATION']._serialized_end=466 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py index 91632663..2fd299b8 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/transfer/v1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,21 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\"\x90\x02\n\x0cGenesisState\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12N\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xaa\xdf\x1f\x06Traces\xc8\xde\x1f\x00\x12:\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00\x12\x63\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xc8\xde\x1f\x00\x42\x39Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\"\x90\x02\n\x0cGenesisState\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12N\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06Traces\x12:\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00\x12\x63\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _GENESISSTATE.fields_by_name['denom_traces']._options = None - _GENESISSTATE.fields_by_name['denom_traces']._serialized_options = b'\252\337\037\006Traces\310\336\037\000' + _GENESISSTATE.fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['total_escrowed']._options = None - _GENESISSTATE.fields_by_name['total_escrowed']._serialized_options = b'\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\310\336\037\000' - _GENESISSTATE._serialized_start=176 - _GENESISSTATE._serialized_end=448 + _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=448 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py index e8ddca73..3a9395aa 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/transfer/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +18,17 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/query.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1cgoogle/api/annotations.proto\"&\n\x16QueryDenomTraceRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"X\n\x17QueryDenomTraceResponse\x12=\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTrace\"U\n\x17QueryDenomTracesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa7\x01\n\x18QueryDenomTracesResponse\x12N\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xaa\xdf\x1f\x06Traces\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"K\n\x13QueryParamsResponse\x12\x34\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.Params\"&\n\x15QueryDenomHashRequest\x12\r\n\x05trace\x18\x01 \x01(\t\"&\n\x16QueryDenomHashResponse\x12\x0c\n\x04hash\x18\x01 \x01(\t\"@\n\x19QueryEscrowAddressRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"4\n\x1aQueryEscrowAddressResponse\x12\x16\n\x0e\x65scrow_address\x18\x01 \x01(\t\"0\n\x1fQueryTotalEscrowForDenomRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"S\n QueryTotalEscrowForDenomResponse\x12/\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x32\xd8\x08\n\x05Query\x12\xaf\x01\n\nDenomTrace\x12\x34.ibc.applications.transfer.v1.QueryDenomTraceRequest\x1a\x35.ibc.applications.transfer.v1.QueryDenomTraceResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/transfer/v1/denom_traces/{hash=**}\x12\xa8\x01\n\x0b\x44\x65nomTraces\x12\x35.ibc.applications.transfer.v1.QueryDenomTracesRequest\x1a\x36.ibc.applications.transfer.v1.QueryDenomTracesResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/ibc/apps/transfer/v1/denom_traces\x12\x93\x01\n\x06Params\x12\x30.ibc.applications.transfer.v1.QueryParamsRequest\x1a\x31.ibc.applications.transfer.v1.QueryParamsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/transfer/v1/params\x12\xad\x01\n\tDenomHash\x12\x33.ibc.applications.transfer.v1.QueryDenomHashRequest\x1a\x34.ibc.applications.transfer.v1.QueryDenomHashResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/apps/transfer/v1/denom_hashes/{trace=**}\x12\xd6\x01\n\rEscrowAddress\x12\x37.ibc.applications.transfer.v1.QueryEscrowAddressRequest\x1a\x38.ibc.applications.transfer.v1.QueryEscrowAddressResponse\"R\x82\xd3\xe4\x93\x02L\x12J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address\x12\xd2\x01\n\x13TotalEscrowForDenom\x12=.ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest\x1a>.ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrowB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/query.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1cgoogle/api/annotations.proto\"&\n\x16QueryDenomTraceRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"X\n\x17QueryDenomTraceResponse\x12=\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTrace\"U\n\x17QueryDenomTracesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa7\x01\n\x18QueryDenomTracesResponse\x12N\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06Traces\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"K\n\x13QueryParamsResponse\x12\x34\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.Params\"&\n\x15QueryDenomHashRequest\x12\r\n\x05trace\x18\x01 \x01(\t\"&\n\x16QueryDenomHashResponse\x12\x0c\n\x04hash\x18\x01 \x01(\t\"@\n\x19QueryEscrowAddressRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"4\n\x1aQueryEscrowAddressResponse\x12\x16\n\x0e\x65scrow_address\x18\x01 \x01(\t\"0\n\x1fQueryTotalEscrowForDenomRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"S\n QueryTotalEscrowForDenomResponse\x12/\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x32\xd8\x08\n\x05Query\x12\xaf\x01\n\nDenomTrace\x12\x34.ibc.applications.transfer.v1.QueryDenomTraceRequest\x1a\x35.ibc.applications.transfer.v1.QueryDenomTraceResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/transfer/v1/denom_traces/{hash=**}\x12\xa8\x01\n\x0b\x44\x65nomTraces\x12\x35.ibc.applications.transfer.v1.QueryDenomTracesRequest\x1a\x36.ibc.applications.transfer.v1.QueryDenomTracesResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/ibc/apps/transfer/v1/denom_traces\x12\x93\x01\n\x06Params\x12\x30.ibc.applications.transfer.v1.QueryParamsRequest\x1a\x31.ibc.applications.transfer.v1.QueryParamsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/transfer/v1/params\x12\xad\x01\n\tDenomHash\x12\x33.ibc.applications.transfer.v1.QueryDenomHashRequest\x1a\x34.ibc.applications.transfer.v1.QueryDenomHashResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/apps/transfer/v1/denom_hashes/{trace=**}\x12\xd6\x01\n\rEscrowAddress\x12\x37.ibc.applications.transfer.v1.QueryEscrowAddressRequest\x1a\x38.ibc.applications.transfer.v1.QueryEscrowAddressResponse\"R\x82\xd3\xe4\x93\x02L\x12J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address\x12\xd2\x01\n\x13TotalEscrowForDenom\x12=.ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest\x1a>.ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrowB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _QUERYDENOMTRACESRESPONSE.fields_by_name['denom_traces']._options = None - _QUERYDENOMTRACESRESPONSE.fields_by_name['denom_traces']._serialized_options = b'\252\337\037\006Traces\310\336\037\000' + _QUERYDENOMTRACESRESPONSE.fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' _QUERYTOTALESCROWFORDENOMRESPONSE.fields_by_name['amount']._options = None _QUERYTOTALESCROWFORDENOMRESPONSE.fields_by_name['amount']._serialized_options = b'\310\336\037\000' _QUERY.methods_by_name['DenomTrace']._options = None @@ -42,30 +43,30 @@ _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' _QUERY.methods_by_name['TotalEscrowForDenom']._options = None _QUERY.methods_by_name['TotalEscrowForDenom']._serialized_options = b'\202\323\344\223\0026\0224/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrow' - _QUERYDENOMTRACEREQUEST._serialized_start=247 - _QUERYDENOMTRACEREQUEST._serialized_end=285 - _QUERYDENOMTRACERESPONSE._serialized_start=287 - _QUERYDENOMTRACERESPONSE._serialized_end=375 - _QUERYDENOMTRACESREQUEST._serialized_start=377 - _QUERYDENOMTRACESREQUEST._serialized_end=462 - _QUERYDENOMTRACESRESPONSE._serialized_start=465 - _QUERYDENOMTRACESRESPONSE._serialized_end=632 - _QUERYPARAMSREQUEST._serialized_start=634 - _QUERYPARAMSREQUEST._serialized_end=654 - _QUERYPARAMSRESPONSE._serialized_start=656 - _QUERYPARAMSRESPONSE._serialized_end=731 - _QUERYDENOMHASHREQUEST._serialized_start=733 - _QUERYDENOMHASHREQUEST._serialized_end=771 - _QUERYDENOMHASHRESPONSE._serialized_start=773 - _QUERYDENOMHASHRESPONSE._serialized_end=811 - _QUERYESCROWADDRESSREQUEST._serialized_start=813 - _QUERYESCROWADDRESSREQUEST._serialized_end=877 - _QUERYESCROWADDRESSRESPONSE._serialized_start=879 - _QUERYESCROWADDRESSRESPONSE._serialized_end=931 - _QUERYTOTALESCROWFORDENOMREQUEST._serialized_start=933 - _QUERYTOTALESCROWFORDENOMREQUEST._serialized_end=981 - _QUERYTOTALESCROWFORDENOMRESPONSE._serialized_start=983 - _QUERYTOTALESCROWFORDENOMRESPONSE._serialized_end=1066 - _QUERY._serialized_start=1069 - _QUERY._serialized_end=2181 + _globals['_QUERYDENOMTRACEREQUEST']._serialized_start=247 + _globals['_QUERYDENOMTRACEREQUEST']._serialized_end=285 + _globals['_QUERYDENOMTRACERESPONSE']._serialized_start=287 + _globals['_QUERYDENOMTRACERESPONSE']._serialized_end=375 + _globals['_QUERYDENOMTRACESREQUEST']._serialized_start=377 + _globals['_QUERYDENOMTRACESREQUEST']._serialized_end=462 + _globals['_QUERYDENOMTRACESRESPONSE']._serialized_start=465 + _globals['_QUERYDENOMTRACESRESPONSE']._serialized_end=632 + _globals['_QUERYPARAMSREQUEST']._serialized_start=634 + _globals['_QUERYPARAMSREQUEST']._serialized_end=654 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=656 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=731 + _globals['_QUERYDENOMHASHREQUEST']._serialized_start=733 + _globals['_QUERYDENOMHASHREQUEST']._serialized_end=771 + _globals['_QUERYDENOMHASHRESPONSE']._serialized_start=773 + _globals['_QUERYDENOMHASHRESPONSE']._serialized_end=811 + _globals['_QUERYESCROWADDRESSREQUEST']._serialized_start=813 + _globals['_QUERYESCROWADDRESSREQUEST']._serialized_end=877 + _globals['_QUERYESCROWADDRESSRESPONSE']._serialized_start=879 + _globals['_QUERYESCROWADDRESSRESPONSE']._serialized_end=931 + _globals['_QUERYTOTALESCROWFORDENOMREQUEST']._serialized_start=933 + _globals['_QUERYTOTALESCROWFORDENOMREQUEST']._serialized_end=981 + _globals['_QUERYTOTALESCROWFORDENOMRESPONSE']._serialized_start=983 + _globals['_QUERYTOTALESCROWFORDENOMRESPONSE']._serialized_end=1066 + _globals['_QUERY']._serialized_start=1069 + _globals['_QUERY']._serialized_end=2181 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py index 670b25c6..05953191 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/transfer/v1/transfer.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,16 +13,17 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1\".\n\nDenomTrace\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\"7\n\x06Params\x12\x14\n\x0csend_enabled\x18\x01 \x01(\x08\x12\x17\n\x0freceive_enabled\x18\x02 \x01(\x08\x42\x39Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1\".\n\nDenomTrace\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\"7\n\x06Params\x12\x14\n\x0csend_enabled\x18\x01 \x01(\x08\x12\x17\n\x0freceive_enabled\x18\x02 \x01(\x08\x42\x39Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.transfer_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.transfer_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' - _DENOMTRACE._serialized_start=77 - _DENOMTRACE._serialized_end=123 - _PARAMS._serialized_start=125 - _PARAMS._serialized_end=180 + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + _globals['_DENOMTRACE']._serialized_start=77 + _globals['_DENOMTRACE']._serialized_end=123 + _globals['_PARAMS']._serialized_start=125 + _globals['_PARAMS']._serialized_end=180 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py index f50fd4f9..4deb94d7 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/transfer/v1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +18,37 @@ from ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\x84\x02\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12.\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12\x38\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x07 \x01(\x04\x12\x0c\n\x04memo\x18\x08 \x01(\t:\x13\x82\xe7\xb0*\x06sender\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\'\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04\"p\n\x0fMsgUpdateParams\x12\x11\n\tauthority\x18\x01 \x01(\t\x12:\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xec\x01\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponse\x12t\n\x0cUpdateParams\x12-.ibc.applications.transfer.v1.MsgUpdateParams\x1a\x35.ibc.applications.transfer.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x39Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\x80\x02\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12.\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12\x38\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x07 \x01(\x04\x12\x0c\n\x04memo\x18\x08 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04:\x04\x88\xa0\x1f\x00\"n\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12:\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xec\x01\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponse\x12t\n\x0cUpdateParams\x12-.ibc.applications.transfer.v1.MsgUpdateParams\x1a\x35.ibc.applications.transfer.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x39Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _MSGTRANSFER.fields_by_name['token']._options = None _MSGTRANSFER.fields_by_name['token']._serialized_options = b'\310\336\037\000' _MSGTRANSFER.fields_by_name['timeout_height']._options = None _MSGTRANSFER.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000' _MSGTRANSFER._options = None - _MSGTRANSFER._serialized_options = b'\202\347\260*\006sender\350\240\037\000\210\240\037\000' + _MSGTRANSFER._serialized_options = b'\210\240\037\000\202\347\260*\006sender' + _MSGTRANSFERRESPONSE._options = None + _MSGTRANSFERRESPONSE._serialized_options = b'\210\240\037\000' _MSGUPDATEPARAMS.fields_by_name['params']._options = None _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGTRANSFER._serialized_start=229 - _MSGTRANSFER._serialized_end=489 - _MSGTRANSFERRESPONSE._serialized_start=491 - _MSGTRANSFERRESPONSE._serialized_end=530 - _MSGUPDATEPARAMS._serialized_start=532 - _MSGUPDATEPARAMS._serialized_end=644 - _MSGUPDATEPARAMSRESPONSE._serialized_start=646 - _MSGUPDATEPARAMSRESPONSE._serialized_end=671 - _MSG._serialized_start=674 - _MSG._serialized_end=910 + _globals['_MSGTRANSFER']._serialized_start=229 + _globals['_MSGTRANSFER']._serialized_end=485 + _globals['_MSGTRANSFERRESPONSE']._serialized_start=487 + _globals['_MSGTRANSFERRESPONSE']._serialized_end=532 + _globals['_MSGUPDATEPARAMS']._serialized_start=534 + _globals['_MSGUPDATEPARAMS']._serialized_end=644 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=646 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=671 + _globals['_MSG']._serialized_start=674 + _globals['_MSG']._serialized_end=910 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py index 952caa93..945c0432 100644 --- a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/applications/transfer/v2/packet.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,14 +13,15 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2\"h\n\x17\x46ungibleTokenPacketData\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x0e\n\x06sender\x18\x03 \x01(\t\x12\x10\n\x08receiver\x18\x04 \x01(\t\x12\x0c\n\x04memo\x18\x05 \x01(\tB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2\"h\n\x17\x46ungibleTokenPacketData\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x0e\n\x06sender\x18\x03 \x01(\t\x12\x10\n\x08receiver\x18\x04 \x01(\t\x12\x0c\n\x04memo\x18\x05 \x01(\tB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v2.packet_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v2.packet_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' - _FUNGIBLETOKENPACKETDATA._serialized_start=75 - _FUNGIBLETOKENPACKETDATA._serialized_end=179 + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + _globals['_FUNGIBLETOKENPACKETDATA']._serialized_start=75 + _globals['_FUNGIBLETOKENPACKETDATA']._serialized_end=179 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py index 3c7310ab..5a3245de 100644 --- a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/core/channel/v1/channel.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,15 @@ from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\"\xd1\x01\n\x07\x43hannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x63onnection_hops\x18\x04 \x03(\t\x12\x0f\n\x07version\x18\x05 \x01(\t:\x04\x88\xa0\x1f\x00\"\x80\x02\n\x11IdentifiedChannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x63onnection_hops\x18\x04 \x03(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x0f\n\x07port_id\x18\x06 \x01(\t\x12\x12\n\nchannel_id\x18\x07 \x01(\t:\x04\x88\xa0\x1f\x00\"9\n\x0c\x43ounterparty\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\xe7\x01\n\x06Packet\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x13\n\x0bsource_port\x18\x02 \x01(\t\x12\x16\n\x0esource_channel\x18\x03 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x04 \x01(\t\x12\x1b\n\x13\x64\x65stination_channel\x18\x05 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x38\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x08 \x01(\x04:\x04\x88\xa0\x1f\x00\"X\n\x0bPacketState\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c:\x04\x88\xa0\x1f\x00\"G\n\x08PacketId\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"@\n\x0f\x41\x63knowledgement\x12\x10\n\x06result\x18\x15 \x01(\x0cH\x00\x12\x0f\n\x05\x65rror\x18\x16 \x01(\tH\x00\x42\n\n\x08response\"N\n\x07Timeout\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x11\n\ttimestamp\x18\x02 \x01(\x04*\xb7\x01\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12\"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\"\xd1\x01\n\x07\x43hannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x63onnection_hops\x18\x04 \x03(\t\x12\x0f\n\x07version\x18\x05 \x01(\t:\x04\x88\xa0\x1f\x00\"\x80\x02\n\x11IdentifiedChannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x63onnection_hops\x18\x04 \x03(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x0f\n\x07port_id\x18\x06 \x01(\t\x12\x12\n\nchannel_id\x18\x07 \x01(\t:\x04\x88\xa0\x1f\x00\"9\n\x0c\x43ounterparty\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\xe7\x01\n\x06Packet\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x13\n\x0bsource_port\x18\x02 \x01(\t\x12\x16\n\x0esource_channel\x18\x03 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x04 \x01(\t\x12\x1b\n\x13\x64\x65stination_channel\x18\x05 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x38\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x08 \x01(\x04:\x04\x88\xa0\x1f\x00\"X\n\x0bPacketState\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c:\x04\x88\xa0\x1f\x00\"G\n\x08PacketId\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"@\n\x0f\x41\x63knowledgement\x12\x10\n\x06result\x18\x15 \x01(\x0cH\x00\x12\x0f\n\x05\x65rror\x18\x16 \x01(\tH\x00\x42\n\n\x08response\"N\n\x07Timeout\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x11\n\ttimestamp\x18\x02 \x01(\x04*\xb7\x01\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12\"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.channel_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.channel_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _STATE._options = None _STATE._serialized_options = b'\210\243\036\000' _STATE.values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._options = None @@ -63,24 +64,24 @@ _PACKETID._serialized_options = b'\210\240\037\000' _TIMEOUT.fields_by_name['height']._options = None _TIMEOUT.fields_by_name['height']._serialized_options = b'\310\336\037\000' - _STATE._serialized_start=1187 - _STATE._serialized_end=1370 - _ORDER._serialized_start=1372 - _ORDER._serialized_end=1491 - _CHANNEL._serialized_start=114 - _CHANNEL._serialized_end=323 - _IDENTIFIEDCHANNEL._serialized_start=326 - _IDENTIFIEDCHANNEL._serialized_end=582 - _COUNTERPARTY._serialized_start=584 - _COUNTERPARTY._serialized_end=641 - _PACKET._serialized_start=644 - _PACKET._serialized_end=875 - _PACKETSTATE._serialized_start=877 - _PACKETSTATE._serialized_end=965 - _PACKETID._serialized_start=967 - _PACKETID._serialized_end=1038 - _ACKNOWLEDGEMENT._serialized_start=1040 - _ACKNOWLEDGEMENT._serialized_end=1104 - _TIMEOUT._serialized_start=1106 - _TIMEOUT._serialized_end=1184 + _globals['_STATE']._serialized_start=1187 + _globals['_STATE']._serialized_end=1370 + _globals['_ORDER']._serialized_start=1372 + _globals['_ORDER']._serialized_end=1491 + _globals['_CHANNEL']._serialized_start=114 + _globals['_CHANNEL']._serialized_end=323 + _globals['_IDENTIFIEDCHANNEL']._serialized_start=326 + _globals['_IDENTIFIEDCHANNEL']._serialized_end=582 + _globals['_COUNTERPARTY']._serialized_start=584 + _globals['_COUNTERPARTY']._serialized_end=641 + _globals['_PACKET']._serialized_start=644 + _globals['_PACKET']._serialized_end=875 + _globals['_PACKETSTATE']._serialized_start=877 + _globals['_PACKETSTATE']._serialized_end=965 + _globals['_PACKETID']._serialized_start=967 + _globals['_PACKETID']._serialized_end=1038 + _globals['_ACKNOWLEDGEMENT']._serialized_start=1040 + _globals['_ACKNOWLEDGEMENT']._serialized_end=1104 + _globals['_TIMEOUT']._serialized_start=1106 + _globals['_TIMEOUT']._serialized_end=1184 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py index e6ea6f98..d02b8e20 100644 --- a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/core/channel/v1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,17 @@ from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\x83\x04\n\x0cGenesisState\x12S\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xfa\xde\x1f\x11IdentifiedChannel\xc8\xde\x1f\x00\x12@\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12;\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12\x38\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12\x41\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12\x41\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12@\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12\x1d\n\x15next_channel_sequence\x18\x08 \x01(\x04\"G\n\x0ePacketSequence\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x42;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\x83\x04\n\x0cGenesisState\x12S\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xc8\xde\x1f\x00\xfa\xde\x1f\x11IdentifiedChannel\x12@\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12;\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12\x38\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12\x41\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12\x41\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12@\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12\x1d\n\x15next_channel_sequence\x18\x08 \x01(\x04\"G\n\x0ePacketSequence\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x42;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _GENESISSTATE.fields_by_name['channels']._options = None - _GENESISSTATE.fields_by_name['channels']._serialized_options = b'\372\336\037\021IdentifiedChannel\310\336\037\000' + _GENESISSTATE.fields_by_name['channels']._serialized_options = b'\310\336\037\000\372\336\037\021IdentifiedChannel' _GENESISSTATE.fields_by_name['acknowledgements']._options = None _GENESISSTATE.fields_by_name['acknowledgements']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['commitments']._options = None @@ -37,8 +38,8 @@ _GENESISSTATE.fields_by_name['recv_sequences']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['ack_sequences']._options = None _GENESISSTATE.fields_by_name['ack_sequences']._serialized_options = b'\310\336\037\000' - _GENESISSTATE._serialized_start=116 - _GENESISSTATE._serialized_end=631 - _PACKETSEQUENCE._serialized_start=633 - _PACKETSEQUENCE._serialized_end=704 + _globals['_GENESISSTATE']._serialized_start=116 + _globals['_GENESISSTATE']._serialized_end=631 + _globals['_PACKETSEQUENCE']._serialized_start=633 + _globals['_PACKETSEQUENCE']._serialized_end=704 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py index e986f5be..2fea022d 100644 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/core/channel/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +19,15 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\":\n\x13QueryChannelRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x8c\x01\n\x14QueryChannelResponse\x12-\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x14QueryChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc0\x01\n\x15QueryChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"p\n\x1eQueryConnectionChannelsRequest\x12\x12\n\nconnection\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xca\x01\n\x1fQueryConnectionChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"E\n\x1eQueryChannelClientStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\xb4\x01\n\x1fQueryChannelClientStateResponse\x12J\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientState\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"z\n!QueryChannelConsensusStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x17\n\x0frevision_number\x18\x03 \x01(\x04\x12\x17\n\x0frevision_height\x18\x04 \x01(\x04\"\xad\x01\n\"QueryChannelConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"U\n\x1cQueryPacketCommitmentRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"z\n\x1dQueryPacketCommitmentResponse\x12\x12\n\ncommitment\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\x80\x01\n\x1dQueryPacketCommitmentsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc6\x01\n\x1eQueryPacketCommitmentsResponse\x12\x35\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x19QueryPacketReceiptRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"u\n\x1aQueryPacketReceiptResponse\x12\x10\n\x08received\x18\x02 \x01(\x08\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"Z\n!QueryPacketAcknowledgementRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"\x84\x01\n\"QueryPacketAcknowledgementResponse\x12\x17\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\xaa\x01\n\"QueryPacketAcknowledgementsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12#\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04\"\xd0\x01\n#QueryPacketAcknowledgementsResponse\x12:\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"i\n\x1dQueryUnreceivedPacketsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12#\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04\"e\n\x1eQueryUnreceivedPacketsResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"_\n\x1aQueryUnreceivedAcksRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1c\n\x14packet_ack_sequences\x18\x03 \x03(\x04\"b\n\x1bQueryUnreceivedAcksResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"F\n\x1fQueryNextSequenceReceiveRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x88\x01\n QueryNextSequenceReceiveResponse\x12\x1d\n\x15next_sequence_receive\x18\x01 \x01(\x04\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"C\n\x1cQueryNextSequenceSendRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x82\x01\n\x1dQueryNextSequenceSendResponse\x12\x1a\n\x12next_sequence_send\x18\x01 \x01(\x04\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x32\xde\x17\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse\"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse\"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse\"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse\"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse\"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse\"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse\"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence\x12\xd0\x01\n\x10NextSequenceSend\x12\x31.ibc.core.channel.v1.QueryNextSequenceSendRequest\x1a\x32.ibc.core.channel.v1.QueryNextSequenceSendResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_sendB;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\":\n\x13QueryChannelRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x8c\x01\n\x14QueryChannelResponse\x12-\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x14QueryChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc0\x01\n\x15QueryChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"p\n\x1eQueryConnectionChannelsRequest\x12\x12\n\nconnection\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xca\x01\n\x1fQueryConnectionChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"E\n\x1eQueryChannelClientStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\xb4\x01\n\x1fQueryChannelClientStateResponse\x12J\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientState\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"z\n!QueryChannelConsensusStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x17\n\x0frevision_number\x18\x03 \x01(\x04\x12\x17\n\x0frevision_height\x18\x04 \x01(\x04\"\xad\x01\n\"QueryChannelConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"U\n\x1cQueryPacketCommitmentRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"z\n\x1dQueryPacketCommitmentResponse\x12\x12\n\ncommitment\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\x80\x01\n\x1dQueryPacketCommitmentsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc6\x01\n\x1eQueryPacketCommitmentsResponse\x12\x35\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x19QueryPacketReceiptRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"u\n\x1aQueryPacketReceiptResponse\x12\x10\n\x08received\x18\x02 \x01(\x08\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"Z\n!QueryPacketAcknowledgementRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"\x84\x01\n\"QueryPacketAcknowledgementResponse\x12\x17\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\xaa\x01\n\"QueryPacketAcknowledgementsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12#\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04\"\xd0\x01\n#QueryPacketAcknowledgementsResponse\x12:\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"i\n\x1dQueryUnreceivedPacketsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12#\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04\"e\n\x1eQueryUnreceivedPacketsResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"_\n\x1aQueryUnreceivedAcksRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1c\n\x14packet_ack_sequences\x18\x03 \x03(\x04\"b\n\x1bQueryUnreceivedAcksResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"F\n\x1fQueryNextSequenceReceiveRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x88\x01\n QueryNextSequenceReceiveResponse\x12\x1d\n\x15next_sequence_receive\x18\x01 \x01(\x04\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"C\n\x1cQueryNextSequenceSendRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x82\x01\n\x1dQueryNextSequenceSendResponse\x12\x1a\n\x12next_sequence_send\x18\x01 \x01(\x04\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x32\xde\x17\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse\"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse\"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse\"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse\"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse\"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse\"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse\"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence\x12\xd0\x01\n\x10NextSequenceSend\x12\x31.ibc.core.channel.v1.QueryNextSequenceSendRequest\x1a\x32.ibc.core.channel.v1.QueryNextSequenceSendResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_sendB;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _QUERYCHANNELRESPONSE.fields_by_name['proof_height']._options = None _QUERYCHANNELRESPONSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _QUERYCHANNELSRESPONSE.fields_by_name['height']._options = None @@ -83,62 +84,62 @@ _QUERY.methods_by_name['NextSequenceReceive']._serialized_options = b'\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence' _QUERY.methods_by_name['NextSequenceSend']._options = None _QUERY.methods_by_name['NextSequenceSend']._serialized_options = b'\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send' - _QUERYCHANNELREQUEST._serialized_start=247 - _QUERYCHANNELREQUEST._serialized_end=305 - _QUERYCHANNELRESPONSE._serialized_start=308 - _QUERYCHANNELRESPONSE._serialized_end=448 - _QUERYCHANNELSREQUEST._serialized_start=450 - _QUERYCHANNELSREQUEST._serialized_end=532 - _QUERYCHANNELSRESPONSE._serialized_start=535 - _QUERYCHANNELSRESPONSE._serialized_end=727 - _QUERYCONNECTIONCHANNELSREQUEST._serialized_start=729 - _QUERYCONNECTIONCHANNELSREQUEST._serialized_end=841 - _QUERYCONNECTIONCHANNELSRESPONSE._serialized_start=844 - _QUERYCONNECTIONCHANNELSRESPONSE._serialized_end=1046 - _QUERYCHANNELCLIENTSTATEREQUEST._serialized_start=1048 - _QUERYCHANNELCLIENTSTATEREQUEST._serialized_end=1117 - _QUERYCHANNELCLIENTSTATERESPONSE._serialized_start=1120 - _QUERYCHANNELCLIENTSTATERESPONSE._serialized_end=1300 - _QUERYCHANNELCONSENSUSSTATEREQUEST._serialized_start=1302 - _QUERYCHANNELCONSENSUSSTATEREQUEST._serialized_end=1424 - _QUERYCHANNELCONSENSUSSTATERESPONSE._serialized_start=1427 - _QUERYCHANNELCONSENSUSSTATERESPONSE._serialized_end=1600 - _QUERYPACKETCOMMITMENTREQUEST._serialized_start=1602 - _QUERYPACKETCOMMITMENTREQUEST._serialized_end=1687 - _QUERYPACKETCOMMITMENTRESPONSE._serialized_start=1689 - _QUERYPACKETCOMMITMENTRESPONSE._serialized_end=1811 - _QUERYPACKETCOMMITMENTSREQUEST._serialized_start=1814 - _QUERYPACKETCOMMITMENTSREQUEST._serialized_end=1942 - _QUERYPACKETCOMMITMENTSRESPONSE._serialized_start=1945 - _QUERYPACKETCOMMITMENTSRESPONSE._serialized_end=2143 - _QUERYPACKETRECEIPTREQUEST._serialized_start=2145 - _QUERYPACKETRECEIPTREQUEST._serialized_end=2227 - _QUERYPACKETRECEIPTRESPONSE._serialized_start=2229 - _QUERYPACKETRECEIPTRESPONSE._serialized_end=2346 - _QUERYPACKETACKNOWLEDGEMENTREQUEST._serialized_start=2348 - _QUERYPACKETACKNOWLEDGEMENTREQUEST._serialized_end=2438 - _QUERYPACKETACKNOWLEDGEMENTRESPONSE._serialized_start=2441 - _QUERYPACKETACKNOWLEDGEMENTRESPONSE._serialized_end=2573 - _QUERYPACKETACKNOWLEDGEMENTSREQUEST._serialized_start=2576 - _QUERYPACKETACKNOWLEDGEMENTSREQUEST._serialized_end=2746 - _QUERYPACKETACKNOWLEDGEMENTSRESPONSE._serialized_start=2749 - _QUERYPACKETACKNOWLEDGEMENTSRESPONSE._serialized_end=2957 - _QUERYUNRECEIVEDPACKETSREQUEST._serialized_start=2959 - _QUERYUNRECEIVEDPACKETSREQUEST._serialized_end=3064 - _QUERYUNRECEIVEDPACKETSRESPONSE._serialized_start=3066 - _QUERYUNRECEIVEDPACKETSRESPONSE._serialized_end=3167 - _QUERYUNRECEIVEDACKSREQUEST._serialized_start=3169 - _QUERYUNRECEIVEDACKSREQUEST._serialized_end=3264 - _QUERYUNRECEIVEDACKSRESPONSE._serialized_start=3266 - _QUERYUNRECEIVEDACKSRESPONSE._serialized_end=3364 - _QUERYNEXTSEQUENCERECEIVEREQUEST._serialized_start=3366 - _QUERYNEXTSEQUENCERECEIVEREQUEST._serialized_end=3436 - _QUERYNEXTSEQUENCERECEIVERESPONSE._serialized_start=3439 - _QUERYNEXTSEQUENCERECEIVERESPONSE._serialized_end=3575 - _QUERYNEXTSEQUENCESENDREQUEST._serialized_start=3577 - _QUERYNEXTSEQUENCESENDREQUEST._serialized_end=3644 - _QUERYNEXTSEQUENCESENDRESPONSE._serialized_start=3647 - _QUERYNEXTSEQUENCESENDRESPONSE._serialized_end=3777 - _QUERY._serialized_start=3780 - _QUERY._serialized_end=6818 + _globals['_QUERYCHANNELREQUEST']._serialized_start=247 + _globals['_QUERYCHANNELREQUEST']._serialized_end=305 + _globals['_QUERYCHANNELRESPONSE']._serialized_start=308 + _globals['_QUERYCHANNELRESPONSE']._serialized_end=448 + _globals['_QUERYCHANNELSREQUEST']._serialized_start=450 + _globals['_QUERYCHANNELSREQUEST']._serialized_end=532 + _globals['_QUERYCHANNELSRESPONSE']._serialized_start=535 + _globals['_QUERYCHANNELSRESPONSE']._serialized_end=727 + _globals['_QUERYCONNECTIONCHANNELSREQUEST']._serialized_start=729 + _globals['_QUERYCONNECTIONCHANNELSREQUEST']._serialized_end=841 + _globals['_QUERYCONNECTIONCHANNELSRESPONSE']._serialized_start=844 + _globals['_QUERYCONNECTIONCHANNELSRESPONSE']._serialized_end=1046 + _globals['_QUERYCHANNELCLIENTSTATEREQUEST']._serialized_start=1048 + _globals['_QUERYCHANNELCLIENTSTATEREQUEST']._serialized_end=1117 + _globals['_QUERYCHANNELCLIENTSTATERESPONSE']._serialized_start=1120 + _globals['_QUERYCHANNELCLIENTSTATERESPONSE']._serialized_end=1300 + _globals['_QUERYCHANNELCONSENSUSSTATEREQUEST']._serialized_start=1302 + _globals['_QUERYCHANNELCONSENSUSSTATEREQUEST']._serialized_end=1424 + _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE']._serialized_start=1427 + _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE']._serialized_end=1600 + _globals['_QUERYPACKETCOMMITMENTREQUEST']._serialized_start=1602 + _globals['_QUERYPACKETCOMMITMENTREQUEST']._serialized_end=1687 + _globals['_QUERYPACKETCOMMITMENTRESPONSE']._serialized_start=1689 + _globals['_QUERYPACKETCOMMITMENTRESPONSE']._serialized_end=1811 + _globals['_QUERYPACKETCOMMITMENTSREQUEST']._serialized_start=1814 + _globals['_QUERYPACKETCOMMITMENTSREQUEST']._serialized_end=1942 + _globals['_QUERYPACKETCOMMITMENTSRESPONSE']._serialized_start=1945 + _globals['_QUERYPACKETCOMMITMENTSRESPONSE']._serialized_end=2143 + _globals['_QUERYPACKETRECEIPTREQUEST']._serialized_start=2145 + _globals['_QUERYPACKETRECEIPTREQUEST']._serialized_end=2227 + _globals['_QUERYPACKETRECEIPTRESPONSE']._serialized_start=2229 + _globals['_QUERYPACKETRECEIPTRESPONSE']._serialized_end=2346 + _globals['_QUERYPACKETACKNOWLEDGEMENTREQUEST']._serialized_start=2348 + _globals['_QUERYPACKETACKNOWLEDGEMENTREQUEST']._serialized_end=2438 + _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE']._serialized_start=2441 + _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE']._serialized_end=2573 + _globals['_QUERYPACKETACKNOWLEDGEMENTSREQUEST']._serialized_start=2576 + _globals['_QUERYPACKETACKNOWLEDGEMENTSREQUEST']._serialized_end=2746 + _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE']._serialized_start=2749 + _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE']._serialized_end=2957 + _globals['_QUERYUNRECEIVEDPACKETSREQUEST']._serialized_start=2959 + _globals['_QUERYUNRECEIVEDPACKETSREQUEST']._serialized_end=3064 + _globals['_QUERYUNRECEIVEDPACKETSRESPONSE']._serialized_start=3066 + _globals['_QUERYUNRECEIVEDPACKETSRESPONSE']._serialized_end=3167 + _globals['_QUERYUNRECEIVEDACKSREQUEST']._serialized_start=3169 + _globals['_QUERYUNRECEIVEDACKSREQUEST']._serialized_end=3264 + _globals['_QUERYUNRECEIVEDACKSRESPONSE']._serialized_start=3266 + _globals['_QUERYUNRECEIVEDACKSRESPONSE']._serialized_end=3364 + _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_start=3366 + _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_end=3436 + _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_start=3439 + _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_end=3575 + _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_start=3577 + _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_end=3644 + _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_start=3647 + _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_end=3777 + _globals['_QUERY']._serialized_start=3780 + _globals['_QUERY']._serialized_end=6818 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py index 402c8a05..6f14197e 100644 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/core/channel/v1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +17,15 @@ from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\x7f\n\x12MsgChannelOpenInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x33\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"A\n\x1aMsgChannelOpenInitResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"\x89\x02\n\x11MsgChannelOpenTry\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x1f\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01\x12\x33\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x12\n\nproof_init\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"@\n\x19MsgChannelOpenTryResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\xe7\x01\n\x11MsgChannelOpenAck\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1f\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\t\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x11\n\tproof_try\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1b\n\x19MsgChannelOpenAckResponse\"\xac\x01\n\x15MsgChannelOpenConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x11\n\tproof_ack\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"_\n\x13MsgChannelCloseInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xae\x01\n\x16MsgChannelCloseConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x12\n\nproof_init\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\" \n\x1eMsgChannelCloseConfirmResponse\"\xb9\x01\n\rMsgRecvPacket\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_commitment\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"V\n\x15MsgRecvPacketResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xd2\x01\n\nMsgTimeout\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x04 \x01(\x04\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"S\n\x12MsgTimeoutResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xee\x01\n\x11MsgTimeoutOnClose\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_close\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x05 \x01(\x04\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"Z\n\x19MsgTimeoutOnCloseResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xd2\x01\n\x12MsgAcknowledgement\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_acked\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"[\n\x1aMsgAcknowledgementResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00*\xa9\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x1a\x04\x88\xa3\x1e\x00\x32\xb6\x08\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponse\x1a\x05\x80\xe7\xb0*\x01\x42;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"{\n\x12MsgChannelOpenInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x33\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"G\n\x1aMsgChannelOpenInitResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\x85\x02\n\x11MsgChannelOpenTry\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x1f\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01\x12\x33\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x12\n\nproof_init\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"F\n\x19MsgChannelOpenTryResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\xe3\x01\n\x11MsgChannelOpenAck\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1f\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\t\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x11\n\tproof_try\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1b\n\x19MsgChannelOpenAckResponse\"\xa8\x01\n\x15MsgChannelOpenConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x11\n\tproof_ack\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"[\n\x13MsgChannelCloseInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xaa\x01\n\x16MsgChannelCloseConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x12\n\nproof_init\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\" \n\x1eMsgChannelCloseConfirmResponse\"\xb5\x01\n\rMsgRecvPacket\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_commitment\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"V\n\x15MsgRecvPacketResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xce\x01\n\nMsgTimeout\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x04 \x01(\x04\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"S\n\x12MsgTimeoutResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xea\x01\n\x11MsgTimeoutOnClose\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_close\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x05 \x01(\x04\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"Z\n\x19MsgTimeoutOnCloseResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xce\x01\n\x12MsgAcknowledgement\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_acked\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"[\n\x1aMsgAcknowledgementResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00*\xa9\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x1a\x04\x88\xa3\x1e\x00\x32\xb6\x08\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponse\x1a\x05\x80\xe7\xb0*\x01\x42;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _RESPONSERESULTTYPE._options = None _RESPONSERESULTTYPE._serialized_options = b'\210\243\036\000' _RESPONSERESULTTYPE.values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._options = None @@ -36,7 +37,9 @@ _MSGCHANNELOPENINIT.fields_by_name['channel']._options = None _MSGCHANNELOPENINIT.fields_by_name['channel']._serialized_options = b'\310\336\037\000' _MSGCHANNELOPENINIT._options = None - _MSGCHANNELOPENINIT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGCHANNELOPENINIT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCHANNELOPENINITRESPONSE._options = None + _MSGCHANNELOPENINITRESPONSE._serialized_options = b'\210\240\037\000' _MSGCHANNELOPENTRY.fields_by_name['previous_channel_id']._options = None _MSGCHANNELOPENTRY.fields_by_name['previous_channel_id']._serialized_options = b'\030\001' _MSGCHANNELOPENTRY.fields_by_name['channel']._options = None @@ -44,27 +47,29 @@ _MSGCHANNELOPENTRY.fields_by_name['proof_height']._options = None _MSGCHANNELOPENTRY.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGCHANNELOPENTRY._options = None - _MSGCHANNELOPENTRY._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGCHANNELOPENTRY._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCHANNELOPENTRYRESPONSE._options = None + _MSGCHANNELOPENTRYRESPONSE._serialized_options = b'\210\240\037\000' _MSGCHANNELOPENACK.fields_by_name['proof_height']._options = None _MSGCHANNELOPENACK.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGCHANNELOPENACK._options = None - _MSGCHANNELOPENACK._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGCHANNELOPENACK._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGCHANNELOPENCONFIRM.fields_by_name['proof_height']._options = None _MSGCHANNELOPENCONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGCHANNELOPENCONFIRM._options = None - _MSGCHANNELOPENCONFIRM._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGCHANNELOPENCONFIRM._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGCHANNELCLOSEINIT._options = None - _MSGCHANNELCLOSEINIT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGCHANNELCLOSEINIT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_height']._options = None _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGCHANNELCLOSECONFIRM._options = None - _MSGCHANNELCLOSECONFIRM._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGCHANNELCLOSECONFIRM._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGRECVPACKET.fields_by_name['packet']._options = None _MSGRECVPACKET.fields_by_name['packet']._serialized_options = b'\310\336\037\000' _MSGRECVPACKET.fields_by_name['proof_height']._options = None _MSGRECVPACKET.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGRECVPACKET._options = None - _MSGRECVPACKET._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGRECVPACKET._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGRECVPACKETRESPONSE._options = None _MSGRECVPACKETRESPONSE._serialized_options = b'\210\240\037\000' _MSGTIMEOUT.fields_by_name['packet']._options = None @@ -72,7 +77,7 @@ _MSGTIMEOUT.fields_by_name['proof_height']._options = None _MSGTIMEOUT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGTIMEOUT._options = None - _MSGTIMEOUT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGTIMEOUT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGTIMEOUTRESPONSE._options = None _MSGTIMEOUTRESPONSE._serialized_options = b'\210\240\037\000' _MSGTIMEOUTONCLOSE.fields_by_name['packet']._options = None @@ -80,7 +85,7 @@ _MSGTIMEOUTONCLOSE.fields_by_name['proof_height']._options = None _MSGTIMEOUTONCLOSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGTIMEOUTONCLOSE._options = None - _MSGTIMEOUTONCLOSE._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGTIMEOUTONCLOSE._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGTIMEOUTONCLOSERESPONSE._options = None _MSGTIMEOUTONCLOSERESPONSE._serialized_options = b'\210\240\037\000' _MSGACKNOWLEDGEMENT.fields_by_name['packet']._options = None @@ -88,53 +93,53 @@ _MSGACKNOWLEDGEMENT.fields_by_name['proof_height']._options = None _MSGACKNOWLEDGEMENT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGACKNOWLEDGEMENT._options = None - _MSGACKNOWLEDGEMENT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGACKNOWLEDGEMENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGACKNOWLEDGEMENTRESPONSE._options = None _MSGACKNOWLEDGEMENTRESPONSE._serialized_options = b'\210\240\037\000' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _RESPONSERESULTTYPE._serialized_start=2722 - _RESPONSERESULTTYPE._serialized_end=2891 - _MSGCHANNELOPENINIT._serialized_start=168 - _MSGCHANNELOPENINIT._serialized_end=295 - _MSGCHANNELOPENINITRESPONSE._serialized_start=297 - _MSGCHANNELOPENINITRESPONSE._serialized_end=362 - _MSGCHANNELOPENTRY._serialized_start=365 - _MSGCHANNELOPENTRY._serialized_end=630 - _MSGCHANNELOPENTRYRESPONSE._serialized_start=632 - _MSGCHANNELOPENTRYRESPONSE._serialized_end=696 - _MSGCHANNELOPENACK._serialized_start=699 - _MSGCHANNELOPENACK._serialized_end=930 - _MSGCHANNELOPENACKRESPONSE._serialized_start=932 - _MSGCHANNELOPENACKRESPONSE._serialized_end=959 - _MSGCHANNELOPENCONFIRM._serialized_start=962 - _MSGCHANNELOPENCONFIRM._serialized_end=1134 - _MSGCHANNELOPENCONFIRMRESPONSE._serialized_start=1136 - _MSGCHANNELOPENCONFIRMRESPONSE._serialized_end=1167 - _MSGCHANNELCLOSEINIT._serialized_start=1169 - _MSGCHANNELCLOSEINIT._serialized_end=1264 - _MSGCHANNELCLOSEINITRESPONSE._serialized_start=1266 - _MSGCHANNELCLOSEINITRESPONSE._serialized_end=1295 - _MSGCHANNELCLOSECONFIRM._serialized_start=1298 - _MSGCHANNELCLOSECONFIRM._serialized_end=1472 - _MSGCHANNELCLOSECONFIRMRESPONSE._serialized_start=1474 - _MSGCHANNELCLOSECONFIRMRESPONSE._serialized_end=1506 - _MSGRECVPACKET._serialized_start=1509 - _MSGRECVPACKET._serialized_end=1694 - _MSGRECVPACKETRESPONSE._serialized_start=1696 - _MSGRECVPACKETRESPONSE._serialized_end=1782 - _MSGTIMEOUT._serialized_start=1785 - _MSGTIMEOUT._serialized_end=1995 - _MSGTIMEOUTRESPONSE._serialized_start=1997 - _MSGTIMEOUTRESPONSE._serialized_end=2080 - _MSGTIMEOUTONCLOSE._serialized_start=2083 - _MSGTIMEOUTONCLOSE._serialized_end=2321 - _MSGTIMEOUTONCLOSERESPONSE._serialized_start=2323 - _MSGTIMEOUTONCLOSERESPONSE._serialized_end=2413 - _MSGACKNOWLEDGEMENT._serialized_start=2416 - _MSGACKNOWLEDGEMENT._serialized_end=2626 - _MSGACKNOWLEDGEMENTRESPONSE._serialized_start=2628 - _MSGACKNOWLEDGEMENTRESPONSE._serialized_end=2719 - _MSG._serialized_start=2894 - _MSG._serialized_end=3972 + _globals['_RESPONSERESULTTYPE']._serialized_start=2694 + _globals['_RESPONSERESULTTYPE']._serialized_end=2863 + _globals['_MSGCHANNELOPENINIT']._serialized_start=168 + _globals['_MSGCHANNELOPENINIT']._serialized_end=291 + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_start=293 + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_end=364 + _globals['_MSGCHANNELOPENTRY']._serialized_start=367 + _globals['_MSGCHANNELOPENTRY']._serialized_end=628 + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_start=630 + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_end=700 + _globals['_MSGCHANNELOPENACK']._serialized_start=703 + _globals['_MSGCHANNELOPENACK']._serialized_end=930 + _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_start=932 + _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_end=959 + _globals['_MSGCHANNELOPENCONFIRM']._serialized_start=962 + _globals['_MSGCHANNELOPENCONFIRM']._serialized_end=1130 + _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_start=1132 + _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_end=1163 + _globals['_MSGCHANNELCLOSEINIT']._serialized_start=1165 + _globals['_MSGCHANNELCLOSEINIT']._serialized_end=1256 + _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_start=1258 + _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_end=1287 + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_start=1290 + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_end=1460 + _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_start=1462 + _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_end=1494 + _globals['_MSGRECVPACKET']._serialized_start=1497 + _globals['_MSGRECVPACKET']._serialized_end=1678 + _globals['_MSGRECVPACKETRESPONSE']._serialized_start=1680 + _globals['_MSGRECVPACKETRESPONSE']._serialized_end=1766 + _globals['_MSGTIMEOUT']._serialized_start=1769 + _globals['_MSGTIMEOUT']._serialized_end=1975 + _globals['_MSGTIMEOUTRESPONSE']._serialized_start=1977 + _globals['_MSGTIMEOUTRESPONSE']._serialized_end=2060 + _globals['_MSGTIMEOUTONCLOSE']._serialized_start=2063 + _globals['_MSGTIMEOUTONCLOSE']._serialized_end=2297 + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_start=2299 + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_end=2389 + _globals['_MSGACKNOWLEDGEMENT']._serialized_start=2392 + _globals['_MSGACKNOWLEDGEMENT']._serialized_end=2598 + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_start=2600 + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_end=2691 + _globals['_MSG']._serialized_start=2866 + _globals['_MSG']._serialized_end=3944 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/client_pb2.py b/pyinjective/proto/ibc/core/client/v1/client_pb2.py index 0934479e..6cca4816 100644 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/client_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/core/client/v1/client.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +17,15 @@ from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/client/v1/client.proto\x12\x12ibc.core.client.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\"V\n\x15IdentifiedClientState\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"{\n\x18\x43onsensusStateWithHeight\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"x\n\x15\x43lientConsensusStates\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12L\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\"\x97\x01\n\x14\x43lientUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x19\n\x11subject_client_id\x18\x03 \x01(\t\x12\x1c\n\x14substitute_client_id\x18\x04 \x01(\t:\"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xc8\x01\n\x0fUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00\x12\x33\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any:*\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"D\n\x06Height\x12\x17\n\x0frevision_number\x18\x01 \x01(\x04\x12\x17\n\x0frevision_height\x18\x02 \x01(\x04:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"!\n\x06Params\x12\x17\n\x0f\x61llowed_clients\x18\x01 \x03(\tB:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/client/v1/client.proto\x12\x12ibc.core.client.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\"V\n\x15IdentifiedClientState\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"{\n\x18\x43onsensusStateWithHeight\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"x\n\x15\x43lientConsensusStates\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12L\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\"\x97\x01\n\x14\x43lientUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x19\n\x11subject_client_id\x18\x03 \x01(\t\x12\x1c\n\x14substitute_client_id\x18\x04 \x01(\t:\"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xc8\x01\n\x0fUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00\x12\x33\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any:*\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"D\n\x06Height\x12\x17\n\x0frevision_number\x18\x01 \x01(\x04\x12\x17\n\x0frevision_height\x18\x02 \x01(\x04:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"!\n\x06Params\x12\x17\n\x0f\x61llowed_clients\x18\x01 \x03(\tB:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.client_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.client_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _CONSENSUSSTATEWITHHEIGHT.fields_by_name['height']._options = None _CONSENSUSSTATEWITHHEIGHT.fields_by_name['height']._serialized_options = b'\310\336\037\000' _CLIENTCONSENSUSSTATES.fields_by_name['consensus_states']._options = None @@ -37,18 +38,18 @@ _UPGRADEPROPOSAL._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content' _HEIGHT._options = None _HEIGHT._serialized_options = b'\210\240\037\000\230\240\037\000' - _IDENTIFIEDCLIENTSTATE._serialized_start=169 - _IDENTIFIEDCLIENTSTATE._serialized_end=255 - _CONSENSUSSTATEWITHHEIGHT._serialized_start=257 - _CONSENSUSSTATEWITHHEIGHT._serialized_end=380 - _CLIENTCONSENSUSSTATES._serialized_start=382 - _CLIENTCONSENSUSSTATES._serialized_end=502 - _CLIENTUPDATEPROPOSAL._serialized_start=505 - _CLIENTUPDATEPROPOSAL._serialized_end=656 - _UPGRADEPROPOSAL._serialized_start=659 - _UPGRADEPROPOSAL._serialized_end=859 - _HEIGHT._serialized_start=861 - _HEIGHT._serialized_end=929 - _PARAMS._serialized_start=931 - _PARAMS._serialized_end=964 + _globals['_IDENTIFIEDCLIENTSTATE']._serialized_start=169 + _globals['_IDENTIFIEDCLIENTSTATE']._serialized_end=255 + _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_start=257 + _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_end=380 + _globals['_CLIENTCONSENSUSSTATES']._serialized_start=382 + _globals['_CLIENTCONSENSUSSTATES']._serialized_end=502 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_start=505 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=656 + _globals['_UPGRADEPROPOSAL']._serialized_start=659 + _globals['_UPGRADEPROPOSAL']._serialized_end=859 + _globals['_HEIGHT']._serialized_start=861 + _globals['_HEIGHT']._serialized_end=929 + _globals['_PARAMS']._serialized_start=931 + _globals['_PARAMS']._serialized_end=964 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py index 3e23bac8..26f63a9e 100644 --- a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/core/client/v1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,15 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"\x89\x03\n\x0cGenesisState\x12Z\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12\x64\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16\x43lientsConsensusStates\x12M\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x04\xc8\xde\x1f\x00\x12\x30\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00\x12\x18\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x12\x1c\n\x14next_client_sequence\x18\x06 \x01(\x04\"3\n\x0fGenesisMetadata\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c:\x04\x88\xa0\x1f\x00\"r\n\x19IdentifiedGenesisMetadata\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x42\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x04\xc8\xde\x1f\x00\x42:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"\x8d\x03\n\x0cGenesisState\x12Z\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12\x64\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16\x43lientsConsensusStates\x12M\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x04\xc8\xde\x1f\x00\x12\x30\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00\x12\x1c\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\x1c\n\x14next_client_sequence\x18\x06 \x01(\x04\"3\n\x0fGenesisMetadata\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c:\x04\x88\xa0\x1f\x00\"r\n\x19IdentifiedGenesisMetadata\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x42\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x04\xc8\xde\x1f\x00\x42:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _GENESISSTATE.fields_by_name['clients']._options = None _GENESISSTATE.fields_by_name['clients']._serialized_options = b'\310\336\037\000\252\337\037\026IdentifiedClientStates' _GENESISSTATE.fields_by_name['clients_consensus']._options = None @@ -31,14 +32,16 @@ _GENESISSTATE.fields_by_name['clients_metadata']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['create_localhost']._options = None + _GENESISSTATE.fields_by_name['create_localhost']._serialized_options = b'\030\001' _GENESISMETADATA._options = None _GENESISMETADATA._serialized_options = b'\210\240\037\000' _IDENTIFIEDGENESISMETADATA.fields_by_name['client_metadata']._options = None _IDENTIFIEDGENESISMETADATA.fields_by_name['client_metadata']._serialized_options = b'\310\336\037\000' - _GENESISSTATE._serialized_start=112 - _GENESISSTATE._serialized_end=505 - _GENESISMETADATA._serialized_start=507 - _GENESISMETADATA._serialized_end=558 - _IDENTIFIEDGENESISMETADATA._serialized_start=560 - _IDENTIFIEDGENESISMETADATA._serialized_end=674 + _globals['_GENESISSTATE']._serialized_start=112 + _globals['_GENESISSTATE']._serialized_end=509 + _globals['_GENESISMETADATA']._serialized_start=511 + _globals['_GENESISMETADATA']._serialized_end=562 + _globals['_IDENTIFIEDGENESISMETADATA']._serialized_start=564 + _globals['_IDENTIFIEDGENESISMETADATA']._serialized_end=678 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/query_pb2.py b/pyinjective/proto/ibc/core/client/v1/query_pb2.py index 349f7911..942dbf5b 100644 --- a/pyinjective/proto/ibc/core/client/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/core/client/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +18,15 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\",\n\x17QueryClientStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"\x8d\x01\n\x18QueryClientStateResponse\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"V\n\x18QueryClientStatesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xba\x01\n\x19QueryClientStatesResponse\x12`\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"x\n\x1aQueryConsensusStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x17\n\x0frevision_number\x18\x02 \x01(\x04\x12\x17\n\x0frevision_height\x18\x03 \x01(\x04\x12\x15\n\rlatest_height\x18\x04 \x01(\x08\"\x93\x01\n\x1bQueryConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"l\n\x1bQueryConsensusStatesRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa9\x01\n\x1cQueryConsensusStatesResponse\x12L\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"r\n!QueryConsensusStateHeightsRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa4\x01\n\"QueryConsensusStateHeightsResponse\x12\x41\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"-\n\x18QueryClientStatusRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"+\n\x19QueryClientStatusResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"\x1a\n\x18QueryClientParamsRequest\"G\n\x19QueryClientParamsResponse\x12*\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.Params\"!\n\x1fQueryUpgradedClientStateRequest\"W\n QueryUpgradedClientStateResponse\x12\x33\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\"$\n\"QueryUpgradedConsensusStateRequest\"]\n#QueryUpgradedConsensusStateResponse\x12\x36\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any2\xd1\x0c\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse\")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse\"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_statesB:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\",\n\x17QueryClientStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"\x8d\x01\n\x18QueryClientStateResponse\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"V\n\x18QueryClientStatesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xba\x01\n\x19QueryClientStatesResponse\x12`\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"x\n\x1aQueryConsensusStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x17\n\x0frevision_number\x18\x02 \x01(\x04\x12\x17\n\x0frevision_height\x18\x03 \x01(\x04\x12\x15\n\rlatest_height\x18\x04 \x01(\x08\"\x93\x01\n\x1bQueryConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"l\n\x1bQueryConsensusStatesRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa9\x01\n\x1cQueryConsensusStatesResponse\x12L\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"r\n!QueryConsensusStateHeightsRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa4\x01\n\"QueryConsensusStateHeightsResponse\x12\x41\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"-\n\x18QueryClientStatusRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"+\n\x19QueryClientStatusResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"\x1a\n\x18QueryClientParamsRequest\"G\n\x19QueryClientParamsResponse\x12*\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.Params\"!\n\x1fQueryUpgradedClientStateRequest\"W\n QueryUpgradedClientStateResponse\x12\x33\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\"$\n\"QueryUpgradedConsensusStateRequest\"]\n#QueryUpgradedConsensusStateResponse\x12\x36\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any2\xd1\x0c\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse\")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse\"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_statesB:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _QUERYCLIENTSTATERESPONSE.fields_by_name['proof_height']._options = None _QUERYCLIENTSTATERESPONSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _QUERYCLIENTSTATESRESPONSE.fields_by_name['client_states']._options = None @@ -54,42 +55,42 @@ _QUERY.methods_by_name['UpgradedClientState']._serialized_options = b'\202\323\344\223\002,\022*/ibc/core/client/v1/upgraded_client_states' _QUERY.methods_by_name['UpgradedConsensusState']._options = None _QUERY.methods_by_name['UpgradedConsensusState']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/upgraded_consensus_states' - _QUERYCLIENTSTATEREQUEST._serialized_start=210 - _QUERYCLIENTSTATEREQUEST._serialized_end=254 - _QUERYCLIENTSTATERESPONSE._serialized_start=257 - _QUERYCLIENTSTATERESPONSE._serialized_end=398 - _QUERYCLIENTSTATESREQUEST._serialized_start=400 - _QUERYCLIENTSTATESREQUEST._serialized_end=486 - _QUERYCLIENTSTATESRESPONSE._serialized_start=489 - _QUERYCLIENTSTATESRESPONSE._serialized_end=675 - _QUERYCONSENSUSSTATEREQUEST._serialized_start=677 - _QUERYCONSENSUSSTATEREQUEST._serialized_end=797 - _QUERYCONSENSUSSTATERESPONSE._serialized_start=800 - _QUERYCONSENSUSSTATERESPONSE._serialized_end=947 - _QUERYCONSENSUSSTATESREQUEST._serialized_start=949 - _QUERYCONSENSUSSTATESREQUEST._serialized_end=1057 - _QUERYCONSENSUSSTATESRESPONSE._serialized_start=1060 - _QUERYCONSENSUSSTATESRESPONSE._serialized_end=1229 - _QUERYCONSENSUSSTATEHEIGHTSREQUEST._serialized_start=1231 - _QUERYCONSENSUSSTATEHEIGHTSREQUEST._serialized_end=1345 - _QUERYCONSENSUSSTATEHEIGHTSRESPONSE._serialized_start=1348 - _QUERYCONSENSUSSTATEHEIGHTSRESPONSE._serialized_end=1512 - _QUERYCLIENTSTATUSREQUEST._serialized_start=1514 - _QUERYCLIENTSTATUSREQUEST._serialized_end=1559 - _QUERYCLIENTSTATUSRESPONSE._serialized_start=1561 - _QUERYCLIENTSTATUSRESPONSE._serialized_end=1604 - _QUERYCLIENTPARAMSREQUEST._serialized_start=1606 - _QUERYCLIENTPARAMSREQUEST._serialized_end=1632 - _QUERYCLIENTPARAMSRESPONSE._serialized_start=1634 - _QUERYCLIENTPARAMSRESPONSE._serialized_end=1705 - _QUERYUPGRADEDCLIENTSTATEREQUEST._serialized_start=1707 - _QUERYUPGRADEDCLIENTSTATEREQUEST._serialized_end=1740 - _QUERYUPGRADEDCLIENTSTATERESPONSE._serialized_start=1742 - _QUERYUPGRADEDCLIENTSTATERESPONSE._serialized_end=1829 - _QUERYUPGRADEDCONSENSUSSTATEREQUEST._serialized_start=1831 - _QUERYUPGRADEDCONSENSUSSTATEREQUEST._serialized_end=1867 - _QUERYUPGRADEDCONSENSUSSTATERESPONSE._serialized_start=1869 - _QUERYUPGRADEDCONSENSUSSTATERESPONSE._serialized_end=1962 - _QUERY._serialized_start=1965 - _QUERY._serialized_end=3582 + _globals['_QUERYCLIENTSTATEREQUEST']._serialized_start=210 + _globals['_QUERYCLIENTSTATEREQUEST']._serialized_end=254 + _globals['_QUERYCLIENTSTATERESPONSE']._serialized_start=257 + _globals['_QUERYCLIENTSTATERESPONSE']._serialized_end=398 + _globals['_QUERYCLIENTSTATESREQUEST']._serialized_start=400 + _globals['_QUERYCLIENTSTATESREQUEST']._serialized_end=486 + _globals['_QUERYCLIENTSTATESRESPONSE']._serialized_start=489 + _globals['_QUERYCLIENTSTATESRESPONSE']._serialized_end=675 + _globals['_QUERYCONSENSUSSTATEREQUEST']._serialized_start=677 + _globals['_QUERYCONSENSUSSTATEREQUEST']._serialized_end=797 + _globals['_QUERYCONSENSUSSTATERESPONSE']._serialized_start=800 + _globals['_QUERYCONSENSUSSTATERESPONSE']._serialized_end=947 + _globals['_QUERYCONSENSUSSTATESREQUEST']._serialized_start=949 + _globals['_QUERYCONSENSUSSTATESREQUEST']._serialized_end=1057 + _globals['_QUERYCONSENSUSSTATESRESPONSE']._serialized_start=1060 + _globals['_QUERYCONSENSUSSTATESRESPONSE']._serialized_end=1229 + _globals['_QUERYCONSENSUSSTATEHEIGHTSREQUEST']._serialized_start=1231 + _globals['_QUERYCONSENSUSSTATEHEIGHTSREQUEST']._serialized_end=1345 + _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE']._serialized_start=1348 + _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE']._serialized_end=1512 + _globals['_QUERYCLIENTSTATUSREQUEST']._serialized_start=1514 + _globals['_QUERYCLIENTSTATUSREQUEST']._serialized_end=1559 + _globals['_QUERYCLIENTSTATUSRESPONSE']._serialized_start=1561 + _globals['_QUERYCLIENTSTATUSRESPONSE']._serialized_end=1604 + _globals['_QUERYCLIENTPARAMSREQUEST']._serialized_start=1606 + _globals['_QUERYCLIENTPARAMSREQUEST']._serialized_end=1632 + _globals['_QUERYCLIENTPARAMSRESPONSE']._serialized_start=1634 + _globals['_QUERYCLIENTPARAMSRESPONSE']._serialized_end=1705 + _globals['_QUERYUPGRADEDCLIENTSTATEREQUEST']._serialized_start=1707 + _globals['_QUERYUPGRADEDCLIENTSTATEREQUEST']._serialized_end=1740 + _globals['_QUERYUPGRADEDCLIENTSTATERESPONSE']._serialized_start=1742 + _globals['_QUERYUPGRADEDCLIENTSTATERESPONSE']._serialized_end=1829 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_start=1831 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_end=1867 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_start=1869 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_end=1962 + _globals['_QUERY']._serialized_start=1965 + _globals['_QUERY']._serialized_end=3582 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py index 25706688..054ffe71 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/core/client/v1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,54 +17,49 @@ from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\"\x91\x01\n\x0fMsgCreateClient\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x19\n\x17MsgCreateClientResponse\"w\n\x0fMsgUpdateClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12,\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x19\n\x17MsgUpdateClientResponse\"\xea\x01\n\x10MsgUpgradeClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x1c\n\x14proof_upgrade_client\x18\x04 \x01(\x0c\x12%\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0c\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1a\n\x18MsgUpgradeClientResponse\"\x87\x01\n\x15MsgSubmitMisbehaviour\x12\x15\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01\x12.\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01\x12\x12\n\x06signer\x18\x03 \x01(\tB\x02\x18\x01:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"f\n\x0fMsgUpdateParams\x12\x11\n\tauthority\x18\x01 \x01(\t\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\x91\x04\n\x03Msg\x12`\n\x0c\x43reateClient\x12#.ibc.core.client.v1.MsgCreateClient\x1a+.ibc.core.client.v1.MsgCreateClientResponse\x12`\n\x0cUpdateClient\x12#.ibc.core.client.v1.MsgUpdateClient\x1a+.ibc.core.client.v1.MsgUpdateClientResponse\x12\x63\n\rUpgradeClient\x12$.ibc.core.client.v1.MsgUpgradeClient\x1a,.ibc.core.client.v1.MsgUpgradeClientResponse\x12r\n\x12SubmitMisbehaviour\x12).ibc.core.client.v1.MsgSubmitMisbehaviour\x1a\x31.ibc.core.client.v1.MsgSubmitMisbehaviourResponse\x12\x66\n\x12UpdateClientParams\x12#.ibc.core.client.v1.MsgUpdateParams\x1a+.ibc.core.client.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\"\x8d\x01\n\x0fMsgCreateClient\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgCreateClientResponse\"s\n\x0fMsgUpdateClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12,\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateClientResponse\"\xe6\x01\n\x10MsgUpgradeClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x1c\n\x14proof_upgrade_client\x18\x04 \x01(\x0c\x12%\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0c\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgUpgradeClientResponse\"y\n\x15MsgSubmitMisbehaviour\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x11\x18\x01\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"d\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\x91\x04\n\x03Msg\x12`\n\x0c\x43reateClient\x12#.ibc.core.client.v1.MsgCreateClient\x1a+.ibc.core.client.v1.MsgCreateClientResponse\x12`\n\x0cUpdateClient\x12#.ibc.core.client.v1.MsgUpdateClient\x1a+.ibc.core.client.v1.MsgUpdateClientResponse\x12\x63\n\rUpgradeClient\x12$.ibc.core.client.v1.MsgUpgradeClient\x1a,.ibc.core.client.v1.MsgUpgradeClientResponse\x12r\n\x12SubmitMisbehaviour\x12).ibc.core.client.v1.MsgSubmitMisbehaviour\x1a\x31.ibc.core.client.v1.MsgSubmitMisbehaviourResponse\x12\x66\n\x12UpdateClientParams\x12#.ibc.core.client.v1.MsgUpdateParams\x1a+.ibc.core.client.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _MSGCREATECLIENT._options = None - _MSGCREATECLIENT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGCREATECLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGUPDATECLIENT._options = None - _MSGUPDATECLIENT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGUPDATECLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGUPGRADECLIENT._options = None - _MSGUPGRADECLIENT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' - _MSGSUBMITMISBEHAVIOUR.fields_by_name['client_id']._options = None - _MSGSUBMITMISBEHAVIOUR.fields_by_name['client_id']._serialized_options = b'\030\001' - _MSGSUBMITMISBEHAVIOUR.fields_by_name['misbehaviour']._options = None - _MSGSUBMITMISBEHAVIOUR.fields_by_name['misbehaviour']._serialized_options = b'\030\001' - _MSGSUBMITMISBEHAVIOUR.fields_by_name['signer']._options = None - _MSGSUBMITMISBEHAVIOUR.fields_by_name['signer']._serialized_options = b'\030\001' + _MSGUPGRADECLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGSUBMITMISBEHAVIOUR._options = None - _MSGSUBMITMISBEHAVIOUR._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGSUBMITMISBEHAVIOUR._serialized_options = b'\030\001\210\240\037\000\202\347\260*\006signer' _MSGUPDATEPARAMS.fields_by_name['params']._options = None _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _MSGCREATECLIENT._serialized_start=159 - _MSGCREATECLIENT._serialized_end=304 - _MSGCREATECLIENTRESPONSE._serialized_start=306 - _MSGCREATECLIENTRESPONSE._serialized_end=331 - _MSGUPDATECLIENT._serialized_start=333 - _MSGUPDATECLIENT._serialized_end=452 - _MSGUPDATECLIENTRESPONSE._serialized_start=454 - _MSGUPDATECLIENTRESPONSE._serialized_end=479 - _MSGUPGRADECLIENT._serialized_start=482 - _MSGUPGRADECLIENT._serialized_end=716 - _MSGUPGRADECLIENTRESPONSE._serialized_start=718 - _MSGUPGRADECLIENTRESPONSE._serialized_end=744 - _MSGSUBMITMISBEHAVIOUR._serialized_start=747 - _MSGSUBMITMISBEHAVIOUR._serialized_end=882 - _MSGSUBMITMISBEHAVIOURRESPONSE._serialized_start=884 - _MSGSUBMITMISBEHAVIOURRESPONSE._serialized_end=915 - _MSGUPDATEPARAMS._serialized_start=917 - _MSGUPDATEPARAMS._serialized_end=1019 - _MSGUPDATEPARAMSRESPONSE._serialized_start=1021 - _MSGUPDATEPARAMSRESPONSE._serialized_end=1046 - _MSG._serialized_start=1049 - _MSG._serialized_end=1578 + _globals['_MSGCREATECLIENT']._serialized_start=159 + _globals['_MSGCREATECLIENT']._serialized_end=300 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=302 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=327 + _globals['_MSGUPDATECLIENT']._serialized_start=329 + _globals['_MSGUPDATECLIENT']._serialized_end=444 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=446 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=471 + _globals['_MSGUPGRADECLIENT']._serialized_start=474 + _globals['_MSGUPGRADECLIENT']._serialized_end=704 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=706 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=732 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=734 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=855 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=857 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=888 + _globals['_MSGUPDATEPARAMS']._serialized_start=890 + _globals['_MSGUPDATEPARAMS']._serialized_end=990 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=992 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1017 + _globals['_MSG']._serialized_start=1020 + _globals['_MSG']._serialized_end=1549 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py index f5779841..95aaf82a 100644 --- a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py +++ b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/core/commitment/v1/commitment.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,25 @@ from cosmos.ics23.v1 import proofs_pb2 as cosmos_dot_ics23_dot_v1_dot_proofs__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'ibc/core/commitment/v1/commitment.proto\x12\x16ibc.core.commitment.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\" \n\nMerkleRoot\x12\x0c\n\x04hash\x18\x01 \x01(\x0c:\x04\x88\xa0\x1f\x00\"\"\n\x0cMerklePrefix\x12\x12\n\nkey_prefix\x18\x01 \x01(\x0c\"$\n\nMerklePath\x12\x10\n\x08key_path\x18\x01 \x03(\t:\x04\x98\xa0\x1f\x00\"?\n\x0bMerkleProof\x12\x30\n\x06proofs\x18\x01 \x03(\x0b\x32 .cosmos.ics23.v1.CommitmentProofB>ZZZZZZ\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse\"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB>Z\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse\"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB>Z\n\x15\x63ounterparty_versions\x18\x06 \x03(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12\x36\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x12\n\nproof_init\x18\x08 \x01(\x0c\x12\x14\n\x0cproof_client\x18\t \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\n \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\x0b \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x0c \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\r \x01(\x0c:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1e\n\x1cMsgConnectionOpenTryResponse\"\xae\x03\n\x14MsgConnectionOpenAck\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\"\n\x1a\x63ounterparty_connection_id\x18\x02 \x01(\t\x12\x30\n\x07version\x18\x03 \x01(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12*\n\x0c\x63lient_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x36\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x11\n\tproof_try\x18\x06 \x01(\x0c\x12\x14\n\x0cproof_client\x18\x07 \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\x08 \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\t \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\n \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\x0b \x01(\x0c:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1e\n\x1cMsgConnectionOpenAckResponse\"\xa1\x01\n\x18MsgConnectionOpenConfirm\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x11\n\tproof_ack\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\"\n MsgConnectionOpenConfirmResponse\"j\n\x0fMsgUpdateParams\x12\x11\n\tauthority\x18\x01 \x01(\t\x12\x34\n\x06params\x18\x02 \x01(\x0b\x32\x1e.ibc.core.connection.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xf4\x04\n\x03Msg\x12z\n\x12\x43onnectionOpenInit\x12-.ibc.core.connection.v1.MsgConnectionOpenInit\x1a\x35.ibc.core.connection.v1.MsgConnectionOpenInitResponse\x12w\n\x11\x43onnectionOpenTry\x12,.ibc.core.connection.v1.MsgConnectionOpenTry\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenTryResponse\x12w\n\x11\x43onnectionOpenAck\x12,.ibc.core.connection.v1.MsgConnectionOpenAck\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenAckResponse\x12\x83\x01\n\x15\x43onnectionOpenConfirm\x12\x30.ibc.core.connection.v1.MsgConnectionOpenConfirm\x1a\x38.ibc.core.connection.v1.MsgConnectionOpenConfirmResponse\x12r\n\x16UpdateConnectionParams\x12\'.ibc.core.connection.v1.MsgUpdateParams\x1a/.ibc.core.connection.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42>Z\n\x15\x63ounterparty_versions\x18\x06 \x03(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12\x36\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x12\n\nproof_init\x18\x08 \x01(\x0c\x12\x14\n\x0cproof_client\x18\t \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\n \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\x0b \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x0c \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\r \x01(\x0c:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1e\n\x1cMsgConnectionOpenTryResponse\"\xaa\x03\n\x14MsgConnectionOpenAck\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\"\n\x1a\x63ounterparty_connection_id\x18\x02 \x01(\t\x12\x30\n\x07version\x18\x03 \x01(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12*\n\x0c\x63lient_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x36\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x11\n\tproof_try\x18\x06 \x01(\x0c\x12\x14\n\x0cproof_client\x18\x07 \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\x08 \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\t \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\n \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\x0b \x01(\x0c:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1e\n\x1cMsgConnectionOpenAckResponse\"\x9d\x01\n\x18MsgConnectionOpenConfirm\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x11\n\tproof_ack\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\"\n MsgConnectionOpenConfirmResponse\"h\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12\x34\n\x06params\x18\x02 \x01(\x0b\x32\x1e.ibc.core.connection.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xf4\x04\n\x03Msg\x12z\n\x12\x43onnectionOpenInit\x12-.ibc.core.connection.v1.MsgConnectionOpenInit\x1a\x35.ibc.core.connection.v1.MsgConnectionOpenInitResponse\x12w\n\x11\x43onnectionOpenTry\x12,.ibc.core.connection.v1.MsgConnectionOpenTry\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenTryResponse\x12w\n\x11\x43onnectionOpenAck\x12,.ibc.core.connection.v1.MsgConnectionOpenAck\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenAckResponse\x12\x83\x01\n\x15\x43onnectionOpenConfirm\x12\x30.ibc.core.connection.v1.MsgConnectionOpenConfirm\x1a\x38.ibc.core.connection.v1.MsgConnectionOpenConfirmResponse\x12r\n\x16UpdateConnectionParams\x12\'.ibc.core.connection.v1.MsgUpdateParams\x1a/.ibc.core.connection.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42>Z\n\x0e\x63lient_genesis\x18\x01 \x01(\x0b\x32 .ibc.core.client.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x12\x46\n\x12\x63onnection_genesis\x18\x02 \x01(\x0b\x32$.ibc.core.connection.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x12@\n\x0f\x63hannel_genesis\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x42\x30Z.github.com/cosmos/ibc-go/v7/modules/core/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/types/v1/genesis.proto\x12\x11ibc.core.types.v1\x1a\x14gogoproto/gogo.proto\x1a ibc/core/client/v1/genesis.proto\x1a$ibc/core/connection/v1/genesis.proto\x1a!ibc/core/channel/v1/genesis.proto\"\xd8\x01\n\x0cGenesisState\x12>\n\x0e\x63lient_genesis\x18\x01 \x01(\x0b\x32 .ibc.core.client.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x12\x46\n\x12\x63onnection_genesis\x18\x02 \x01(\x0b\x32$.ibc.core.connection.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x12@\n\x0f\x63hannel_genesis\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x42\x30Z.github.com/cosmos/ibc-go/v8/modules/core/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.types.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.types.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z.github.com/cosmos/ibc-go/v7/modules/core/types' + DESCRIPTOR._serialized_options = b'Z.github.com/cosmos/ibc-go/v8/modules/core/types' _GENESISSTATE.fields_by_name['client_genesis']._options = None _GENESISSTATE.fields_by_name['client_genesis']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['connection_genesis']._options = None _GENESISSTATE.fields_by_name['connection_genesis']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['channel_genesis']._options = None _GENESISSTATE.fields_by_name['channel_genesis']._serialized_options = b'\310\336\037\000' - _GENESISSTATE._serialized_start=184 - _GENESISSTATE._serialized_end=400 + _globals['_GENESISSTATE']._serialized_start=184 + _globals['_GENESISSTATE']._serialized_end=400 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py b/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py index 3410f1ac..8c151712 100644 --- a/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py +++ b/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/lightclients/localhost/v2/localhost.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,19 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-ibc/lightclients/localhost/v2/localhost.proto\x12\x1dibc.lightclients.localhost.v2\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"L\n\x0b\x43lientState\x12\x37\n\rlatest_height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00:\x04\x88\xa0\x1f\x00\x42JZHgithub.com/cosmos/ibc-go/v7/modules/light-clients/09-localhost;localhostb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-ibc/lightclients/localhost/v2/localhost.proto\x12\x1dibc.lightclients.localhost.v2\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"L\n\x0b\x43lientState\x12\x37\n\rlatest_height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00:\x04\x88\xa0\x1f\x00\x42JZHgithub.com/cosmos/ibc-go/v8/modules/light-clients/09-localhost;localhostb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.localhost.v2.localhost_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.localhost.v2.localhost_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZHgithub.com/cosmos/ibc-go/v7/modules/light-clients/09-localhost;localhost' + DESCRIPTOR._serialized_options = b'ZHgithub.com/cosmos/ibc-go/v8/modules/light-clients/09-localhost;localhost' _CLIENTSTATE.fields_by_name['latest_height']._options = None _CLIENTSTATE.fields_by_name['latest_height']._serialized_options = b'\310\336\037\000' _CLIENTSTATE._options = None _CLIENTSTATE._serialized_options = b'\210\240\037\000' - _CLIENTSTATE._serialized_start=135 - _CLIENTSTATE._serialized_end=211 + _globals['_CLIENTSTATE']._serialized_start=135 + _globals['_CLIENTSTATE']._serialized_end=211 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py index af5c2f29..1ee37bff 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/lightclients/solomachine/v2/solomachine.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +17,15 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v2/solomachine.proto\x12\x1fibc.lightclients.solomachine.v2\x1a\'ibc/core/connection/v1/connection.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa7\x01\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\tis_frozen\x18\x02 \x01(\x08\x12H\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v2.ConsensusState\x12#\n\x1b\x61llow_update_after_proposal\x18\x04 \x01(\x08:\x04\x88\xa0\x1f\x00\"h\n\x0e\x43onsensusState\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"\x8d\x01\n\x06Header\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12,\n\x0enew_public_key\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x05 \x01(\t:\x04\x88\xa0\x1f\x00\"\xcd\x01\n\x0cMisbehaviour\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12H\n\rsignature_one\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndData\x12H\n\rsignature_two\x18\x04 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndData:\x04\x88\xa0\x1f\x00\"\x8a\x01\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12<\n\tdata_type\x18\x02 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataType\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"K\n\x18TimestampedSignatureData\x12\x16\n\x0esignature_data\x18\x01 \x01(\x0c\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"\x97\x01\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12<\n\tdata_type\x18\x04 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataType\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"V\n\nHeaderData\x12)\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"Q\n\x0f\x43lientStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x04\x88\xa0\x1f\x00\"W\n\x12\x43onsensusStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x04\x88\xa0\x1f\x00\"d\n\x13\x43onnectionStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x39\n\nconnection\x18\x02 \x01(\x0b\x32%.ibc.core.connection.v1.ConnectionEnd:\x04\x88\xa0\x1f\x00\"U\n\x10\x43hannelStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12-\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel:\x04\x88\xa0\x1f\x00\"8\n\x14PacketCommitmentData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x12\n\ncommitment\x18\x02 \x01(\x0c\"B\n\x19PacketAcknowledgementData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\"(\n\x18PacketReceiptAbsenceData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\";\n\x14NextSequenceRecvData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x15\n\rnext_seq_recv\x18\x02 \x01(\x04*\x8c\x04\n\x08\x44\x61taType\x12\x38\n#DATA_TYPE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12&\n\x16\x44\x41TA_TYPE_CLIENT_STATE\x10\x01\x1a\n\x8a\x9d \x06\x43LIENT\x12,\n\x19\x44\x41TA_TYPE_CONSENSUS_STATE\x10\x02\x1a\r\x8a\x9d \tCONSENSUS\x12.\n\x1a\x44\x41TA_TYPE_CONNECTION_STATE\x10\x03\x1a\x0e\x8a\x9d \nCONNECTION\x12(\n\x17\x44\x41TA_TYPE_CHANNEL_STATE\x10\x04\x1a\x0b\x8a\x9d \x07\x43HANNEL\x12\x35\n\x1b\x44\x41TA_TYPE_PACKET_COMMITMENT\x10\x05\x1a\x14\x8a\x9d \x10PACKETCOMMITMENT\x12?\n DATA_TYPE_PACKET_ACKNOWLEDGEMENT\x10\x06\x1a\x19\x8a\x9d \x15PACKETACKNOWLEDGEMENT\x12>\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x42Z@github.com/cosmos/ibc-go/v7/modules/core/02-client/migrations/v7b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v2/solomachine.proto\x12\x1fibc.lightclients.solomachine.v2\x1a\'ibc/core/connection/v1/connection.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa7\x01\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\tis_frozen\x18\x02 \x01(\x08\x12H\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v2.ConsensusState\x12#\n\x1b\x61llow_update_after_proposal\x18\x04 \x01(\x08:\x04\x88\xa0\x1f\x00\"h\n\x0e\x43onsensusState\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"\x8d\x01\n\x06Header\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12,\n\x0enew_public_key\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x05 \x01(\t:\x04\x88\xa0\x1f\x00\"\xcd\x01\n\x0cMisbehaviour\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12H\n\rsignature_one\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndData\x12H\n\rsignature_two\x18\x04 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndData:\x04\x88\xa0\x1f\x00\"\x8a\x01\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12<\n\tdata_type\x18\x02 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataType\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"K\n\x18TimestampedSignatureData\x12\x16\n\x0esignature_data\x18\x01 \x01(\x0c\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"\x97\x01\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12<\n\tdata_type\x18\x04 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataType\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"V\n\nHeaderData\x12)\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"Q\n\x0f\x43lientStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x04\x88\xa0\x1f\x00\"W\n\x12\x43onsensusStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x04\x88\xa0\x1f\x00\"d\n\x13\x43onnectionStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x39\n\nconnection\x18\x02 \x01(\x0b\x32%.ibc.core.connection.v1.ConnectionEnd:\x04\x88\xa0\x1f\x00\"U\n\x10\x43hannelStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12-\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel:\x04\x88\xa0\x1f\x00\"8\n\x14PacketCommitmentData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x12\n\ncommitment\x18\x02 \x01(\x0c\"B\n\x19PacketAcknowledgementData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\"(\n\x18PacketReceiptAbsenceData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\";\n\x14NextSequenceRecvData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x15\n\rnext_seq_recv\x18\x02 \x01(\x04*\x8c\x04\n\x08\x44\x61taType\x12\x38\n#DATA_TYPE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12&\n\x16\x44\x41TA_TYPE_CLIENT_STATE\x10\x01\x1a\n\x8a\x9d \x06\x43LIENT\x12,\n\x19\x44\x41TA_TYPE_CONSENSUS_STATE\x10\x02\x1a\r\x8a\x9d \tCONSENSUS\x12.\n\x1a\x44\x41TA_TYPE_CONNECTION_STATE\x10\x03\x1a\x0e\x8a\x9d \nCONNECTION\x12(\n\x17\x44\x41TA_TYPE_CHANNEL_STATE\x10\x04\x1a\x0b\x8a\x9d \x07\x43HANNEL\x12\x35\n\x1b\x44\x41TA_TYPE_PACKET_COMMITMENT\x10\x05\x1a\x14\x8a\x9d \x10PACKETCOMMITMENT\x12?\n DATA_TYPE_PACKET_ACKNOWLEDGEMENT\x10\x06\x1a\x19\x8a\x9d \x15PACKETACKNOWLEDGEMENT\x12>\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x42Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v2.solomachine_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v2.solomachine_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z@github.com/cosmos/ibc-go/v7/modules/core/02-client/migrations/v7' + DESCRIPTOR._serialized_options = b'Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7' _DATATYPE._options = None _DATATYPE._serialized_options = b'\210\243\036\000' _DATATYPE.values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._options = None @@ -71,38 +72,38 @@ _CONNECTIONSTATEDATA._serialized_options = b'\210\240\037\000' _CHANNELSTATEDATA._options = None _CHANNELSTATEDATA._serialized_options = b'\210\240\037\000' - _DATATYPE._serialized_start=1890 - _DATATYPE._serialized_end=2414 - _CLIENTSTATE._serialized_start=212 - _CLIENTSTATE._serialized_end=379 - _CONSENSUSSTATE._serialized_start=381 - _CONSENSUSSTATE._serialized_end=485 - _HEADER._serialized_start=488 - _HEADER._serialized_end=629 - _MISBEHAVIOUR._serialized_start=632 - _MISBEHAVIOUR._serialized_end=837 - _SIGNATUREANDDATA._serialized_start=840 - _SIGNATUREANDDATA._serialized_end=978 - _TIMESTAMPEDSIGNATUREDATA._serialized_start=980 - _TIMESTAMPEDSIGNATUREDATA._serialized_end=1055 - _SIGNBYTES._serialized_start=1058 - _SIGNBYTES._serialized_end=1209 - _HEADERDATA._serialized_start=1211 - _HEADERDATA._serialized_end=1297 - _CLIENTSTATEDATA._serialized_start=1299 - _CLIENTSTATEDATA._serialized_end=1380 - _CONSENSUSSTATEDATA._serialized_start=1382 - _CONSENSUSSTATEDATA._serialized_end=1469 - _CONNECTIONSTATEDATA._serialized_start=1471 - _CONNECTIONSTATEDATA._serialized_end=1571 - _CHANNELSTATEDATA._serialized_start=1573 - _CHANNELSTATEDATA._serialized_end=1658 - _PACKETCOMMITMENTDATA._serialized_start=1660 - _PACKETCOMMITMENTDATA._serialized_end=1716 - _PACKETACKNOWLEDGEMENTDATA._serialized_start=1718 - _PACKETACKNOWLEDGEMENTDATA._serialized_end=1784 - _PACKETRECEIPTABSENCEDATA._serialized_start=1786 - _PACKETRECEIPTABSENCEDATA._serialized_end=1826 - _NEXTSEQUENCERECVDATA._serialized_start=1828 - _NEXTSEQUENCERECVDATA._serialized_end=1887 + _globals['_DATATYPE']._serialized_start=1890 + _globals['_DATATYPE']._serialized_end=2414 + _globals['_CLIENTSTATE']._serialized_start=212 + _globals['_CLIENTSTATE']._serialized_end=379 + _globals['_CONSENSUSSTATE']._serialized_start=381 + _globals['_CONSENSUSSTATE']._serialized_end=485 + _globals['_HEADER']._serialized_start=488 + _globals['_HEADER']._serialized_end=629 + _globals['_MISBEHAVIOUR']._serialized_start=632 + _globals['_MISBEHAVIOUR']._serialized_end=837 + _globals['_SIGNATUREANDDATA']._serialized_start=840 + _globals['_SIGNATUREANDDATA']._serialized_end=978 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=980 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1055 + _globals['_SIGNBYTES']._serialized_start=1058 + _globals['_SIGNBYTES']._serialized_end=1209 + _globals['_HEADERDATA']._serialized_start=1211 + _globals['_HEADERDATA']._serialized_end=1297 + _globals['_CLIENTSTATEDATA']._serialized_start=1299 + _globals['_CLIENTSTATEDATA']._serialized_end=1380 + _globals['_CONSENSUSSTATEDATA']._serialized_start=1382 + _globals['_CONSENSUSSTATEDATA']._serialized_end=1469 + _globals['_CONNECTIONSTATEDATA']._serialized_start=1471 + _globals['_CONNECTIONSTATEDATA']._serialized_end=1571 + _globals['_CHANNELSTATEDATA']._serialized_start=1573 + _globals['_CHANNELSTATEDATA']._serialized_end=1658 + _globals['_PACKETCOMMITMENTDATA']._serialized_start=1660 + _globals['_PACKETCOMMITMENTDATA']._serialized_end=1716 + _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_start=1718 + _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_end=1784 + _globals['_PACKETRECEIPTABSENCEDATA']._serialized_start=1786 + _globals['_PACKETRECEIPTABSENCEDATA']._serialized_end=1826 + _globals['_NEXTSEQUENCERECVDATA']._serialized_start=1828 + _globals['_NEXTSEQUENCERECVDATA']._serialized_end=1887 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py index a9168ee4..97cee5ce 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/lightclients/solomachine/v3/solomachine.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,15 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\x82\x01\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\tis_frozen\x18\x02 \x01(\x08\x12H\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusState:\x04\x88\xa0\x1f\x00\"h\n\x0e\x43onsensusState\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"{\n\x06Header\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12,\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x04 \x01(\t:\x04\x88\xa0\x1f\x00\"\xba\x01\n\x0cMisbehaviour\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12H\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndData\x12H\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndData:\x04\x88\xa0\x1f\x00\"Z\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"K\n\x18TimestampedSignatureData\x12\x16\n\x0esignature_data\x18\x01 \x01(\x0c\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"g\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"V\n\nHeaderData\x12)\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\x42NZLgithub.com/cosmos/ibc-go/v7/modules/light-clients/06-solomachine;solomachineb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\x82\x01\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\tis_frozen\x18\x02 \x01(\x08\x12H\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusState:\x04\x88\xa0\x1f\x00\"h\n\x0e\x43onsensusState\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"{\n\x06Header\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12,\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x04 \x01(\t:\x04\x88\xa0\x1f\x00\"\xba\x01\n\x0cMisbehaviour\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12H\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndData\x12H\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndData:\x04\x88\xa0\x1f\x00\"Z\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"K\n\x18TimestampedSignatureData\x12\x16\n\x0esignature_data\x18\x01 \x01(\x0c\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"g\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"V\n\nHeaderData\x12)\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\x42NZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachineb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v3.solomachine_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v3.solomachine_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZLgithub.com/cosmos/ibc-go/v7/modules/light-clients/06-solomachine;solomachine' + DESCRIPTOR._serialized_options = b'ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine' _CLIENTSTATE._options = None _CLIENTSTATE._serialized_options = b'\210\240\037\000' _CONSENSUSSTATE._options = None @@ -39,20 +40,20 @@ _SIGNBYTES._serialized_options = b'\210\240\037\000' _HEADERDATA._options = None _HEADERDATA._serialized_options = b'\210\240\037\000' - _CLIENTSTATE._serialized_start=136 - _CLIENTSTATE._serialized_end=266 - _CONSENSUSSTATE._serialized_start=268 - _CONSENSUSSTATE._serialized_end=372 - _HEADER._serialized_start=374 - _HEADER._serialized_end=497 - _MISBEHAVIOUR._serialized_start=500 - _MISBEHAVIOUR._serialized_end=686 - _SIGNATUREANDDATA._serialized_start=688 - _SIGNATUREANDDATA._serialized_end=778 - _TIMESTAMPEDSIGNATUREDATA._serialized_start=780 - _TIMESTAMPEDSIGNATUREDATA._serialized_end=855 - _SIGNBYTES._serialized_start=857 - _SIGNBYTES._serialized_end=960 - _HEADERDATA._serialized_start=962 - _HEADERDATA._serialized_end=1048 + _globals['_CLIENTSTATE']._serialized_start=136 + _globals['_CLIENTSTATE']._serialized_end=266 + _globals['_CONSENSUSSTATE']._serialized_start=268 + _globals['_CONSENSUSSTATE']._serialized_end=372 + _globals['_HEADER']._serialized_start=374 + _globals['_HEADER']._serialized_end=497 + _globals['_MISBEHAVIOUR']._serialized_start=500 + _globals['_MISBEHAVIOUR']._serialized_end=686 + _globals['_SIGNATUREANDDATA']._serialized_start=688 + _globals['_SIGNATUREANDDATA']._serialized_end=778 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=780 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=855 + _globals['_SIGNBYTES']._serialized_start=857 + _globals['_SIGNBYTES']._serialized_end=960 + _globals['_HEADERDATA']._serialized_start=962 + _globals['_HEADERDATA']._serialized_end=1048 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py index e48d4e2a..c83e7969 100644 --- a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py +++ b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/lightclients/tendermint/v1/tendermint.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +21,15 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto\"\xb2\x04\n\x0b\x43lientState\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\x12\x43\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x04\xc8\xde\x1f\x00\x12<\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12=\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12<\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x37\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x37\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12/\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpec\x12\x14\n\x0cupgrade_path\x18\t \x03(\t\x12%\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42\x02\x18\x01\x12+\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42\x02\x18\x01:\x04\x88\xa0\x1f\x00\"\xdb\x01\n\x0e\x43onsensusState\x12\x37\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\x04root\x18\x02 \x01(\x0b\x32\".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00\x12R\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes:\x04\x88\xa0\x1f\x00\"\xb9\x01\n\x0cMisbehaviour\x12\x15\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x45\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header1\x12\x45\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header2:\x04\x88\xa0\x1f\x00\"\xf2\x01\n\x06Header\x12;\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x04\xd0\xde\x1f\x01\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x38\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12:\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"2\n\x08\x46raction\x12\x11\n\tnumerator\x18\x01 \x01(\x04\x12\x13\n\x0b\x64\x65nominator\x18\x02 \x01(\x04\x42LZJgithub.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint;tendermintb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto\"\xb2\x04\n\x0b\x43lientState\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\x12\x43\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x04\xc8\xde\x1f\x00\x12<\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12=\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12<\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x37\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x37\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12/\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpec\x12\x14\n\x0cupgrade_path\x18\t \x03(\t\x12%\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42\x02\x18\x01\x12+\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42\x02\x18\x01:\x04\x88\xa0\x1f\x00\"\xdb\x01\n\x0e\x43onsensusState\x12\x37\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\x04root\x18\x02 \x01(\x0b\x32\".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00\x12R\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes:\x04\x88\xa0\x1f\x00\"\xb9\x01\n\x0cMisbehaviour\x12\x15\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x45\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header1\x12\x45\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header2:\x04\x88\xa0\x1f\x00\"\xf2\x01\n\x06Header\x12;\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x04\xd0\xde\x1f\x01\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x38\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12:\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"2\n\x08\x46raction\x12\x11\n\tnumerator\x18\x01 \x01(\x04\x12\x13\n\x0b\x64\x65nominator\x18\x02 \x01(\x04\x42LZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermintb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.tendermint.v1.tendermint_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.tendermint.v1.tendermint_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint;tendermint' + DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint' _CLIENTSTATE.fields_by_name['trust_level']._options = None _CLIENTSTATE.fields_by_name['trust_level']._serialized_options = b'\310\336\037\000' _CLIENTSTATE.fields_by_name['trusting_period']._options = None @@ -67,14 +68,14 @@ _HEADER.fields_by_name['signed_header']._serialized_options = b'\320\336\037\001' _HEADER.fields_by_name['trusted_height']._options = None _HEADER.fields_by_name['trusted_height']._serialized_options = b'\310\336\037\000' - _CLIENTSTATE._serialized_start=339 - _CLIENTSTATE._serialized_end=901 - _CONSENSUSSTATE._serialized_start=904 - _CONSENSUSSTATE._serialized_end=1123 - _MISBEHAVIOUR._serialized_start=1126 - _MISBEHAVIOUR._serialized_end=1311 - _HEADER._serialized_start=1314 - _HEADER._serialized_end=1556 - _FRACTION._serialized_start=1558 - _FRACTION._serialized_end=1608 + _globals['_CLIENTSTATE']._serialized_start=339 + _globals['_CLIENTSTATE']._serialized_end=901 + _globals['_CONSENSUSSTATE']._serialized_start=904 + _globals['_CONSENSUSSTATE']._serialized_end=1123 + _globals['_MISBEHAVIOUR']._serialized_start=1126 + _globals['_MISBEHAVIOUR']._serialized_end=1311 + _globals['_HEADER']._serialized_start=1314 + _globals['_HEADER']._serialized_end=1556 + _globals['_FRACTION']._serialized_start=1558 + _globals['_FRACTION']._serialized_end=1608 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/auction/v1beta1/auction_pb2.py b/pyinjective/proto/injective/auction/v1beta1/auction_pb2.py index eae35706..230ece32 100644 --- a/pyinjective/proto/injective/auction/v1beta1/auction_pb2.py +++ b/pyinjective/proto/injective/auction/v1beta1/auction_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/auction/v1beta1/auction.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,36 +15,37 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/auction/v1beta1/auction.proto\x12\x19injective.auction.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"{\n\x06Params\x12\x16\n\x0e\x61uction_period\x18\x01 \x01(\x03\x12S\n\x1bmin_next_bid_increment_rate\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x04\xe8\xa0\x1f\x01\"s\n\x03\x42id\x12+\n\x06\x62idder\x18\x01 \x01(\tB\x1b\xea\xde\x1f\x06\x62idder\xf2\xde\x1f\ryaml:\"bidder\"\x12?\n\x06\x61mount\x18\x02 \x01(\tB/\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.Coin\xc8\xde\x1f\x00\"j\n\x08\x45ventBid\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12?\n\x06\x61mount\x18\x02 \x01(\tB/\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.Coin\xc8\xde\x1f\x00\x12\r\n\x05round\x18\x03 \x01(\x04\"t\n\x12\x45ventAuctionResult\x12\x0e\n\x06winner\x18\x01 \x01(\t\x12?\n\x06\x61mount\x18\x02 \x01(\tB/\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.Coin\xc8\xde\x1f\x00\x12\r\n\x05round\x18\x03 \x01(\x04\"\x9d\x01\n\x11\x45ventAuctionStart\x12\r\n\x05round\x18\x01 \x01(\x04\x12\x18\n\x10\x65nding_timestamp\x18\x02 \x01(\x03\x12_\n\nnew_basket\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsBOZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/auction/v1beta1/auction.proto\x12\x19injective.auction.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"{\n\x06Params\x12\x16\n\x0e\x61uction_period\x18\x01 \x01(\x03\x12S\n\x1bmin_next_bid_increment_rate\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\xe8\xa0\x1f\x01\"s\n\x03\x42id\x12+\n\x06\x62idder\x18\x01 \x01(\tB\x1b\xea\xde\x1f\x06\x62idder\xf2\xde\x1f\ryaml:\"bidder\"\x12?\n\x06\x61mount\x18\x02 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.Coin\"j\n\x08\x45ventBid\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12?\n\x06\x61mount\x18\x02 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.Coin\x12\r\n\x05round\x18\x03 \x01(\x04\"t\n\x12\x45ventAuctionResult\x12\x0e\n\x06winner\x18\x01 \x01(\t\x12?\n\x06\x61mount\x18\x02 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.Coin\x12\r\n\x05round\x18\x03 \x01(\x04\"\x9d\x01\n\x11\x45ventAuctionStart\x12\r\n\x05round\x18\x01 \x01(\x04\x12\x18\n\x10\x65nding_timestamp\x18\x02 \x01(\x03\x12_\n\nnew_basket\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsBOZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.auction_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.auction_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types' _PARAMS.fields_by_name['min_next_bid_increment_rate']._options = None - _PARAMS.fields_by_name['min_next_bid_increment_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['min_next_bid_increment_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS._options = None _PARAMS._serialized_options = b'\350\240\037\001' _BID.fields_by_name['bidder']._options = None _BID.fields_by_name['bidder']._serialized_options = b'\352\336\037\006bidder\362\336\037\ryaml:\"bidder\"' _BID.fields_by_name['amount']._options = None - _BID.fields_by_name['amount']._serialized_options = b'\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin\310\336\037\000' + _BID.fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' _EVENTBID.fields_by_name['amount']._options = None - _EVENTBID.fields_by_name['amount']._serialized_options = b'\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin\310\336\037\000' + _EVENTBID.fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' _EVENTAUCTIONRESULT.fields_by_name['amount']._options = None - _EVENTAUCTIONRESULT.fields_by_name['amount']._serialized_options = b'\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin\310\336\037\000' + _EVENTAUCTIONRESULT.fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' _EVENTAUCTIONSTART.fields_by_name['new_basket']._options = None _EVENTAUCTIONSTART.fields_by_name['new_basket']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _PARAMS._serialized_start=124 - _PARAMS._serialized_end=247 - _BID._serialized_start=249 - _BID._serialized_end=364 - _EVENTBID._serialized_start=366 - _EVENTBID._serialized_end=472 - _EVENTAUCTIONRESULT._serialized_start=474 - _EVENTAUCTIONRESULT._serialized_end=590 - _EVENTAUCTIONSTART._serialized_start=593 - _EVENTAUCTIONSTART._serialized_end=750 + _globals['_PARAMS']._serialized_start=124 + _globals['_PARAMS']._serialized_end=247 + _globals['_BID']._serialized_start=249 + _globals['_BID']._serialized_end=364 + _globals['_EVENTBID']._serialized_start=366 + _globals['_EVENTBID']._serialized_end=472 + _globals['_EVENTAUCTIONRESULT']._serialized_start=474 + _globals['_EVENTAUCTIONRESULT']._serialized_end=590 + _globals['_EVENTAUCTIONSTART']._serialized_start=593 + _globals['_EVENTAUCTIONSTART']._serialized_end=750 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/auction/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/auction/v1beta1/genesis_pb2.py index b7a7447e..3c8f8d38 100644 --- a/pyinjective/proto/injective/auction/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/auction/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/auction/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +17,15 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/auction/v1beta1/genesis.proto\x12\x19injective.auction.v1beta1\x1a\'injective/auction/v1beta1/auction.proto\x1a\x14gogoproto/gogo.proto\"\xb5\x01\n\x0cGenesisState\x12\x37\n\x06params\x18\x01 \x01(\x0b\x32!.injective.auction.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\x12\x15\n\rauction_round\x18\x02 \x01(\x04\x12\x33\n\x0bhighest_bid\x18\x03 \x01(\x0b\x32\x1e.injective.auction.v1beta1.Bid\x12 \n\x18\x61uction_ending_timestamp\x18\x04 \x01(\x03\x42OZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types' _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _GENESISSTATE._serialized_start=134 - _GENESISSTATE._serialized_end=315 + _globals['_GENESISSTATE']._serialized_start=134 + _globals['_GENESISSTATE']._serialized_end=315 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/auction/v1beta1/query_pb2.py b/pyinjective/proto/injective/auction/v1beta1/query_pb2.py index 2f6537fe..d197247b 100644 --- a/pyinjective/proto/injective/auction/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/auction/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/auction/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +18,11 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/auction/v1beta1/query.proto\x12\x19injective.auction.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\'injective/auction/v1beta1/auction.proto\x1a\'injective/auction/v1beta1/genesis.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x1b\n\x19QueryAuctionParamsRequest\"U\n\x1aQueryAuctionParamsResponse\x12\x37\n\x06params\x18\x01 \x01(\x0b\x32!.injective.auction.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\"\"\n QueryCurrentAuctionBasketRequest\"\x93\x02\n!QueryCurrentAuctionBasketResponse\x12[\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xc8\xde\x1f\x00\x12\x14\n\x0c\x61uctionRound\x18\x02 \x01(\x04\x12\x1a\n\x12\x61uctionClosingTime\x18\x03 \x01(\x03\x12\x15\n\rhighestBidder\x18\x04 \x01(\t\x12H\n\x10highestBidAmount\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\"\x19\n\x17QueryModuleStateRequest\"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32\'.injective.auction.v1beta1.GenesisState2\xa1\x04\n\x05Query\x12\xa7\x01\n\rAuctionParams\x12\x34.injective.auction.v1beta1.QueryAuctionParamsRequest\x1a\x35.injective.auction.v1beta1.QueryAuctionParamsResponse\")\x82\xd3\xe4\x93\x02#\x12!/injective/auction/v1beta1/params\x12\xbc\x01\n\x14\x43urrentAuctionBasket\x12;.injective.auction.v1beta1.QueryCurrentAuctionBasketRequest\x1a<.injective.auction.v1beta1.QueryCurrentAuctionBasketResponse\")\x82\xd3\xe4\x93\x02#\x12!/injective/auction/v1beta1/basket\x12\xae\x01\n\x12\x41uctionModuleState\x12\x32.injective.auction.v1beta1.QueryModuleStateRequest\x1a\x33.injective.auction.v1beta1.QueryModuleStateResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/injective/auction/v1beta1/module_stateBOZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/auction/v1beta1/query.proto\x12\x19injective.auction.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\'injective/auction/v1beta1/auction.proto\x1a\'injective/auction/v1beta1/genesis.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x1b\n\x19QueryAuctionParamsRequest\"U\n\x1aQueryAuctionParamsResponse\x12\x37\n\x06params\x18\x01 \x01(\x0b\x32!.injective.auction.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\"\"\n QueryCurrentAuctionBasketRequest\"\x93\x02\n!QueryCurrentAuctionBasketResponse\x12[\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x14\n\x0c\x61uctionRound\x18\x02 \x01(\x04\x12\x1a\n\x12\x61uctionClosingTime\x18\x03 \x01(\x03\x12\x15\n\rhighestBidder\x18\x04 \x01(\t\x12H\n\x10highestBidAmount\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\"\x19\n\x17QueryModuleStateRequest\"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32\'.injective.auction.v1beta1.GenesisState2\xa1\x04\n\x05Query\x12\xa7\x01\n\rAuctionParams\x12\x34.injective.auction.v1beta1.QueryAuctionParamsRequest\x1a\x35.injective.auction.v1beta1.QueryAuctionParamsResponse\")\x82\xd3\xe4\x93\x02#\x12!/injective/auction/v1beta1/params\x12\xbc\x01\n\x14\x43urrentAuctionBasket\x12;.injective.auction.v1beta1.QueryCurrentAuctionBasketRequest\x1a<.injective.auction.v1beta1.QueryCurrentAuctionBasketResponse\")\x82\xd3\xe4\x93\x02#\x12!/injective/auction/v1beta1/basket\x12\xae\x01\n\x12\x41uctionModuleState\x12\x32.injective.auction.v1beta1.QueryModuleStateRequest\x1a\x33.injective.auction.v1beta1.QueryModuleStateResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/injective/auction/v1beta1/module_stateBOZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -29,27 +30,27 @@ _QUERYAUCTIONPARAMSRESPONSE.fields_by_name['params']._options = None _QUERYAUCTIONPARAMSRESPONSE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _QUERYCURRENTAUCTIONBASKETRESPONSE.fields_by_name['amount']._options = None - _QUERYCURRENTAUCTIONBASKETRESPONSE.fields_by_name['amount']._serialized_options = b'\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\310\336\037\000' + _QUERYCURRENTAUCTIONBASKETRESPONSE.fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _QUERYCURRENTAUCTIONBASKETRESPONSE.fields_by_name['highestBidAmount']._options = None - _QUERYCURRENTAUCTIONBASKETRESPONSE.fields_by_name['highestBidAmount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _QUERYCURRENTAUCTIONBASKETRESPONSE.fields_by_name['highestBidAmount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _QUERY.methods_by_name['AuctionParams']._options = None _QUERY.methods_by_name['AuctionParams']._serialized_options = b'\202\323\344\223\002#\022!/injective/auction/v1beta1/params' _QUERY.methods_by_name['CurrentAuctionBasket']._options = None _QUERY.methods_by_name['CurrentAuctionBasket']._serialized_options = b'\202\323\344\223\002#\022!/injective/auction/v1beta1/basket' _QUERY.methods_by_name['AuctionModuleState']._options = None _QUERY.methods_by_name['AuctionModuleState']._serialized_options = b'\202\323\344\223\002)\022\'/injective/auction/v1beta1/module_state' - _QUERYAUCTIONPARAMSREQUEST._serialized_start=234 - _QUERYAUCTIONPARAMSREQUEST._serialized_end=261 - _QUERYAUCTIONPARAMSRESPONSE._serialized_start=263 - _QUERYAUCTIONPARAMSRESPONSE._serialized_end=348 - _QUERYCURRENTAUCTIONBASKETREQUEST._serialized_start=350 - _QUERYCURRENTAUCTIONBASKETREQUEST._serialized_end=384 - _QUERYCURRENTAUCTIONBASKETRESPONSE._serialized_start=387 - _QUERYCURRENTAUCTIONBASKETRESPONSE._serialized_end=662 - _QUERYMODULESTATEREQUEST._serialized_start=664 - _QUERYMODULESTATEREQUEST._serialized_end=689 - _QUERYMODULESTATERESPONSE._serialized_start=691 - _QUERYMODULESTATERESPONSE._serialized_end=773 - _QUERY._serialized_start=776 - _QUERY._serialized_end=1321 + _globals['_QUERYAUCTIONPARAMSREQUEST']._serialized_start=234 + _globals['_QUERYAUCTIONPARAMSREQUEST']._serialized_end=261 + _globals['_QUERYAUCTIONPARAMSRESPONSE']._serialized_start=263 + _globals['_QUERYAUCTIONPARAMSRESPONSE']._serialized_end=348 + _globals['_QUERYCURRENTAUCTIONBASKETREQUEST']._serialized_start=350 + _globals['_QUERYCURRENTAUCTIONBASKETREQUEST']._serialized_end=384 + _globals['_QUERYCURRENTAUCTIONBASKETRESPONSE']._serialized_start=387 + _globals['_QUERYCURRENTAUCTIONBASKETRESPONSE']._serialized_end=662 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=664 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=689 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=691 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=773 + _globals['_QUERY']._serialized_start=776 + _globals['_QUERY']._serialized_end=1321 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/auction/v1beta1/tx_pb2.py b/pyinjective/proto/injective/auction/v1beta1/tx_pb2.py index e6daf667..08b8eacf 100644 --- a/pyinjective/proto/injective/auction/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/auction/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/auction/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +18,11 @@ from injective.auction.v1beta1 import auction_pb2 as injective_dot_auction_dot_v1beta1_dot_auction__pb2 -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\"q\n\x06MsgBid\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x33\n\nbid_amount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\r\n\x05round\x18\x03 \x01(\x04:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x10\n\x0eMsgBidResponse\"\x87\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x06params\x18\x02 \x01(\x0b\x32!.injective.auction.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xca\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.MsgUpdateParamsResponseBOZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/typesb\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\"q\n\x06MsgBid\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x33\n\nbid_amount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\r\n\x05round\x18\x03 \x01(\x04:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x10\n\x0eMsgBidResponse\"\x87\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x37\n\x06params\x18\x02 \x01(\x0b\x32!.injective.auction.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xca\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.MsgUpdateParamsResponseBOZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -29,21 +30,21 @@ _MSGBID.fields_by_name['bid_amount']._options = None _MSGBID.fields_by_name['bid_amount']._serialized_options = b'\310\336\037\000' _MSGBID._options = None - _MSGBID._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGBID._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEPARAMS.fields_by_name['params']._options = None _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' _MSGUPDATEPARAMS._options = None _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' - _MSGBID._serialized_start=212 - _MSGBID._serialized_end=325 - _MSGBIDRESPONSE._serialized_start=327 - _MSGBIDRESPONSE._serialized_end=343 - _MSGUPDATEPARAMS._serialized_start=346 - _MSGUPDATEPARAMS._serialized_end=481 - _MSGUPDATEPARAMSRESPONSE._serialized_start=483 - _MSGUPDATEPARAMSRESPONSE._serialized_end=508 - _MSG._serialized_start=511 - _MSG._serialized_end=713 + _globals['_MSGBID']._serialized_start=212 + _globals['_MSGBID']._serialized_end=325 + _globals['_MSGBIDRESPONSE']._serialized_start=327 + _globals['_MSGBIDRESPONSE']._serialized_end=343 + _globals['_MSGUPDATEPARAMS']._serialized_start=346 + _globals['_MSGUPDATEPARAMS']._serialized_end=481 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=483 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=508 + _globals['_MSG']._serialized_start=511 + _globals['_MSG']._serialized_end=713 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py index 14db7888..b31ea962 100644 --- a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py +++ b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/crypto/v1beta1/ethsecp256k1/keys.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,17 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0injective/crypto/v1beta1/ethsecp256k1/keys.proto\x12%injective.crypto.v1beta1.ethsecp256k1\x1a\x14gogoproto/gogo.proto\"\x1b\n\x06PubKey\x12\x0b\n\x03key\x18\x01 \x01(\x0c:\x04\x98\xa0\x1f\x00\"\x16\n\x07PrivKey\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1b\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.crypto.v1beta1.ethsecp256k1.keys_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.crypto.v1beta1.ethsecp256k1.keys_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1' _PUBKEY._options = None _PUBKEY._serialized_options = b'\230\240\037\000' - _PUBKEY._serialized_start=113 - _PUBKEY._serialized_end=140 - _PRIVKEY._serialized_start=142 - _PRIVKEY._serialized_end=164 + _globals['_PUBKEY']._serialized_start=113 + _globals['_PUBKEY']._serialized_end=140 + _globals['_PRIVKEY']._serialized_start=142 + _globals['_PRIVKEY']._serialized_end=164 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py index 8c30f4f2..95651bdf 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/exchange/v1beta1/authz.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/exchange/v1beta1/authz.proto\x12\x1ainjective.exchange.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\"Y\n\x19\x43reateSpotLimitOrderAuthz\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t:\x11\xca\xb4-\rAuthorization\"Z\n\x1a\x43reateSpotMarketOrderAuthz\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t:\x11\xca\xb4-\rAuthorization\"_\n\x1f\x42\x61tchCreateSpotLimitOrdersAuthz\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t:\x11\xca\xb4-\rAuthorization\"T\n\x14\x43\x61ncelSpotOrderAuthz\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t:\x11\xca\xb4-\rAuthorization\"Z\n\x1a\x42\x61tchCancelSpotOrdersAuthz\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t:\x11\xca\xb4-\rAuthorization\"_\n\x1f\x43reateDerivativeLimitOrderAuthz\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t:\x11\xca\xb4-\rAuthorization\"`\n CreateDerivativeMarketOrderAuthz\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t:\x11\xca\xb4-\rAuthorization\"e\n%BatchCreateDerivativeLimitOrdersAuthz\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t:\x11\xca\xb4-\rAuthorization\"Z\n\x1a\x43\x61ncelDerivativeOrderAuthz\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t:\x11\xca\xb4-\rAuthorization\"`\n BatchCancelDerivativeOrdersAuthz\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t:\x11\xca\xb4-\rAuthorization\"t\n\x16\x42\x61tchUpdateOrdersAuthz\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x14\n\x0cspot_markets\x18\x02 \x03(\t\x12\x1a\n\x12\x64\x65rivative_markets\x18\x03 \x03(\t:\x11\xca\xb4-\rAuthorizationBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.authz_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -44,26 +45,26 @@ _BATCHCANCELDERIVATIVEORDERSAUTHZ._serialized_options = b'\312\264-\rAuthorization' _BATCHUPDATEORDERSAUTHZ._options = None _BATCHUPDATEORDERSAUTHZ._serialized_options = b'\312\264-\rAuthorization' - _CREATESPOTLIMITORDERAUTHZ._serialized_start=97 - _CREATESPOTLIMITORDERAUTHZ._serialized_end=186 - _CREATESPOTMARKETORDERAUTHZ._serialized_start=188 - _CREATESPOTMARKETORDERAUTHZ._serialized_end=278 - _BATCHCREATESPOTLIMITORDERSAUTHZ._serialized_start=280 - _BATCHCREATESPOTLIMITORDERSAUTHZ._serialized_end=375 - _CANCELSPOTORDERAUTHZ._serialized_start=377 - _CANCELSPOTORDERAUTHZ._serialized_end=461 - _BATCHCANCELSPOTORDERSAUTHZ._serialized_start=463 - _BATCHCANCELSPOTORDERSAUTHZ._serialized_end=553 - _CREATEDERIVATIVELIMITORDERAUTHZ._serialized_start=555 - _CREATEDERIVATIVELIMITORDERAUTHZ._serialized_end=650 - _CREATEDERIVATIVEMARKETORDERAUTHZ._serialized_start=652 - _CREATEDERIVATIVEMARKETORDERAUTHZ._serialized_end=748 - _BATCHCREATEDERIVATIVELIMITORDERSAUTHZ._serialized_start=750 - _BATCHCREATEDERIVATIVELIMITORDERSAUTHZ._serialized_end=851 - _CANCELDERIVATIVEORDERAUTHZ._serialized_start=853 - _CANCELDERIVATIVEORDERAUTHZ._serialized_end=943 - _BATCHCANCELDERIVATIVEORDERSAUTHZ._serialized_start=945 - _BATCHCANCELDERIVATIVEORDERSAUTHZ._serialized_end=1041 - _BATCHUPDATEORDERSAUTHZ._serialized_start=1043 - _BATCHUPDATEORDERSAUTHZ._serialized_end=1159 + _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_start=97 + _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_end=186 + _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_start=188 + _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_end=278 + _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_start=280 + _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_end=375 + _globals['_CANCELSPOTORDERAUTHZ']._serialized_start=377 + _globals['_CANCELSPOTORDERAUTHZ']._serialized_end=461 + _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_start=463 + _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_end=553 + _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_start=555 + _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_end=650 + _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_start=652 + _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_end=748 + _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_start=750 + _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_end=851 + _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_start=853 + _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_end=943 + _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_start=945 + _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_end=1041 + _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_start=1043 + _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_end=1159 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py index 941d1ca0..a2ab6d10 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/exchange/v1beta1/events.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +17,21 @@ from 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\"\xb4\x01\n\x17\x45ventBatchSpotExecution\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12@\n\rexecutionType\x18\x03 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionType\x12\x34\n\x06trades\x18\x04 \x03(\x0b\x32$.injective.exchange.v1beta1.TradeLog\"\xa8\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x16\n\x0eis_liquidation\x18\x03 \x01(\x08\x12J\n\x12\x63umulative_funding\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12@\n\rexecutionType\x18\x05 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionType\x12>\n\x06trades\x18\x06 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativeTradeLog\"\x81\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\x12_\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12U\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"t\n\x1c\x45ventBatchDerivativePosition\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x41\n\tpositions\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.SubaccountPosition\"\x7f\n\x1b\x45ventDerivativeMarketPaused\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x14\n\x0csettle_price\x18\x02 \x01(\t\x12\x1b\n\x13total_missing_funds\x18\x03 \x01(\t\x12\x1a\n\x12missing_funds_rate\x18\x04 \x01(\t\"d\n\x1b\x45ventMarketBeyondBankruptcy\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x14\n\x0csettle_price\x18\x02 \x01(\t\x12\x1c\n\x14missing_market_funds\x18\x03 \x01(\t\"_\n\x18\x45ventAllPositionsHaircut\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x14\n\x0csettle_price\x18\x02 \x01(\t\x12\x1a\n\x12missing_funds_rate\x18\x03 \x01(\t\"g\n\x1e\x45ventBinaryOptionsMarketUpdate\x12\x45\n\x06market\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\x12\x45ventNewSpotOrders\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12>\n\nbuy_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrder\x12?\n\x0bsell_orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrder\"\xba\x01\n\x18\x45ventNewDerivativeOrders\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\nbuy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrder\x12\x45\n\x0bsell_orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrder\"j\n\x14\x45ventCancelSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00\"U\n\x15\x45ventSpotMarketUpdate\x12<\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketB\x04\xc8\xde\x1f\x00\"\x81\x02\n\x1a\x45ventPerpetualMarketUpdate\x12\x42\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00\x12T\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01\x12I\n\x07\x66unding\x18\x03 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01\"\xc3\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12\x42\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00\x12]\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01\"\xa6\x02\n!EventPerpetualMarketFundingUpdate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12I\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00\x12\x19\n\x11is_hourly_funding\x18\x03 \x01(\x08\x12\x44\n\x0c\x66unding_rate\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x42\n\nmark_price\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\"u\n\x16\x45ventSubaccountDeposit\x12\x13\n\x0bsrc_address\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"v\n\x17\x45ventSubaccountWithdraw\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x13\n\x0b\x64st_address\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"\x87\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12\x19\n\x11src_subaccount_id\x18\x01 \x01(\t\x12\x19\n\x11\x64st_subaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"]\n\x17\x45ventBatchDepositUpdate\x12\x42\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DepositUpdate\"\xb5\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12M\n\x0cmarket_order\x18\x01 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01\x12G\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\xef\x01\n\x1a\x45ventCancelDerivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\risLimitCancel\x18\x02 \x01(\x08\x12K\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01\x12Z\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x37.injective.exchange.v1beta1.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01\"]\n\x18\x45ventFeeDiscountSchedule\x12\x41\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule\"\xbf\x01\n EventTradingRewardCampaignUpdate\x12L\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12M\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\"e\n\x1e\x45ventTradingRewardDistribution\x12\x43\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.AccountRewards\"\x94\x01\n\"EventNewConditionalDerivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrder\x12\x0c\n\x04hash\x18\x03 \x01(\x0c\x12\x11\n\tis_market\x18\x04 \x01(\x08\"\xed\x01\n%EventCancelConditionalDerivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\risLimitCancel\x18\x02 \x01(\x08\x12K\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01\x12M\n\x0cmarket_order\x18\x04 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01\"\x8c\x01\n&EventConditionalDerivativeOrderTrigger\x12\x11\n\tmarket_id\x18\x01 \x01(\x0c\x12\x16\n\x0eisLimitTrigger\x18\x02 \x01(\x08\x12\x1c\n\x14triggered_order_hash\x18\x03 \x01(\x0c\x12\x19\n\x11placed_order_hash\x18\x04 \x01(\x0c\"@\n\x0e\x45ventOrderFail\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0c\x12\x0e\n\x06hashes\x18\x02 \x03(\x0c\x12\r\n\x05\x66lags\x18\x03 \x03(\r\"~\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12O\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplier\"\xa2\x01\n\x14\x45ventOrderbookUpdate\x12\x41\n\x0cspot_updates\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdate\x12G\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdate\"X\n\x0fOrderbookUpdate\x12\x0b\n\x03seq\x18\x01 \x01(\x04\x12\x38\n\torderbook\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.Orderbook\"\x8d\x01\n\tOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\x0c\x12\x35\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12\x36\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\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\"\xb4\x01\n\x17\x45ventBatchSpotExecution\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12@\n\rexecutionType\x18\x03 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionType\x12\x34\n\x06trades\x18\x04 \x03(\x0b\x32$.injective.exchange.v1beta1.TradeLog\"\xa8\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x16\n\x0eis_liquidation\x18\x03 \x01(\x08\x12J\n\x12\x63umulative_funding\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\rexecutionType\x18\x05 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionType\x12>\n\x06trades\x18\x06 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativeTradeLog\"\x81\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\x12_\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12U\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"t\n\x1c\x45ventBatchDerivativePosition\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x41\n\tpositions\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.SubaccountPosition\"\x7f\n\x1b\x45ventDerivativeMarketPaused\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x14\n\x0csettle_price\x18\x02 \x01(\t\x12\x1b\n\x13total_missing_funds\x18\x03 \x01(\t\x12\x1a\n\x12missing_funds_rate\x18\x04 \x01(\t\"d\n\x1b\x45ventMarketBeyondBankruptcy\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x14\n\x0csettle_price\x18\x02 \x01(\t\x12\x1c\n\x14missing_market_funds\x18\x03 \x01(\t\"_\n\x18\x45ventAllPositionsHaircut\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x14\n\x0csettle_price\x18\x02 \x01(\t\x12\x1a\n\x12missing_funds_rate\x18\x03 \x01(\t\"g\n\x1e\x45ventBinaryOptionsMarketUpdate\x12\x45\n\x06market\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\x12\x45ventNewSpotOrders\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12>\n\nbuy_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrder\x12?\n\x0bsell_orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrder\"\xba\x01\n\x18\x45ventNewDerivativeOrders\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\nbuy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrder\x12\x45\n\x0bsell_orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrder\"j\n\x14\x45ventCancelSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00\"U\n\x15\x45ventSpotMarketUpdate\x12<\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketB\x04\xc8\xde\x1f\x00\"\x81\x02\n\x1a\x45ventPerpetualMarketUpdate\x12\x42\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00\x12T\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01\x12I\n\x07\x66unding\x18\x03 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01\"\xc3\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12\x42\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00\x12]\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01\"\xa6\x02\n!EventPerpetualMarketFundingUpdate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12I\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00\x12\x19\n\x11is_hourly_funding\x18\x03 \x01(\x08\x12\x44\n\x0c\x66unding_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x42\n\nmark_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"u\n\x16\x45ventSubaccountDeposit\x12\x13\n\x0bsrc_address\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"v\n\x17\x45ventSubaccountWithdraw\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x13\n\x0b\x64st_address\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"\x87\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12\x19\n\x11src_subaccount_id\x18\x01 \x01(\t\x12\x19\n\x11\x64st_subaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"]\n\x17\x45ventBatchDepositUpdate\x12\x42\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DepositUpdate\"\xb5\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12M\n\x0cmarket_order\x18\x01 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01\x12G\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xef\x01\n\x1a\x45ventCancelDerivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\risLimitCancel\x18\x02 \x01(\x08\x12K\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01\x12Z\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x37.injective.exchange.v1beta1.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01\"]\n\x18\x45ventFeeDiscountSchedule\x12\x41\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule\"\xbf\x01\n EventTradingRewardCampaignUpdate\x12L\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12M\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\"e\n\x1e\x45ventTradingRewardDistribution\x12\x43\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.AccountRewards\"\x94\x01\n\"EventNewConditionalDerivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrder\x12\x0c\n\x04hash\x18\x03 \x01(\x0c\x12\x11\n\tis_market\x18\x04 \x01(\x08\"\xed\x01\n%EventCancelConditionalDerivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\risLimitCancel\x18\x02 \x01(\x08\x12K\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01\x12M\n\x0cmarket_order\x18\x04 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01\"\x8c\x01\n&EventConditionalDerivativeOrderTrigger\x12\x11\n\tmarket_id\x18\x01 \x01(\x0c\x12\x16\n\x0eisLimitTrigger\x18\x02 \x01(\x08\x12\x1c\n\x14triggered_order_hash\x18\x03 \x01(\x0c\x12\x19\n\x11placed_order_hash\x18\x04 \x01(\x0c\"@\n\x0e\x45ventOrderFail\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0c\x12\x0e\n\x06hashes\x18\x02 \x03(\x0c\x12\r\n\x05\x66lags\x18\x03 \x03(\r\"~\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12O\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplier\"\xa2\x01\n\x14\x45ventOrderbookUpdate\x12\x41\n\x0cspot_updates\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdate\x12G\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdate\"X\n\x0fOrderbookUpdate\x12\x0b\n\x03seq\x18\x01 \x01(\x04\x12\x38\n\torderbook\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.Orderbook\"\x8d\x01\n\tOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\x0c\x12\x35\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12\x36\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.events_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types' _EVENTBATCHDERIVATIVEEXECUTION.fields_by_name['cumulative_funding']._options = None - _EVENTBATCHDERIVATIVEEXECUTION.fields_by_name['cumulative_funding']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _EVENTBATCHDERIVATIVEEXECUTION.fields_by_name['cumulative_funding']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EVENTLOSTFUNDSFROMLIQUIDATION.fields_by_name['lost_funds_from_available_during_payout']._options = None - _EVENTLOSTFUNDSFROMLIQUIDATION.fields_by_name['lost_funds_from_available_during_payout']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EVENTLOSTFUNDSFROMLIQUIDATION.fields_by_name['lost_funds_from_available_during_payout']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EVENTLOSTFUNDSFROMLIQUIDATION.fields_by_name['lost_funds_from_order_cancels']._options = None - _EVENTLOSTFUNDSFROMLIQUIDATION.fields_by_name['lost_funds_from_order_cancels']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EVENTLOSTFUNDSFROMLIQUIDATION.fields_by_name['lost_funds_from_order_cancels']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EVENTBINARYOPTIONSMARKETUPDATE.fields_by_name['market']._options = None _EVENTBINARYOPTIONSMARKETUPDATE.fields_by_name['market']._serialized_options = b'\310\336\037\000' _EVENTCANCELSPOTORDER.fields_by_name['order']._options = None @@ -50,9 +51,9 @@ _EVENTPERPETUALMARKETFUNDINGUPDATE.fields_by_name['funding']._options = None _EVENTPERPETUALMARKETFUNDINGUPDATE.fields_by_name['funding']._serialized_options = b'\310\336\037\000' _EVENTPERPETUALMARKETFUNDINGUPDATE.fields_by_name['funding_rate']._options = None - _EVENTPERPETUALMARKETFUNDINGUPDATE.fields_by_name['funding_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _EVENTPERPETUALMARKETFUNDINGUPDATE.fields_by_name['funding_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EVENTPERPETUALMARKETFUNDINGUPDATE.fields_by_name['mark_price']._options = None - _EVENTPERPETUALMARKETFUNDINGUPDATE.fields_by_name['mark_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _EVENTPERPETUALMARKETFUNDINGUPDATE.fields_by_name['mark_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EVENTSUBACCOUNTDEPOSIT.fields_by_name['amount']._options = None _EVENTSUBACCOUNTDEPOSIT.fields_by_name['amount']._serialized_options = b'\310\336\037\000' _EVENTSUBACCOUNTWITHDRAW.fields_by_name['amount']._options = None @@ -62,7 +63,7 @@ _DERIVATIVEMARKETORDERCANCEL.fields_by_name['market_order']._options = None _DERIVATIVEMARKETORDERCANCEL.fields_by_name['market_order']._serialized_options = b'\310\336\037\001' _DERIVATIVEMARKETORDERCANCEL.fields_by_name['cancel_quantity']._options = None - _DERIVATIVEMARKETORDERCANCEL.fields_by_name['cancel_quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKETORDERCANCEL.fields_by_name['cancel_quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EVENTCANCELDERIVATIVEORDER.fields_by_name['limit_order']._options = None _EVENTCANCELDERIVATIVEORDER.fields_by_name['limit_order']._serialized_options = b'\310\336\037\001' _EVENTCANCELDERIVATIVEORDER.fields_by_name['market_order_cancel']._options = None @@ -71,68 +72,68 @@ _EVENTCANCELCONDITIONALDERIVATIVEORDER.fields_by_name['limit_order']._serialized_options = b'\310\336\037\001' _EVENTCANCELCONDITIONALDERIVATIVEORDER.fields_by_name['market_order']._options = None _EVENTCANCELCONDITIONALDERIVATIVEORDER.fields_by_name['market_order']._serialized_options = b'\310\336\037\001' - _EVENTBATCHSPOTEXECUTION._serialized_start=208 - _EVENTBATCHSPOTEXECUTION._serialized_end=388 - _EVENTBATCHDERIVATIVEEXECUTION._serialized_start=391 - _EVENTBATCHDERIVATIVEEXECUTION._serialized_end=687 - _EVENTLOSTFUNDSFROMLIQUIDATION._serialized_start=690 - _EVENTLOSTFUNDSFROMLIQUIDATION._serialized_end=947 - _EVENTBATCHDERIVATIVEPOSITION._serialized_start=949 - _EVENTBATCHDERIVATIVEPOSITION._serialized_end=1065 - _EVENTDERIVATIVEMARKETPAUSED._serialized_start=1067 - _EVENTDERIVATIVEMARKETPAUSED._serialized_end=1194 - _EVENTMARKETBEYONDBANKRUPTCY._serialized_start=1196 - _EVENTMARKETBEYONDBANKRUPTCY._serialized_end=1296 - _EVENTALLPOSITIONSHAIRCUT._serialized_start=1298 - _EVENTALLPOSITIONSHAIRCUT._serialized_end=1393 - _EVENTBINARYOPTIONSMARKETUPDATE._serialized_start=1395 - _EVENTBINARYOPTIONSMARKETUPDATE._serialized_end=1498 - _EVENTNEWSPOTORDERS._serialized_start=1501 - _EVENTNEWSPOTORDERS._serialized_end=1669 - _EVENTNEWDERIVATIVEORDERS._serialized_start=1672 - _EVENTNEWDERIVATIVEORDERS._serialized_end=1858 - _EVENTCANCELSPOTORDER._serialized_start=1860 - _EVENTCANCELSPOTORDER._serialized_end=1966 - _EVENTSPOTMARKETUPDATE._serialized_start=1968 - _EVENTSPOTMARKETUPDATE._serialized_end=2053 - _EVENTPERPETUALMARKETUPDATE._serialized_start=2056 - _EVENTPERPETUALMARKETUPDATE._serialized_end=2313 - _EVENTEXPIRYFUTURESMARKETUPDATE._serialized_start=2316 - _EVENTEXPIRYFUTURESMARKETUPDATE._serialized_end=2511 - _EVENTPERPETUALMARKETFUNDINGUPDATE._serialized_start=2514 - _EVENTPERPETUALMARKETFUNDINGUPDATE._serialized_end=2808 - _EVENTSUBACCOUNTDEPOSIT._serialized_start=2810 - _EVENTSUBACCOUNTDEPOSIT._serialized_end=2927 - _EVENTSUBACCOUNTWITHDRAW._serialized_start=2929 - _EVENTSUBACCOUNTWITHDRAW._serialized_end=3047 - _EVENTSUBACCOUNTBALANCETRANSFER._serialized_start=3050 - _EVENTSUBACCOUNTBALANCETRANSFER._serialized_end=3185 - _EVENTBATCHDEPOSITUPDATE._serialized_start=3187 - _EVENTBATCHDEPOSITUPDATE._serialized_end=3280 - _DERIVATIVEMARKETORDERCANCEL._serialized_start=3283 - _DERIVATIVEMARKETORDERCANCEL._serialized_end=3464 - _EVENTCANCELDERIVATIVEORDER._serialized_start=3467 - _EVENTCANCELDERIVATIVEORDER._serialized_end=3706 - _EVENTFEEDISCOUNTSCHEDULE._serialized_start=3708 - _EVENTFEEDISCOUNTSCHEDULE._serialized_end=3801 - _EVENTTRADINGREWARDCAMPAIGNUPDATE._serialized_start=3804 - _EVENTTRADINGREWARDCAMPAIGNUPDATE._serialized_end=3995 - _EVENTTRADINGREWARDDISTRIBUTION._serialized_start=3997 - _EVENTTRADINGREWARDDISTRIBUTION._serialized_end=4098 - _EVENTNEWCONDITIONALDERIVATIVEORDER._serialized_start=4101 - _EVENTNEWCONDITIONALDERIVATIVEORDER._serialized_end=4249 - _EVENTCANCELCONDITIONALDERIVATIVEORDER._serialized_start=4252 - _EVENTCANCELCONDITIONALDERIVATIVEORDER._serialized_end=4489 - _EVENTCONDITIONALDERIVATIVEORDERTRIGGER._serialized_start=4492 - _EVENTCONDITIONALDERIVATIVEORDERTRIGGER._serialized_end=4632 - _EVENTORDERFAIL._serialized_start=4634 - _EVENTORDERFAIL._serialized_end=4698 - _EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED._serialized_start=4700 - _EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED._serialized_end=4826 - _EVENTORDERBOOKUPDATE._serialized_start=4829 - _EVENTORDERBOOKUPDATE._serialized_end=4991 - _ORDERBOOKUPDATE._serialized_start=4993 - _ORDERBOOKUPDATE._serialized_end=5081 - _ORDERBOOK._serialized_start=5084 - _ORDERBOOK._serialized_end=5225 + _globals['_EVENTBATCHSPOTEXECUTION']._serialized_start=208 + _globals['_EVENTBATCHSPOTEXECUTION']._serialized_end=388 + _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_start=391 + _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_end=687 + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_start=690 + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_end=947 + _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_start=949 + _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_end=1065 + _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_start=1067 + _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_end=1194 + _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_start=1196 + _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_end=1296 + _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_start=1298 + _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_end=1393 + _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_start=1395 + _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_end=1498 + _globals['_EVENTNEWSPOTORDERS']._serialized_start=1501 + _globals['_EVENTNEWSPOTORDERS']._serialized_end=1669 + _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_start=1672 + _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_end=1858 + _globals['_EVENTCANCELSPOTORDER']._serialized_start=1860 + _globals['_EVENTCANCELSPOTORDER']._serialized_end=1966 + _globals['_EVENTSPOTMARKETUPDATE']._serialized_start=1968 + _globals['_EVENTSPOTMARKETUPDATE']._serialized_end=2053 + _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_start=2056 + _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_end=2313 + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_start=2316 + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_end=2511 + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_start=2514 + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_end=2808 + _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_start=2810 + _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_end=2927 + _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_start=2929 + _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_end=3047 + _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_start=3050 + _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_end=3185 + _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_start=3187 + _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_end=3280 + _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_start=3283 + _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_end=3464 + _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_start=3467 + _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_end=3706 + _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_start=3708 + _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_end=3801 + _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_start=3804 + _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_end=3995 + _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_start=3997 + _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_end=4098 + _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_start=4101 + _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_end=4249 + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_start=4252 + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_end=4489 + _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_start=4492 + _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_end=4632 + _globals['_EVENTORDERFAIL']._serialized_start=4634 + _globals['_EVENTORDERFAIL']._serialized_end=4698 + _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_start=4700 + _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_end=4826 + _globals['_EVENTORDERBOOKUPDATE']._serialized_start=4829 + _globals['_EVENTORDERBOOKUPDATE']._serialized_end=4991 + _globals['_ORDERBOOKUPDATE']._serialized_start=4993 + _globals['_ORDERBOOKUPDATE']._serialized_end=5081 + _globals['_ORDERBOOK']._serialized_start=5084 + _globals['_ORDERBOOK']._serialized_end=5225 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py index 923c2dc9..1e26bf6c 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/exchange/v1beta1/exchange.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +16,11 @@ from injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__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\"\xf0\x0e\n\x06Params\x12H\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12N\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12S\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12S\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12Y\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12Y\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12T\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12X\n default_maintenance_margin_ratio\x18\x08 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12 \n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03\x12\x18\n\x10\x66unding_multiple\x18\n \x01(\x03\x12N\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12W\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12T\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\'\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\r\x12_\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12(\n trading_rewards_vesting_duration\x18\x10 \x01(\x03\x12T\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12R\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x62\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x38.injective.exchange.v1beta1.AtomicMarketOrderAccessLevel\x12_\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x65\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12i\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12Q\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x33\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08:\x04\xe8\xa0\x1f\x01\"v\n\x13MarketFeeMultiplier\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x46\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x04\x88\xa0\x1f\x00\"\xbf\x06\n\x10\x44\x65rivativeMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x13\n\x0boracle_base\x18\x02 \x01(\t\x12\x14\n\x0coracle_quote\x18\x03 \x01(\t\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x05 \x01(\r\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12\x11\n\tmarket_id\x18\x07 \x01(\t\x12L\n\x14initial_margin_ratio\x18\x08 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12P\n\x18maintenance_margin_ratio\x18\t \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0emaker_fee_rate\x18\n \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0etaker_fee_rate\x18\x0b \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x13\n\x0bisPerpetual\x18\r \x01(\x08\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\x0f \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16min_quantity_tick_size\x18\x10 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x04\x88\xa0\x1f\x00\"\xa7\x06\n\x13\x42inaryOptionsMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x15\n\roracle_symbol\x18\x02 \x01(\t\x12\x17\n\x0foracle_provider\x18\x03 \x01(\t\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x05 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x07 \x01(\x03\x12\r\n\x05\x61\x64min\x18\x08 \x01(\t\x12\x13\n\x0bquote_denom\x18\t \x01(\t\x12\x11\n\tmarket_id\x18\n \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x0b \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0etaker_fee_rate\x18\x0c \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16relayer_fee_share_rate\x18\r \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\x0f \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16min_quantity_tick_size\x18\x10 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12H\n\x10settlement_price\x18\x11 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01:\x04\x88\xa0\x1f\x00\"\x92\x02\n\x17\x45xpiryFuturesMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03\x12\x1c\n\x14twap_start_timestamp\x18\x03 \x01(\x03\x12^\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12H\n\x10settlement_price\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\x81\x02\n\x13PerpetualMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12O\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12L\n\x14hourly_interest_rate\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x1e\n\x16next_funding_timestamp\x18\x04 \x01(\x03\x12\x18\n\x10\x66unding_interval\x18\x05 \x01(\x03\"\xc6\x01\n\x16PerpetualMarketFunding\x12J\n\x12\x63umulative_funding\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12H\n\x10\x63umulative_price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x03\"}\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12H\n\x10settlement_price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\".\n\x14NextFundingTimestamp\x12\x16\n\x0enext_timestamp\x18\x01 \x01(\x03\"\xe4\x01\n\x0eMidPriceAndTOB\x12\x41\n\tmid_price\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x46\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12G\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\"\x8f\x04\n\nSpotMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x11\n\tmarket_id\x18\x07 \x01(\t\x12\x38\n\x06status\x18\x08 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\t \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16min_quantity_tick_size\x18\n \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\x9b\x01\n\x07\x44\x65posit\x12I\n\x11\x61vailable_balance\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x45\n\rtotal_balance\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"%\n\x14SubaccountTradeNonce\x12\r\n\x05nonce\x18\x01 \x01(\r\"\xba\x01\n\tOrderInfo\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x15\n\rfee_recipient\x18\x02 \x01(\t\x12=\n\x05price\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12@\n\x08quantity\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\xe1\x01\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12\x45\n\rtrigger_price\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\"\xa9\x02\n\x0eSpotLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12@\n\x08\x66illable\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x45\n\rtrigger_price\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\"\xae\x02\n\x0fSpotMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x44\n\x0c\x62\x61lance_hold\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x12\n\norder_hash\x18\x03 \x01(\x0c\x12\x39\n\norder_type\x18\x04 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\"\xa7\x02\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\"\xe9\x02\n\x1bSubaccountOrderbookMetadata\x12!\n\x19vanilla_limit_order_count\x18\x01 \x01(\r\x12%\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\r\x12V\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12R\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\'\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\r\x12+\n#reduce_only_conditional_order_count\x18\x06 \x01(\r\"\xa8\x01\n\x0fSubaccountOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12@\n\x08quantity\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x14\n\x0cisReduceOnly\x18\x03 \x01(\x08\"e\n\x13SubaccountOrderData\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrder\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\"\xef\x02\n\x14\x44\x65rivativeLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12@\n\x08\x66illable\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xf3\x02\n\x15\x44\x65rivativeMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x43\n\x0bmargin_hold\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xb3\x02\n\x08Position\x12\x0e\n\x06isLong\x18\x01 \x01(\x08\x12@\n\x08quantity\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x43\n\x0b\x65ntry_price\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12>\n\x06margin\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12P\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"8\n\x14MarketOrderIndicator\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05isBuy\x18\x02 \x01(\x08\"\x98\x02\n\x08TradeLog\x12@\n\x08quantity\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12=\n\x05price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x15\n\rsubaccount_id\x18\x03 \x01(\x0c\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"\xff\x01\n\rPositionDelta\x12\x0f\n\x07is_long\x18\x01 \x01(\x08\x12J\n\x12\x65xecution_quantity\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12H\n\x10\x65xecution_margin\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12G\n\x0f\x65xecution_price\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\xa4\x02\n\x12\x44\x65rivativeTradeLog\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x41\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"c\n\x12SubaccountPosition\x12\x36\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.Position\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\"`\n\x11SubaccountDeposit\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x34\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit\"_\n\rDepositUpdate\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12?\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDeposit\"\xb4\x01\n\x10PointsMultiplier\x12O\n\x17maker_points_multiplier\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12O\n\x17taker_points_multiplier\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\x98\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x1f\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\t\x12S\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\x12%\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\t\x12Y\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\"\x98\x01\n\x12\x43\x61mpaignRewardPool\x12\x17\n\x0fstart_timestamp\x18\x01 \x01(\x03\x12i\n\x14max_campaign_rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\xd4\x01\n\x19TradingRewardCampaignInfo\x12!\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x02 \x03(\t\x12]\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x04 \x03(\t\"\xb6\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12K\n\x13maker_discount_rate\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12K\n\x13taker_discount_rate\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x45\n\rstaked_amount\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12>\n\x06volume\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\xc0\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12\x14\n\x0c\x62ucket_count\x18\x01 \x01(\x04\x12\x17\n\x0f\x62ucket_duration\x18\x02 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x03 \x03(\t\x12\x43\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x05 \x03(\t\"9\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x0c\n\x04tier\x18\x01 \x01(\x04\x12\x15\n\rttl_timestamp\x18\x02 \x01(\x03\"\x9a\x01\n\x0cVolumeRecord\x12\x44\n\x0cmaker_volume\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x44\n\x0ctaker_volume\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\x7f\n\x0e\x41\x63\x63ountRewards\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\\\n\x07rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"h\n\x0cTradeRecords\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecord\"\'\n\rSubaccountIDs\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\x0c\"\xa1\x01\n\x0bTradeRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12@\n\x08quantity\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"}\n\x05Level\x12\x39\n\x01p\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x39\n\x01q\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"z\n\x1f\x41ggregateSubaccountVolumeRecord\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"q\n\x1c\x41ggregateAccountVolumeRecord\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"a\n\x0cMarketVolume\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12>\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00\"0\n\rDenomDecimals\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04*t\n\x1c\x41tomicMarketOrderAccessLevel\x12\n\n\x06Nobody\x10\x00\x12\"\n\x1e\x42\x65ginBlockerSmartContractsOnly\x10\x01\x12\x16\n\x12SmartContractsOnly\x10\x02\x12\x0c\n\x08\x45veryone\x10\x03*T\n\x0cMarketStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x41\x63tive\x10\x01\x12\n\n\x06Paused\x10\x02\x12\x0e\n\nDemolished\x10\x03\x12\x0b\n\x07\x45xpired\x10\x04*\xbb\x02\n\tOrderType\x12 \n\x0bUNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\x10\n\x03\x42UY\x10\x01\x1a\x07\x8a\x9d \x03\x42UY\x12\x12\n\x04SELL\x10\x02\x1a\x08\x8a\x9d \x04SELL\x12\x1a\n\x08STOP_BUY\x10\x03\x1a\x0c\x8a\x9d \x08STOP_BUY\x12\x1c\n\tSTOP_SELL\x10\x04\x1a\r\x8a\x9d \tSTOP_SELL\x12\x1a\n\x08TAKE_BUY\x10\x05\x1a\x0c\x8a\x9d \x08TAKE_BUY\x12\x1c\n\tTAKE_SELL\x10\x06\x1a\r\x8a\x9d \tTAKE_SELL\x12\x16\n\x06\x42UY_PO\x10\x07\x1a\n\x8a\x9d \x06\x42UY_PO\x12\x18\n\x07SELL_PO\x10\x08\x1a\x0b\x8a\x9d \x07SELL_PO\x12\x1e\n\nBUY_ATOMIC\x10\t\x1a\x0e\x8a\x9d \nBUY_ATOMIC\x12 \n\x0bSELL_ATOMIC\x10\n\x1a\x0f\x8a\x9d \x0bSELL_ATOMIC*\xaf\x01\n\rExecutionType\x12\x1c\n\x18UnspecifiedExecutionType\x10\x00\x12\n\n\x06Market\x10\x01\x12\r\n\tLimitFill\x10\x02\x12\x1a\n\x16LimitMatchRestingOrder\x10\x03\x12\x16\n\x12LimitMatchNewOrder\x10\x04\x12\x15\n\x11MarketLiquidation\x10\x05\x12\x1a\n\x16\x45xpiryMarketSettlement\x10\x06*\x89\x02\n\tOrderMask\x12\x16\n\x06UNUSED\x10\x00\x1a\n\x8a\x9d \x06UNUSED\x12\x10\n\x03\x41NY\x10\x01\x1a\x07\x8a\x9d \x03\x41NY\x12\x18\n\x07REGULAR\x10\x02\x1a\x0b\x8a\x9d \x07REGULAR\x12 \n\x0b\x43ONDITIONAL\x10\x04\x1a\x0f\x8a\x9d \x0b\x43ONDITIONAL\x12.\n\x17\x44IRECTION_BUY_OR_HIGHER\x10\x08\x1a\x11\x8a\x9d \rBUY_OR_HIGHER\x12.\n\x17\x44IRECTION_SELL_OR_LOWER\x10\x10\x1a\x11\x8a\x9d \rSELL_OR_LOWER\x12\x1b\n\x0bTYPE_MARKET\x10 \x1a\n\x8a\x9d \x06MARKET\x12\x19\n\nTYPE_LIMIT\x10@\x1a\t\x8a\x9d \x05LIMITBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/exchange/v1beta1/exchange.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\"\xf0\x0e\n\x06Params\x12H\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12N\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12S\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12S\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Y\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Y\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12T\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12X\n default_maintenance_margin_ratio\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12 \n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03\x12\x18\n\x10\x66unding_multiple\x18\n \x01(\x03\x12N\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12W\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12T\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\'\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\r\x12_\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12(\n trading_rewards_vesting_duration\x18\x10 \x01(\x03\x12T\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12R\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x62\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x38.injective.exchange.v1beta1.AtomicMarketOrderAccessLevel\x12_\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x65\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12i\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Q\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x33\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08:\x04\xe8\xa0\x1f\x01\"v\n\x13MarketFeeMultiplier\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x46\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\xbf\x06\n\x10\x44\x65rivativeMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x13\n\x0boracle_base\x18\x02 \x01(\t\x12\x14\n\x0coracle_quote\x18\x03 \x01(\t\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x05 \x01(\r\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12\x11\n\tmarket_id\x18\x07 \x01(\t\x12L\n\x14initial_margin_ratio\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x13\n\x0bisPerpetual\x18\r \x01(\x08\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x10 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\xa7\x06\n\x13\x42inaryOptionsMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x15\n\roracle_symbol\x18\x02 \x01(\t\x12\x17\n\x0foracle_provider\x18\x03 \x01(\t\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x05 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x07 \x01(\x03\x12\r\n\x05\x61\x64min\x18\x08 \x01(\t\x12\x13\n\x0bquote_denom\x18\t \x01(\t\x12\x11\n\tmarket_id\x18\n \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x10 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10settlement_price\x18\x11 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\x92\x02\n\x17\x45xpiryFuturesMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03\x12\x1c\n\x14twap_start_timestamp\x18\x03 \x01(\x03\x12^\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10settlement_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x81\x02\n\x13PerpetualMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12O\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14hourly_interest_rate\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1e\n\x16next_funding_timestamp\x18\x04 \x01(\x03\x12\x18\n\x10\x66unding_interval\x18\x05 \x01(\x03\"\xc6\x01\n\x16PerpetualMarketFunding\x12J\n\x12\x63umulative_funding\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x63umulative_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x03\"}\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12H\n\x10settlement_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\".\n\x14NextFundingTimestamp\x12\x16\n\x0enext_timestamp\x18\x01 \x01(\x03\"\xe4\x01\n\x0eMidPriceAndTOB\x12\x41\n\tmid_price\x18\x01 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x8f\x04\n\nSpotMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\tmarket_id\x18\x07 \x01(\t\x12\x38\n\x06status\x18\x08 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x9b\x01\n\x07\x44\x65posit\x12I\n\x11\x61vailable_balance\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtotal_balance\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"%\n\x14SubaccountTradeNonce\x12\r\n\x05nonce\x18\x01 \x01(\r\"\xba\x01\n\tOrderInfo\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x15\n\rfee_recipient\x18\x02 \x01(\t\x12=\n\x05price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe1\x01\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12\x45\n\rtrigger_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa9\x02\n\x0eSpotLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12@\n\x08\x66illable\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\"\xae\x02\n\x0fSpotMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x44\n\x0c\x62\x61lance_hold\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x03 \x01(\x0c\x12\x39\n\norder_type\x18\x04 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa7\x02\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe9\x02\n\x1bSubaccountOrderbookMetadata\x12!\n\x19vanilla_limit_order_count\x18\x01 \x01(\r\x12%\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\r\x12V\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12R\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\'\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\r\x12+\n#reduce_only_conditional_order_count\x18\x06 \x01(\r\"\xa8\x01\n\x0fSubaccountOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cisReduceOnly\x18\x03 \x01(\x08\"e\n\x13SubaccountOrderData\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrder\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\"\xef\x02\n\x14\x44\x65rivativeLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x66illable\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xf3\x02\n\x15\x44\x65rivativeMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0bmargin_hold\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xb3\x02\n\x08Position\x12\x0e\n\x06isLong\x18\x01 \x01(\x08\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"8\n\x14MarketOrderIndicator\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05isBuy\x18\x02 \x01(\x08\"\x98\x02\n\x08TradeLog\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x03 \x01(\x0c\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"\xff\x01\n\rPositionDelta\x12\x0f\n\x07is_long\x18\x01 \x01(\x08\x12J\n\x12\x65xecution_quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x65xecution_margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x65xecution_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa4\x02\n\x12\x44\x65rivativeTradeLog\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x41\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"c\n\x12SubaccountPosition\x12\x36\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.Position\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\"`\n\x11SubaccountDeposit\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x34\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit\"_\n\rDepositUpdate\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12?\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDeposit\"\xb4\x01\n\x10PointsMultiplier\x12O\n\x17maker_points_multiplier\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12O\n\x17taker_points_multiplier\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x98\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x1f\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\t\x12S\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\x12%\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\t\x12Y\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\"\x98\x01\n\x12\x43\x61mpaignRewardPool\x12\x17\n\x0fstart_timestamp\x18\x01 \x01(\x03\x12i\n\x14max_campaign_rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\xd4\x01\n\x19TradingRewardCampaignInfo\x12!\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x02 \x03(\t\x12]\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x04 \x03(\t\"\xb6\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12K\n\x13maker_discount_rate\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13taker_discount_rate\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rstaked_amount\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12>\n\x06volume\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xc0\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12\x14\n\x0c\x62ucket_count\x18\x01 \x01(\x04\x12\x17\n\x0f\x62ucket_duration\x18\x02 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x03 \x03(\t\x12\x43\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x05 \x03(\t\"9\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x0c\n\x04tier\x18\x01 \x01(\x04\x12\x15\n\rttl_timestamp\x18\x02 \x01(\x03\"\x9a\x01\n\x0cVolumeRecord\x12\x44\n\x0cmaker_volume\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0ctaker_volume\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x7f\n\x0e\x41\x63\x63ountRewards\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\\\n\x07rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"h\n\x0cTradeRecords\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecord\"\'\n\rSubaccountIDs\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\x0c\"\xa1\x01\n\x0bTradeRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"}\n\x05Level\x12\x39\n\x01p\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x39\n\x01q\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"z\n\x1f\x41ggregateSubaccountVolumeRecord\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"q\n\x1c\x41ggregateAccountVolumeRecord\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"a\n\x0cMarketVolume\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12>\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00\"0\n\rDenomDecimals\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04*t\n\x1c\x41tomicMarketOrderAccessLevel\x12\n\n\x06Nobody\x10\x00\x12\"\n\x1e\x42\x65ginBlockerSmartContractsOnly\x10\x01\x12\x16\n\x12SmartContractsOnly\x10\x02\x12\x0c\n\x08\x45veryone\x10\x03*T\n\x0cMarketStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x41\x63tive\x10\x01\x12\n\n\x06Paused\x10\x02\x12\x0e\n\nDemolished\x10\x03\x12\x0b\n\x07\x45xpired\x10\x04*\xbb\x02\n\tOrderType\x12 \n\x0bUNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\x10\n\x03\x42UY\x10\x01\x1a\x07\x8a\x9d \x03\x42UY\x12\x12\n\x04SELL\x10\x02\x1a\x08\x8a\x9d \x04SELL\x12\x1a\n\x08STOP_BUY\x10\x03\x1a\x0c\x8a\x9d \x08STOP_BUY\x12\x1c\n\tSTOP_SELL\x10\x04\x1a\r\x8a\x9d \tSTOP_SELL\x12\x1a\n\x08TAKE_BUY\x10\x05\x1a\x0c\x8a\x9d \x08TAKE_BUY\x12\x1c\n\tTAKE_SELL\x10\x06\x1a\r\x8a\x9d \tTAKE_SELL\x12\x16\n\x06\x42UY_PO\x10\x07\x1a\n\x8a\x9d \x06\x42UY_PO\x12\x18\n\x07SELL_PO\x10\x08\x1a\x0b\x8a\x9d \x07SELL_PO\x12\x1e\n\nBUY_ATOMIC\x10\t\x1a\x0e\x8a\x9d \nBUY_ATOMIC\x12 \n\x0bSELL_ATOMIC\x10\n\x1a\x0f\x8a\x9d \x0bSELL_ATOMIC*\xaf\x01\n\rExecutionType\x12\x1c\n\x18UnspecifiedExecutionType\x10\x00\x12\n\n\x06Market\x10\x01\x12\r\n\tLimitFill\x10\x02\x12\x1a\n\x16LimitMatchRestingOrder\x10\x03\x12\x16\n\x12LimitMatchNewOrder\x10\x04\x12\x15\n\x11MarketLiquidation\x10\x05\x12\x1a\n\x16\x45xpiryMarketSettlement\x10\x06*\x89\x02\n\tOrderMask\x12\x16\n\x06UNUSED\x10\x00\x1a\n\x8a\x9d \x06UNUSED\x12\x10\n\x03\x41NY\x10\x01\x1a\x07\x8a\x9d \x03\x41NY\x12\x18\n\x07REGULAR\x10\x02\x1a\x0b\x8a\x9d \x07REGULAR\x12 \n\x0b\x43ONDITIONAL\x10\x04\x1a\x0f\x8a\x9d \x0b\x43ONDITIONAL\x12.\n\x17\x44IRECTION_BUY_OR_HIGHER\x10\x08\x1a\x11\x8a\x9d \rBUY_OR_HIGHER\x12.\n\x17\x44IRECTION_SELL_OR_LOWER\x10\x10\x1a\x11\x8a\x9d \rSELL_OR_LOWER\x12\x1b\n\x0bTYPE_MARKET\x10 \x1a\n\x8a\x9d \x06MARKET\x12\x19\n\nTYPE_LIMIT\x10@\x1a\t\x8a\x9d \x05LIMITBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.exchange_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.exchange_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -67,189 +68,189 @@ _PARAMS.fields_by_name['derivative_market_instant_listing_fee']._options = None _PARAMS.fields_by_name['derivative_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' _PARAMS.fields_by_name['default_spot_maker_fee_rate']._options = None - _PARAMS.fields_by_name['default_spot_maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['default_spot_maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['default_spot_taker_fee_rate']._options = None - _PARAMS.fields_by_name['default_spot_taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['default_spot_taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['default_derivative_maker_fee_rate']._options = None - _PARAMS.fields_by_name['default_derivative_maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['default_derivative_maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['default_derivative_taker_fee_rate']._options = None - _PARAMS.fields_by_name['default_derivative_taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['default_derivative_taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['default_initial_margin_ratio']._options = None - _PARAMS.fields_by_name['default_initial_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['default_initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['default_maintenance_margin_ratio']._options = None - _PARAMS.fields_by_name['default_maintenance_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['default_maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['relayer_fee_share_rate']._options = None - _PARAMS.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['default_hourly_funding_rate_cap']._options = None - _PARAMS.fields_by_name['default_hourly_funding_rate_cap']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['default_hourly_funding_rate_cap']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['default_hourly_interest_rate']._options = None - _PARAMS.fields_by_name['default_hourly_interest_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['default_hourly_interest_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['inj_reward_staked_requirement_threshold']._options = None - _PARAMS.fields_by_name['inj_reward_staked_requirement_threshold']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _PARAMS.fields_by_name['inj_reward_staked_requirement_threshold']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _PARAMS.fields_by_name['liquidator_reward_share_rate']._options = None - _PARAMS.fields_by_name['liquidator_reward_share_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['liquidator_reward_share_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['binary_options_market_instant_listing_fee']._options = None _PARAMS.fields_by_name['binary_options_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' _PARAMS.fields_by_name['spot_atomic_market_order_fee_multiplier']._options = None - _PARAMS.fields_by_name['spot_atomic_market_order_fee_multiplier']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['spot_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['derivative_atomic_market_order_fee_multiplier']._options = None - _PARAMS.fields_by_name['derivative_atomic_market_order_fee_multiplier']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['derivative_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['binary_options_atomic_market_order_fee_multiplier']._options = None - _PARAMS.fields_by_name['binary_options_atomic_market_order_fee_multiplier']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['binary_options_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['minimal_protocol_fee_rate']._options = None - _PARAMS.fields_by_name['minimal_protocol_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['minimal_protocol_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS._options = None _PARAMS._serialized_options = b'\350\240\037\001' _MARKETFEEMULTIPLIER.fields_by_name['fee_multiplier']._options = None - _MARKETFEEMULTIPLIER.fields_by_name['fee_multiplier']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MARKETFEEMULTIPLIER.fields_by_name['fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MARKETFEEMULTIPLIER._options = None _MARKETFEEMULTIPLIER._serialized_options = b'\210\240\037\000' _DERIVATIVEMARKET.fields_by_name['initial_margin_ratio']._options = None - _DERIVATIVEMARKET.fields_by_name['initial_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKET.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKET.fields_by_name['maintenance_margin_ratio']._options = None - _DERIVATIVEMARKET.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKET.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKET.fields_by_name['maker_fee_rate']._options = None - _DERIVATIVEMARKET.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKET.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKET.fields_by_name['taker_fee_rate']._options = None - _DERIVATIVEMARKET.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKET.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKET.fields_by_name['relayer_fee_share_rate']._options = None - _DERIVATIVEMARKET.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKET.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKET.fields_by_name['min_price_tick_size']._options = None - _DERIVATIVEMARKET.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKET.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKET.fields_by_name['min_quantity_tick_size']._options = None - _DERIVATIVEMARKET.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKET.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKET._options = None _DERIVATIVEMARKET._serialized_options = b'\210\240\037\000' _BINARYOPTIONSMARKET.fields_by_name['maker_fee_rate']._options = None - _BINARYOPTIONSMARKET.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BINARYOPTIONSMARKET.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKET.fields_by_name['taker_fee_rate']._options = None - _BINARYOPTIONSMARKET.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BINARYOPTIONSMARKET.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKET.fields_by_name['relayer_fee_share_rate']._options = None - _BINARYOPTIONSMARKET.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BINARYOPTIONSMARKET.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKET.fields_by_name['min_price_tick_size']._options = None - _BINARYOPTIONSMARKET.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BINARYOPTIONSMARKET.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKET.fields_by_name['min_quantity_tick_size']._options = None - _BINARYOPTIONSMARKET.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BINARYOPTIONSMARKET.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKET.fields_by_name['settlement_price']._options = None - _BINARYOPTIONSMARKET.fields_by_name['settlement_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _BINARYOPTIONSMARKET.fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKET._options = None _BINARYOPTIONSMARKET._serialized_options = b'\210\240\037\000' _EXPIRYFUTURESMARKETINFO.fields_by_name['expiration_twap_start_price_cumulative']._options = None - _EXPIRYFUTURESMARKETINFO.fields_by_name['expiration_twap_start_price_cumulative']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EXPIRYFUTURESMARKETINFO.fields_by_name['expiration_twap_start_price_cumulative']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EXPIRYFUTURESMARKETINFO.fields_by_name['settlement_price']._options = None - _EXPIRYFUTURESMARKETINFO.fields_by_name['settlement_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EXPIRYFUTURESMARKETINFO.fields_by_name['settlement_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PERPETUALMARKETINFO.fields_by_name['hourly_funding_rate_cap']._options = None - _PERPETUALMARKETINFO.fields_by_name['hourly_funding_rate_cap']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PERPETUALMARKETINFO.fields_by_name['hourly_funding_rate_cap']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PERPETUALMARKETINFO.fields_by_name['hourly_interest_rate']._options = None - _PERPETUALMARKETINFO.fields_by_name['hourly_interest_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PERPETUALMARKETINFO.fields_by_name['hourly_interest_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PERPETUALMARKETFUNDING.fields_by_name['cumulative_funding']._options = None - _PERPETUALMARKETFUNDING.fields_by_name['cumulative_funding']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PERPETUALMARKETFUNDING.fields_by_name['cumulative_funding']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PERPETUALMARKETFUNDING.fields_by_name['cumulative_price']._options = None - _PERPETUALMARKETFUNDING.fields_by_name['cumulative_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PERPETUALMARKETFUNDING.fields_by_name['cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETSETTLEMENTINFO.fields_by_name['settlement_price']._options = None - _DERIVATIVEMARKETSETTLEMENTINFO.fields_by_name['settlement_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKETSETTLEMENTINFO.fields_by_name['settlement_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MIDPRICEANDTOB.fields_by_name['mid_price']._options = None - _MIDPRICEANDTOB.fields_by_name['mid_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _MIDPRICEANDTOB.fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MIDPRICEANDTOB.fields_by_name['best_buy_price']._options = None - _MIDPRICEANDTOB.fields_by_name['best_buy_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _MIDPRICEANDTOB.fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MIDPRICEANDTOB.fields_by_name['best_sell_price']._options = None - _MIDPRICEANDTOB.fields_by_name['best_sell_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _MIDPRICEANDTOB.fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKET.fields_by_name['maker_fee_rate']._options = None - _SPOTMARKET.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTMARKET.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKET.fields_by_name['taker_fee_rate']._options = None - _SPOTMARKET.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTMARKET.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKET.fields_by_name['relayer_fee_share_rate']._options = None - _SPOTMARKET.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTMARKET.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKET.fields_by_name['min_price_tick_size']._options = None - _SPOTMARKET.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTMARKET.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKET.fields_by_name['min_quantity_tick_size']._options = None - _SPOTMARKET.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTMARKET.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DEPOSIT.fields_by_name['available_balance']._options = None - _DEPOSIT.fields_by_name['available_balance']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DEPOSIT.fields_by_name['available_balance']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DEPOSIT.fields_by_name['total_balance']._options = None - _DEPOSIT.fields_by_name['total_balance']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DEPOSIT.fields_by_name['total_balance']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _ORDERINFO.fields_by_name['price']._options = None - _ORDERINFO.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _ORDERINFO.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _ORDERINFO.fields_by_name['quantity']._options = None - _ORDERINFO.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _ORDERINFO.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTORDER.fields_by_name['order_info']._options = None _SPOTORDER.fields_by_name['order_info']._serialized_options = b'\310\336\037\000' _SPOTORDER.fields_by_name['trigger_price']._options = None - _SPOTORDER.fields_by_name['trigger_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _SPOTORDER.fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTLIMITORDER.fields_by_name['order_info']._options = None _SPOTLIMITORDER.fields_by_name['order_info']._serialized_options = b'\310\336\037\000' _SPOTLIMITORDER.fields_by_name['fillable']._options = None - _SPOTLIMITORDER.fields_by_name['fillable']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTLIMITORDER.fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTLIMITORDER.fields_by_name['trigger_price']._options = None - _SPOTLIMITORDER.fields_by_name['trigger_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _SPOTLIMITORDER.fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETORDER.fields_by_name['order_info']._options = None _SPOTMARKETORDER.fields_by_name['order_info']._serialized_options = b'\310\336\037\000' _SPOTMARKETORDER.fields_by_name['balance_hold']._options = None - _SPOTMARKETORDER.fields_by_name['balance_hold']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTMARKETORDER.fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETORDER.fields_by_name['trigger_price']._options = None - _SPOTMARKETORDER.fields_by_name['trigger_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _SPOTMARKETORDER.fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEORDER.fields_by_name['order_info']._options = None _DERIVATIVEORDER.fields_by_name['order_info']._serialized_options = b'\310\336\037\000' _DERIVATIVEORDER.fields_by_name['margin']._options = None - _DERIVATIVEORDER.fields_by_name['margin']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEORDER.fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEORDER.fields_by_name['trigger_price']._options = None - _DERIVATIVEORDER.fields_by_name['trigger_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVEORDER.fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SUBACCOUNTORDERBOOKMETADATA.fields_by_name['aggregate_reduce_only_quantity']._options = None - _SUBACCOUNTORDERBOOKMETADATA.fields_by_name['aggregate_reduce_only_quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SUBACCOUNTORDERBOOKMETADATA.fields_by_name['aggregate_reduce_only_quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SUBACCOUNTORDERBOOKMETADATA.fields_by_name['aggregate_vanilla_quantity']._options = None - _SUBACCOUNTORDERBOOKMETADATA.fields_by_name['aggregate_vanilla_quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SUBACCOUNTORDERBOOKMETADATA.fields_by_name['aggregate_vanilla_quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SUBACCOUNTORDER.fields_by_name['price']._options = None - _SUBACCOUNTORDER.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SUBACCOUNTORDER.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SUBACCOUNTORDER.fields_by_name['quantity']._options = None - _SUBACCOUNTORDER.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SUBACCOUNTORDER.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVELIMITORDER.fields_by_name['order_info']._options = None _DERIVATIVELIMITORDER.fields_by_name['order_info']._serialized_options = b'\310\336\037\000' _DERIVATIVELIMITORDER.fields_by_name['margin']._options = None - _DERIVATIVELIMITORDER.fields_by_name['margin']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVELIMITORDER.fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVELIMITORDER.fields_by_name['fillable']._options = None - _DERIVATIVELIMITORDER.fields_by_name['fillable']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVELIMITORDER.fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVELIMITORDER.fields_by_name['trigger_price']._options = None - _DERIVATIVELIMITORDER.fields_by_name['trigger_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVELIMITORDER.fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETORDER.fields_by_name['order_info']._options = None _DERIVATIVEMARKETORDER.fields_by_name['order_info']._serialized_options = b'\310\336\037\000' _DERIVATIVEMARKETORDER.fields_by_name['margin']._options = None - _DERIVATIVEMARKETORDER.fields_by_name['margin']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKETORDER.fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETORDER.fields_by_name['margin_hold']._options = None - _DERIVATIVEMARKETORDER.fields_by_name['margin_hold']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKETORDER.fields_by_name['margin_hold']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETORDER.fields_by_name['trigger_price']._options = None - _DERIVATIVEMARKETORDER.fields_by_name['trigger_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVEMARKETORDER.fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _POSITION.fields_by_name['quantity']._options = None - _POSITION.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _POSITION.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _POSITION.fields_by_name['entry_price']._options = None - _POSITION.fields_by_name['entry_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _POSITION.fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _POSITION.fields_by_name['margin']._options = None - _POSITION.fields_by_name['margin']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _POSITION.fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _POSITION.fields_by_name['cumulative_funding_entry']._options = None - _POSITION.fields_by_name['cumulative_funding_entry']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _POSITION.fields_by_name['cumulative_funding_entry']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRADELOG.fields_by_name['quantity']._options = None - _TRADELOG.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRADELOG.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRADELOG.fields_by_name['price']._options = None - _TRADELOG.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRADELOG.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRADELOG.fields_by_name['fee']._options = None - _TRADELOG.fields_by_name['fee']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRADELOG.fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRADELOG.fields_by_name['fee_recipient_address']._options = None _TRADELOG.fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' _POSITIONDELTA.fields_by_name['execution_quantity']._options = None - _POSITIONDELTA.fields_by_name['execution_quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _POSITIONDELTA.fields_by_name['execution_quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _POSITIONDELTA.fields_by_name['execution_margin']._options = None - _POSITIONDELTA.fields_by_name['execution_margin']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _POSITIONDELTA.fields_by_name['execution_margin']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _POSITIONDELTA.fields_by_name['execution_price']._options = None - _POSITIONDELTA.fields_by_name['execution_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _POSITIONDELTA.fields_by_name['execution_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVETRADELOG.fields_by_name['payout']._options = None - _DERIVATIVETRADELOG.fields_by_name['payout']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVETRADELOG.fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVETRADELOG.fields_by_name['fee']._options = None - _DERIVATIVETRADELOG.fields_by_name['fee']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVETRADELOG.fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVETRADELOG.fields_by_name['fee_recipient_address']._options = None _DERIVATIVETRADELOG.fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' _POINTSMULTIPLIER.fields_by_name['maker_points_multiplier']._options = None - _POINTSMULTIPLIER.fields_by_name['maker_points_multiplier']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _POINTSMULTIPLIER.fields_by_name['maker_points_multiplier']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _POINTSMULTIPLIER.fields_by_name['taker_points_multiplier']._options = None - _POINTSMULTIPLIER.fields_by_name['taker_points_multiplier']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _POINTSMULTIPLIER.fields_by_name['taker_points_multiplier']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRADINGREWARDCAMPAIGNBOOSTINFO.fields_by_name['spot_market_multipliers']._options = None _TRADINGREWARDCAMPAIGNBOOSTINFO.fields_by_name['spot_market_multipliers']._serialized_options = b'\310\336\037\000' _TRADINGREWARDCAMPAIGNBOOSTINFO.fields_by_name['derivative_market_multipliers']._options = None @@ -257,133 +258,133 @@ _CAMPAIGNREWARDPOOL.fields_by_name['max_campaign_rewards']._options = None _CAMPAIGNREWARDPOOL.fields_by_name['max_campaign_rewards']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _FEEDISCOUNTTIERINFO.fields_by_name['maker_discount_rate']._options = None - _FEEDISCOUNTTIERINFO.fields_by_name['maker_discount_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _FEEDISCOUNTTIERINFO.fields_by_name['maker_discount_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _FEEDISCOUNTTIERINFO.fields_by_name['taker_discount_rate']._options = None - _FEEDISCOUNTTIERINFO.fields_by_name['taker_discount_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _FEEDISCOUNTTIERINFO.fields_by_name['taker_discount_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _FEEDISCOUNTTIERINFO.fields_by_name['staked_amount']._options = None - _FEEDISCOUNTTIERINFO.fields_by_name['staked_amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _FEEDISCOUNTTIERINFO.fields_by_name['staked_amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _FEEDISCOUNTTIERINFO.fields_by_name['volume']._options = None - _FEEDISCOUNTTIERINFO.fields_by_name['volume']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _FEEDISCOUNTTIERINFO.fields_by_name['volume']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _VOLUMERECORD.fields_by_name['maker_volume']._options = None - _VOLUMERECORD.fields_by_name['maker_volume']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _VOLUMERECORD.fields_by_name['maker_volume']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _VOLUMERECORD.fields_by_name['taker_volume']._options = None - _VOLUMERECORD.fields_by_name['taker_volume']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _VOLUMERECORD.fields_by_name['taker_volume']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _ACCOUNTREWARDS.fields_by_name['rewards']._options = None _ACCOUNTREWARDS.fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _TRADERECORD.fields_by_name['price']._options = None - _TRADERECORD.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRADERECORD.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRADERECORD.fields_by_name['quantity']._options = None - _TRADERECORD.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRADERECORD.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _LEVEL.fields_by_name['p']._options = None - _LEVEL.fields_by_name['p']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _LEVEL.fields_by_name['p']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _LEVEL.fields_by_name['q']._options = None - _LEVEL.fields_by_name['q']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _LEVEL.fields_by_name['q']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MARKETVOLUME.fields_by_name['volume']._options = None _MARKETVOLUME.fields_by_name['volume']._serialized_options = b'\310\336\037\000' - _ATOMICMARKETORDERACCESSLEVEL._serialized_start=12425 - _ATOMICMARKETORDERACCESSLEVEL._serialized_end=12541 - _MARKETSTATUS._serialized_start=12543 - _MARKETSTATUS._serialized_end=12627 - _ORDERTYPE._serialized_start=12630 - _ORDERTYPE._serialized_end=12945 - _EXECUTIONTYPE._serialized_start=12948 - _EXECUTIONTYPE._serialized_end=13123 - _ORDERMASK._serialized_start=13126 - _ORDERMASK._serialized_end=13391 - _PARAMS._serialized_start=167 - _PARAMS._serialized_end=2071 - _MARKETFEEMULTIPLIER._serialized_start=2073 - _MARKETFEEMULTIPLIER._serialized_end=2191 - _DERIVATIVEMARKET._serialized_start=2194 - _DERIVATIVEMARKET._serialized_end=3025 - _BINARYOPTIONSMARKET._serialized_start=3028 - _BINARYOPTIONSMARKET._serialized_end=3835 - _EXPIRYFUTURESMARKETINFO._serialized_start=3838 - _EXPIRYFUTURESMARKETINFO._serialized_end=4112 - _PERPETUALMARKETINFO._serialized_start=4115 - _PERPETUALMARKETINFO._serialized_end=4372 - _PERPETUALMARKETFUNDING._serialized_start=4375 - _PERPETUALMARKETFUNDING._serialized_end=4573 - _DERIVATIVEMARKETSETTLEMENTINFO._serialized_start=4575 - _DERIVATIVEMARKETSETTLEMENTINFO._serialized_end=4700 - _NEXTFUNDINGTIMESTAMP._serialized_start=4702 - _NEXTFUNDINGTIMESTAMP._serialized_end=4748 - _MIDPRICEANDTOB._serialized_start=4751 - _MIDPRICEANDTOB._serialized_end=4979 - _SPOTMARKET._serialized_start=4982 - _SPOTMARKET._serialized_end=5509 - _DEPOSIT._serialized_start=5512 - _DEPOSIT._serialized_end=5667 - _SUBACCOUNTTRADENONCE._serialized_start=5669 - _SUBACCOUNTTRADENONCE._serialized_end=5706 - _ORDERINFO._serialized_start=5709 - _ORDERINFO._serialized_end=5895 - _SPOTORDER._serialized_start=5898 - _SPOTORDER._serialized_end=6123 - _SPOTLIMITORDER._serialized_start=6126 - _SPOTLIMITORDER._serialized_end=6423 - _SPOTMARKETORDER._serialized_start=6426 - _SPOTMARKETORDER._serialized_end=6728 - _DERIVATIVEORDER._serialized_start=6731 - _DERIVATIVEORDER._serialized_end=7026 - _SUBACCOUNTORDERBOOKMETADATA._serialized_start=7029 - _SUBACCOUNTORDERBOOKMETADATA._serialized_end=7390 - _SUBACCOUNTORDER._serialized_start=7393 - _SUBACCOUNTORDER._serialized_end=7561 - _SUBACCOUNTORDERDATA._serialized_start=7563 - _SUBACCOUNTORDERDATA._serialized_end=7664 - _DERIVATIVELIMITORDER._serialized_start=7667 - _DERIVATIVELIMITORDER._serialized_end=8034 - _DERIVATIVEMARKETORDER._serialized_start=8037 - _DERIVATIVEMARKETORDER._serialized_end=8408 - _POSITION._serialized_start=8411 - _POSITION._serialized_end=8718 - _MARKETORDERINDICATOR._serialized_start=8720 - _MARKETORDERINDICATOR._serialized_end=8776 - _TRADELOG._serialized_start=8779 - _TRADELOG._serialized_end=9059 - _POSITIONDELTA._serialized_start=9062 - _POSITIONDELTA._serialized_end=9317 - _DERIVATIVETRADELOG._serialized_start=9320 - _DERIVATIVETRADELOG._serialized_end=9612 - _SUBACCOUNTPOSITION._serialized_start=9614 - _SUBACCOUNTPOSITION._serialized_end=9713 - _SUBACCOUNTDEPOSIT._serialized_start=9715 - _SUBACCOUNTDEPOSIT._serialized_end=9811 - _DEPOSITUPDATE._serialized_start=9813 - _DEPOSITUPDATE._serialized_end=9908 - _POINTSMULTIPLIER._serialized_start=9911 - _POINTSMULTIPLIER._serialized_end=10091 - _TRADINGREWARDCAMPAIGNBOOSTINFO._serialized_start=10094 - _TRADINGREWARDCAMPAIGNBOOSTINFO._serialized_end=10374 - _CAMPAIGNREWARDPOOL._serialized_start=10377 - _CAMPAIGNREWARDPOOL._serialized_end=10529 - _TRADINGREWARDCAMPAIGNINFO._serialized_start=10532 - _TRADINGREWARDCAMPAIGNINFO._serialized_end=10744 - _FEEDISCOUNTTIERINFO._serialized_start=10747 - _FEEDISCOUNTTIERINFO._serialized_end=11057 - _FEEDISCOUNTSCHEDULE._serialized_start=11060 - _FEEDISCOUNTSCHEDULE._serialized_end=11252 - _FEEDISCOUNTTIERTTL._serialized_start=11254 - _FEEDISCOUNTTIERTTL._serialized_end=11311 - _VOLUMERECORD._serialized_start=11314 - _VOLUMERECORD._serialized_end=11468 - _ACCOUNTREWARDS._serialized_start=11470 - _ACCOUNTREWARDS._serialized_end=11597 - _TRADERECORDS._serialized_start=11599 - _TRADERECORDS._serialized_end=11703 - _SUBACCOUNTIDS._serialized_start=11705 - _SUBACCOUNTIDS._serialized_end=11744 - _TRADERECORD._serialized_start=11747 - _TRADERECORD._serialized_end=11908 - _LEVEL._serialized_start=11910 - _LEVEL._serialized_end=12035 - _AGGREGATESUBACCOUNTVOLUMERECORD._serialized_start=12037 - _AGGREGATESUBACCOUNTVOLUMERECORD._serialized_end=12159 - _AGGREGATEACCOUNTVOLUMERECORD._serialized_start=12161 - _AGGREGATEACCOUNTVOLUMERECORD._serialized_end=12274 - _MARKETVOLUME._serialized_start=12276 - _MARKETVOLUME._serialized_end=12373 - _DENOMDECIMALS._serialized_start=12375 - _DENOMDECIMALS._serialized_end=12423 + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_start=12425 + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_end=12541 + _globals['_MARKETSTATUS']._serialized_start=12543 + _globals['_MARKETSTATUS']._serialized_end=12627 + _globals['_ORDERTYPE']._serialized_start=12630 + _globals['_ORDERTYPE']._serialized_end=12945 + _globals['_EXECUTIONTYPE']._serialized_start=12948 + _globals['_EXECUTIONTYPE']._serialized_end=13123 + _globals['_ORDERMASK']._serialized_start=13126 + _globals['_ORDERMASK']._serialized_end=13391 + _globals['_PARAMS']._serialized_start=167 + _globals['_PARAMS']._serialized_end=2071 + _globals['_MARKETFEEMULTIPLIER']._serialized_start=2073 + _globals['_MARKETFEEMULTIPLIER']._serialized_end=2191 + _globals['_DERIVATIVEMARKET']._serialized_start=2194 + _globals['_DERIVATIVEMARKET']._serialized_end=3025 + _globals['_BINARYOPTIONSMARKET']._serialized_start=3028 + _globals['_BINARYOPTIONSMARKET']._serialized_end=3835 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=3838 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=4112 + _globals['_PERPETUALMARKETINFO']._serialized_start=4115 + _globals['_PERPETUALMARKETINFO']._serialized_end=4372 + _globals['_PERPETUALMARKETFUNDING']._serialized_start=4375 + _globals['_PERPETUALMARKETFUNDING']._serialized_end=4573 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_start=4575 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_end=4700 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_start=4702 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_end=4748 + _globals['_MIDPRICEANDTOB']._serialized_start=4751 + _globals['_MIDPRICEANDTOB']._serialized_end=4979 + _globals['_SPOTMARKET']._serialized_start=4982 + _globals['_SPOTMARKET']._serialized_end=5509 + _globals['_DEPOSIT']._serialized_start=5512 + _globals['_DEPOSIT']._serialized_end=5667 + _globals['_SUBACCOUNTTRADENONCE']._serialized_start=5669 + _globals['_SUBACCOUNTTRADENONCE']._serialized_end=5706 + _globals['_ORDERINFO']._serialized_start=5709 + _globals['_ORDERINFO']._serialized_end=5895 + _globals['_SPOTORDER']._serialized_start=5898 + _globals['_SPOTORDER']._serialized_end=6123 + _globals['_SPOTLIMITORDER']._serialized_start=6126 + _globals['_SPOTLIMITORDER']._serialized_end=6423 + _globals['_SPOTMARKETORDER']._serialized_start=6426 + _globals['_SPOTMARKETORDER']._serialized_end=6728 + _globals['_DERIVATIVEORDER']._serialized_start=6731 + _globals['_DERIVATIVEORDER']._serialized_end=7026 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_start=7029 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_end=7390 + _globals['_SUBACCOUNTORDER']._serialized_start=7393 + _globals['_SUBACCOUNTORDER']._serialized_end=7561 + _globals['_SUBACCOUNTORDERDATA']._serialized_start=7563 + _globals['_SUBACCOUNTORDERDATA']._serialized_end=7664 + _globals['_DERIVATIVELIMITORDER']._serialized_start=7667 + _globals['_DERIVATIVELIMITORDER']._serialized_end=8034 + _globals['_DERIVATIVEMARKETORDER']._serialized_start=8037 + _globals['_DERIVATIVEMARKETORDER']._serialized_end=8408 + _globals['_POSITION']._serialized_start=8411 + _globals['_POSITION']._serialized_end=8718 + _globals['_MARKETORDERINDICATOR']._serialized_start=8720 + _globals['_MARKETORDERINDICATOR']._serialized_end=8776 + _globals['_TRADELOG']._serialized_start=8779 + _globals['_TRADELOG']._serialized_end=9059 + _globals['_POSITIONDELTA']._serialized_start=9062 + _globals['_POSITIONDELTA']._serialized_end=9317 + _globals['_DERIVATIVETRADELOG']._serialized_start=9320 + _globals['_DERIVATIVETRADELOG']._serialized_end=9612 + _globals['_SUBACCOUNTPOSITION']._serialized_start=9614 + _globals['_SUBACCOUNTPOSITION']._serialized_end=9713 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=9715 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=9811 + _globals['_DEPOSITUPDATE']._serialized_start=9813 + _globals['_DEPOSITUPDATE']._serialized_end=9908 + _globals['_POINTSMULTIPLIER']._serialized_start=9911 + _globals['_POINTSMULTIPLIER']._serialized_end=10091 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=10094 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=10374 + _globals['_CAMPAIGNREWARDPOOL']._serialized_start=10377 + _globals['_CAMPAIGNREWARDPOOL']._serialized_end=10529 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=10532 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=10744 + _globals['_FEEDISCOUNTTIERINFO']._serialized_start=10747 + _globals['_FEEDISCOUNTTIERINFO']._serialized_end=11057 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=11060 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=11252 + _globals['_FEEDISCOUNTTIERTTL']._serialized_start=11254 + _globals['_FEEDISCOUNTTIERTTL']._serialized_end=11311 + _globals['_VOLUMERECORD']._serialized_start=11314 + _globals['_VOLUMERECORD']._serialized_end=11468 + _globals['_ACCOUNTREWARDS']._serialized_start=11470 + _globals['_ACCOUNTREWARDS']._serialized_end=11597 + _globals['_TRADERECORDS']._serialized_start=11599 + _globals['_TRADERECORDS']._serialized_end=11703 + _globals['_SUBACCOUNTIDS']._serialized_start=11705 + _globals['_SUBACCOUNTIDS']._serialized_end=11744 + _globals['_TRADERECORD']._serialized_start=11747 + _globals['_TRADERECORD']._serialized_end=11908 + _globals['_LEVEL']._serialized_start=11910 + _globals['_LEVEL']._serialized_end=12035 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=12037 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=12159 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=12161 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=12274 + _globals['_MARKETVOLUME']._serialized_start=12276 + _globals['_MARKETVOLUME']._serialized_end=12373 + _globals['_DENOMDECIMALS']._serialized_start=12375 + _globals['_DENOMDECIMALS']._serialized_end=12423 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py index 321cedde..2f13d7b7 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/exchange/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +16,11 @@ from 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\"\x91\x15\n\x0cGenesisState\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\x12<\n\x0cspot_markets\x18\x02 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarket\x12H\n\x12\x64\x65rivative_markets\x18\x03 \x03(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarket\x12G\n\x0espot_orderbook\x18\x04 \x03(\x0b\x32).injective.exchange.v1beta1.SpotOrderBookB\x04\xc8\xde\x1f\x00\x12S\n\x14\x64\x65rivative_orderbook\x18\x05 \x03(\x0b\x32/.injective.exchange.v1beta1.DerivativeOrderBookB\x04\xc8\xde\x1f\x00\x12;\n\x08\x62\x61lances\x18\x06 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00\x12G\n\tpositions\x18\x07 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00\x12R\n\x17subaccount_trade_nonces\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.SubaccountNonceB\x04\xc8\xde\x1f\x00\x12h\n expiry_futures_market_info_state\x18\t \x03(\x0b\x32\x38.injective.exchange.v1beta1.ExpiryFuturesMarketInfoStateB\x04\xc8\xde\x1f\x00\x12T\n\x15perpetual_market_info\x18\n \x03(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00\x12\x65\n\x1eperpetual_market_funding_state\x18\x0b \x03(\x0b\x32\x37.injective.exchange.v1beta1.PerpetualMarketFundingStateB\x04\xc8\xde\x1f\x00\x12p\n&derivative_market_settlement_scheduled\x18\x0c \x03(\x0b\x32:.injective.exchange.v1beta1.DerivativeMarketSettlementInfoB\x04\xc8\xde\x1f\x00\x12 \n\x18is_spot_exchange_enabled\x18\r \x01(\x08\x12\'\n\x1fis_derivatives_exchange_enabled\x18\x0e \x01(\x08\x12[\n\x1ctrading_reward_campaign_info\x18\x0f \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12]\n%trading_reward_pool_campaign_schedule\x18\x10 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12n\n&trading_reward_campaign_account_points\x18\x11 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPoints\x12N\n\x15\x66\x65\x65_discount_schedule\x18\x12 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule\x12\\\n\x1d\x66\x65\x65_discount_account_tier_ttl\x18\x13 \x03(\x0b\x32\x35.injective.exchange.v1beta1.FeeDiscountAccountTierTTL\x12h\n#fee_discount_bucket_volume_accounts\x18\x14 \x03(\x0b\x32;.injective.exchange.v1beta1.FeeDiscountBucketVolumeAccounts\x12#\n\x1bis_first_fee_cycle_finished\x18\x15 \x01(\x08\x12\x65\n-pending_trading_reward_pool_campaign_schedule\x18\x16 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12}\n.pending_trading_reward_campaign_account_points\x18\x17 \x03(\x0b\x32\x45.injective.exchange.v1beta1.TradingRewardCampaignAccountPendingPoints\x12!\n\x19rewards_opt_out_addresses\x18\x18 \x03(\t\x12J\n\x18historical_trade_records\x18\x19 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecords\x12O\n\x16\x62inary_options_markets\x18\x1a \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarket\x12:\n2binary_options_market_ids_scheduled_for_settlement\x18\x1b \x03(\t\x12\x30\n(spot_market_ids_scheduled_to_force_close\x18\x1c \x03(\t\x12G\n\x0e\x64\x65nom_decimals\x18\x1d \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00\x12\x65\n!conditional_derivative_orderbooks\x18\x1e \x03(\x0b\x32:.injective.exchange.v1beta1.ConditionalDerivativeOrderBook\x12O\n\x16market_fee_multipliers\x18\x1f \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplier\x12J\n\x13orderbook_sequences\x18 \x03(\x0b\x32-.injective.exchange.v1beta1.OrderbookSequence\x12W\n\x12subaccount_volumes\x18! \x03(\x0b\x32;.injective.exchange.v1beta1.AggregateSubaccountVolumeRecord\x12@\n\x0emarket_volumes\x18\" \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"8\n\x11OrderbookSequence\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\tmarket_id\x18\x02 \x01(\t\"n\n\x19\x46\x65\x65\x44iscountAccountTierTTL\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12@\n\x08tier_ttl\x18\x02 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTL\"\x84\x01\n\x1f\x46\x65\x65\x44iscountBucketVolumeAccounts\x12\x1e\n\x16\x62ucket_start_timestamp\x18\x01 \x01(\x03\x12\x41\n\x0e\x61\x63\x63ount_volume\x18\x02 \x03(\x0b\x32).injective.exchange.v1beta1.AccountVolume\"`\n\rAccountVolume\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12>\n\x06volume\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"u\n\"TradingRewardCampaignAccountPoints\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12>\n\x06points\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\xa8\x01\n)TradingRewardCampaignAccountPendingPoints\x12#\n\x1breward_pool_start_timestamp\x18\x01 \x01(\x03\x12V\n\x0e\x61\x63\x63ount_points\x18\x02 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPoints\"{\n\rSpotOrderBook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x11\n\tisBuySide\x18\x02 \x01(\x08\x12:\n\x06orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrder:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x87\x01\n\x13\x44\x65rivativeOrderBook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x11\n\tisBuySide\x18\x02 \x01(\x08\x12@\n\x06orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrder:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xf3\x02\n\x1e\x43onditionalDerivativeOrderBook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12J\n\x10limit_buy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrder\x12L\n\x11market_buy_orders\x18\x03 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrder\x12K\n\x11limit_sell_orders\x18\x04 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrder\x12M\n\x12market_sell_orders\x18\x05 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrder:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"p\n\x07\x42\x61lance\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x35\n\x08\x64\x65posits\x18\x03 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x80\x01\n\x12\x44\x65rivativePosition\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x36\n\x08position\x18\x03 \x01(\x0b\x32$.injective.exchange.v1beta1.Position:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x8a\x01\n\x0fSubaccountNonce\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12V\n\x16subaccount_trade_nonce\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.SubaccountTradeNonceB\x04\xc8\xde\x1f\x00:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"{\n\x1c\x45xpiryFuturesMarketInfoState\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12H\n\x0bmarket_info\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfo\"u\n\x1bPerpetualMarketFundingState\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x43\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\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\"\x91\x15\n\x0cGenesisState\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\x12<\n\x0cspot_markets\x18\x02 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarket\x12H\n\x12\x64\x65rivative_markets\x18\x03 \x03(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarket\x12G\n\x0espot_orderbook\x18\x04 \x03(\x0b\x32).injective.exchange.v1beta1.SpotOrderBookB\x04\xc8\xde\x1f\x00\x12S\n\x14\x64\x65rivative_orderbook\x18\x05 \x03(\x0b\x32/.injective.exchange.v1beta1.DerivativeOrderBookB\x04\xc8\xde\x1f\x00\x12;\n\x08\x62\x61lances\x18\x06 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00\x12G\n\tpositions\x18\x07 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00\x12R\n\x17subaccount_trade_nonces\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.SubaccountNonceB\x04\xc8\xde\x1f\x00\x12h\n expiry_futures_market_info_state\x18\t \x03(\x0b\x32\x38.injective.exchange.v1beta1.ExpiryFuturesMarketInfoStateB\x04\xc8\xde\x1f\x00\x12T\n\x15perpetual_market_info\x18\n \x03(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00\x12\x65\n\x1eperpetual_market_funding_state\x18\x0b \x03(\x0b\x32\x37.injective.exchange.v1beta1.PerpetualMarketFundingStateB\x04\xc8\xde\x1f\x00\x12p\n&derivative_market_settlement_scheduled\x18\x0c \x03(\x0b\x32:.injective.exchange.v1beta1.DerivativeMarketSettlementInfoB\x04\xc8\xde\x1f\x00\x12 \n\x18is_spot_exchange_enabled\x18\r \x01(\x08\x12\'\n\x1fis_derivatives_exchange_enabled\x18\x0e \x01(\x08\x12[\n\x1ctrading_reward_campaign_info\x18\x0f \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12]\n%trading_reward_pool_campaign_schedule\x18\x10 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12n\n&trading_reward_campaign_account_points\x18\x11 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPoints\x12N\n\x15\x66\x65\x65_discount_schedule\x18\x12 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule\x12\\\n\x1d\x66\x65\x65_discount_account_tier_ttl\x18\x13 \x03(\x0b\x32\x35.injective.exchange.v1beta1.FeeDiscountAccountTierTTL\x12h\n#fee_discount_bucket_volume_accounts\x18\x14 \x03(\x0b\x32;.injective.exchange.v1beta1.FeeDiscountBucketVolumeAccounts\x12#\n\x1bis_first_fee_cycle_finished\x18\x15 \x01(\x08\x12\x65\n-pending_trading_reward_pool_campaign_schedule\x18\x16 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12}\n.pending_trading_reward_campaign_account_points\x18\x17 \x03(\x0b\x32\x45.injective.exchange.v1beta1.TradingRewardCampaignAccountPendingPoints\x12!\n\x19rewards_opt_out_addresses\x18\x18 \x03(\t\x12J\n\x18historical_trade_records\x18\x19 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecords\x12O\n\x16\x62inary_options_markets\x18\x1a \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarket\x12:\n2binary_options_market_ids_scheduled_for_settlement\x18\x1b \x03(\t\x12\x30\n(spot_market_ids_scheduled_to_force_close\x18\x1c \x03(\t\x12G\n\x0e\x64\x65nom_decimals\x18\x1d \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00\x12\x65\n!conditional_derivative_orderbooks\x18\x1e \x03(\x0b\x32:.injective.exchange.v1beta1.ConditionalDerivativeOrderBook\x12O\n\x16market_fee_multipliers\x18\x1f \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplier\x12J\n\x13orderbook_sequences\x18 \x03(\x0b\x32-.injective.exchange.v1beta1.OrderbookSequence\x12W\n\x12subaccount_volumes\x18! \x03(\x0b\x32;.injective.exchange.v1beta1.AggregateSubaccountVolumeRecord\x12@\n\x0emarket_volumes\x18\" \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"8\n\x11OrderbookSequence\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\tmarket_id\x18\x02 \x01(\t\"n\n\x19\x46\x65\x65\x44iscountAccountTierTTL\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12@\n\x08tier_ttl\x18\x02 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTL\"\x84\x01\n\x1f\x46\x65\x65\x44iscountBucketVolumeAccounts\x12\x1e\n\x16\x62ucket_start_timestamp\x18\x01 \x01(\x03\x12\x41\n\x0e\x61\x63\x63ount_volume\x18\x02 \x03(\x0b\x32).injective.exchange.v1beta1.AccountVolume\"`\n\rAccountVolume\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12>\n\x06volume\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"u\n\"TradingRewardCampaignAccountPoints\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12>\n\x06points\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa8\x01\n)TradingRewardCampaignAccountPendingPoints\x12#\n\x1breward_pool_start_timestamp\x18\x01 \x01(\x03\x12V\n\x0e\x61\x63\x63ount_points\x18\x02 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPoints\"{\n\rSpotOrderBook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x11\n\tisBuySide\x18\x02 \x01(\x08\x12:\n\x06orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrder:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x87\x01\n\x13\x44\x65rivativeOrderBook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x11\n\tisBuySide\x18\x02 \x01(\x08\x12@\n\x06orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrder:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf3\x02\n\x1e\x43onditionalDerivativeOrderBook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12J\n\x10limit_buy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrder\x12L\n\x11market_buy_orders\x18\x03 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrder\x12K\n\x11limit_sell_orders\x18\x04 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrder\x12M\n\x12market_sell_orders\x18\x05 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrder:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"p\n\x07\x42\x61lance\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x35\n\x08\x64\x65posits\x18\x03 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x80\x01\n\x12\x44\x65rivativePosition\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x36\n\x08position\x18\x03 \x01(\x0b\x32$.injective.exchange.v1beta1.Position:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8a\x01\n\x0fSubaccountNonce\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12V\n\x16subaccount_trade_nonce\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.SubaccountTradeNonceB\x04\xc8\xde\x1f\x00:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"{\n\x1c\x45xpiryFuturesMarketInfoState\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12H\n\x0bmarket_info\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfo\"u\n\x1bPerpetualMarketFundingState\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x43\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -47,51 +48,51 @@ _GENESISSTATE.fields_by_name['denom_decimals']._options = None _GENESISSTATE.fields_by_name['denom_decimals']._serialized_options = b'\310\336\037\000' _ACCOUNTVOLUME.fields_by_name['volume']._options = None - _ACCOUNTVOLUME.fields_by_name['volume']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _ACCOUNTVOLUME.fields_by_name['volume']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRADINGREWARDCAMPAIGNACCOUNTPOINTS.fields_by_name['points']._options = None - _TRADINGREWARDCAMPAIGNACCOUNTPOINTS.fields_by_name['points']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRADINGREWARDCAMPAIGNACCOUNTPOINTS.fields_by_name['points']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTORDERBOOK._options = None - _SPOTORDERBOOK._serialized_options = b'\350\240\037\000\210\240\037\000' + _SPOTORDERBOOK._serialized_options = b'\210\240\037\000\350\240\037\000' _DERIVATIVEORDERBOOK._options = None - _DERIVATIVEORDERBOOK._serialized_options = b'\350\240\037\000\210\240\037\000' + _DERIVATIVEORDERBOOK._serialized_options = b'\210\240\037\000\350\240\037\000' _CONDITIONALDERIVATIVEORDERBOOK._options = None - _CONDITIONALDERIVATIVEORDERBOOK._serialized_options = b'\350\240\037\000\210\240\037\000' + _CONDITIONALDERIVATIVEORDERBOOK._serialized_options = b'\210\240\037\000\350\240\037\000' _BALANCE._options = None - _BALANCE._serialized_options = b'\350\240\037\000\210\240\037\000' + _BALANCE._serialized_options = b'\210\240\037\000\350\240\037\000' _DERIVATIVEPOSITION._options = None - _DERIVATIVEPOSITION._serialized_options = b'\350\240\037\000\210\240\037\000' + _DERIVATIVEPOSITION._serialized_options = b'\210\240\037\000\350\240\037\000' _SUBACCOUNTNONCE.fields_by_name['subaccount_trade_nonce']._options = None _SUBACCOUNTNONCE.fields_by_name['subaccount_trade_nonce']._serialized_options = b'\310\336\037\000' _SUBACCOUNTNONCE._options = None - _SUBACCOUNTNONCE._serialized_options = b'\350\240\037\000\210\240\037\000' - _GENESISSTATE._serialized_start=175 - _GENESISSTATE._serialized_end=2880 - _ORDERBOOKSEQUENCE._serialized_start=2882 - _ORDERBOOKSEQUENCE._serialized_end=2938 - _FEEDISCOUNTACCOUNTTIERTTL._serialized_start=2940 - _FEEDISCOUNTACCOUNTTIERTTL._serialized_end=3050 - _FEEDISCOUNTBUCKETVOLUMEACCOUNTS._serialized_start=3053 - _FEEDISCOUNTBUCKETVOLUMEACCOUNTS._serialized_end=3185 - _ACCOUNTVOLUME._serialized_start=3187 - _ACCOUNTVOLUME._serialized_end=3283 - _TRADINGREWARDCAMPAIGNACCOUNTPOINTS._serialized_start=3285 - _TRADINGREWARDCAMPAIGNACCOUNTPOINTS._serialized_end=3402 - _TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS._serialized_start=3405 - _TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS._serialized_end=3573 - _SPOTORDERBOOK._serialized_start=3575 - _SPOTORDERBOOK._serialized_end=3698 - _DERIVATIVEORDERBOOK._serialized_start=3701 - _DERIVATIVEORDERBOOK._serialized_end=3836 - _CONDITIONALDERIVATIVEORDERBOOK._serialized_start=3839 - _CONDITIONALDERIVATIVEORDERBOOK._serialized_end=4210 - _BALANCE._serialized_start=4212 - _BALANCE._serialized_end=4324 - _DERIVATIVEPOSITION._serialized_start=4327 - _DERIVATIVEPOSITION._serialized_end=4455 - _SUBACCOUNTNONCE._serialized_start=4458 - _SUBACCOUNTNONCE._serialized_end=4596 - _EXPIRYFUTURESMARKETINFOSTATE._serialized_start=4598 - _EXPIRYFUTURESMARKETINFOSTATE._serialized_end=4721 - _PERPETUALMARKETFUNDINGSTATE._serialized_start=4723 - _PERPETUALMARKETFUNDINGSTATE._serialized_end=4840 + _SUBACCOUNTNONCE._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_GENESISSTATE']._serialized_start=175 + _globals['_GENESISSTATE']._serialized_end=2880 + _globals['_ORDERBOOKSEQUENCE']._serialized_start=2882 + _globals['_ORDERBOOKSEQUENCE']._serialized_end=2938 + _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_start=2940 + _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_end=3050 + _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_start=3053 + _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_end=3185 + _globals['_ACCOUNTVOLUME']._serialized_start=3187 + _globals['_ACCOUNTVOLUME']._serialized_end=3283 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_start=3285 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_end=3402 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_start=3405 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_end=3573 + _globals['_SPOTORDERBOOK']._serialized_start=3575 + _globals['_SPOTORDERBOOK']._serialized_end=3698 + _globals['_DERIVATIVEORDERBOOK']._serialized_start=3701 + _globals['_DERIVATIVEORDERBOOK']._serialized_end=3836 + _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_start=3839 + _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_end=4210 + _globals['_BALANCE']._serialized_start=4212 + _globals['_BALANCE']._serialized_end=4324 + _globals['_DERIVATIVEPOSITION']._serialized_start=4327 + _globals['_DERIVATIVEPOSITION']._serialized_end=4455 + _globals['_SUBACCOUNTNONCE']._serialized_start=4458 + _globals['_SUBACCOUNTNONCE']._serialized_end=4596 + _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_start=4598 + _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_end=4721 + _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_start=4723 + _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_end=4840 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py index 4d259536..8381f73f 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/exchange/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +18,11 @@ from 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\"6\n\nSubaccount\x12\x0e\n\x06trader\x18\x01 \x01(\t\x12\x18\n\x10subaccount_nonce\x18\x02 \x01(\r\"H\n\x1cQuerySubaccountOrdersRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\"\xaa\x01\n\x1dQuerySubaccountOrdersResponse\x12\x43\n\nbuy_orders\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderData\x12\x44\n\x0bsell_orders\x18\x02 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderData\"\x94\x01\n%SubaccountOrderbookMetadataWithMarket\x12I\n\x08metadata\x18\x01 \x01(\x0b\x32\x37.injective.exchange.v1beta1.SubaccountOrderbookMetadata\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\r\n\x05isBuy\x18\x03 \x01(\x08\"\x1c\n\x1aQueryExchangeParamsRequest\"W\n\x1bQueryExchangeParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\"y\n\x1eQuerySubaccountDepositsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12@\n\nsubaccount\x18\x02 \x01(\x0b\x32&.injective.exchange.v1beta1.SubaccountB\x04\xc8\xde\x1f\x01\"\xd4\x01\n\x1fQuerySubaccountDepositsResponse\x12[\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32I.injective.exchange.v1beta1.QuerySubaccountDepositsResponse.DepositsEntry\x1aT\n\rDepositsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit:\x02\x38\x01\"\x1e\n\x1cQueryExchangeBalancesRequest\"\\\n\x1dQueryExchangeBalancesResponse\x12;\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00\".\n\x1bQueryAggregateVolumeRequest\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\"c\n\x1cQueryAggregateVolumeResponse\x12\x43\n\x11\x61ggregate_volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"D\n\x1cQueryAggregateVolumesRequest\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"\xc8\x01\n\x1dQueryAggregateVolumesResponse\x12[\n\x19\x61ggregate_account_volumes\x18\x01 \x03(\x0b\x32\x38.injective.exchange.v1beta1.AggregateAccountVolumeRecord\x12J\n\x18\x61ggregate_market_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"6\n!QueryAggregateMarketVolumeRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"d\n\"QueryAggregateMarketVolumeResponse\x12>\n\x06volume\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00\")\n\x18QueryDenomDecimalRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\",\n\x19QueryDenomDecimalResponse\x12\x0f\n\x07\x64\x65\x63imal\x18\x01 \x01(\x04\"+\n\x19QueryDenomDecimalsRequest\x12\x0e\n\x06\x64\x65noms\x18\x01 \x03(\t\"e\n\x1aQueryDenomDecimalsResponse\x12G\n\x0e\x64\x65nom_decimals\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00\"8\n\"QueryAggregateMarketVolumesRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"`\n#QueryAggregateMarketVolumesResponse\x12\x39\n\x07volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"E\n\x1dQuerySubaccountDepositRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"W\n\x1eQuerySubaccountDepositResponse\x12\x35\n\x08\x64\x65posits\x18\x01 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit\"=\n\x17QuerySpotMarketsRequest\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"S\n\x18QuerySpotMarketsResponse\x12\x37\n\x07markets\x18\x01 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarket\"+\n\x16QuerySpotMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Q\n\x17QuerySpotMarketResponse\x12\x36\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarket\"\x9e\x02\n\x19QuerySpotOrderbookRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x04\x12\x39\n\norder_side\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderSide\x12Q\n\x19limit_cumulative_notional\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12Q\n\x19limit_cumulative_quantity\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\"\x97\x01\n\x1aQuerySpotOrderbookResponse\x12;\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12<\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"\x95\x01\n\x0e\x46ullSpotMarket\x12\x36\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarket\x12K\n\x11mid_price_and_tob\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01\"a\n\x1bQueryFullSpotMarketsRequest\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\x12\x1e\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08\"[\n\x1cQueryFullSpotMarketsResponse\x12;\n\x07markets\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarket\"O\n\x1aQueryFullSpotMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x1e\n\x16with_mid_price_and_tob\x18\x02 \x01(\x08\"Y\n\x1bQueryFullSpotMarketResponse\x12:\n\x06market\x18\x01 \x01(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarket\"`\n\x1eQuerySpotOrdersByHashesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x14\n\x0corder_hashes\x18\x03 \x03(\t\"d\n\x1fQuerySpotOrdersByHashesResponse\x12\x41\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrder\"H\n\x1cQueryTraderSpotOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\"R\n$QueryAccountAddressSpotOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"\xfd\x01\n\x15TrimmedSpotLimitOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12@\n\x08quantity\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12@\n\x08\x66illable\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\r\n\x05isBuy\x18\x04 \x01(\x08\x12\x12\n\norder_hash\x18\x05 \x01(\t\"b\n\x1dQueryTraderSpotOrdersResponse\x12\x41\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrder\"j\n%QueryAccountAddressSpotOrdersResponse\x12\x41\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrder\"3\n\x1eQuerySpotMidPriceAndTOBRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"\xf5\x01\n\x1fQuerySpotMidPriceAndTOBResponse\x12\x41\n\tmid_price\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x46\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12G\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\"9\n$QueryDerivativeMidPriceAndTOBRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"\xfb\x01\n%QueryDerivativeMidPriceAndTOBResponse\x12\x41\n\tmid_price\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x46\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12G\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\"\x96\x01\n\x1fQueryDerivativeOrderbookRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x04\x12Q\n\x19limit_cumulative_notional\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\"\x9d\x01\n QueryDerivativeOrderbookResponse\x12;\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12<\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"\xf2\x02\n.QueryTraderSpotOrdersToCancelUpToAmountRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x43\n\x0b\x62\x61se_amount\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x44\n\x0cquote_amount\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x42\n\x08strategy\x18\x05 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategy\x12G\n\x0freference_price\x18\x06 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\"\xb3\x02\n4QueryTraderDerivativeOrdersToCancelUpToAmountRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x44\n\x0cquote_amount\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x42\n\x08strategy\x18\x04 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategy\x12G\n\x0freference_price\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\"N\n\"QueryTraderDerivativeOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\"X\n*QueryAccountAddressDerivativeOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"\xce\x02\n\x1bTrimmedDerivativeLimitOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12@\n\x08quantity\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12>\n\x06margin\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12@\n\x08\x66illable\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x18\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuy\x12\x12\n\norder_hash\x18\x06 \x01(\t\"n\n#QueryTraderDerivativeOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrder\"v\n+QueryAccountAddressDerivativeOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrder\"f\n$QueryDerivativeOrdersByHashesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x14\n\x0corder_hashes\x18\x03 \x03(\t\"p\n%QueryDerivativeOrdersByHashesResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrder\"c\n\x1dQueryDerivativeMarketsRequest\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\x12\x1e\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08\"\x8d\x01\n\nPriceLevel\x12=\n\x05price\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12@\n\x08quantity\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\xa6\x01\n\x14PerpetualMarketState\x12\x44\n\x0bmarket_info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfo\x12H\n\x0c\x66unding_info\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFunding\"\x86\x03\n\x14\x46ullDerivativeMarket\x12<\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarket\x12J\n\x0eperpetual_info\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.PerpetualMarketStateH\x00\x12K\n\x0c\x66utures_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoH\x00\x12\x42\n\nmark_price\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12K\n\x11mid_price_and_tob\x18\x05 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01\x42\x06\n\x04info\"c\n\x1eQueryDerivativeMarketsResponse\x12\x41\n\x07markets\x18\x01 \x03(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarket\"1\n\x1cQueryDerivativeMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"a\n\x1dQueryDerivativeMarketResponse\x12@\n\x06market\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarket\"8\n#QueryDerivativeMarketAddressRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"N\n$QueryDerivativeMarketAddressResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\"9\n QuerySubaccountTradeNonceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\"8\n\x1fQuerySubaccountPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\"R\n&QuerySubaccountPositionInMarketRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\"[\n/QuerySubaccountEffectivePositionInMarketRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\"<\n#QuerySubaccountOrderMetadataRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\"g\n QuerySubaccountPositionsResponse\x12\x43\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00\"d\n\'QuerySubaccountPositionInMarketResponse\x12\x39\n\x05state\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionB\x04\xc8\xde\x1f\x01\"\xf5\x01\n\x11\x45\x66\x66\x65\x63tivePosition\x12\x0f\n\x07is_long\x18\x01 \x01(\x08\x12@\n\x08quantity\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x43\n\x0b\x65ntry_price\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12H\n\x10\x65\x66\x66\x65\x63tive_margin\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"v\n0QuerySubaccountEffectivePositionInMarketResponse\x12\x42\n\x05state\x18\x01 \x01(\x0b\x32-.injective.exchange.v1beta1.EffectivePositionB\x04\xc8\xde\x1f\x01\"4\n\x1fQueryPerpetualMarketInfoRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n QueryPerpetualMarketInfoResponse\x12\x43\n\x04info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00\"8\n#QueryExpiryFuturesMarketInfoRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"o\n$QueryExpiryFuturesMarketInfoResponse\x12G\n\x04info\x18\x01 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x00\"7\n\"QueryPerpetualMarketFundingRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"n\n#QueryPerpetualMarketFundingResponse\x12G\n\x05state\x18\x01 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00\"\x81\x01\n$QuerySubaccountOrderMetadataResponse\x12Y\n\x08metadata\x18\x01 \x03(\x0b\x32\x41.injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarketB\x04\xc8\xde\x1f\x00\"2\n!QuerySubaccountTradeNonceResponse\x12\r\n\x05nonce\x18\x01 \x01(\r\"\x19\n\x17QueryModuleStateRequest\"S\n\x18QueryModuleStateResponse\x12\x37\n\x05state\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.GenesisState\"\x17\n\x15QueryPositionsRequest\"]\n\x16QueryPositionsResponse\x12\x43\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00\"Q\n\x1dQueryTradeRewardPointsRequest\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\x12\x1e\n\x16pending_pool_timestamp\x18\x02 \x01(\x03\"u\n\x1eQueryTradeRewardPointsResponse\x12S\n\x1b\x61\x63\x63ount_trade_reward_points\x18\x01 \x03(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"!\n\x1fQueryTradeRewardCampaignRequest\"\xf3\x03\n QueryTradeRewardCampaignResponse\x12[\n\x1ctrading_reward_campaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12]\n%trading_reward_pool_campaign_schedule\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12Q\n\x19total_trade_reward_points\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x65\n-pending_trading_reward_pool_campaign_schedule\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12Y\n!pending_total_trade_reward_points\x18\x05 \x03(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"2\n\x1fQueryIsOptedOutOfRewardsRequest\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\"8\n QueryIsOptedOutOfRewardsResponse\x12\x14\n\x0cis_opted_out\x18\x01 \x01(\x08\"\'\n%QueryOptedOutOfRewardsAccountsRequest\":\n&QueryOptedOutOfRewardsAccountsResponse\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\"5\n\"QueryFeeDiscountAccountInfoRequest\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\"\xc5\x01\n#QueryFeeDiscountAccountInfoResponse\x12\x12\n\ntier_level\x18\x01 \x01(\x04\x12\x45\n\x0c\x61\x63\x63ount_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfo\x12\x43\n\x0b\x61\x63\x63ount_ttl\x18\x03 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTL\"!\n\x1fQueryFeeDiscountScheduleRequest\"r\n QueryFeeDiscountScheduleResponse\x12N\n\x15\x66\x65\x65_discount_schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule\"4\n\x1dQueryBalanceMismatchesRequest\x12\x13\n\x0b\x64ust_factor\x18\x01 \x01(\x03\"\x8a\x03\n\x0f\x42\x61lanceMismatch\x12\x14\n\x0csubaccountId\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x41\n\tavailable\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12=\n\x05total\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x44\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0e\x65xpected_total\x18\x06 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x42\n\ndifference\x18\x07 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"i\n\x1eQueryBalanceMismatchesResponse\x12G\n\x12\x62\x61lance_mismatches\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.BalanceMismatch\"%\n#QueryBalanceWithBalanceHoldsRequest\"\x84\x02\n\x15\x42\x61lanceWithMarginHold\x12\x14\n\x0csubaccountId\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x41\n\tavailable\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12=\n\x05total\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x44\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"}\n$QueryBalanceWithBalanceHoldsResponse\x12U\n\x1a\x62\x61lance_with_balance_holds\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.BalanceWithMarginHold\"\'\n%QueryFeeDiscountTierStatisticsRequest\",\n\rTierStatistic\x12\x0c\n\x04tier\x18\x01 \x01(\x04\x12\r\n\x05\x63ount\x18\x02 \x01(\x04\"g\n&QueryFeeDiscountTierStatisticsResponse\x12=\n\nstatistics\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.TierStatistic\"\x17\n\x15MitoVaultInfosRequest\"\x80\x01\n\x16MitoVaultInfosResponse\x12\x18\n\x10master_addresses\x18\x01 \x03(\t\x12\x1c\n\x14\x64\x65rivative_addresses\x18\x02 \x03(\t\x12\x16\n\x0espot_addresses\x18\x03 \x03(\t\x12\x16\n\x0e\x63w20_addresses\x18\x04 \x03(\t\"6\n\x1dQueryMarketIDFromVaultRequest\x12\x15\n\rvault_address\x18\x01 \x01(\t\"3\n\x1eQueryMarketIDFromVaultResponse\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"7\n\"QueryHistoricalTradeRecordsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"f\n#QueryHistoricalTradeRecordsResponse\x12?\n\rtrade_records\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecords\"y\n\x13TradeHistoryOptions\x12\x1a\n\x12trade_grouping_sec\x18\x01 \x01(\x04\x12\x0f\n\x07max_age\x18\x02 \x01(\x04\x12\x1b\n\x13include_raw_history\x18\x04 \x01(\x08\x12\x18\n\x10include_metadata\x18\x05 \x01(\x08\"\x81\x01\n\x1cQueryMarketVolatilityRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12N\n\x15trade_history_options\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.TradeHistoryOptions\"\xe5\x01\n\x1dQueryMarketVolatilityResponse\x12>\n\nvolatility\x18\x01 \x01(\tB*\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatistics\x12<\n\x0braw_history\x18\x03 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecord\"+\n\x19QueryBinaryMarketsRequest\x12\x0e\n\x06status\x18\x01 \x01(\t\"^\n\x1aQueryBinaryMarketsResponse\x12@\n\x07markets\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarket\"Y\n-QueryTraderDerivativeConditionalOrdersRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\"\xf6\x02\n!TrimmedDerivativeConditionalOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12@\n\x08quantity\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12>\n\x06margin\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x44\n\x0ctriggerPrice\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x18\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuy\x12\x1c\n\x07isLimit\x18\x06 \x01(\x08\x42\x0b\xea\xde\x1f\x07isLimit\x12\x12\n\norder_hash\x18\x07 \x01(\t\"\x7f\n.QueryTraderDerivativeConditionalOrdersResponse\x12M\n\x06orders\x18\x01 \x03(\x0b\x32=.injective.exchange.v1beta1.TrimmedDerivativeConditionalOrder\"C\n.QueryMarketAtomicExecutionFeeMultiplierRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"u\n/QueryMarketAtomicExecutionFeeMultiplierResponse\x12\x42\n\nmultiplier\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00*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`\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_multiplierBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\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\"6\n\nSubaccount\x12\x0e\n\x06trader\x18\x01 \x01(\t\x12\x18\n\x10subaccount_nonce\x18\x02 \x01(\r\"H\n\x1cQuerySubaccountOrdersRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\"\xaa\x01\n\x1dQuerySubaccountOrdersResponse\x12\x43\n\nbuy_orders\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderData\x12\x44\n\x0bsell_orders\x18\x02 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderData\"\x94\x01\n%SubaccountOrderbookMetadataWithMarket\x12I\n\x08metadata\x18\x01 \x01(\x0b\x32\x37.injective.exchange.v1beta1.SubaccountOrderbookMetadata\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\r\n\x05isBuy\x18\x03 \x01(\x08\"\x1c\n\x1aQueryExchangeParamsRequest\"W\n\x1bQueryExchangeParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\"y\n\x1eQuerySubaccountDepositsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12@\n\nsubaccount\x18\x02 \x01(\x0b\x32&.injective.exchange.v1beta1.SubaccountB\x04\xc8\xde\x1f\x01\"\xd4\x01\n\x1fQuerySubaccountDepositsResponse\x12[\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32I.injective.exchange.v1beta1.QuerySubaccountDepositsResponse.DepositsEntry\x1aT\n\rDepositsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit:\x02\x38\x01\"\x1e\n\x1cQueryExchangeBalancesRequest\"\\\n\x1dQueryExchangeBalancesResponse\x12;\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00\".\n\x1bQueryAggregateVolumeRequest\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\"c\n\x1cQueryAggregateVolumeResponse\x12\x43\n\x11\x61ggregate_volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"D\n\x1cQueryAggregateVolumesRequest\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"\xc8\x01\n\x1dQueryAggregateVolumesResponse\x12[\n\x19\x61ggregate_account_volumes\x18\x01 \x03(\x0b\x32\x38.injective.exchange.v1beta1.AggregateAccountVolumeRecord\x12J\n\x18\x61ggregate_market_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"6\n!QueryAggregateMarketVolumeRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"d\n\"QueryAggregateMarketVolumeResponse\x12>\n\x06volume\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00\")\n\x18QueryDenomDecimalRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\",\n\x19QueryDenomDecimalResponse\x12\x0f\n\x07\x64\x65\x63imal\x18\x01 \x01(\x04\"+\n\x19QueryDenomDecimalsRequest\x12\x0e\n\x06\x64\x65noms\x18\x01 \x03(\t\"e\n\x1aQueryDenomDecimalsResponse\x12G\n\x0e\x64\x65nom_decimals\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00\"8\n\"QueryAggregateMarketVolumesRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"`\n#QueryAggregateMarketVolumesResponse\x12\x39\n\x07volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"E\n\x1dQuerySubaccountDepositRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"W\n\x1eQuerySubaccountDepositResponse\x12\x35\n\x08\x64\x65posits\x18\x01 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit\"=\n\x17QuerySpotMarketsRequest\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"S\n\x18QuerySpotMarketsResponse\x12\x37\n\x07markets\x18\x01 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarket\"+\n\x16QuerySpotMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Q\n\x17QuerySpotMarketResponse\x12\x36\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarket\"\x9e\x02\n\x19QuerySpotOrderbookRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x04\x12\x39\n\norder_side\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderSide\x12Q\n\x19limit_cumulative_notional\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Q\n\x19limit_cumulative_quantity\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x97\x01\n\x1aQuerySpotOrderbookResponse\x12;\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12<\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"\x95\x01\n\x0e\x46ullSpotMarket\x12\x36\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarket\x12K\n\x11mid_price_and_tob\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01\"a\n\x1bQueryFullSpotMarketsRequest\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\x12\x1e\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08\"[\n\x1cQueryFullSpotMarketsResponse\x12;\n\x07markets\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarket\"O\n\x1aQueryFullSpotMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x1e\n\x16with_mid_price_and_tob\x18\x02 \x01(\x08\"Y\n\x1bQueryFullSpotMarketResponse\x12:\n\x06market\x18\x01 \x01(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarket\"`\n\x1eQuerySpotOrdersByHashesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x14\n\x0corder_hashes\x18\x03 \x03(\t\"d\n\x1fQuerySpotOrdersByHashesResponse\x12\x41\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrder\"H\n\x1cQueryTraderSpotOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\"R\n$QueryAccountAddressSpotOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"\xfd\x01\n\x15TrimmedSpotLimitOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x66illable\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\r\n\x05isBuy\x18\x04 \x01(\x08\x12\x12\n\norder_hash\x18\x05 \x01(\t\"b\n\x1dQueryTraderSpotOrdersResponse\x12\x41\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrder\"j\n%QueryAccountAddressSpotOrdersResponse\x12\x41\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrder\"3\n\x1eQuerySpotMidPriceAndTOBRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"\xf5\x01\n\x1fQuerySpotMidPriceAndTOBResponse\x12\x41\n\tmid_price\x18\x01 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"9\n$QueryDerivativeMidPriceAndTOBRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"\xfb\x01\n%QueryDerivativeMidPriceAndTOBResponse\x12\x41\n\tmid_price\x18\x01 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x96\x01\n\x1fQueryDerivativeOrderbookRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x04\x12Q\n\x19limit_cumulative_notional\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x9d\x01\n QueryDerivativeOrderbookResponse\x12;\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12<\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"\xf2\x02\n.QueryTraderSpotOrdersToCancelUpToAmountRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x43\n\x0b\x62\x61se_amount\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0cquote_amount\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x42\n\x08strategy\x18\x05 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategy\x12G\n\x0freference_price\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xb3\x02\n4QueryTraderDerivativeOrdersToCancelUpToAmountRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x44\n\x0cquote_amount\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x42\n\x08strategy\x18\x04 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategy\x12G\n\x0freference_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"N\n\"QueryTraderDerivativeOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\"X\n*QueryAccountAddressDerivativeOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"\xce\x02\n\x1bTrimmedDerivativeLimitOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x66illable\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x18\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuy\x12\x12\n\norder_hash\x18\x06 \x01(\t\"n\n#QueryTraderDerivativeOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrder\"v\n+QueryAccountAddressDerivativeOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrder\"f\n$QueryDerivativeOrdersByHashesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x14\n\x0corder_hashes\x18\x03 \x03(\t\"p\n%QueryDerivativeOrdersByHashesResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrder\"c\n\x1dQueryDerivativeMarketsRequest\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\x12\x1e\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08\"\x8d\x01\n\nPriceLevel\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa6\x01\n\x14PerpetualMarketState\x12\x44\n\x0bmarket_info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfo\x12H\n\x0c\x66unding_info\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFunding\"\x86\x03\n\x14\x46ullDerivativeMarket\x12<\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarket\x12J\n\x0eperpetual_info\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.PerpetualMarketStateH\x00\x12K\n\x0c\x66utures_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoH\x00\x12\x42\n\nmark_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x11mid_price_and_tob\x18\x05 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01\x42\x06\n\x04info\"c\n\x1eQueryDerivativeMarketsResponse\x12\x41\n\x07markets\x18\x01 \x03(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarket\"1\n\x1cQueryDerivativeMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"a\n\x1dQueryDerivativeMarketResponse\x12@\n\x06market\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarket\"8\n#QueryDerivativeMarketAddressRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"N\n$QueryDerivativeMarketAddressResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\"9\n QuerySubaccountTradeNonceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\"8\n\x1fQuerySubaccountPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\"R\n&QuerySubaccountPositionInMarketRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\"[\n/QuerySubaccountEffectivePositionInMarketRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\"<\n#QuerySubaccountOrderMetadataRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\"g\n QuerySubaccountPositionsResponse\x12\x43\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00\"d\n\'QuerySubaccountPositionInMarketResponse\x12\x39\n\x05state\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionB\x04\xc8\xde\x1f\x01\"\xf5\x01\n\x11\x45\x66\x66\x65\x63tivePosition\x12\x0f\n\x07is_long\x18\x01 \x01(\x08\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x65\x66\x66\x65\x63tive_margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"v\n0QuerySubaccountEffectivePositionInMarketResponse\x12\x42\n\x05state\x18\x01 \x01(\x0b\x32-.injective.exchange.v1beta1.EffectivePositionB\x04\xc8\xde\x1f\x01\"4\n\x1fQueryPerpetualMarketInfoRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n QueryPerpetualMarketInfoResponse\x12\x43\n\x04info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00\"8\n#QueryExpiryFuturesMarketInfoRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"o\n$QueryExpiryFuturesMarketInfoResponse\x12G\n\x04info\x18\x01 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x00\"7\n\"QueryPerpetualMarketFundingRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"n\n#QueryPerpetualMarketFundingResponse\x12G\n\x05state\x18\x01 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00\"\x81\x01\n$QuerySubaccountOrderMetadataResponse\x12Y\n\x08metadata\x18\x01 \x03(\x0b\x32\x41.injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarketB\x04\xc8\xde\x1f\x00\"2\n!QuerySubaccountTradeNonceResponse\x12\r\n\x05nonce\x18\x01 \x01(\r\"\x19\n\x17QueryModuleStateRequest\"S\n\x18QueryModuleStateResponse\x12\x37\n\x05state\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.GenesisState\"\x17\n\x15QueryPositionsRequest\"]\n\x16QueryPositionsResponse\x12\x43\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00\"Q\n\x1dQueryTradeRewardPointsRequest\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\x12\x1e\n\x16pending_pool_timestamp\x18\x02 \x01(\x03\"u\n\x1eQueryTradeRewardPointsResponse\x12S\n\x1b\x61\x63\x63ount_trade_reward_points\x18\x01 \x03(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"!\n\x1fQueryTradeRewardCampaignRequest\"\xf3\x03\n QueryTradeRewardCampaignResponse\x12[\n\x1ctrading_reward_campaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12]\n%trading_reward_pool_campaign_schedule\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12Q\n\x19total_trade_reward_points\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x65\n-pending_trading_reward_pool_campaign_schedule\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12Y\n!pending_total_trade_reward_points\x18\x05 \x03(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"2\n\x1fQueryIsOptedOutOfRewardsRequest\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\"8\n QueryIsOptedOutOfRewardsResponse\x12\x14\n\x0cis_opted_out\x18\x01 \x01(\x08\"\'\n%QueryOptedOutOfRewardsAccountsRequest\":\n&QueryOptedOutOfRewardsAccountsResponse\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\"5\n\"QueryFeeDiscountAccountInfoRequest\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\"\xc5\x01\n#QueryFeeDiscountAccountInfoResponse\x12\x12\n\ntier_level\x18\x01 \x01(\x04\x12\x45\n\x0c\x61\x63\x63ount_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfo\x12\x43\n\x0b\x61\x63\x63ount_ttl\x18\x03 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTL\"!\n\x1fQueryFeeDiscountScheduleRequest\"r\n QueryFeeDiscountScheduleResponse\x12N\n\x15\x66\x65\x65_discount_schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule\"4\n\x1dQueryBalanceMismatchesRequest\x12\x13\n\x0b\x64ust_factor\x18\x01 \x01(\x03\"\x8a\x03\n\x0f\x42\x61lanceMismatch\x12\x14\n\x0csubaccountId\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x41\n\tavailable\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05total\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0e\x65xpected_total\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x42\n\ndifference\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"i\n\x1eQueryBalanceMismatchesResponse\x12G\n\x12\x62\x61lance_mismatches\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.BalanceMismatch\"%\n#QueryBalanceWithBalanceHoldsRequest\"\x84\x02\n\x15\x42\x61lanceWithMarginHold\x12\x14\n\x0csubaccountId\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x41\n\tavailable\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05total\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"}\n$QueryBalanceWithBalanceHoldsResponse\x12U\n\x1a\x62\x61lance_with_balance_holds\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.BalanceWithMarginHold\"\'\n%QueryFeeDiscountTierStatisticsRequest\",\n\rTierStatistic\x12\x0c\n\x04tier\x18\x01 \x01(\x04\x12\r\n\x05\x63ount\x18\x02 \x01(\x04\"g\n&QueryFeeDiscountTierStatisticsResponse\x12=\n\nstatistics\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.TierStatistic\"\x17\n\x15MitoVaultInfosRequest\"\x80\x01\n\x16MitoVaultInfosResponse\x12\x18\n\x10master_addresses\x18\x01 \x03(\t\x12\x1c\n\x14\x64\x65rivative_addresses\x18\x02 \x03(\t\x12\x16\n\x0espot_addresses\x18\x03 \x03(\t\x12\x16\n\x0e\x63w20_addresses\x18\x04 \x03(\t\"6\n\x1dQueryMarketIDFromVaultRequest\x12\x15\n\rvault_address\x18\x01 \x01(\t\"3\n\x1eQueryMarketIDFromVaultResponse\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"7\n\"QueryHistoricalTradeRecordsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"f\n#QueryHistoricalTradeRecordsResponse\x12?\n\rtrade_records\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecords\"y\n\x13TradeHistoryOptions\x12\x1a\n\x12trade_grouping_sec\x18\x01 \x01(\x04\x12\x0f\n\x07max_age\x18\x02 \x01(\x04\x12\x1b\n\x13include_raw_history\x18\x04 \x01(\x08\x12\x18\n\x10include_metadata\x18\x05 \x01(\x08\"\x81\x01\n\x1cQueryMarketVolatilityRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12N\n\x15trade_history_options\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.TradeHistoryOptions\"\xe5\x01\n\x1dQueryMarketVolatilityResponse\x12>\n\nvolatility\x18\x01 \x01(\tB*\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatistics\x12<\n\x0braw_history\x18\x03 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecord\"+\n\x19QueryBinaryMarketsRequest\x12\x0e\n\x06status\x18\x01 \x01(\t\"^\n\x1aQueryBinaryMarketsResponse\x12@\n\x07markets\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarket\"Y\n-QueryTraderDerivativeConditionalOrdersRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\"\xf6\x02\n!TrimmedDerivativeConditionalOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0ctriggerPrice\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x18\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuy\x12\x1c\n\x07isLimit\x18\x06 \x01(\x08\x42\x0b\xea\xde\x1f\x07isLimit\x12\x12\n\norder_hash\x18\x07 \x01(\t\"\x7f\n.QueryTraderDerivativeConditionalOrdersResponse\x12M\n\x06orders\x18\x01 \x03(\x0b\x32=.injective.exchange.v1beta1.TrimmedDerivativeConditionalOrder\"C\n.QueryMarketAtomicExecutionFeeMultiplierRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"u\n/QueryMarketAtomicExecutionFeeMultiplierResponse\x12\x42\n\nmultiplier\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec*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`\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_multiplierBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -39,57 +40,57 @@ _QUERYDENOMDECIMALSRESPONSE.fields_by_name['denom_decimals']._options = None _QUERYDENOMDECIMALSRESPONSE.fields_by_name['denom_decimals']._serialized_options = b'\310\336\037\000' _QUERYSPOTORDERBOOKREQUEST.fields_by_name['limit_cumulative_notional']._options = None - _QUERYSPOTORDERBOOKREQUEST.fields_by_name['limit_cumulative_notional']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _QUERYSPOTORDERBOOKREQUEST.fields_by_name['limit_cumulative_notional']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYSPOTORDERBOOKREQUEST.fields_by_name['limit_cumulative_quantity']._options = None - _QUERYSPOTORDERBOOKREQUEST.fields_by_name['limit_cumulative_quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _QUERYSPOTORDERBOOKREQUEST.fields_by_name['limit_cumulative_quantity']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _FULLSPOTMARKET.fields_by_name['mid_price_and_tob']._options = None _FULLSPOTMARKET.fields_by_name['mid_price_and_tob']._serialized_options = b'\310\336\037\001' _TRIMMEDSPOTLIMITORDER.fields_by_name['price']._options = None - _TRIMMEDSPOTLIMITORDER.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRIMMEDSPOTLIMITORDER.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDSPOTLIMITORDER.fields_by_name['quantity']._options = None - _TRIMMEDSPOTLIMITORDER.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRIMMEDSPOTLIMITORDER.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDSPOTLIMITORDER.fields_by_name['fillable']._options = None - _TRIMMEDSPOTLIMITORDER.fields_by_name['fillable']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRIMMEDSPOTLIMITORDER.fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYSPOTMIDPRICEANDTOBRESPONSE.fields_by_name['mid_price']._options = None - _QUERYSPOTMIDPRICEANDTOBRESPONSE.fields_by_name['mid_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _QUERYSPOTMIDPRICEANDTOBRESPONSE.fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYSPOTMIDPRICEANDTOBRESPONSE.fields_by_name['best_buy_price']._options = None - _QUERYSPOTMIDPRICEANDTOBRESPONSE.fields_by_name['best_buy_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _QUERYSPOTMIDPRICEANDTOBRESPONSE.fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYSPOTMIDPRICEANDTOBRESPONSE.fields_by_name['best_sell_price']._options = None - _QUERYSPOTMIDPRICEANDTOBRESPONSE.fields_by_name['best_sell_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _QUERYSPOTMIDPRICEANDTOBRESPONSE.fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE.fields_by_name['mid_price']._options = None - _QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE.fields_by_name['mid_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE.fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE.fields_by_name['best_buy_price']._options = None - _QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE.fields_by_name['best_buy_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE.fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE.fields_by_name['best_sell_price']._options = None - _QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE.fields_by_name['best_sell_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE.fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYDERIVATIVEORDERBOOKREQUEST.fields_by_name['limit_cumulative_notional']._options = None - _QUERYDERIVATIVEORDERBOOKREQUEST.fields_by_name['limit_cumulative_notional']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _QUERYDERIVATIVEORDERBOOKREQUEST.fields_by_name['limit_cumulative_notional']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['base_amount']._options = None - _QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['base_amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['base_amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['quote_amount']._options = None - _QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['quote_amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['quote_amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['reference_price']._options = None - _QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['reference_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['reference_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['quote_amount']._options = None - _QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['quote_amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['quote_amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['reference_price']._options = None - _QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['reference_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST.fields_by_name['reference_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['price']._options = None - _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['quantity']._options = None - _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['margin']._options = None - _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['margin']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['fillable']._options = None - _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['fillable']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['isBuy']._options = None _TRIMMEDDERIVATIVELIMITORDER.fields_by_name['isBuy']._serialized_options = b'\352\336\037\005isBuy' _PRICELEVEL.fields_by_name['price']._options = None - _PRICELEVEL.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PRICELEVEL.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PRICELEVEL.fields_by_name['quantity']._options = None - _PRICELEVEL.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PRICELEVEL.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _FULLDERIVATIVEMARKET.fields_by_name['mark_price']._options = None - _FULLDERIVATIVEMARKET.fields_by_name['mark_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _FULLDERIVATIVEMARKET.fields_by_name['mark_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _FULLDERIVATIVEMARKET.fields_by_name['mid_price_and_tob']._options = None _FULLDERIVATIVEMARKET.fields_by_name['mid_price_and_tob']._serialized_options = b'\310\336\037\001' _QUERYSUBACCOUNTPOSITIONSRESPONSE.fields_by_name['state']._options = None @@ -97,11 +98,11 @@ _QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE.fields_by_name['state']._options = None _QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE.fields_by_name['state']._serialized_options = b'\310\336\037\001' _EFFECTIVEPOSITION.fields_by_name['quantity']._options = None - _EFFECTIVEPOSITION.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EFFECTIVEPOSITION.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EFFECTIVEPOSITION.fields_by_name['entry_price']._options = None - _EFFECTIVEPOSITION.fields_by_name['entry_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EFFECTIVEPOSITION.fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EFFECTIVEPOSITION.fields_by_name['effective_margin']._options = None - _EFFECTIVEPOSITION.fields_by_name['effective_margin']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EFFECTIVEPOSITION.fields_by_name['effective_margin']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE.fields_by_name['state']._options = None _QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE.fields_by_name['state']._serialized_options = b'\310\336\037\001' _QUERYPERPETUALMARKETINFORESPONSE.fields_by_name['info']._options = None @@ -115,43 +116,43 @@ _QUERYPOSITIONSRESPONSE.fields_by_name['state']._options = None _QUERYPOSITIONSRESPONSE.fields_by_name['state']._serialized_options = b'\310\336\037\000' _QUERYTRADEREWARDPOINTSRESPONSE.fields_by_name['account_trade_reward_points']._options = None - _QUERYTRADEREWARDPOINTSRESPONSE.fields_by_name['account_trade_reward_points']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _QUERYTRADEREWARDPOINTSRESPONSE.fields_by_name['account_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYTRADEREWARDCAMPAIGNRESPONSE.fields_by_name['total_trade_reward_points']._options = None - _QUERYTRADEREWARDCAMPAIGNRESPONSE.fields_by_name['total_trade_reward_points']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _QUERYTRADEREWARDCAMPAIGNRESPONSE.fields_by_name['total_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYTRADEREWARDCAMPAIGNRESPONSE.fields_by_name['pending_total_trade_reward_points']._options = None - _QUERYTRADEREWARDCAMPAIGNRESPONSE.fields_by_name['pending_total_trade_reward_points']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _QUERYTRADEREWARDCAMPAIGNRESPONSE.fields_by_name['pending_total_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BALANCEMISMATCH.fields_by_name['available']._options = None - _BALANCEMISMATCH.fields_by_name['available']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BALANCEMISMATCH.fields_by_name['available']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BALANCEMISMATCH.fields_by_name['total']._options = None - _BALANCEMISMATCH.fields_by_name['total']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BALANCEMISMATCH.fields_by_name['total']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BALANCEMISMATCH.fields_by_name['balance_hold']._options = None - _BALANCEMISMATCH.fields_by_name['balance_hold']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BALANCEMISMATCH.fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BALANCEMISMATCH.fields_by_name['expected_total']._options = None - _BALANCEMISMATCH.fields_by_name['expected_total']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BALANCEMISMATCH.fields_by_name['expected_total']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BALANCEMISMATCH.fields_by_name['difference']._options = None - _BALANCEMISMATCH.fields_by_name['difference']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BALANCEMISMATCH.fields_by_name['difference']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BALANCEWITHMARGINHOLD.fields_by_name['available']._options = None - _BALANCEWITHMARGINHOLD.fields_by_name['available']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BALANCEWITHMARGINHOLD.fields_by_name['available']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BALANCEWITHMARGINHOLD.fields_by_name['total']._options = None - _BALANCEWITHMARGINHOLD.fields_by_name['total']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BALANCEWITHMARGINHOLD.fields_by_name['total']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BALANCEWITHMARGINHOLD.fields_by_name['balance_hold']._options = None - _BALANCEWITHMARGINHOLD.fields_by_name['balance_hold']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BALANCEWITHMARGINHOLD.fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERYMARKETVOLATILITYRESPONSE.fields_by_name['volatility']._options = None _QUERYMARKETVOLATILITYRESPONSE.fields_by_name['volatility']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['price']._options = None - _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['quantity']._options = None - _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['margin']._options = None - _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['margin']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['triggerPrice']._options = None - _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['triggerPrice']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['triggerPrice']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['isBuy']._options = None _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['isBuy']._serialized_options = b'\352\336\037\005isBuy' _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['isLimit']._options = None _TRIMMEDDERIVATIVECONDITIONALORDER.fields_by_name['isLimit']._serialized_options = b'\352\336\037\007isLimit' _QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE.fields_by_name['multiplier']._options = None - _QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE.fields_by_name['multiplier']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE.fields_by_name['multiplier']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERY.methods_by_name['QueryExchangeParams']._options = None _QUERY.methods_by_name['QueryExchangeParams']._serialized_options = b'\202\323\344\223\002,\022*/injective/exchange/v1beta1/exchangeParams' _QUERY.methods_by_name['SubaccountDeposits']._options = None @@ -266,260 +267,260 @@ _QUERY.methods_by_name['TraderDerivativeConditionalOrders']._serialized_options = b'\202\323\344\223\002W\022U/injective/exchange/v1beta1/derivative/orders/conditional/{market_id}/{subaccount_id}' _QUERY.methods_by_name['MarketAtomicExecutionFeeMultiplier']._options = None _QUERY.methods_by_name['MarketAtomicExecutionFeeMultiplier']._serialized_options = b'\202\323\344\223\0029\0227/injective/exchange/v1beta1/atomic_order_fee_multiplier' - _ORDERSIDE._serialized_start=14456 - _ORDERSIDE._serialized_end=14508 - _CANCELLATIONSTRATEGY._serialized_start=14510 - _CANCELLATIONSTRATEGY._serialized_end=14596 - _SUBACCOUNT._serialized_start=246 - _SUBACCOUNT._serialized_end=300 - _QUERYSUBACCOUNTORDERSREQUEST._serialized_start=302 - _QUERYSUBACCOUNTORDERSREQUEST._serialized_end=374 - _QUERYSUBACCOUNTORDERSRESPONSE._serialized_start=377 - _QUERYSUBACCOUNTORDERSRESPONSE._serialized_end=547 - _SUBACCOUNTORDERBOOKMETADATAWITHMARKET._serialized_start=550 - _SUBACCOUNTORDERBOOKMETADATAWITHMARKET._serialized_end=698 - _QUERYEXCHANGEPARAMSREQUEST._serialized_start=700 - _QUERYEXCHANGEPARAMSREQUEST._serialized_end=728 - _QUERYEXCHANGEPARAMSRESPONSE._serialized_start=730 - _QUERYEXCHANGEPARAMSRESPONSE._serialized_end=817 - _QUERYSUBACCOUNTDEPOSITSREQUEST._serialized_start=819 - _QUERYSUBACCOUNTDEPOSITSREQUEST._serialized_end=940 - _QUERYSUBACCOUNTDEPOSITSRESPONSE._serialized_start=943 - _QUERYSUBACCOUNTDEPOSITSRESPONSE._serialized_end=1155 - _QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY._serialized_start=1071 - _QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY._serialized_end=1155 - _QUERYEXCHANGEBALANCESREQUEST._serialized_start=1157 - _QUERYEXCHANGEBALANCESREQUEST._serialized_end=1187 - _QUERYEXCHANGEBALANCESRESPONSE._serialized_start=1189 - _QUERYEXCHANGEBALANCESRESPONSE._serialized_end=1281 - _QUERYAGGREGATEVOLUMEREQUEST._serialized_start=1283 - _QUERYAGGREGATEVOLUMEREQUEST._serialized_end=1329 - _QUERYAGGREGATEVOLUMERESPONSE._serialized_start=1331 - _QUERYAGGREGATEVOLUMERESPONSE._serialized_end=1430 - _QUERYAGGREGATEVOLUMESREQUEST._serialized_start=1432 - _QUERYAGGREGATEVOLUMESREQUEST._serialized_end=1500 - _QUERYAGGREGATEVOLUMESRESPONSE._serialized_start=1503 - _QUERYAGGREGATEVOLUMESRESPONSE._serialized_end=1703 - _QUERYAGGREGATEMARKETVOLUMEREQUEST._serialized_start=1705 - _QUERYAGGREGATEMARKETVOLUMEREQUEST._serialized_end=1759 - _QUERYAGGREGATEMARKETVOLUMERESPONSE._serialized_start=1761 - _QUERYAGGREGATEMARKETVOLUMERESPONSE._serialized_end=1861 - _QUERYDENOMDECIMALREQUEST._serialized_start=1863 - _QUERYDENOMDECIMALREQUEST._serialized_end=1904 - _QUERYDENOMDECIMALRESPONSE._serialized_start=1906 - _QUERYDENOMDECIMALRESPONSE._serialized_end=1950 - _QUERYDENOMDECIMALSREQUEST._serialized_start=1952 - _QUERYDENOMDECIMALSREQUEST._serialized_end=1995 - _QUERYDENOMDECIMALSRESPONSE._serialized_start=1997 - _QUERYDENOMDECIMALSRESPONSE._serialized_end=2098 - _QUERYAGGREGATEMARKETVOLUMESREQUEST._serialized_start=2100 - _QUERYAGGREGATEMARKETVOLUMESREQUEST._serialized_end=2156 - _QUERYAGGREGATEMARKETVOLUMESRESPONSE._serialized_start=2158 - _QUERYAGGREGATEMARKETVOLUMESRESPONSE._serialized_end=2254 - _QUERYSUBACCOUNTDEPOSITREQUEST._serialized_start=2256 - _QUERYSUBACCOUNTDEPOSITREQUEST._serialized_end=2325 - _QUERYSUBACCOUNTDEPOSITRESPONSE._serialized_start=2327 - _QUERYSUBACCOUNTDEPOSITRESPONSE._serialized_end=2414 - _QUERYSPOTMARKETSREQUEST._serialized_start=2416 - _QUERYSPOTMARKETSREQUEST._serialized_end=2477 - _QUERYSPOTMARKETSRESPONSE._serialized_start=2479 - _QUERYSPOTMARKETSRESPONSE._serialized_end=2562 - _QUERYSPOTMARKETREQUEST._serialized_start=2564 - _QUERYSPOTMARKETREQUEST._serialized_end=2607 - _QUERYSPOTMARKETRESPONSE._serialized_start=2609 - _QUERYSPOTMARKETRESPONSE._serialized_end=2690 - _QUERYSPOTORDERBOOKREQUEST._serialized_start=2693 - _QUERYSPOTORDERBOOKREQUEST._serialized_end=2979 - _QUERYSPOTORDERBOOKRESPONSE._serialized_start=2982 - _QUERYSPOTORDERBOOKRESPONSE._serialized_end=3133 - _FULLSPOTMARKET._serialized_start=3136 - _FULLSPOTMARKET._serialized_end=3285 - _QUERYFULLSPOTMARKETSREQUEST._serialized_start=3287 - _QUERYFULLSPOTMARKETSREQUEST._serialized_end=3384 - _QUERYFULLSPOTMARKETSRESPONSE._serialized_start=3386 - _QUERYFULLSPOTMARKETSRESPONSE._serialized_end=3477 - _QUERYFULLSPOTMARKETREQUEST._serialized_start=3479 - _QUERYFULLSPOTMARKETREQUEST._serialized_end=3558 - _QUERYFULLSPOTMARKETRESPONSE._serialized_start=3560 - _QUERYFULLSPOTMARKETRESPONSE._serialized_end=3649 - _QUERYSPOTORDERSBYHASHESREQUEST._serialized_start=3651 - _QUERYSPOTORDERSBYHASHESREQUEST._serialized_end=3747 - _QUERYSPOTORDERSBYHASHESRESPONSE._serialized_start=3749 - _QUERYSPOTORDERSBYHASHESRESPONSE._serialized_end=3849 - _QUERYTRADERSPOTORDERSREQUEST._serialized_start=3851 - _QUERYTRADERSPOTORDERSREQUEST._serialized_end=3923 - _QUERYACCOUNTADDRESSSPOTORDERSREQUEST._serialized_start=3925 - _QUERYACCOUNTADDRESSSPOTORDERSREQUEST._serialized_end=4007 - _TRIMMEDSPOTLIMITORDER._serialized_start=4010 - _TRIMMEDSPOTLIMITORDER._serialized_end=4263 - _QUERYTRADERSPOTORDERSRESPONSE._serialized_start=4265 - _QUERYTRADERSPOTORDERSRESPONSE._serialized_end=4363 - _QUERYACCOUNTADDRESSSPOTORDERSRESPONSE._serialized_start=4365 - _QUERYACCOUNTADDRESSSPOTORDERSRESPONSE._serialized_end=4471 - _QUERYSPOTMIDPRICEANDTOBREQUEST._serialized_start=4473 - _QUERYSPOTMIDPRICEANDTOBREQUEST._serialized_end=4524 - _QUERYSPOTMIDPRICEANDTOBRESPONSE._serialized_start=4527 - _QUERYSPOTMIDPRICEANDTOBRESPONSE._serialized_end=4772 - _QUERYDERIVATIVEMIDPRICEANDTOBREQUEST._serialized_start=4774 - _QUERYDERIVATIVEMIDPRICEANDTOBREQUEST._serialized_end=4831 - _QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE._serialized_start=4834 - _QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE._serialized_end=5085 - _QUERYDERIVATIVEORDERBOOKREQUEST._serialized_start=5088 - _QUERYDERIVATIVEORDERBOOKREQUEST._serialized_end=5238 - _QUERYDERIVATIVEORDERBOOKRESPONSE._serialized_start=5241 - _QUERYDERIVATIVEORDERBOOKRESPONSE._serialized_end=5398 - _QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST._serialized_start=5401 - _QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST._serialized_end=5771 - _QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST._serialized_start=5774 - _QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST._serialized_end=6081 - _QUERYTRADERDERIVATIVEORDERSREQUEST._serialized_start=6083 - _QUERYTRADERDERIVATIVEORDERSREQUEST._serialized_end=6161 - _QUERYACCOUNTADDRESSDERIVATIVEORDERSREQUEST._serialized_start=6163 - _QUERYACCOUNTADDRESSDERIVATIVEORDERSREQUEST._serialized_end=6251 - _TRIMMEDDERIVATIVELIMITORDER._serialized_start=6254 - _TRIMMEDDERIVATIVELIMITORDER._serialized_end=6588 - _QUERYTRADERDERIVATIVEORDERSRESPONSE._serialized_start=6590 - _QUERYTRADERDERIVATIVEORDERSRESPONSE._serialized_end=6700 - _QUERYACCOUNTADDRESSDERIVATIVEORDERSRESPONSE._serialized_start=6702 - _QUERYACCOUNTADDRESSDERIVATIVEORDERSRESPONSE._serialized_end=6820 - _QUERYDERIVATIVEORDERSBYHASHESREQUEST._serialized_start=6822 - _QUERYDERIVATIVEORDERSBYHASHESREQUEST._serialized_end=6924 - _QUERYDERIVATIVEORDERSBYHASHESRESPONSE._serialized_start=6926 - _QUERYDERIVATIVEORDERSBYHASHESRESPONSE._serialized_end=7038 - _QUERYDERIVATIVEMARKETSREQUEST._serialized_start=7040 - _QUERYDERIVATIVEMARKETSREQUEST._serialized_end=7139 - _PRICELEVEL._serialized_start=7142 - _PRICELEVEL._serialized_end=7283 - _PERPETUALMARKETSTATE._serialized_start=7286 - _PERPETUALMARKETSTATE._serialized_end=7452 - _FULLDERIVATIVEMARKET._serialized_start=7455 - _FULLDERIVATIVEMARKET._serialized_end=7845 - _QUERYDERIVATIVEMARKETSRESPONSE._serialized_start=7847 - _QUERYDERIVATIVEMARKETSRESPONSE._serialized_end=7946 - _QUERYDERIVATIVEMARKETREQUEST._serialized_start=7948 - _QUERYDERIVATIVEMARKETREQUEST._serialized_end=7997 - _QUERYDERIVATIVEMARKETRESPONSE._serialized_start=7999 - _QUERYDERIVATIVEMARKETRESPONSE._serialized_end=8096 - _QUERYDERIVATIVEMARKETADDRESSREQUEST._serialized_start=8098 - _QUERYDERIVATIVEMARKETADDRESSREQUEST._serialized_end=8154 - _QUERYDERIVATIVEMARKETADDRESSRESPONSE._serialized_start=8156 - _QUERYDERIVATIVEMARKETADDRESSRESPONSE._serialized_end=8234 - _QUERYSUBACCOUNTTRADENONCEREQUEST._serialized_start=8236 - _QUERYSUBACCOUNTTRADENONCEREQUEST._serialized_end=8293 - _QUERYSUBACCOUNTPOSITIONSREQUEST._serialized_start=8295 - _QUERYSUBACCOUNTPOSITIONSREQUEST._serialized_end=8351 - _QUERYSUBACCOUNTPOSITIONINMARKETREQUEST._serialized_start=8353 - _QUERYSUBACCOUNTPOSITIONINMARKETREQUEST._serialized_end=8435 - _QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETREQUEST._serialized_start=8437 - _QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETREQUEST._serialized_end=8528 - _QUERYSUBACCOUNTORDERMETADATAREQUEST._serialized_start=8530 - _QUERYSUBACCOUNTORDERMETADATAREQUEST._serialized_end=8590 - _QUERYSUBACCOUNTPOSITIONSRESPONSE._serialized_start=8592 - _QUERYSUBACCOUNTPOSITIONSRESPONSE._serialized_end=8695 - _QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE._serialized_start=8697 - _QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE._serialized_end=8797 - _EFFECTIVEPOSITION._serialized_start=8800 - _EFFECTIVEPOSITION._serialized_end=9045 - _QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE._serialized_start=9047 - _QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE._serialized_end=9165 - _QUERYPERPETUALMARKETINFOREQUEST._serialized_start=9167 - _QUERYPERPETUALMARKETINFOREQUEST._serialized_end=9219 - _QUERYPERPETUALMARKETINFORESPONSE._serialized_start=9221 - _QUERYPERPETUALMARKETINFORESPONSE._serialized_end=9324 - _QUERYEXPIRYFUTURESMARKETINFOREQUEST._serialized_start=9326 - _QUERYEXPIRYFUTURESMARKETINFOREQUEST._serialized_end=9382 - _QUERYEXPIRYFUTURESMARKETINFORESPONSE._serialized_start=9384 - _QUERYEXPIRYFUTURESMARKETINFORESPONSE._serialized_end=9495 - _QUERYPERPETUALMARKETFUNDINGREQUEST._serialized_start=9497 - _QUERYPERPETUALMARKETFUNDINGREQUEST._serialized_end=9552 - _QUERYPERPETUALMARKETFUNDINGRESPONSE._serialized_start=9554 - _QUERYPERPETUALMARKETFUNDINGRESPONSE._serialized_end=9664 - _QUERYSUBACCOUNTORDERMETADATARESPONSE._serialized_start=9667 - _QUERYSUBACCOUNTORDERMETADATARESPONSE._serialized_end=9796 - _QUERYSUBACCOUNTTRADENONCERESPONSE._serialized_start=9798 - _QUERYSUBACCOUNTTRADENONCERESPONSE._serialized_end=9848 - _QUERYMODULESTATEREQUEST._serialized_start=9850 - _QUERYMODULESTATEREQUEST._serialized_end=9875 - _QUERYMODULESTATERESPONSE._serialized_start=9877 - _QUERYMODULESTATERESPONSE._serialized_end=9960 - _QUERYPOSITIONSREQUEST._serialized_start=9962 - _QUERYPOSITIONSREQUEST._serialized_end=9985 - _QUERYPOSITIONSRESPONSE._serialized_start=9987 - _QUERYPOSITIONSRESPONSE._serialized_end=10080 - _QUERYTRADEREWARDPOINTSREQUEST._serialized_start=10082 - _QUERYTRADEREWARDPOINTSREQUEST._serialized_end=10163 - _QUERYTRADEREWARDPOINTSRESPONSE._serialized_start=10165 - _QUERYTRADEREWARDPOINTSRESPONSE._serialized_end=10282 - _QUERYTRADEREWARDCAMPAIGNREQUEST._serialized_start=10284 - _QUERYTRADEREWARDCAMPAIGNREQUEST._serialized_end=10317 - _QUERYTRADEREWARDCAMPAIGNRESPONSE._serialized_start=10320 - _QUERYTRADEREWARDCAMPAIGNRESPONSE._serialized_end=10819 - _QUERYISOPTEDOUTOFREWARDSREQUEST._serialized_start=10821 - _QUERYISOPTEDOUTOFREWARDSREQUEST._serialized_end=10871 - _QUERYISOPTEDOUTOFREWARDSRESPONSE._serialized_start=10873 - _QUERYISOPTEDOUTOFREWARDSRESPONSE._serialized_end=10929 - _QUERYOPTEDOUTOFREWARDSACCOUNTSREQUEST._serialized_start=10931 - _QUERYOPTEDOUTOFREWARDSACCOUNTSREQUEST._serialized_end=10970 - _QUERYOPTEDOUTOFREWARDSACCOUNTSRESPONSE._serialized_start=10972 - _QUERYOPTEDOUTOFREWARDSACCOUNTSRESPONSE._serialized_end=11030 - _QUERYFEEDISCOUNTACCOUNTINFOREQUEST._serialized_start=11032 - _QUERYFEEDISCOUNTACCOUNTINFOREQUEST._serialized_end=11085 - _QUERYFEEDISCOUNTACCOUNTINFORESPONSE._serialized_start=11088 - _QUERYFEEDISCOUNTACCOUNTINFORESPONSE._serialized_end=11285 - _QUERYFEEDISCOUNTSCHEDULEREQUEST._serialized_start=11287 - _QUERYFEEDISCOUNTSCHEDULEREQUEST._serialized_end=11320 - _QUERYFEEDISCOUNTSCHEDULERESPONSE._serialized_start=11322 - _QUERYFEEDISCOUNTSCHEDULERESPONSE._serialized_end=11436 - _QUERYBALANCEMISMATCHESREQUEST._serialized_start=11438 - _QUERYBALANCEMISMATCHESREQUEST._serialized_end=11490 - _BALANCEMISMATCH._serialized_start=11493 - _BALANCEMISMATCH._serialized_end=11887 - _QUERYBALANCEMISMATCHESRESPONSE._serialized_start=11889 - _QUERYBALANCEMISMATCHESRESPONSE._serialized_end=11994 - _QUERYBALANCEWITHBALANCEHOLDSREQUEST._serialized_start=11996 - _QUERYBALANCEWITHBALANCEHOLDSREQUEST._serialized_end=12033 - _BALANCEWITHMARGINHOLD._serialized_start=12036 - _BALANCEWITHMARGINHOLD._serialized_end=12296 - _QUERYBALANCEWITHBALANCEHOLDSRESPONSE._serialized_start=12298 - _QUERYBALANCEWITHBALANCEHOLDSRESPONSE._serialized_end=12423 - _QUERYFEEDISCOUNTTIERSTATISTICSREQUEST._serialized_start=12425 - _QUERYFEEDISCOUNTTIERSTATISTICSREQUEST._serialized_end=12464 - _TIERSTATISTIC._serialized_start=12466 - _TIERSTATISTIC._serialized_end=12510 - _QUERYFEEDISCOUNTTIERSTATISTICSRESPONSE._serialized_start=12512 - _QUERYFEEDISCOUNTTIERSTATISTICSRESPONSE._serialized_end=12615 - _MITOVAULTINFOSREQUEST._serialized_start=12617 - _MITOVAULTINFOSREQUEST._serialized_end=12640 - _MITOVAULTINFOSRESPONSE._serialized_start=12643 - _MITOVAULTINFOSRESPONSE._serialized_end=12771 - _QUERYMARKETIDFROMVAULTREQUEST._serialized_start=12773 - _QUERYMARKETIDFROMVAULTREQUEST._serialized_end=12827 - _QUERYMARKETIDFROMVAULTRESPONSE._serialized_start=12829 - _QUERYMARKETIDFROMVAULTRESPONSE._serialized_end=12880 - _QUERYHISTORICALTRADERECORDSREQUEST._serialized_start=12882 - _QUERYHISTORICALTRADERECORDSREQUEST._serialized_end=12937 - _QUERYHISTORICALTRADERECORDSRESPONSE._serialized_start=12939 - _QUERYHISTORICALTRADERECORDSRESPONSE._serialized_end=13041 - _TRADEHISTORYOPTIONS._serialized_start=13043 - _TRADEHISTORYOPTIONS._serialized_end=13164 - _QUERYMARKETVOLATILITYREQUEST._serialized_start=13167 - _QUERYMARKETVOLATILITYREQUEST._serialized_end=13296 - _QUERYMARKETVOLATILITYRESPONSE._serialized_start=13299 - _QUERYMARKETVOLATILITYRESPONSE._serialized_end=13528 - _QUERYBINARYMARKETSREQUEST._serialized_start=13530 - _QUERYBINARYMARKETSREQUEST._serialized_end=13573 - _QUERYBINARYMARKETSRESPONSE._serialized_start=13575 - _QUERYBINARYMARKETSRESPONSE._serialized_end=13669 - _QUERYTRADERDERIVATIVECONDITIONALORDERSREQUEST._serialized_start=13671 - _QUERYTRADERDERIVATIVECONDITIONALORDERSREQUEST._serialized_end=13760 - _TRIMMEDDERIVATIVECONDITIONALORDER._serialized_start=13763 - _TRIMMEDDERIVATIVECONDITIONALORDER._serialized_end=14137 - _QUERYTRADERDERIVATIVECONDITIONALORDERSRESPONSE._serialized_start=14139 - _QUERYTRADERDERIVATIVECONDITIONALORDERSRESPONSE._serialized_end=14266 - _QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERREQUEST._serialized_start=14268 - _QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERREQUEST._serialized_end=14335 - _QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE._serialized_start=14337 - _QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE._serialized_end=14454 - _QUERY._serialized_start=14599 - _QUERY._serialized_end=26964 + _globals['_ORDERSIDE']._serialized_start=14456 + _globals['_ORDERSIDE']._serialized_end=14508 + _globals['_CANCELLATIONSTRATEGY']._serialized_start=14510 + _globals['_CANCELLATIONSTRATEGY']._serialized_end=14596 + _globals['_SUBACCOUNT']._serialized_start=246 + _globals['_SUBACCOUNT']._serialized_end=300 + _globals['_QUERYSUBACCOUNTORDERSREQUEST']._serialized_start=302 + _globals['_QUERYSUBACCOUNTORDERSREQUEST']._serialized_end=374 + _globals['_QUERYSUBACCOUNTORDERSRESPONSE']._serialized_start=377 + _globals['_QUERYSUBACCOUNTORDERSRESPONSE']._serialized_end=547 + _globals['_SUBACCOUNTORDERBOOKMETADATAWITHMARKET']._serialized_start=550 + _globals['_SUBACCOUNTORDERBOOKMETADATAWITHMARKET']._serialized_end=698 + _globals['_QUERYEXCHANGEPARAMSREQUEST']._serialized_start=700 + _globals['_QUERYEXCHANGEPARAMSREQUEST']._serialized_end=728 + _globals['_QUERYEXCHANGEPARAMSRESPONSE']._serialized_start=730 + _globals['_QUERYEXCHANGEPARAMSRESPONSE']._serialized_end=817 + _globals['_QUERYSUBACCOUNTDEPOSITSREQUEST']._serialized_start=819 + _globals['_QUERYSUBACCOUNTDEPOSITSREQUEST']._serialized_end=940 + _globals['_QUERYSUBACCOUNTDEPOSITSRESPONSE']._serialized_start=943 + _globals['_QUERYSUBACCOUNTDEPOSITSRESPONSE']._serialized_end=1155 + _globals['_QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY']._serialized_start=1071 + _globals['_QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY']._serialized_end=1155 + _globals['_QUERYEXCHANGEBALANCESREQUEST']._serialized_start=1157 + _globals['_QUERYEXCHANGEBALANCESREQUEST']._serialized_end=1187 + _globals['_QUERYEXCHANGEBALANCESRESPONSE']._serialized_start=1189 + _globals['_QUERYEXCHANGEBALANCESRESPONSE']._serialized_end=1281 + _globals['_QUERYAGGREGATEVOLUMEREQUEST']._serialized_start=1283 + _globals['_QUERYAGGREGATEVOLUMEREQUEST']._serialized_end=1329 + _globals['_QUERYAGGREGATEVOLUMERESPONSE']._serialized_start=1331 + _globals['_QUERYAGGREGATEVOLUMERESPONSE']._serialized_end=1430 + _globals['_QUERYAGGREGATEVOLUMESREQUEST']._serialized_start=1432 + _globals['_QUERYAGGREGATEVOLUMESREQUEST']._serialized_end=1500 + _globals['_QUERYAGGREGATEVOLUMESRESPONSE']._serialized_start=1503 + _globals['_QUERYAGGREGATEVOLUMESRESPONSE']._serialized_end=1703 + _globals['_QUERYAGGREGATEMARKETVOLUMEREQUEST']._serialized_start=1705 + _globals['_QUERYAGGREGATEMARKETVOLUMEREQUEST']._serialized_end=1759 + _globals['_QUERYAGGREGATEMARKETVOLUMERESPONSE']._serialized_start=1761 + _globals['_QUERYAGGREGATEMARKETVOLUMERESPONSE']._serialized_end=1861 + _globals['_QUERYDENOMDECIMALREQUEST']._serialized_start=1863 + _globals['_QUERYDENOMDECIMALREQUEST']._serialized_end=1904 + _globals['_QUERYDENOMDECIMALRESPONSE']._serialized_start=1906 + _globals['_QUERYDENOMDECIMALRESPONSE']._serialized_end=1950 + _globals['_QUERYDENOMDECIMALSREQUEST']._serialized_start=1952 + _globals['_QUERYDENOMDECIMALSREQUEST']._serialized_end=1995 + _globals['_QUERYDENOMDECIMALSRESPONSE']._serialized_start=1997 + _globals['_QUERYDENOMDECIMALSRESPONSE']._serialized_end=2098 + _globals['_QUERYAGGREGATEMARKETVOLUMESREQUEST']._serialized_start=2100 + _globals['_QUERYAGGREGATEMARKETVOLUMESREQUEST']._serialized_end=2156 + _globals['_QUERYAGGREGATEMARKETVOLUMESRESPONSE']._serialized_start=2158 + _globals['_QUERYAGGREGATEMARKETVOLUMESRESPONSE']._serialized_end=2254 + _globals['_QUERYSUBACCOUNTDEPOSITREQUEST']._serialized_start=2256 + _globals['_QUERYSUBACCOUNTDEPOSITREQUEST']._serialized_end=2325 + _globals['_QUERYSUBACCOUNTDEPOSITRESPONSE']._serialized_start=2327 + _globals['_QUERYSUBACCOUNTDEPOSITRESPONSE']._serialized_end=2414 + _globals['_QUERYSPOTMARKETSREQUEST']._serialized_start=2416 + _globals['_QUERYSPOTMARKETSREQUEST']._serialized_end=2477 + _globals['_QUERYSPOTMARKETSRESPONSE']._serialized_start=2479 + _globals['_QUERYSPOTMARKETSRESPONSE']._serialized_end=2562 + _globals['_QUERYSPOTMARKETREQUEST']._serialized_start=2564 + _globals['_QUERYSPOTMARKETREQUEST']._serialized_end=2607 + _globals['_QUERYSPOTMARKETRESPONSE']._serialized_start=2609 + _globals['_QUERYSPOTMARKETRESPONSE']._serialized_end=2690 + _globals['_QUERYSPOTORDERBOOKREQUEST']._serialized_start=2693 + _globals['_QUERYSPOTORDERBOOKREQUEST']._serialized_end=2979 + _globals['_QUERYSPOTORDERBOOKRESPONSE']._serialized_start=2982 + _globals['_QUERYSPOTORDERBOOKRESPONSE']._serialized_end=3133 + _globals['_FULLSPOTMARKET']._serialized_start=3136 + _globals['_FULLSPOTMARKET']._serialized_end=3285 + _globals['_QUERYFULLSPOTMARKETSREQUEST']._serialized_start=3287 + _globals['_QUERYFULLSPOTMARKETSREQUEST']._serialized_end=3384 + _globals['_QUERYFULLSPOTMARKETSRESPONSE']._serialized_start=3386 + _globals['_QUERYFULLSPOTMARKETSRESPONSE']._serialized_end=3477 + _globals['_QUERYFULLSPOTMARKETREQUEST']._serialized_start=3479 + _globals['_QUERYFULLSPOTMARKETREQUEST']._serialized_end=3558 + _globals['_QUERYFULLSPOTMARKETRESPONSE']._serialized_start=3560 + _globals['_QUERYFULLSPOTMARKETRESPONSE']._serialized_end=3649 + _globals['_QUERYSPOTORDERSBYHASHESREQUEST']._serialized_start=3651 + _globals['_QUERYSPOTORDERSBYHASHESREQUEST']._serialized_end=3747 + _globals['_QUERYSPOTORDERSBYHASHESRESPONSE']._serialized_start=3749 + _globals['_QUERYSPOTORDERSBYHASHESRESPONSE']._serialized_end=3849 + _globals['_QUERYTRADERSPOTORDERSREQUEST']._serialized_start=3851 + _globals['_QUERYTRADERSPOTORDERSREQUEST']._serialized_end=3923 + _globals['_QUERYACCOUNTADDRESSSPOTORDERSREQUEST']._serialized_start=3925 + _globals['_QUERYACCOUNTADDRESSSPOTORDERSREQUEST']._serialized_end=4007 + _globals['_TRIMMEDSPOTLIMITORDER']._serialized_start=4010 + _globals['_TRIMMEDSPOTLIMITORDER']._serialized_end=4263 + _globals['_QUERYTRADERSPOTORDERSRESPONSE']._serialized_start=4265 + _globals['_QUERYTRADERSPOTORDERSRESPONSE']._serialized_end=4363 + _globals['_QUERYACCOUNTADDRESSSPOTORDERSRESPONSE']._serialized_start=4365 + _globals['_QUERYACCOUNTADDRESSSPOTORDERSRESPONSE']._serialized_end=4471 + _globals['_QUERYSPOTMIDPRICEANDTOBREQUEST']._serialized_start=4473 + _globals['_QUERYSPOTMIDPRICEANDTOBREQUEST']._serialized_end=4524 + _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE']._serialized_start=4527 + _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE']._serialized_end=4772 + _globals['_QUERYDERIVATIVEMIDPRICEANDTOBREQUEST']._serialized_start=4774 + _globals['_QUERYDERIVATIVEMIDPRICEANDTOBREQUEST']._serialized_end=4831 + _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE']._serialized_start=4834 + _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE']._serialized_end=5085 + _globals['_QUERYDERIVATIVEORDERBOOKREQUEST']._serialized_start=5088 + _globals['_QUERYDERIVATIVEORDERBOOKREQUEST']._serialized_end=5238 + _globals['_QUERYDERIVATIVEORDERBOOKRESPONSE']._serialized_start=5241 + _globals['_QUERYDERIVATIVEORDERBOOKRESPONSE']._serialized_end=5398 + _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST']._serialized_start=5401 + _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST']._serialized_end=5771 + _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST']._serialized_start=5774 + _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST']._serialized_end=6081 + _globals['_QUERYTRADERDERIVATIVEORDERSREQUEST']._serialized_start=6083 + _globals['_QUERYTRADERDERIVATIVEORDERSREQUEST']._serialized_end=6161 + _globals['_QUERYACCOUNTADDRESSDERIVATIVEORDERSREQUEST']._serialized_start=6163 + _globals['_QUERYACCOUNTADDRESSDERIVATIVEORDERSREQUEST']._serialized_end=6251 + _globals['_TRIMMEDDERIVATIVELIMITORDER']._serialized_start=6254 + _globals['_TRIMMEDDERIVATIVELIMITORDER']._serialized_end=6588 + _globals['_QUERYTRADERDERIVATIVEORDERSRESPONSE']._serialized_start=6590 + _globals['_QUERYTRADERDERIVATIVEORDERSRESPONSE']._serialized_end=6700 + _globals['_QUERYACCOUNTADDRESSDERIVATIVEORDERSRESPONSE']._serialized_start=6702 + _globals['_QUERYACCOUNTADDRESSDERIVATIVEORDERSRESPONSE']._serialized_end=6820 + _globals['_QUERYDERIVATIVEORDERSBYHASHESREQUEST']._serialized_start=6822 + _globals['_QUERYDERIVATIVEORDERSBYHASHESREQUEST']._serialized_end=6924 + _globals['_QUERYDERIVATIVEORDERSBYHASHESRESPONSE']._serialized_start=6926 + _globals['_QUERYDERIVATIVEORDERSBYHASHESRESPONSE']._serialized_end=7038 + _globals['_QUERYDERIVATIVEMARKETSREQUEST']._serialized_start=7040 + _globals['_QUERYDERIVATIVEMARKETSREQUEST']._serialized_end=7139 + _globals['_PRICELEVEL']._serialized_start=7142 + _globals['_PRICELEVEL']._serialized_end=7283 + _globals['_PERPETUALMARKETSTATE']._serialized_start=7286 + _globals['_PERPETUALMARKETSTATE']._serialized_end=7452 + _globals['_FULLDERIVATIVEMARKET']._serialized_start=7455 + _globals['_FULLDERIVATIVEMARKET']._serialized_end=7845 + _globals['_QUERYDERIVATIVEMARKETSRESPONSE']._serialized_start=7847 + _globals['_QUERYDERIVATIVEMARKETSRESPONSE']._serialized_end=7946 + _globals['_QUERYDERIVATIVEMARKETREQUEST']._serialized_start=7948 + _globals['_QUERYDERIVATIVEMARKETREQUEST']._serialized_end=7997 + _globals['_QUERYDERIVATIVEMARKETRESPONSE']._serialized_start=7999 + _globals['_QUERYDERIVATIVEMARKETRESPONSE']._serialized_end=8096 + _globals['_QUERYDERIVATIVEMARKETADDRESSREQUEST']._serialized_start=8098 + _globals['_QUERYDERIVATIVEMARKETADDRESSREQUEST']._serialized_end=8154 + _globals['_QUERYDERIVATIVEMARKETADDRESSRESPONSE']._serialized_start=8156 + _globals['_QUERYDERIVATIVEMARKETADDRESSRESPONSE']._serialized_end=8234 + _globals['_QUERYSUBACCOUNTTRADENONCEREQUEST']._serialized_start=8236 + _globals['_QUERYSUBACCOUNTTRADENONCEREQUEST']._serialized_end=8293 + _globals['_QUERYSUBACCOUNTPOSITIONSREQUEST']._serialized_start=8295 + _globals['_QUERYSUBACCOUNTPOSITIONSREQUEST']._serialized_end=8351 + _globals['_QUERYSUBACCOUNTPOSITIONINMARKETREQUEST']._serialized_start=8353 + _globals['_QUERYSUBACCOUNTPOSITIONINMARKETREQUEST']._serialized_end=8435 + _globals['_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETREQUEST']._serialized_start=8437 + _globals['_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETREQUEST']._serialized_end=8528 + _globals['_QUERYSUBACCOUNTORDERMETADATAREQUEST']._serialized_start=8530 + _globals['_QUERYSUBACCOUNTORDERMETADATAREQUEST']._serialized_end=8590 + _globals['_QUERYSUBACCOUNTPOSITIONSRESPONSE']._serialized_start=8592 + _globals['_QUERYSUBACCOUNTPOSITIONSRESPONSE']._serialized_end=8695 + _globals['_QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE']._serialized_start=8697 + _globals['_QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE']._serialized_end=8797 + _globals['_EFFECTIVEPOSITION']._serialized_start=8800 + _globals['_EFFECTIVEPOSITION']._serialized_end=9045 + _globals['_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE']._serialized_start=9047 + _globals['_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE']._serialized_end=9165 + _globals['_QUERYPERPETUALMARKETINFOREQUEST']._serialized_start=9167 + _globals['_QUERYPERPETUALMARKETINFOREQUEST']._serialized_end=9219 + _globals['_QUERYPERPETUALMARKETINFORESPONSE']._serialized_start=9221 + _globals['_QUERYPERPETUALMARKETINFORESPONSE']._serialized_end=9324 + _globals['_QUERYEXPIRYFUTURESMARKETINFOREQUEST']._serialized_start=9326 + _globals['_QUERYEXPIRYFUTURESMARKETINFOREQUEST']._serialized_end=9382 + _globals['_QUERYEXPIRYFUTURESMARKETINFORESPONSE']._serialized_start=9384 + _globals['_QUERYEXPIRYFUTURESMARKETINFORESPONSE']._serialized_end=9495 + _globals['_QUERYPERPETUALMARKETFUNDINGREQUEST']._serialized_start=9497 + _globals['_QUERYPERPETUALMARKETFUNDINGREQUEST']._serialized_end=9552 + _globals['_QUERYPERPETUALMARKETFUNDINGRESPONSE']._serialized_start=9554 + _globals['_QUERYPERPETUALMARKETFUNDINGRESPONSE']._serialized_end=9664 + _globals['_QUERYSUBACCOUNTORDERMETADATARESPONSE']._serialized_start=9667 + _globals['_QUERYSUBACCOUNTORDERMETADATARESPONSE']._serialized_end=9796 + _globals['_QUERYSUBACCOUNTTRADENONCERESPONSE']._serialized_start=9798 + _globals['_QUERYSUBACCOUNTTRADENONCERESPONSE']._serialized_end=9848 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=9850 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=9875 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=9877 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=9960 + _globals['_QUERYPOSITIONSREQUEST']._serialized_start=9962 + _globals['_QUERYPOSITIONSREQUEST']._serialized_end=9985 + _globals['_QUERYPOSITIONSRESPONSE']._serialized_start=9987 + _globals['_QUERYPOSITIONSRESPONSE']._serialized_end=10080 + _globals['_QUERYTRADEREWARDPOINTSREQUEST']._serialized_start=10082 + _globals['_QUERYTRADEREWARDPOINTSREQUEST']._serialized_end=10163 + _globals['_QUERYTRADEREWARDPOINTSRESPONSE']._serialized_start=10165 + _globals['_QUERYTRADEREWARDPOINTSRESPONSE']._serialized_end=10282 + _globals['_QUERYTRADEREWARDCAMPAIGNREQUEST']._serialized_start=10284 + _globals['_QUERYTRADEREWARDCAMPAIGNREQUEST']._serialized_end=10317 + _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE']._serialized_start=10320 + _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE']._serialized_end=10819 + _globals['_QUERYISOPTEDOUTOFREWARDSREQUEST']._serialized_start=10821 + _globals['_QUERYISOPTEDOUTOFREWARDSREQUEST']._serialized_end=10871 + _globals['_QUERYISOPTEDOUTOFREWARDSRESPONSE']._serialized_start=10873 + _globals['_QUERYISOPTEDOUTOFREWARDSRESPONSE']._serialized_end=10929 + _globals['_QUERYOPTEDOUTOFREWARDSACCOUNTSREQUEST']._serialized_start=10931 + _globals['_QUERYOPTEDOUTOFREWARDSACCOUNTSREQUEST']._serialized_end=10970 + _globals['_QUERYOPTEDOUTOFREWARDSACCOUNTSRESPONSE']._serialized_start=10972 + _globals['_QUERYOPTEDOUTOFREWARDSACCOUNTSRESPONSE']._serialized_end=11030 + _globals['_QUERYFEEDISCOUNTACCOUNTINFOREQUEST']._serialized_start=11032 + _globals['_QUERYFEEDISCOUNTACCOUNTINFOREQUEST']._serialized_end=11085 + _globals['_QUERYFEEDISCOUNTACCOUNTINFORESPONSE']._serialized_start=11088 + _globals['_QUERYFEEDISCOUNTACCOUNTINFORESPONSE']._serialized_end=11285 + _globals['_QUERYFEEDISCOUNTSCHEDULEREQUEST']._serialized_start=11287 + _globals['_QUERYFEEDISCOUNTSCHEDULEREQUEST']._serialized_end=11320 + _globals['_QUERYFEEDISCOUNTSCHEDULERESPONSE']._serialized_start=11322 + _globals['_QUERYFEEDISCOUNTSCHEDULERESPONSE']._serialized_end=11436 + _globals['_QUERYBALANCEMISMATCHESREQUEST']._serialized_start=11438 + _globals['_QUERYBALANCEMISMATCHESREQUEST']._serialized_end=11490 + _globals['_BALANCEMISMATCH']._serialized_start=11493 + _globals['_BALANCEMISMATCH']._serialized_end=11887 + _globals['_QUERYBALANCEMISMATCHESRESPONSE']._serialized_start=11889 + _globals['_QUERYBALANCEMISMATCHESRESPONSE']._serialized_end=11994 + _globals['_QUERYBALANCEWITHBALANCEHOLDSREQUEST']._serialized_start=11996 + _globals['_QUERYBALANCEWITHBALANCEHOLDSREQUEST']._serialized_end=12033 + _globals['_BALANCEWITHMARGINHOLD']._serialized_start=12036 + _globals['_BALANCEWITHMARGINHOLD']._serialized_end=12296 + _globals['_QUERYBALANCEWITHBALANCEHOLDSRESPONSE']._serialized_start=12298 + _globals['_QUERYBALANCEWITHBALANCEHOLDSRESPONSE']._serialized_end=12423 + _globals['_QUERYFEEDISCOUNTTIERSTATISTICSREQUEST']._serialized_start=12425 + _globals['_QUERYFEEDISCOUNTTIERSTATISTICSREQUEST']._serialized_end=12464 + _globals['_TIERSTATISTIC']._serialized_start=12466 + _globals['_TIERSTATISTIC']._serialized_end=12510 + _globals['_QUERYFEEDISCOUNTTIERSTATISTICSRESPONSE']._serialized_start=12512 + _globals['_QUERYFEEDISCOUNTTIERSTATISTICSRESPONSE']._serialized_end=12615 + _globals['_MITOVAULTINFOSREQUEST']._serialized_start=12617 + _globals['_MITOVAULTINFOSREQUEST']._serialized_end=12640 + _globals['_MITOVAULTINFOSRESPONSE']._serialized_start=12643 + _globals['_MITOVAULTINFOSRESPONSE']._serialized_end=12771 + _globals['_QUERYMARKETIDFROMVAULTREQUEST']._serialized_start=12773 + _globals['_QUERYMARKETIDFROMVAULTREQUEST']._serialized_end=12827 + _globals['_QUERYMARKETIDFROMVAULTRESPONSE']._serialized_start=12829 + _globals['_QUERYMARKETIDFROMVAULTRESPONSE']._serialized_end=12880 + _globals['_QUERYHISTORICALTRADERECORDSREQUEST']._serialized_start=12882 + _globals['_QUERYHISTORICALTRADERECORDSREQUEST']._serialized_end=12937 + _globals['_QUERYHISTORICALTRADERECORDSRESPONSE']._serialized_start=12939 + _globals['_QUERYHISTORICALTRADERECORDSRESPONSE']._serialized_end=13041 + _globals['_TRADEHISTORYOPTIONS']._serialized_start=13043 + _globals['_TRADEHISTORYOPTIONS']._serialized_end=13164 + _globals['_QUERYMARKETVOLATILITYREQUEST']._serialized_start=13167 + _globals['_QUERYMARKETVOLATILITYREQUEST']._serialized_end=13296 + _globals['_QUERYMARKETVOLATILITYRESPONSE']._serialized_start=13299 + _globals['_QUERYMARKETVOLATILITYRESPONSE']._serialized_end=13528 + _globals['_QUERYBINARYMARKETSREQUEST']._serialized_start=13530 + _globals['_QUERYBINARYMARKETSREQUEST']._serialized_end=13573 + _globals['_QUERYBINARYMARKETSRESPONSE']._serialized_start=13575 + _globals['_QUERYBINARYMARKETSRESPONSE']._serialized_end=13669 + _globals['_QUERYTRADERDERIVATIVECONDITIONALORDERSREQUEST']._serialized_start=13671 + _globals['_QUERYTRADERDERIVATIVECONDITIONALORDERSREQUEST']._serialized_end=13760 + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER']._serialized_start=13763 + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER']._serialized_end=14137 + _globals['_QUERYTRADERDERIVATIVECONDITIONALORDERSRESPONSE']._serialized_start=14139 + _globals['_QUERYTRADERDERIVATIVECONDITIONALORDERSRESPONSE']._serialized_end=14266 + _globals['_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERREQUEST']._serialized_start=14268 + _globals['_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERREQUEST']._serialized_end=14335 + _globals['_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE']._serialized_start=14337 + _globals['_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE']._serialized_end=14454 + _globals['_QUERY']._serialized_start=14599 + _globals['_QUERY']._serialized_end=26964 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py index 6dc6b6b4..9cbfe120 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/exchange/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +20,11 @@ from injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -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\"\x88\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"y\n\nMsgDeposit\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x14\n\x12MsgDepositResponse\"z\n\x0bMsgWithdraw\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x15\n\x13MsgWithdrawResponse\"z\n\x17MsgCreateSpotLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"?\n\x1fMsgCreateSpotLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x81\x01\n\x1dMsgBatchCreateSpotLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12;\n\x06orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"G\n%MsgBatchCreateSpotLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x97\x02\n\x1aMsgInstantSpotMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x12\n\nbase_denom\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12K\n\x13min_price_tick_size\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16min_quantity_tick_size\x18\x06 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xbb\x05\n\x1fMsgInstantPerpetualMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x39\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12K\n\x13min_price_tick_size\x18\x0c \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16min_quantity_tick_size\x18\r \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\xef\x04\n#MsgInstantBinaryOptionsMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x15\n\roracle_symbol\x18\x03 \x01(\t\x12\x17\n\x0foracle_provider\x18\x04 \x01(\t\x12\x39\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x46\n\x0emaker_fee_rate\x18\x07 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0etaker_fee_rate\x18\x08 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x13\n\x0bquote_denom\x18\x0c \x01(\t\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xcf\x05\n#MsgInstantExpiryFuturesMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x0e\n\x06\x65xpiry\x18\x08 \x01(\x03\x12\x46\n\x0emaker_fee_rate\x18\t \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0etaker_fee_rate\x18\n \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12L\n\x14initial_margin_ratio\x18\x0b \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12P\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"{\n\x18MsgCreateSpotMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x8b\x01\n MsgCreateSpotMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12I\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xe0\x01\n\x16SpotMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12=\n\x05price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x82\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"E\n%MsgCreateDerivativeLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x85\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"H\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x89\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x41\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"M\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"s\n\x12MsgCancelSpotOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgCancelSpotOrderResponse\"v\n\x18MsgBatchCancelSpotOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"=\n MsgBatchCancelSpotOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x7f\n!MsgBatchCancelBinaryOptionsOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"F\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xc7\x05\n\x14MsgBatchUpdateOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12%\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\t\x12+\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\t\x12J\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12P\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12J\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01\x12V\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01\x12T\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12/\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\t\x12Z\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xf0\x01\n\x1cMsgBatchUpdateOrdersResponse\x12\x1b\n\x13spot_cancel_success\x18\x01 \x03(\x08\x12!\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08\x12\x19\n\x11spot_order_hashes\x18\x03 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\t\x12%\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08\x12#\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x83\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x97\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xef\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12=\n\x05price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12G\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00\x12>\n\x06payout\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x86\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9a\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x8d\x01\n\x18MsgCancelDerivativeOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n MsgCancelDerivativeOrderResponse\"\x90\x01\n\x1bMsgCancelBinaryOptionsOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"%\n#MsgCancelBinaryOptionsOrderResponse\"]\n\tOrderData\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x12\n\norder_hash\x18\x03 \x01(\t\x12\x12\n\norder_mask\x18\x04 \x01(\x05\"|\n\x1eMsgBatchCancelDerivativeOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"C\n&MsgBatchCancelDerivativeOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xa6\x01\n\x15MsgSubaccountTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgSubaccountTransferResponse\"\xa4\x01\n\x13MsgExternalTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgExternalTransferResponse\"\x9f\x01\n\x14MsgLiquidatePosition\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12@\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xcc\x01\n\x19MsgIncreasePositionMargin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12\x11\n\tmarket_id\x18\x04 \x01(\t\x12>\n\x06\x61mount\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"#\n!MsgIncreasePositionMarginResponse\"z\n\x1cMsgPrivilegedExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x66unds\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t:\x13\x82\xe7\xb0*\x06sender\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x9c\x01\n$MsgPrivilegedExecuteContractResponse\x12_\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.Coins:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xb5\x04\n\x1dSpotMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x38\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x86\x01\n\x16\x45xchangeEnableProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12>\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeType:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\xaf\x08\n!BatchExchangeModificationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x65\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposal\x12q\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposal\x12Z\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposal\x12\x64\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposal\x12m\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposal\x12p\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposal\x12m\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposal\x12q\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposal\x12_\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposal:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xcc\x03\n\x18SpotMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12\x13\n\x0bquote_denom\x18\x05 \x01(\t\x12K\n\x13min_price_tick_size\x18\x06 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16min_quantity_tick_size\x18\x07 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xe0\x05\n\x1dPerpetualMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12L\n\x14initial_margin_ratio\x18\t \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12P\n\x18maintenance_margin_ratio\x18\n \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0emaker_fee_rate\x18\x0b \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0etaker_fee_rate\x18\x0c \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x94\x05\n!BinaryOptionsMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x03\x12\r\n\x05\x61\x64min\x18\n \x01(\t\x12\x13\n\x0bquote_denom\x18\x0b \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xf4\x05\n!ExpiryFuturesMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\t \x01(\x03\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb6\x07\n#DerivativeMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12L\n\x14initial_margin_ratio\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12P\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x46\n\x0emaker_fee_rate\x18\x06 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x46\n\x0etaker_fee_rate\x18\x07 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12N\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12K\n\x13min_price_tick_size\x18\t \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12N\n\x16min_quantity_tick_size\x18\n \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12J\n\x12HourlyInterestRate\x18\x0b \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12L\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12?\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParams:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xc9\x01\n\x1eMarketForcedSettlementProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12H\n\x10settlement_price\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xac\x01\n\x1bUpdateDenomDecimalsProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimals:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9c\x06\n&BinaryOptionsMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12H\n\x10settlement_price\x18\x0b \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\r\n\x05\x61\x64min\x18\x0c \x01(\t\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12G\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParams:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x90\x01\n\x14ProviderOracleParams\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x10\n\x08provider\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x91\x01\n\x0cOracleParams\x12\x13\n\x0boracle_base\x18\x01 \x01(\t\x12\x14\n\x0coracle_quote\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x8e\x02\n#TradingRewardCampaignLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12M\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xef\x02\n#TradingRewardCampaignUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12W\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12U\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"p\n\x11RewardPointUpdate\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x42\n\nnew_points\x18\x0c \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\xe3\x01\n(TradingRewardPendingPointsUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1e\n\x16pending_pool_timestamp\x18\x03 \x01(\x03\x12K\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdate:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa4\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb9\x01\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12J\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposal:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\"\n\x10MsgRewardsOptOut\x12\x0e\n\x06sender\x18\x01 \x01(\t\"\x1a\n\x18MsgRewardsOptOutResponse\"d\n\x15MsgReclaimLockedFunds\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x13lockedAccountPubKey\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"r\n\x0bMsgSignData\x12K\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddress\x12\x16\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta\"g\n\nMsgSignDoc\x12\x1b\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04type\x12<\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00\"\x93\x02\n!MsgAdminUpdateBinaryOptionsMarket\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12H\n\x10settlement_price\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x01\x12\x1c\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x05 \x01(\x03\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:\x0b\x82\xe7\xb0*\x06sender\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse\"\xcd\x01\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12O\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplier:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*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\x45RIVATIVES2\x90\"\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\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\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\x12\x82\x01\n\x12ReclaimLockedFunds\x12\x31.injective.exchange.v1beta1.MsgReclaimLockedFunds\x1a\x39.injective.exchange.v1beta1.MsgReclaimLockedFundsResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponseBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\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\"\x88\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"y\n\nMsgDeposit\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x14\n\x12MsgDepositResponse\"z\n\x0bMsgWithdraw\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x15\n\x13MsgWithdrawResponse\"z\n\x17MsgCreateSpotLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"?\n\x1fMsgCreateSpotLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x81\x01\n\x1dMsgBatchCreateSpotLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12;\n\x06orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"G\n%MsgBatchCreateSpotLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x97\x02\n\x1aMsgInstantSpotMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x12\n\nbase_denom\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12K\n\x13min_price_tick_size\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xbb\x05\n\x1fMsgInstantPerpetualMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x39\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\xef\x04\n#MsgInstantBinaryOptionsMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x15\n\roracle_symbol\x18\x03 \x01(\t\x12\x17\n\x0foracle_provider\x18\x04 \x01(\t\x12\x39\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x46\n\x0emaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x13\n\x0bquote_denom\x18\x0c \x01(\t\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xcf\x05\n#MsgInstantExpiryFuturesMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x0e\n\x06\x65xpiry\x18\x08 \x01(\x03\x12\x46\n\x0emaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"{\n\x18MsgCreateSpotMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x8b\x01\n MsgCreateSpotMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12I\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe0\x01\n\x16SpotMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x82\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"E\n%MsgCreateDerivativeLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x85\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"H\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x89\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x41\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"M\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"s\n\x12MsgCancelSpotOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgCancelSpotOrderResponse\"v\n\x18MsgBatchCancelSpotOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"=\n MsgBatchCancelSpotOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x7f\n!MsgBatchCancelBinaryOptionsOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"F\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc7\x05\n\x14MsgBatchUpdateOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12%\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\t\x12+\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\t\x12J\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12P\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12J\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01\x12V\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01\x12T\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12/\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\t\x12Z\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xf0\x01\n\x1cMsgBatchUpdateOrdersResponse\x12\x1b\n\x13spot_cancel_success\x18\x01 \x03(\x08\x12!\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08\x12\x19\n\x11spot_order_hashes\x18\x03 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\t\x12%\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08\x12#\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x83\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x97\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xef\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00\x12>\n\x06payout\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9a\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8d\x01\n\x18MsgCancelDerivativeOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n MsgCancelDerivativeOrderResponse\"\x90\x01\n\x1bMsgCancelBinaryOptionsOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"%\n#MsgCancelBinaryOptionsOrderResponse\"]\n\tOrderData\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x12\n\norder_hash\x18\x03 \x01(\t\x12\x12\n\norder_mask\x18\x04 \x01(\x05\"|\n\x1eMsgBatchCancelDerivativeOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"C\n&MsgBatchCancelDerivativeOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa6\x01\n\x15MsgSubaccountTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgSubaccountTransferResponse\"\xa4\x01\n\x13MsgExternalTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgExternalTransferResponse\"\x9f\x01\n\x14MsgLiquidatePosition\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12@\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xcc\x01\n\x19MsgIncreasePositionMargin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12\x11\n\tmarket_id\x18\x04 \x01(\t\x12>\n\x06\x61mount\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x0b\x82\xe7\xb0*\x06sender\"#\n!MsgIncreasePositionMarginResponse\"z\n\x1cMsgPrivilegedExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x66unds\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9c\x01\n$MsgPrivilegedExecuteContractResponse\x12_\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.Coins:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xb5\x04\n\x1dSpotMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x86\x01\n\x16\x45xchangeEnableProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12>\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeType:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xaf\x08\n!BatchExchangeModificationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x65\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposal\x12q\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposal\x12Z\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposal\x12\x64\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposal\x12m\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposal\x12p\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposal\x12m\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposal\x12q\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposal\x12_\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposal:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xcc\x03\n\x18SpotMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12\x13\n\x0bquote_denom\x18\x05 \x01(\t\x12K\n\x13min_price_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xe0\x05\n\x1dPerpetualMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12L\n\x14initial_margin_ratio\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x94\x05\n!BinaryOptionsMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x03\x12\r\n\x05\x61\x64min\x18\n \x01(\t\x12\x13\n\x0bquote_denom\x18\x0b \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xf4\x05\n!ExpiryFuturesMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\t \x01(\x03\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb6\x07\n#DerivativeMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12L\n\x14initial_margin_ratio\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\t \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\n \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12J\n\x12HourlyInterestRate\x18\x0b \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12?\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParams:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xc9\x01\n\x1eMarketForcedSettlementProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12H\n\x10settlement_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xac\x01\n\x1bUpdateDenomDecimalsProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimals:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9c\x06\n&BinaryOptionsMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12H\n\x10settlement_price\x18\x0b \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\r\n\x05\x61\x64min\x18\x0c \x01(\t\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12G\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParams:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x90\x01\n\x14ProviderOracleParams\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x10\n\x08provider\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x91\x01\n\x0cOracleParams\x12\x13\n\x0boracle_base\x18\x01 \x01(\t\x12\x14\n\x0coracle_quote\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x8e\x02\n#TradingRewardCampaignLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12M\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xef\x02\n#TradingRewardCampaignUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12W\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12U\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"p\n\x11RewardPointUpdate\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x42\n\nnew_points\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe3\x01\n(TradingRewardPendingPointsUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1e\n\x16pending_pool_timestamp\x18\x03 \x01(\x03\x12K\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdate:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa4\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb9\x01\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12J\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposal:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\"\n\x10MsgRewardsOptOut\x12\x0e\n\x06sender\x18\x01 \x01(\t\"\x1a\n\x18MsgRewardsOptOutResponse\"d\n\x15MsgReclaimLockedFunds\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x13lockedAccountPubKey\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"r\n\x0bMsgSignData\x12K\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddress\x12\x16\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta\"g\n\nMsgSignDoc\x12\x1b\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04type\x12<\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00\"\x93\x02\n!MsgAdminUpdateBinaryOptionsMarket\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12H\n\x10settlement_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x05 \x01(\x03\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:\x0b\x82\xe7\xb0*\x06sender\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse\"\xcd\x01\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12O\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplier:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*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\x45RIVATIVES2\x90\"\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\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\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\x12\x82\x01\n\x12ReclaimLockedFunds\x12\x31.injective.exchange.v1beta1.MsgReclaimLockedFunds\x1a\x39.injective.exchange.v1beta1.MsgReclaimLockedFundsResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponseBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -43,101 +44,101 @@ _MSGDEPOSIT.fields_by_name['amount']._options = None _MSGDEPOSIT.fields_by_name['amount']._serialized_options = b'\310\336\037\000' _MSGDEPOSIT._options = None - _MSGDEPOSIT._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGDEPOSIT._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGWITHDRAW.fields_by_name['amount']._options = None _MSGWITHDRAW.fields_by_name['amount']._serialized_options = b'\310\336\037\000' _MSGWITHDRAW._options = None - _MSGWITHDRAW._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGWITHDRAW._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGCREATESPOTLIMITORDER.fields_by_name['order']._options = None _MSGCREATESPOTLIMITORDER.fields_by_name['order']._serialized_options = b'\310\336\037\000' _MSGCREATESPOTLIMITORDER._options = None - _MSGCREATESPOTLIMITORDER._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGCREATESPOTLIMITORDER._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGCREATESPOTLIMITORDERRESPONSE._options = None - _MSGCREATESPOTLIMITORDERRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCREATESPOTLIMITORDERRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGBATCHCREATESPOTLIMITORDERS.fields_by_name['orders']._options = None _MSGBATCHCREATESPOTLIMITORDERS.fields_by_name['orders']._serialized_options = b'\310\336\037\000' _MSGBATCHCREATESPOTLIMITORDERS._options = None - _MSGBATCHCREATESPOTLIMITORDERS._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGBATCHCREATESPOTLIMITORDERS._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGBATCHCREATESPOTLIMITORDERSRESPONSE._options = None - _MSGBATCHCREATESPOTLIMITORDERSRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGBATCHCREATESPOTLIMITORDERSRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGINSTANTSPOTMARKETLAUNCH.fields_by_name['min_price_tick_size']._options = None - _MSGINSTANTSPOTMARKETLAUNCH.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTSPOTMARKETLAUNCH.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTSPOTMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._options = None - _MSGINSTANTSPOTMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTSPOTMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTSPOTMARKETLAUNCH._options = None - _MSGINSTANTSPOTMARKETLAUNCH._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGINSTANTSPOTMARKETLAUNCH._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['maker_fee_rate']._options = None - _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['taker_fee_rate']._options = None - _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['initial_margin_ratio']._options = None - _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['initial_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['maintenance_margin_ratio']._options = None - _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['min_price_tick_size']._options = None - _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._options = None - _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTPERPETUALMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTPERPETUALMARKETLAUNCH._options = None - _MSGINSTANTPERPETUALMARKETLAUNCH._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGINSTANTPERPETUALMARKETLAUNCH._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['maker_fee_rate']._options = None - _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['taker_fee_rate']._options = None - _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['min_price_tick_size']._options = None - _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._options = None - _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTBINARYOPTIONSMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTBINARYOPTIONSMARKETLAUNCH._options = None - _MSGINSTANTBINARYOPTIONSMARKETLAUNCH._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGINSTANTBINARYOPTIONSMARKETLAUNCH._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['maker_fee_rate']._options = None - _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['taker_fee_rate']._options = None - _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['initial_margin_ratio']._options = None - _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['initial_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['maintenance_margin_ratio']._options = None - _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['min_price_tick_size']._options = None - _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._options = None - _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH._options = None - _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGCREATESPOTMARKETORDER.fields_by_name['order']._options = None _MSGCREATESPOTMARKETORDER.fields_by_name['order']._serialized_options = b'\310\336\037\000' _MSGCREATESPOTMARKETORDER._options = None - _MSGCREATESPOTMARKETORDER._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGCREATESPOTMARKETORDER._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGCREATESPOTMARKETORDERRESPONSE.fields_by_name['results']._options = None _MSGCREATESPOTMARKETORDERRESPONSE.fields_by_name['results']._serialized_options = b'\310\336\037\001' _MSGCREATESPOTMARKETORDERRESPONSE._options = None - _MSGCREATESPOTMARKETORDERRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCREATESPOTMARKETORDERRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _SPOTMARKETORDERRESULTS.fields_by_name['quantity']._options = None - _SPOTMARKETORDERRESULTS.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTMARKETORDERRESULTS.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETORDERRESULTS.fields_by_name['price']._options = None - _SPOTMARKETORDERRESULTS.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTMARKETORDERRESULTS.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETORDERRESULTS.fields_by_name['fee']._options = None - _SPOTMARKETORDERRESULTS.fields_by_name['fee']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTMARKETORDERRESULTS.fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETORDERRESULTS._options = None - _SPOTMARKETORDERRESULTS._serialized_options = b'\350\240\037\000\210\240\037\000' + _SPOTMARKETORDERRESULTS._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGCREATEDERIVATIVELIMITORDER.fields_by_name['order']._options = None _MSGCREATEDERIVATIVELIMITORDER.fields_by_name['order']._serialized_options = b'\310\336\037\000' _MSGCREATEDERIVATIVELIMITORDER._options = None _MSGCREATEDERIVATIVELIMITORDER._serialized_options = b'\210\240\037\000\202\347\260*\006sender' _MSGCREATEDERIVATIVELIMITORDERRESPONSE._options = None - _MSGCREATEDERIVATIVELIMITORDERRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCREATEDERIVATIVELIMITORDERRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGCREATEBINARYOPTIONSLIMITORDER.fields_by_name['order']._options = None _MSGCREATEBINARYOPTIONSLIMITORDER.fields_by_name['order']._serialized_options = b'\310\336\037\000' _MSGCREATEBINARYOPTIONSLIMITORDER._options = None _MSGCREATEBINARYOPTIONSLIMITORDER._serialized_options = b'\210\240\037\000\202\347\260*\006sender' _MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE._options = None - _MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGBATCHCREATEDERIVATIVELIMITORDERS.fields_by_name['orders']._options = None _MSGBATCHCREATEDERIVATIVELIMITORDERS.fields_by_name['orders']._serialized_options = b'\310\336\037\000' _MSGBATCHCREATEDERIVATIVELIMITORDERS._options = None _MSGBATCHCREATEDERIVATIVELIMITORDERS._serialized_options = b'\210\240\037\000\202\347\260*\006sender' _MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE._options = None - _MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGCANCELSPOTORDER._options = None _MSGCANCELSPOTORDER._serialized_options = b'\210\240\037\000\202\347\260*\006sender' _MSGBATCHCANCELSPOTORDERS.fields_by_name['data']._options = None @@ -145,13 +146,13 @@ _MSGBATCHCANCELSPOTORDERS._options = None _MSGBATCHCANCELSPOTORDERS._serialized_options = b'\210\240\037\000\202\347\260*\006sender' _MSGBATCHCANCELSPOTORDERSRESPONSE._options = None - _MSGBATCHCANCELSPOTORDERSRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGBATCHCANCELSPOTORDERSRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGBATCHCANCELBINARYOPTIONSORDERS.fields_by_name['data']._options = None _MSGBATCHCANCELBINARYOPTIONSORDERS.fields_by_name['data']._serialized_options = b'\310\336\037\000' _MSGBATCHCANCELBINARYOPTIONSORDERS._options = None _MSGBATCHCANCELBINARYOPTIONSORDERS._serialized_options = b'\210\240\037\000\202\347\260*\006sender' _MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE._options = None - _MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGBATCHUPDATEORDERS.fields_by_name['spot_orders_to_cancel']._options = None _MSGBATCHUPDATEORDERS.fields_by_name['spot_orders_to_cancel']._serialized_options = b'\310\336\037\001' _MSGBATCHUPDATEORDERS.fields_by_name['derivative_orders_to_cancel']._options = None @@ -167,7 +168,7 @@ _MSGBATCHUPDATEORDERS._options = None _MSGBATCHUPDATEORDERS._serialized_options = b'\210\240\037\000\202\347\260*\006sender' _MSGBATCHUPDATEORDERSRESPONSE._options = None - _MSGBATCHUPDATEORDERSRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGBATCHUPDATEORDERSRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGCREATEDERIVATIVEMARKETORDER.fields_by_name['order']._options = None _MSGCREATEDERIVATIVEMARKETORDER.fields_by_name['order']._serialized_options = b'\310\336\037\000' _MSGCREATEDERIVATIVEMARKETORDER._options = None @@ -175,19 +176,19 @@ _MSGCREATEDERIVATIVEMARKETORDERRESPONSE.fields_by_name['results']._options = None _MSGCREATEDERIVATIVEMARKETORDERRESPONSE.fields_by_name['results']._serialized_options = b'\310\336\037\001' _MSGCREATEDERIVATIVEMARKETORDERRESPONSE._options = None - _MSGCREATEDERIVATIVEMARKETORDERRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCREATEDERIVATIVEMARKETORDERRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _DERIVATIVEMARKETORDERRESULTS.fields_by_name['quantity']._options = None - _DERIVATIVEMARKETORDERRESULTS.fields_by_name['quantity']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKETORDERRESULTS.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETORDERRESULTS.fields_by_name['price']._options = None - _DERIVATIVEMARKETORDERRESULTS.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKETORDERRESULTS.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETORDERRESULTS.fields_by_name['fee']._options = None - _DERIVATIVEMARKETORDERRESULTS.fields_by_name['fee']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKETORDERRESULTS.fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETORDERRESULTS.fields_by_name['position_delta']._options = None _DERIVATIVEMARKETORDERRESULTS.fields_by_name['position_delta']._serialized_options = b'\310\336\037\000' _DERIVATIVEMARKETORDERRESULTS.fields_by_name['payout']._options = None - _DERIVATIVEMARKETORDERRESULTS.fields_by_name['payout']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _DERIVATIVEMARKETORDERRESULTS.fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETORDERRESULTS._options = None - _DERIVATIVEMARKETORDERRESULTS._serialized_options = b'\350\240\037\000\210\240\037\000' + _DERIVATIVEMARKETORDERRESULTS._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGCREATEBINARYOPTIONSMARKETORDER.fields_by_name['order']._options = None _MSGCREATEBINARYOPTIONSMARKETORDER.fields_by_name['order']._serialized_options = b'\310\336\037\000' _MSGCREATEBINARYOPTIONSMARKETORDER._options = None @@ -195,7 +196,7 @@ _MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE.fields_by_name['results']._options = None _MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE.fields_by_name['results']._serialized_options = b'\310\336\037\001' _MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE._options = None - _MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGCANCELDERIVATIVEORDER._options = None _MSGCANCELDERIVATIVEORDER._serialized_options = b'\210\240\037\000\202\347\260*\006sender' _MSGCANCELBINARYOPTIONSORDER._options = None @@ -205,7 +206,7 @@ _MSGBATCHCANCELDERIVATIVEORDERS._options = None _MSGBATCHCANCELDERIVATIVEORDERS._serialized_options = b'\210\240\037\000\202\347\260*\006sender' _MSGBATCHCANCELDERIVATIVEORDERSRESPONSE._options = None - _MSGBATCHCANCELDERIVATIVEORDERSRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGBATCHCANCELDERIVATIVEORDERSRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGSUBACCOUNTTRANSFER.fields_by_name['amount']._options = None _MSGSUBACCOUNTTRANSFER.fields_by_name['amount']._serialized_options = b'\310\336\037\000' _MSGSUBACCOUNTTRANSFER._options = None @@ -219,131 +220,131 @@ _MSGLIQUIDATEPOSITION._options = None _MSGLIQUIDATEPOSITION._serialized_options = b'\202\347\260*\006sender' _MSGINCREASEPOSITIONMARGIN.fields_by_name['amount']._options = None - _MSGINCREASEPOSITIONMARGIN.fields_by_name['amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGINCREASEPOSITIONMARGIN.fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINCREASEPOSITIONMARGIN._options = None _MSGINCREASEPOSITIONMARGIN._serialized_options = b'\202\347\260*\006sender' _MSGPRIVILEGEDEXECUTECONTRACT._options = None - _MSGPRIVILEGEDEXECUTECONTRACT._serialized_options = b'\202\347\260*\006sender\350\240\037\000\210\240\037\000' + _MSGPRIVILEGEDEXECUTECONTRACT._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGPRIVILEGEDEXECUTECONTRACTRESPONSE.fields_by_name['funds_diff']._options = None _MSGPRIVILEGEDEXECUTECONTRACTRESPONSE.fields_by_name['funds_diff']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _MSGPRIVILEGEDEXECUTECONTRACTRESPONSE._options = None - _MSGPRIVILEGEDEXECUTECONTRACTRESPONSE._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGPRIVILEGEDEXECUTECONTRACTRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETPARAMUPDATEPROPOSAL._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _SPOTMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _EXCHANGEENABLEPROPOSAL._options = None - _EXCHANGEENABLEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000' + _EXCHANGEENABLEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000' _BATCHEXCHANGEMODIFICATIONPROPOSAL._options = None - _BATCHEXCHANGEMODIFICATIONPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHEXCHANGEMODIFICATIONPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SPOTMARKETLAUNCHPROPOSAL._options = None - _SPOTMARKETLAUNCHPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _SPOTMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PERPETUALMARKETLAUNCHPROPOSAL._options = None - _PERPETUALMARKETLAUNCHPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _PERPETUALMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKETLAUNCHPROPOSAL._options = None - _BINARYOPTIONSMARKETLAUNCHPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BINARYOPTIONSMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EXPIRYFUTURESMARKETLAUNCHPROPOSAL._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['initial_margin_ratio']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maintenance_margin_ratio']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyInterestRate']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyInterestRate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyInterestRate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyFundingRateCap']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyFundingRateCap']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyFundingRateCap']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVEMARKETPARAMUPDATEPROPOSAL._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _MARKETFORCEDSETTLEMENTPROPOSAL.fields_by_name['settlement_price']._options = None - _MARKETFORCEDSETTLEMENTPROPOSAL.fields_by_name['settlement_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _MARKETFORCEDSETTLEMENTPROPOSAL.fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MARKETFORCEDSETTLEMENTPROPOSAL._options = None - _MARKETFORCEDSETTLEMENTPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _MARKETFORCEDSETTLEMENTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _UPDATEDENOMDECIMALSPROPOSAL._options = None - _UPDATEDENOMDECIMALSPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _UPDATEDENOMDECIMALSPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['settlement_price']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['settlement_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL._options = None - _TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _TRADINGREWARDCAMPAIGNUPDATEPROPOSAL._options = None - _TRADINGREWARDCAMPAIGNUPDATEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _TRADINGREWARDCAMPAIGNUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _REWARDPOINTUPDATE.fields_by_name['new_points']._options = None - _REWARDPOINTUPDATE.fields_by_name['new_points']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _REWARDPOINTUPDATE.fields_by_name['new_points']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL._options = None - _TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _FEEDISCOUNTPROPOSAL._options = None - _FEEDISCOUNTPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _FEEDISCOUNTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _BATCHCOMMUNITYPOOLSPENDPROPOSAL._options = None - _BATCHCOMMUNITYPOOLSPENDPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCOMMUNITYPOOLSPENDPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _MSGRECLAIMLOCKEDFUNDS._options = None _MSGRECLAIMLOCKEDFUNDS._serialized_options = b'\202\347\260*\006sender' _MSGSIGNDATA.fields_by_name['Signer']._options = None @@ -355,183 +356,183 @@ _MSGSIGNDOC.fields_by_name['value']._options = None _MSGSIGNDOC.fields_by_name['value']._serialized_options = b'\310\336\037\000' _MSGADMINUPDATEBINARYOPTIONSMARKET.fields_by_name['settlement_price']._options = None - _MSGADMINUPDATEBINARYOPTIONSMARKET.fields_by_name['settlement_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\001' + _MSGADMINUPDATEBINARYOPTIONSMARKET.fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGADMINUPDATEBINARYOPTIONSMARKET._options = None _MSGADMINUPDATEBINARYOPTIONSMARKET._serialized_options = b'\202\347\260*\006sender' _ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL._options = None - _ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _EXCHANGETYPE._serialized_start=18128 - _EXCHANGETYPE._serialized_end=18248 - _MSGUPDATEPARAMS._serialized_start=304 - _MSGUPDATEPARAMS._serialized_end=440 - _MSGUPDATEPARAMSRESPONSE._serialized_start=442 - _MSGUPDATEPARAMSRESPONSE._serialized_end=467 - _MSGDEPOSIT._serialized_start=469 - _MSGDEPOSIT._serialized_end=590 - _MSGDEPOSITRESPONSE._serialized_start=592 - _MSGDEPOSITRESPONSE._serialized_end=612 - _MSGWITHDRAW._serialized_start=614 - _MSGWITHDRAW._serialized_end=736 - _MSGWITHDRAWRESPONSE._serialized_start=738 - _MSGWITHDRAWRESPONSE._serialized_end=759 - _MSGCREATESPOTLIMITORDER._serialized_start=761 - _MSGCREATESPOTLIMITORDER._serialized_end=883 - _MSGCREATESPOTLIMITORDERRESPONSE._serialized_start=885 - _MSGCREATESPOTLIMITORDERRESPONSE._serialized_end=948 - _MSGBATCHCREATESPOTLIMITORDERS._serialized_start=951 - _MSGBATCHCREATESPOTLIMITORDERS._serialized_end=1080 - _MSGBATCHCREATESPOTLIMITORDERSRESPONSE._serialized_start=1082 - _MSGBATCHCREATESPOTLIMITORDERSRESPONSE._serialized_end=1153 - _MSGINSTANTSPOTMARKETLAUNCH._serialized_start=1156 - _MSGINSTANTSPOTMARKETLAUNCH._serialized_end=1435 - _MSGINSTANTSPOTMARKETLAUNCHRESPONSE._serialized_start=1437 - _MSGINSTANTSPOTMARKETLAUNCHRESPONSE._serialized_end=1473 - _MSGINSTANTPERPETUALMARKETLAUNCH._serialized_start=1476 - _MSGINSTANTPERPETUALMARKETLAUNCH._serialized_end=2175 - _MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE._serialized_start=2177 - _MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE._serialized_end=2218 - _MSGINSTANTBINARYOPTIONSMARKETLAUNCH._serialized_start=2221 - _MSGINSTANTBINARYOPTIONSMARKETLAUNCH._serialized_end=2844 - _MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE._serialized_start=2846 - _MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE._serialized_end=2891 - _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH._serialized_start=2894 - _MSGINSTANTEXPIRYFUTURESMARKETLAUNCH._serialized_end=3613 - _MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE._serialized_start=3615 - _MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE._serialized_end=3660 - _MSGCREATESPOTMARKETORDER._serialized_start=3662 - _MSGCREATESPOTMARKETORDER._serialized_end=3785 - _MSGCREATESPOTMARKETORDERRESPONSE._serialized_start=3788 - _MSGCREATESPOTMARKETORDERRESPONSE._serialized_end=3927 - _SPOTMARKETORDERRESULTS._serialized_start=3930 - _SPOTMARKETORDERRESULTS._serialized_end=4154 - _MSGCREATEDERIVATIVELIMITORDER._serialized_start=4157 - _MSGCREATEDERIVATIVELIMITORDER._serialized_end=4287 - _MSGCREATEDERIVATIVELIMITORDERRESPONSE._serialized_start=4289 - _MSGCREATEDERIVATIVELIMITORDERRESPONSE._serialized_end=4358 - _MSGCREATEBINARYOPTIONSLIMITORDER._serialized_start=4361 - _MSGCREATEBINARYOPTIONSLIMITORDER._serialized_end=4494 - _MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE._serialized_start=4496 - _MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE._serialized_end=4568 - _MSGBATCHCREATEDERIVATIVELIMITORDERS._serialized_start=4571 - _MSGBATCHCREATEDERIVATIVELIMITORDERS._serialized_end=4708 - _MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE._serialized_start=4710 - _MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE._serialized_end=4787 - _MSGCANCELSPOTORDER._serialized_start=4789 - _MSGCANCELSPOTORDER._serialized_end=4904 - _MSGCANCELSPOTORDERRESPONSE._serialized_start=4906 - _MSGCANCELSPOTORDERRESPONSE._serialized_end=4934 - _MSGBATCHCANCELSPOTORDERS._serialized_start=4936 - _MSGBATCHCANCELSPOTORDERS._serialized_end=5054 - _MSGBATCHCANCELSPOTORDERSRESPONSE._serialized_start=5056 - _MSGBATCHCANCELSPOTORDERSRESPONSE._serialized_end=5117 - _MSGBATCHCANCELBINARYOPTIONSORDERS._serialized_start=5119 - _MSGBATCHCANCELBINARYOPTIONSORDERS._serialized_end=5246 - _MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE._serialized_start=5248 - _MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE._serialized_end=5318 - _MSGBATCHUPDATEORDERS._serialized_start=5321 - _MSGBATCHUPDATEORDERS._serialized_end=6032 - _MSGBATCHUPDATEORDERSRESPONSE._serialized_start=6035 - _MSGBATCHUPDATEORDERSRESPONSE._serialized_end=6275 - _MSGCREATEDERIVATIVEMARKETORDER._serialized_start=6278 - _MSGCREATEDERIVATIVEMARKETORDER._serialized_end=6409 - _MSGCREATEDERIVATIVEMARKETORDERRESPONSE._serialized_start=6412 - _MSGCREATEDERIVATIVEMARKETORDERRESPONSE._serialized_end=6563 - _DERIVATIVEMARKETORDERRESULTS._serialized_start=6566 - _DERIVATIVEMARKETORDERRESULTS._serialized_end=6933 - _MSGCREATEBINARYOPTIONSMARKETORDER._serialized_start=6936 - _MSGCREATEBINARYOPTIONSMARKETORDER._serialized_end=7070 - _MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE._serialized_start=7073 - _MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE._serialized_end=7227 - _MSGCANCELDERIVATIVEORDER._serialized_start=7230 - _MSGCANCELDERIVATIVEORDER._serialized_end=7371 - _MSGCANCELDERIVATIVEORDERRESPONSE._serialized_start=7373 - _MSGCANCELDERIVATIVEORDERRESPONSE._serialized_end=7407 - _MSGCANCELBINARYOPTIONSORDER._serialized_start=7410 - _MSGCANCELBINARYOPTIONSORDER._serialized_end=7554 - _MSGCANCELBINARYOPTIONSORDERRESPONSE._serialized_start=7556 - _MSGCANCELBINARYOPTIONSORDERRESPONSE._serialized_end=7593 - _ORDERDATA._serialized_start=7595 - _ORDERDATA._serialized_end=7688 - _MSGBATCHCANCELDERIVATIVEORDERS._serialized_start=7690 - _MSGBATCHCANCELDERIVATIVEORDERS._serialized_end=7814 - _MSGBATCHCANCELDERIVATIVEORDERSRESPONSE._serialized_start=7816 - _MSGBATCHCANCELDERIVATIVEORDERSRESPONSE._serialized_end=7883 - _MSGSUBACCOUNTTRANSFER._serialized_start=7886 - _MSGSUBACCOUNTTRANSFER._serialized_end=8052 - _MSGSUBACCOUNTTRANSFERRESPONSE._serialized_start=8054 - _MSGSUBACCOUNTTRANSFERRESPONSE._serialized_end=8085 - _MSGEXTERNALTRANSFER._serialized_start=8088 - _MSGEXTERNALTRANSFER._serialized_end=8252 - _MSGEXTERNALTRANSFERRESPONSE._serialized_start=8254 - _MSGEXTERNALTRANSFERRESPONSE._serialized_end=8283 - _MSGLIQUIDATEPOSITION._serialized_start=8286 - _MSGLIQUIDATEPOSITION._serialized_end=8445 - _MSGLIQUIDATEPOSITIONRESPONSE._serialized_start=8447 - _MSGLIQUIDATEPOSITIONRESPONSE._serialized_end=8477 - _MSGINCREASEPOSITIONMARGIN._serialized_start=8480 - _MSGINCREASEPOSITIONMARGIN._serialized_end=8684 - _MSGINCREASEPOSITIONMARGINRESPONSE._serialized_start=8686 - _MSGINCREASEPOSITIONMARGINRESPONSE._serialized_end=8721 - _MSGPRIVILEGEDEXECUTECONTRACT._serialized_start=8723 - _MSGPRIVILEGEDEXECUTECONTRACT._serialized_end=8845 - _MSGPRIVILEGEDEXECUTECONTRACTRESPONSE._serialized_start=8848 - _MSGPRIVILEGEDEXECUTECONTRACTRESPONSE._serialized_end=9004 - _SPOTMARKETPARAMUPDATEPROPOSAL._serialized_start=9007 - _SPOTMARKETPARAMUPDATEPROPOSAL._serialized_end=9572 - _EXCHANGEENABLEPROPOSAL._serialized_start=9575 - _EXCHANGEENABLEPROPOSAL._serialized_end=9709 - _BATCHEXCHANGEMODIFICATIONPROPOSAL._serialized_start=9712 - _BATCHEXCHANGEMODIFICATIONPROPOSAL._serialized_end=10783 - _SPOTMARKETLAUNCHPROPOSAL._serialized_start=10786 - _SPOTMARKETLAUNCHPROPOSAL._serialized_end=11246 - _PERPETUALMARKETLAUNCHPROPOSAL._serialized_start=11249 - _PERPETUALMARKETLAUNCHPROPOSAL._serialized_end=11985 - _BINARYOPTIONSMARKETLAUNCHPROPOSAL._serialized_start=11988 - _BINARYOPTIONSMARKETLAUNCHPROPOSAL._serialized_end=12648 - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL._serialized_start=12651 - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL._serialized_end=13407 - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL._serialized_start=13410 - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL._serialized_end=14360 - _MARKETFORCEDSETTLEMENTPROPOSAL._serialized_start=14363 - _MARKETFORCEDSETTLEMENTPROPOSAL._serialized_end=14564 - _UPDATEDENOMDECIMALSPROPOSAL._serialized_start=14567 - _UPDATEDENOMDECIMALSPROPOSAL._serialized_end=14739 - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL._serialized_start=14742 - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL._serialized_end=15538 - _PROVIDERORACLEPARAMS._serialized_start=15541 - _PROVIDERORACLEPARAMS._serialized_end=15685 - _ORACLEPARAMS._serialized_start=15688 - _ORACLEPARAMS._serialized_end=15833 - _TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL._serialized_start=15836 - _TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL._serialized_end=16106 - _TRADINGREWARDCAMPAIGNUPDATEPROPOSAL._serialized_start=16109 - _TRADINGREWARDCAMPAIGNUPDATEPROPOSAL._serialized_end=16476 - _REWARDPOINTUPDATE._serialized_start=16478 - _REWARDPOINTUPDATE._serialized_end=16590 - _TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL._serialized_start=16593 - _TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL._serialized_end=16820 - _FEEDISCOUNTPROPOSAL._serialized_start=16823 - _FEEDISCOUNTPROPOSAL._serialized_end=16987 - _BATCHCOMMUNITYPOOLSPENDPROPOSAL._serialized_start=16990 - _BATCHCOMMUNITYPOOLSPENDPROPOSAL._serialized_end=17175 - _MSGREWARDSOPTOUT._serialized_start=17177 - _MSGREWARDSOPTOUT._serialized_end=17211 - _MSGREWARDSOPTOUTRESPONSE._serialized_start=17213 - _MSGREWARDSOPTOUTRESPONSE._serialized_end=17239 - _MSGRECLAIMLOCKEDFUNDS._serialized_start=17241 - _MSGRECLAIMLOCKEDFUNDS._serialized_end=17341 - _MSGRECLAIMLOCKEDFUNDSRESPONSE._serialized_start=17343 - _MSGRECLAIMLOCKEDFUNDSRESPONSE._serialized_end=17374 - _MSGSIGNDATA._serialized_start=17376 - _MSGSIGNDATA._serialized_end=17490 - _MSGSIGNDOC._serialized_start=17492 - _MSGSIGNDOC._serialized_end=17595 - _MSGADMINUPDATEBINARYOPTIONSMARKET._serialized_start=17598 - _MSGADMINUPDATEBINARYOPTIONSMARKET._serialized_end=17873 - _MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE._serialized_start=17875 - _MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE._serialized_end=17918 - _ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL._serialized_start=17921 - _ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL._serialized_end=18126 - _MSG._serialized_start=18251 - _MSG._serialized_end=22619 + _ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_EXCHANGETYPE']._serialized_start=18128 + _globals['_EXCHANGETYPE']._serialized_end=18248 + _globals['_MSGUPDATEPARAMS']._serialized_start=304 + _globals['_MSGUPDATEPARAMS']._serialized_end=440 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=442 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=467 + _globals['_MSGDEPOSIT']._serialized_start=469 + _globals['_MSGDEPOSIT']._serialized_end=590 + _globals['_MSGDEPOSITRESPONSE']._serialized_start=592 + _globals['_MSGDEPOSITRESPONSE']._serialized_end=612 + _globals['_MSGWITHDRAW']._serialized_start=614 + _globals['_MSGWITHDRAW']._serialized_end=736 + _globals['_MSGWITHDRAWRESPONSE']._serialized_start=738 + _globals['_MSGWITHDRAWRESPONSE']._serialized_end=759 + _globals['_MSGCREATESPOTLIMITORDER']._serialized_start=761 + _globals['_MSGCREATESPOTLIMITORDER']._serialized_end=883 + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_start=885 + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_end=948 + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_start=951 + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_end=1080 + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_start=1082 + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_end=1153 + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_start=1156 + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_end=1435 + _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_start=1437 + _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_end=1473 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_start=1476 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_end=2175 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_start=2177 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_end=2218 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_start=2221 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_end=2844 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_start=2846 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_end=2891 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_start=2894 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_end=3613 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_start=3615 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_end=3660 + _globals['_MSGCREATESPOTMARKETORDER']._serialized_start=3662 + _globals['_MSGCREATESPOTMARKETORDER']._serialized_end=3785 + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_start=3788 + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_end=3927 + _globals['_SPOTMARKETORDERRESULTS']._serialized_start=3930 + _globals['_SPOTMARKETORDERRESULTS']._serialized_end=4154 + _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_start=4157 + _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_end=4287 + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_start=4289 + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_end=4358 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_start=4361 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_end=4494 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_start=4496 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_end=4568 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_start=4571 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_end=4708 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_start=4710 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_end=4787 + _globals['_MSGCANCELSPOTORDER']._serialized_start=4789 + _globals['_MSGCANCELSPOTORDER']._serialized_end=4904 + _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_start=4906 + _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_end=4934 + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_start=4936 + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_end=5054 + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_start=5056 + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_end=5117 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_start=5119 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_end=5246 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_start=5248 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_end=5318 + _globals['_MSGBATCHUPDATEORDERS']._serialized_start=5321 + _globals['_MSGBATCHUPDATEORDERS']._serialized_end=6032 + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_start=6035 + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_end=6275 + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_start=6278 + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_end=6409 + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_start=6412 + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_end=6563 + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_start=6566 + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_end=6933 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_start=6936 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_end=7070 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_start=7073 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_end=7227 + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_start=7230 + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_end=7371 + _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_start=7373 + _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_end=7407 + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_start=7410 + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_end=7554 + _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_start=7556 + _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_end=7593 + _globals['_ORDERDATA']._serialized_start=7595 + _globals['_ORDERDATA']._serialized_end=7688 + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_start=7690 + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_end=7814 + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_start=7816 + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_end=7883 + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_start=7886 + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_end=8052 + _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_start=8054 + _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_end=8085 + _globals['_MSGEXTERNALTRANSFER']._serialized_start=8088 + _globals['_MSGEXTERNALTRANSFER']._serialized_end=8252 + _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_start=8254 + _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_end=8283 + _globals['_MSGLIQUIDATEPOSITION']._serialized_start=8286 + _globals['_MSGLIQUIDATEPOSITION']._serialized_end=8445 + _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_start=8447 + _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_end=8477 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_start=8480 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_end=8684 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_start=8686 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_end=8721 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_start=8723 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=8845 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=8848 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=9004 + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_start=9007 + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_end=9572 + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_start=9575 + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_end=9709 + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_start=9712 + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_end=10783 + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_start=10786 + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_end=11246 + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_start=11249 + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_end=11985 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_start=11988 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_end=12648 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_start=12651 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_end=13407 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_start=13410 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_end=14360 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_start=14363 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_end=14564 + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_start=14567 + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_end=14739 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_start=14742 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_end=15538 + _globals['_PROVIDERORACLEPARAMS']._serialized_start=15541 + _globals['_PROVIDERORACLEPARAMS']._serialized_end=15685 + _globals['_ORACLEPARAMS']._serialized_start=15688 + _globals['_ORACLEPARAMS']._serialized_end=15833 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_start=15836 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_end=16106 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_start=16109 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_end=16476 + _globals['_REWARDPOINTUPDATE']._serialized_start=16478 + _globals['_REWARDPOINTUPDATE']._serialized_end=16590 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_start=16593 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_end=16820 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_start=16823 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_end=16987 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_start=16990 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_end=17175 + _globals['_MSGREWARDSOPTOUT']._serialized_start=17177 + _globals['_MSGREWARDSOPTOUT']._serialized_end=17211 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=17213 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=17239 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=17241 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=17341 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=17343 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=17374 + _globals['_MSGSIGNDATA']._serialized_start=17376 + _globals['_MSGSIGNDATA']._serialized_end=17490 + _globals['_MSGSIGNDOC']._serialized_start=17492 + _globals['_MSGSIGNDOC']._serialized_end=17595 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=17598 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=17873 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=17875 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=17918 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_start=17921 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_end=18126 + _globals['_MSG']._serialized_start=18251 + _globals['_MSG']._serialized_end=22619 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py index 9813ca0f..47ea2112 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/insurance/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ 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\"\xaa\x02\n\x0cGenesisState\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\x12I\n\x0finsurance_funds\x18\x02 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00\x12R\n\x13redemption_schedule\x18\x03 \x03(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleB\x04\xc8\xde\x1f\x00\x12\x1b\n\x13next_share_denom_id\x18\x04 \x01(\x04\x12#\n\x1bnext_redemption_schedule_id\x18\x05 \x01(\x04\x42QZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -29,6 +30,6 @@ _GENESISSTATE.fields_by_name['insurance_funds']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['redemption_schedule']._options = None _GENESISSTATE.fields_by_name['redemption_schedule']._serialized_options = b'\310\336\037\000' - _GENESISSTATE._serialized_start=142 - _GENESISSTATE._serialized_end=440 + _globals['_GENESISSTATE']._serialized_start=142 + _globals['_GENESISSTATE']._serialized_end=440 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py index 4066e323..4c10b109 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/insurance/v1beta1/insurance.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +18,27 @@ from injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__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\"\x9b\x01\n\x06Params\x12\x8a\x01\n)default_redemption_notice_period_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB<\x98\xdf\x1f\x01\xc8\xde\x1f\x00\xf2\xde\x1f\x30yaml:\"default_redemption_notice_period_duration\":\x04\xe8\xa0\x1f\x01\"\xec\x03\n\rInsuranceFund\x12\x15\n\rdeposit_denom\x18\x01 \x01(\t\x12\"\n\x1ainsurance_pool_token_denom\x18\x02 \x01(\t\x12z\n!redemption_notice_period_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB4\x98\xdf\x1f\x01\xc8\xde\x1f\x00\xf2\xde\x1f(yaml:\"redemption_notice_period_duration\"\x12?\n\x07\x62\x61lance\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x43\n\x0btotal_share\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x11\n\tmarket_id\x18\x06 \x01(\t\x12\x15\n\rmarket_ticker\x18\x07 \x01(\t\x12\x13\n\x0boracle_base\x18\x08 \x01(\t\x12\x14\n\x0coracle_quote\x18\t \x01(\t\x12\x39\n\x0boracle_type\x18\n \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\x0b \x01(\x03\"\xed\x01\n\x12RedemptionSchedule\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x10\n\x08marketId\x18\x02 \x01(\t\x12\x10\n\x08redeemer\x18\x03 \x01(\t\x12k\n\x19\x63laimable_redemption_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB,\x90\xdf\x1f\x01\xc8\xde\x1f\x00\xf2\xde\x1f yaml:\"claimable_redemption_time\"\x12:\n\x11redemption_amount\x18\x05 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"T\n\x18\x45ventInsuranceFundUpdate\x12\x38\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFund\"[\n\x16\x45ventRequestRedemption\x12\x41\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionSchedule\"\x92\x01\n\x17\x45ventWithdrawRedemption\x12\x41\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionSchedule\x12\x34\n\x0bredeem_coin\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"\x9b\x01\n\x0f\x45ventUnderwrite\x12\x13\n\x0bunderwriter\x18\x01 \x01(\t\x12\x10\n\x08marketId\x18\x02 \x01(\t\x12\x30\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12/\n\x06shares\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x42QZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/typesb\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\"\x9b\x01\n\x06Params\x12\x8a\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\x01:\x04\xe8\xa0\x1f\x01\"\xec\x03\n\rInsuranceFund\x12\x15\n\rdeposit_denom\x18\x01 \x01(\t\x12\"\n\x1ainsurance_pool_token_denom\x18\x02 \x01(\t\x12z\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\x01\x12?\n\x07\x62\x61lance\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x43\n\x0btotal_share\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x11\n\tmarket_id\x18\x06 \x01(\t\x12\x15\n\rmarket_ticker\x18\x07 \x01(\t\x12\x13\n\x0boracle_base\x18\x08 \x01(\t\x12\x14\n\x0coracle_quote\x18\t \x01(\t\x12\x39\n\x0boracle_type\x18\n \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\x0b \x01(\x03\"\xed\x01\n\x12RedemptionSchedule\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x10\n\x08marketId\x18\x02 \x01(\t\x12\x10\n\x08redeemer\x18\x03 \x01(\t\x12k\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\x01\x12:\n\x11redemption_amount\x18\x05 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"T\n\x18\x45ventInsuranceFundUpdate\x12\x38\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFund\"[\n\x16\x45ventRequestRedemption\x12\x41\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionSchedule\"\x92\x01\n\x17\x45ventWithdrawRedemption\x12\x41\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionSchedule\x12\x34\n\x0bredeem_coin\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"\x9b\x01\n\x0f\x45ventUnderwrite\x12\x13\n\x0bunderwriter\x18\x01 \x01(\t\x12\x10\n\x08marketId\x18\x02 \x01(\t\x12\x30\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12/\n\x06shares\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x42QZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.insurance_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.insurance_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types' _PARAMS.fields_by_name['default_redemption_notice_period_duration']._options = None - _PARAMS.fields_by_name['default_redemption_notice_period_duration']._serialized_options = b'\230\337\037\001\310\336\037\000\362\336\0370yaml:\"default_redemption_notice_period_duration\"' + _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' _PARAMS._options = None _PARAMS._serialized_options = b'\350\240\037\001' _INSURANCEFUND.fields_by_name['redemption_notice_period_duration']._options = None - _INSURANCEFUND.fields_by_name['redemption_notice_period_duration']._serialized_options = b'\230\337\037\001\310\336\037\000\362\336\037(yaml:\"redemption_notice_period_duration\"' + _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' _INSURANCEFUND.fields_by_name['balance']._options = None - _INSURANCEFUND.fields_by_name['balance']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _INSURANCEFUND.fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _INSURANCEFUND.fields_by_name['total_share']._options = None - _INSURANCEFUND.fields_by_name['total_share']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _INSURANCEFUND.fields_by_name['total_share']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _REDEMPTIONSCHEDULE.fields_by_name['claimable_redemption_time']._options = None - _REDEMPTIONSCHEDULE.fields_by_name['claimable_redemption_time']._serialized_options = b'\220\337\037\001\310\336\037\000\362\336\037 yaml:\"claimable_redemption_time\"' + _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' _REDEMPTIONSCHEDULE.fields_by_name['redemption_amount']._options = None _REDEMPTIONSCHEDULE.fields_by_name['redemption_amount']._serialized_options = b'\310\336\037\000' _EVENTWITHDRAWREDEMPTION.fields_by_name['redeem_coin']._options = None @@ -46,18 +47,18 @@ _EVENTUNDERWRITE.fields_by_name['deposit']._serialized_options = b'\310\336\037\000' _EVENTUNDERWRITE.fields_by_name['shares']._options = None _EVENTUNDERWRITE.fields_by_name['shares']._serialized_options = b'\310\336\037\000' - _PARAMS._serialized_start=235 - _PARAMS._serialized_end=390 - _INSURANCEFUND._serialized_start=393 - _INSURANCEFUND._serialized_end=885 - _REDEMPTIONSCHEDULE._serialized_start=888 - _REDEMPTIONSCHEDULE._serialized_end=1125 - _EVENTINSURANCEFUNDUPDATE._serialized_start=1127 - _EVENTINSURANCEFUNDUPDATE._serialized_end=1211 - _EVENTREQUESTREDEMPTION._serialized_start=1213 - _EVENTREQUESTREDEMPTION._serialized_end=1304 - _EVENTWITHDRAWREDEMPTION._serialized_start=1307 - _EVENTWITHDRAWREDEMPTION._serialized_end=1453 - _EVENTUNDERWRITE._serialized_start=1456 - _EVENTUNDERWRITE._serialized_end=1611 + _globals['_PARAMS']._serialized_start=235 + _globals['_PARAMS']._serialized_end=390 + _globals['_INSURANCEFUND']._serialized_start=393 + _globals['_INSURANCEFUND']._serialized_end=885 + _globals['_REDEMPTIONSCHEDULE']._serialized_start=888 + _globals['_REDEMPTIONSCHEDULE']._serialized_end=1125 + _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_start=1127 + _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_end=1211 + _globals['_EVENTREQUESTREDEMPTION']._serialized_start=1213 + _globals['_EVENTREQUESTREDEMPTION']._serialized_end=1304 + _globals['_EVENTWITHDRAWREDEMPTION']._serialized_start=1307 + _globals['_EVENTWITHDRAWREDEMPTION']._serialized_end=1453 + _globals['_EVENTUNDERWRITE']._serialized_start=1456 + _globals['_EVENTUNDERWRITE']._serialized_end=1611 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py index fd54c50f..d6d1aafd 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/insurance/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +20,9 @@ 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\"Y\n\x1cQueryInsuranceParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\".\n\x19QueryInsuranceFundRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"V\n\x1aQueryInsuranceFundResponse\x12\x38\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFund\"\x1c\n\x1aQueryInsuranceFundsRequest\"^\n\x1bQueryInsuranceFundsResponse\x12?\n\x05\x66unds\x18\x01 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00\"E\n QueryEstimatedRedemptionsRequest\x12\x10\n\x08marketId\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\"T\n!QueryEstimatedRedemptionsResponse\x12/\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"C\n\x1eQueryPendingRedemptionsRequest\x12\x10\n\x08marketId\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\"R\n\x1fQueryPendingRedemptionsResponse\x12/\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"\x19\n\x17QueryModuleStateRequest\"T\n\x18QueryModuleStateResponse\x12\x38\n\x05state\x18\x01 \x01(\x0b\x32).injective.insurance.v1beta1.GenesisState2\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_stateBQZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -46,30 +47,30 @@ _QUERY.methods_by_name['PendingRedemptions']._serialized_options = b'\202\323\344\223\0022\0220/injective/insurance/v1beta1/pending_redemptions' _QUERY.methods_by_name['InsuranceModuleState']._options = None _QUERY.methods_by_name['InsuranceModuleState']._serialized_options = b'\202\323\344\223\002+\022)/injective/insurance/v1beta1/module_state' - _QUERYINSURANCEPARAMSREQUEST._serialized_start=244 - _QUERYINSURANCEPARAMSREQUEST._serialized_end=273 - _QUERYINSURANCEPARAMSRESPONSE._serialized_start=275 - _QUERYINSURANCEPARAMSRESPONSE._serialized_end=364 - _QUERYINSURANCEFUNDREQUEST._serialized_start=366 - _QUERYINSURANCEFUNDREQUEST._serialized_end=412 - _QUERYINSURANCEFUNDRESPONSE._serialized_start=414 - _QUERYINSURANCEFUNDRESPONSE._serialized_end=500 - _QUERYINSURANCEFUNDSREQUEST._serialized_start=502 - _QUERYINSURANCEFUNDSREQUEST._serialized_end=530 - _QUERYINSURANCEFUNDSRESPONSE._serialized_start=532 - _QUERYINSURANCEFUNDSRESPONSE._serialized_end=626 - _QUERYESTIMATEDREDEMPTIONSREQUEST._serialized_start=628 - _QUERYESTIMATEDREDEMPTIONSREQUEST._serialized_end=697 - _QUERYESTIMATEDREDEMPTIONSRESPONSE._serialized_start=699 - _QUERYESTIMATEDREDEMPTIONSRESPONSE._serialized_end=783 - _QUERYPENDINGREDEMPTIONSREQUEST._serialized_start=785 - _QUERYPENDINGREDEMPTIONSREQUEST._serialized_end=852 - _QUERYPENDINGREDEMPTIONSRESPONSE._serialized_start=854 - _QUERYPENDINGREDEMPTIONSRESPONSE._serialized_end=936 - _QUERYMODULESTATEREQUEST._serialized_start=938 - _QUERYMODULESTATEREQUEST._serialized_end=963 - _QUERYMODULESTATERESPONSE._serialized_start=965 - _QUERYMODULESTATERESPONSE._serialized_end=1049 - _QUERY._serialized_start=1052 - _QUERY._serialized_end=2226 + _globals['_QUERYINSURANCEPARAMSREQUEST']._serialized_start=244 + _globals['_QUERYINSURANCEPARAMSREQUEST']._serialized_end=273 + _globals['_QUERYINSURANCEPARAMSRESPONSE']._serialized_start=275 + _globals['_QUERYINSURANCEPARAMSRESPONSE']._serialized_end=364 + _globals['_QUERYINSURANCEFUNDREQUEST']._serialized_start=366 + _globals['_QUERYINSURANCEFUNDREQUEST']._serialized_end=412 + _globals['_QUERYINSURANCEFUNDRESPONSE']._serialized_start=414 + _globals['_QUERYINSURANCEFUNDRESPONSE']._serialized_end=500 + _globals['_QUERYINSURANCEFUNDSREQUEST']._serialized_start=502 + _globals['_QUERYINSURANCEFUNDSREQUEST']._serialized_end=530 + _globals['_QUERYINSURANCEFUNDSRESPONSE']._serialized_start=532 + _globals['_QUERYINSURANCEFUNDSRESPONSE']._serialized_end=626 + _globals['_QUERYESTIMATEDREDEMPTIONSREQUEST']._serialized_start=628 + _globals['_QUERYESTIMATEDREDEMPTIONSREQUEST']._serialized_end=697 + _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE']._serialized_start=699 + _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE']._serialized_end=783 + _globals['_QUERYPENDINGREDEMPTIONSREQUEST']._serialized_start=785 + _globals['_QUERYPENDINGREDEMPTIONSREQUEST']._serialized_end=852 + _globals['_QUERYPENDINGREDEMPTIONSRESPONSE']._serialized_start=854 + _globals['_QUERYPENDINGREDEMPTIONSRESPONSE']._serialized_end=936 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=938 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=963 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=965 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1049 + _globals['_QUERY']._serialized_start=1052 + _globals['_QUERY']._serialized_end=2226 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py index 8c5b72e2..ea26ca31 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/insurance/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +19,11 @@ from injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__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\"\x92\x02\n\x16MsgCreateInsuranceFund\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\x07 \x01(\x03\x12\x38\n\x0finitial_deposit\x18\x08 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\" \n\x1eMsgCreateInsuranceFundResponse\"y\n\rMsgUnderwrite\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x30\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x17\n\x15MsgUnderwriteResponse\"\x7f\n\x14MsgRequestRedemption\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1e\n\x1cMsgRequestRedemptionResponse\"\x89\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x39\n\x06params\x18\x02 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xf5\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.MsgUpdateParamsResponseBQZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/typesb\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\"\x92\x02\n\x16MsgCreateInsuranceFund\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\x07 \x01(\x03\x12\x38\n\x0finitial_deposit\x18\x08 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\" \n\x1eMsgCreateInsuranceFundResponse\"y\n\rMsgUnderwrite\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x30\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x17\n\x15MsgUnderwriteResponse\"\x7f\n\x14MsgRequestRedemption\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1e\n\x1cMsgRequestRedemptionResponse\"\x89\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x39\n\x06params\x18\x02 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xf5\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.MsgUpdateParamsResponseBQZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -30,37 +31,37 @@ _MSGCREATEINSURANCEFUND.fields_by_name['initial_deposit']._options = None _MSGCREATEINSURANCEFUND.fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000' _MSGCREATEINSURANCEFUND._options = None - _MSGCREATEINSURANCEFUND._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGCREATEINSURANCEFUND._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGUNDERWRITE.fields_by_name['deposit']._options = None _MSGUNDERWRITE.fields_by_name['deposit']._serialized_options = b'\310\336\037\000' _MSGUNDERWRITE._options = None - _MSGUNDERWRITE._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGUNDERWRITE._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGREQUESTREDEMPTION.fields_by_name['amount']._options = None _MSGREQUESTREDEMPTION.fields_by_name['amount']._serialized_options = b'\310\336\037\000' _MSGREQUESTREDEMPTION._options = None - _MSGREQUESTREDEMPTION._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGREQUESTREDEMPTION._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEPARAMS.fields_by_name['params']._options = None _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' _MSGUPDATEPARAMS._options = None _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' - _MSGCREATEINSURANCEFUND._serialized_start=260 - _MSGCREATEINSURANCEFUND._serialized_end=534 - _MSGCREATEINSURANCEFUNDRESPONSE._serialized_start=536 - _MSGCREATEINSURANCEFUNDRESPONSE._serialized_end=568 - _MSGUNDERWRITE._serialized_start=570 - _MSGUNDERWRITE._serialized_end=691 - _MSGUNDERWRITERESPONSE._serialized_start=693 - _MSGUNDERWRITERESPONSE._serialized_end=716 - _MSGREQUESTREDEMPTION._serialized_start=718 - _MSGREQUESTREDEMPTION._serialized_end=845 - _MSGREQUESTREDEMPTIONRESPONSE._serialized_start=847 - _MSGREQUESTREDEMPTIONRESPONSE._serialized_end=877 - _MSGUPDATEPARAMS._serialized_start=880 - _MSGUPDATEPARAMS._serialized_end=1017 - _MSGUPDATEPARAMSRESPONSE._serialized_start=1019 - _MSGUPDATEPARAMSRESPONSE._serialized_end=1044 - _MSG._serialized_start=1047 - _MSG._serialized_end=1548 + _globals['_MSGCREATEINSURANCEFUND']._serialized_start=260 + _globals['_MSGCREATEINSURANCEFUND']._serialized_end=534 + _globals['_MSGCREATEINSURANCEFUNDRESPONSE']._serialized_start=536 + _globals['_MSGCREATEINSURANCEFUNDRESPONSE']._serialized_end=568 + _globals['_MSGUNDERWRITE']._serialized_start=570 + _globals['_MSGUNDERWRITE']._serialized_end=691 + _globals['_MSGUNDERWRITERESPONSE']._serialized_start=693 + _globals['_MSGUNDERWRITERESPONSE']._serialized_end=716 + _globals['_MSGREQUESTREDEMPTION']._serialized_start=718 + _globals['_MSGREQUESTREDEMPTION']._serialized_end=845 + _globals['_MSGREQUESTREDEMPTIONRESPONSE']._serialized_start=847 + _globals['_MSGREQUESTREDEMPTIONRESPONSE']._serialized_end=877 + _globals['_MSGUPDATEPARAMS']._serialized_start=880 + _globals['_MSGUPDATEPARAMS']._serialized_end=1017 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1019 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1044 + _globals['_MSG']._serialized_start=1047 + _globals['_MSG']._serialized_end=1548 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py index e3a5fe4b..9323d5a3 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/ocr/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +18,9 @@ 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\"\xed\x04\n\x0cGenesisState\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\x12\x37\n\x0c\x66\x65\x65\x64_configs\x18\x02 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedConfig\x12I\n\x17latest_epoch_and_rounds\x18\x03 \x03(\x0b\x32(.injective.ocr.v1beta1.FeedEpochAndRound\x12\x43\n\x12\x66\x65\x65\x64_transmissions\x18\x04 \x03(\x0b\x32\'.injective.ocr.v1beta1.FeedTransmission\x12X\n\x1blatest_aggregator_round_ids\x18\x05 \x03(\x0b\x32\x33.injective.ocr.v1beta1.FeedLatestAggregatorRoundIDs\x12\x37\n\x0creward_pools\x18\x06 \x03(\x0b\x32!.injective.ocr.v1beta1.RewardPool\x12\x42\n\x17\x66\x65\x65\x64_observation_counts\x18\x07 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCounts\x12\x43\n\x18\x66\x65\x65\x64_transmission_counts\x18\x08 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCounts\x12\x43\n\x12pending_payeeships\x18\t \x03(\x0b\x32\'.injective.ocr.v1beta1.PendingPayeeship\"^\n\x10\x46\x65\x65\x64Transmission\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12\x39\n\x0ctransmission\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.Transmission\"c\n\x11\x46\x65\x65\x64\x45pochAndRound\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12=\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRound\"L\n\x1c\x46\x65\x65\x64LatestAggregatorRoundIDs\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12\x1b\n\x13\x61ggregator_round_id\x18\x02 \x01(\x04\"N\n\nRewardPool\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12/\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"K\n\nFeedCounts\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12,\n\x06\x63ounts\x18\x02 \x03(\x0b\x32\x1c.injective.ocr.v1beta1.Count\"\'\n\x05\x43ount\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x04\"P\n\x10PendingPayeeship\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12\x13\n\x0btransmitter\x18\x02 \x01(\t\x12\x16\n\x0eproposed_payee\x18\x03 \x01(\tBKZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -28,20 +29,20 @@ _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _REWARDPOOL.fields_by_name['amount']._options = None _REWARDPOOL.fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _GENESISSTATE._serialized_start=150 - _GENESISSTATE._serialized_end=771 - _FEEDTRANSMISSION._serialized_start=773 - _FEEDTRANSMISSION._serialized_end=867 - _FEEDEPOCHANDROUND._serialized_start=869 - _FEEDEPOCHANDROUND._serialized_end=968 - _FEEDLATESTAGGREGATORROUNDIDS._serialized_start=970 - _FEEDLATESTAGGREGATORROUNDIDS._serialized_end=1046 - _REWARDPOOL._serialized_start=1048 - _REWARDPOOL._serialized_end=1126 - _FEEDCOUNTS._serialized_start=1128 - _FEEDCOUNTS._serialized_end=1203 - _COUNT._serialized_start=1205 - _COUNT._serialized_end=1244 - _PENDINGPAYEESHIP._serialized_start=1246 - _PENDINGPAYEESHIP._serialized_end=1326 + _globals['_GENESISSTATE']._serialized_start=150 + _globals['_GENESISSTATE']._serialized_end=771 + _globals['_FEEDTRANSMISSION']._serialized_start=773 + _globals['_FEEDTRANSMISSION']._serialized_end=867 + _globals['_FEEDEPOCHANDROUND']._serialized_start=869 + _globals['_FEEDEPOCHANDROUND']._serialized_end=968 + _globals['_FEEDLATESTAGGREGATORROUNDIDS']._serialized_start=970 + _globals['_FEEDLATESTAGGREGATORROUNDIDS']._serialized_end=1046 + _globals['_REWARDPOOL']._serialized_start=1048 + _globals['_REWARDPOOL']._serialized_end=1126 + _globals['_FEEDCOUNTS']._serialized_start=1128 + _globals['_FEEDCOUNTS']._serialized_end=1203 + _globals['_COUNT']._serialized_start=1205 + _globals['_COUNT']._serialized_end=1244 + _globals['_PENDINGPAYEESHIP']._serialized_start=1246 + _globals['_PENDINGPAYEESHIP']._serialized_end=1326 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py index 0654295d..97380d38 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/ocr/v1beta1/ocr.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +17,11 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__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\"W\n\x06Params\x12\x12\n\nlink_denom\x18\x01 \x01(\t\x12\x1d\n\x15payout_block_interval\x18\x02 \x01(\x04\x12\x14\n\x0cmodule_admin\x18\x03 \x01(\t:\x04\xe8\xa0\x1f\x01\"\xcc\x01\n\nFeedConfig\x12\x0f\n\x07signers\x18\x01 \x03(\t\x12\x14\n\x0ctransmitters\x18\x02 \x03(\t\x12\t\n\x01\x66\x18\x03 \x01(\r\x12\x16\n\x0eonchain_config\x18\x04 \x01(\x0c\x12\x1f\n\x17offchain_config_version\x18\x05 \x01(\x04\x12\x17\n\x0foffchain_config\x18\x06 \x01(\x0c\x12:\n\rmodule_params\x18\x07 \x01(\x0b\x32#.injective.ocr.v1beta1.ModuleParams\"~\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x1c\n\x14latest_config_digest\x18\x01 \x01(\x0c\x12\t\n\x01\x66\x18\x02 \x01(\r\x12\t\n\x01n\x18\x03 \x01(\r\x12\x14\n\x0c\x63onfig_count\x18\x04 \x01(\x04\x12\"\n\x1alatest_config_block_number\x18\x05 \x01(\x03\"\xb0\x03\n\x0cModuleParams\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12\x42\n\nmin_answer\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x42\n\nmax_answer\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12L\n\x14link_per_observation\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12M\n\x15link_per_transmission\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x12\n\nlink_denom\x18\x06 \x01(\t\x12\x16\n\x0eunique_reports\x18\x07 \x01(\x08\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12\x12\n\nfeed_admin\x18\t \x01(\t\x12\x15\n\rbilling_admin\x18\n \x01(\t\"\xaa\x01\n\x0e\x43ontractConfig\x12\x14\n\x0c\x63onfig_count\x18\x01 \x01(\x04\x12\x0f\n\x07signers\x18\x02 \x03(\t\x12\x14\n\x0ctransmitters\x18\x03 \x03(\t\x12\t\n\x01\x66\x18\x04 \x01(\r\x12\x16\n\x0eonchain_config\x18\x05 \x01(\x0c\x12\x1f\n\x17offchain_config_version\x18\x06 \x01(\x04\x12\x17\n\x0foffchain_config\x18\x07 \x01(\x0c\"\x92\x01\n\x11SetConfigProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x31\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfig:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd0\x03\n\x0e\x46\x65\x65\x64Properties\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12\t\n\x01\x66\x18\x02 \x01(\r\x12\x16\n\x0eonchain_config\x18\x03 \x01(\x0c\x12\x1f\n\x17offchain_config_version\x18\x04 \x01(\x04\x12\x17\n\x0foffchain_config\x18\x05 \x01(\x0c\x12\x42\n\nmin_answer\x18\x06 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x42\n\nmax_answer\x18\x07 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12L\n\x14link_per_observation\x18\x08 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12M\n\x15link_per_transmission\x18\t \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x16\n\x0eunique_reports\x18\n \x01(\x08\x12\x13\n\x0b\x64\x65scription\x18\x0b \x01(\t\"\xdf\x01\n\x16SetBatchConfigProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0f\n\x07signers\x18\x03 \x03(\t\x12\x14\n\x0ctransmitters\x18\x04 \x03(\t\x12\x12\n\nlink_denom\x18\x05 \x01(\t\x12>\n\x0f\x66\x65\x65\x64_properties\x18\x06 \x03(\x0b\x32%.injective.ocr.v1beta1.FeedProperties:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"*\n\x18OracleObservationsCounts\x12\x0e\n\x06\x63ounts\x18\x01 \x03(\r\"F\n\x11GasReimbursements\x12\x31\n\x0ereimbursements\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.Coin\"7\n\x05Payee\x12\x18\n\x10transmitter_addr\x18\x01 \x01(\t\x12\x14\n\x0cpayment_addr\x18\x02 \x01(\t\"\x8e\x01\n\x0cTransmission\x12>\n\x06\x61nswer\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x1e\n\x16observations_timestamp\x18\x02 \x01(\x03\x12\x1e\n\x16transmission_timestamp\x18\x03 \x01(\x03\"-\n\rEpochAndRound\x12\r\n\x05\x65poch\x18\x01 \x01(\x04\x12\r\n\x05round\x18\x02 \x01(\x04\"\x81\x01\n\x06Report\x12\x1e\n\x16observations_timestamp\x18\x01 \x01(\x03\x12\x11\n\tobservers\x18\x02 \x01(\x0c\x12\x44\n\x0cobservations\x18\x03 \x03(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"g\n\x0cReportToSign\x12\x15\n\rconfig_digest\x18\x01 \x01(\x0c\x12\r\n\x05\x65poch\x18\x02 \x01(\x04\x12\r\n\x05round\x18\x03 \x01(\x04\x12\x12\n\nextra_hash\x18\x04 \x01(\x0c\x12\x0e\n\x06report\x18\x05 \x01(\x0c\"p\n\x0f\x45ventOraclePaid\x12\x18\n\x10transmitter_addr\x18\x01 \x01(\t\x12\x12\n\npayee_addr\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"\xd1\x01\n\x12\x45ventAnswerUpdated\x12?\n\x07\x63urrent\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12@\n\x08round_id\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x38\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\x90\xdf\x1f\x01\xc8\xde\x1f\x00\"\x9f\x01\n\rEventNewRound\x12@\n\x08round_id\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x12\n\nstarted_by\x18\x02 \x01(\t\x12\x38\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\x90\xdf\x1f\x01\xc8\xde\x1f\x00\"8\n\x10\x45ventTransmitted\x12\x15\n\rconfig_digest\x18\x01 \x01(\x0c\x12\r\n\x05\x65poch\x18\x02 \x01(\x04\"\xe8\x02\n\x14\x45ventNewTransmission\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12\x1b\n\x13\x61ggregator_round_id\x18\x02 \x01(\r\x12>\n\x06\x61nswer\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x13\n\x0btransmitter\x18\x04 \x01(\t\x12\x1e\n\x16observations_timestamp\x18\x05 \x01(\x03\x12\x44\n\x0cobservations\x18\x06 \x03(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x11\n\tobservers\x18\x07 \x01(\x0c\x12\x15\n\rconfig_digest\x18\x08 \x01(\x0c\x12=\n\x0f\x65poch_and_round\x18\t \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRound\"\xbc\x01\n\x0e\x45ventConfigSet\x12\x15\n\rconfig_digest\x18\x01 \x01(\x0c\x12$\n\x1cprevious_config_block_number\x18\x02 \x01(\x03\x12\x31\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfig\x12:\n\x0b\x63onfig_info\x18\x04 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoBKZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/typesb\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\"W\n\x06Params\x12\x12\n\nlink_denom\x18\x01 \x01(\t\x12\x1d\n\x15payout_block_interval\x18\x02 \x01(\x04\x12\x14\n\x0cmodule_admin\x18\x03 \x01(\t:\x04\xe8\xa0\x1f\x01\"\xcc\x01\n\nFeedConfig\x12\x0f\n\x07signers\x18\x01 \x03(\t\x12\x14\n\x0ctransmitters\x18\x02 \x03(\t\x12\t\n\x01\x66\x18\x03 \x01(\r\x12\x16\n\x0eonchain_config\x18\x04 \x01(\x0c\x12\x1f\n\x17offchain_config_version\x18\x05 \x01(\x04\x12\x17\n\x0foffchain_config\x18\x06 \x01(\x0c\x12:\n\rmodule_params\x18\x07 \x01(\x0b\x32#.injective.ocr.v1beta1.ModuleParams\"~\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x1c\n\x14latest_config_digest\x18\x01 \x01(\x0c\x12\t\n\x01\x66\x18\x02 \x01(\r\x12\t\n\x01n\x18\x03 \x01(\r\x12\x14\n\x0c\x63onfig_count\x18\x04 \x01(\x04\x12\"\n\x1alatest_config_block_number\x18\x05 \x01(\x03\"\xb0\x03\n\x0cModuleParams\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12\x42\n\nmin_answer\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x42\n\nmax_answer\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14link_per_observation\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12M\n\x15link_per_transmission\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x12\n\nlink_denom\x18\x06 \x01(\t\x12\x16\n\x0eunique_reports\x18\x07 \x01(\x08\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12\x12\n\nfeed_admin\x18\t \x01(\t\x12\x15\n\rbilling_admin\x18\n \x01(\t\"\xaa\x01\n\x0e\x43ontractConfig\x12\x14\n\x0c\x63onfig_count\x18\x01 \x01(\x04\x12\x0f\n\x07signers\x18\x02 \x03(\t\x12\x14\n\x0ctransmitters\x18\x03 \x03(\t\x12\t\n\x01\x66\x18\x04 \x01(\r\x12\x16\n\x0eonchain_config\x18\x05 \x01(\x0c\x12\x1f\n\x17offchain_config_version\x18\x06 \x01(\x04\x12\x17\n\x0foffchain_config\x18\x07 \x01(\x0c\"\x92\x01\n\x11SetConfigProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x31\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfig:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd0\x03\n\x0e\x46\x65\x65\x64Properties\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12\t\n\x01\x66\x18\x02 \x01(\r\x12\x16\n\x0eonchain_config\x18\x03 \x01(\x0c\x12\x1f\n\x17offchain_config_version\x18\x04 \x01(\x04\x12\x17\n\x0foffchain_config\x18\x05 \x01(\x0c\x12\x42\n\nmin_answer\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x42\n\nmax_answer\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14link_per_observation\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12M\n\x15link_per_transmission\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x16\n\x0eunique_reports\x18\n \x01(\x08\x12\x13\n\x0b\x64\x65scription\x18\x0b \x01(\t\"\xdf\x01\n\x16SetBatchConfigProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0f\n\x07signers\x18\x03 \x03(\t\x12\x14\n\x0ctransmitters\x18\x04 \x03(\t\x12\x12\n\nlink_denom\x18\x05 \x01(\t\x12>\n\x0f\x66\x65\x65\x64_properties\x18\x06 \x03(\x0b\x32%.injective.ocr.v1beta1.FeedProperties:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"*\n\x18OracleObservationsCounts\x12\x0e\n\x06\x63ounts\x18\x01 \x03(\r\"F\n\x11GasReimbursements\x12\x31\n\x0ereimbursements\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.Coin\"7\n\x05Payee\x12\x18\n\x10transmitter_addr\x18\x01 \x01(\t\x12\x14\n\x0cpayment_addr\x18\x02 \x01(\t\"\x8e\x01\n\x0cTransmission\x12>\n\x06\x61nswer\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1e\n\x16observations_timestamp\x18\x02 \x01(\x03\x12\x1e\n\x16transmission_timestamp\x18\x03 \x01(\x03\"-\n\rEpochAndRound\x12\r\n\x05\x65poch\x18\x01 \x01(\x04\x12\r\n\x05round\x18\x02 \x01(\x04\"\x81\x01\n\x06Report\x12\x1e\n\x16observations_timestamp\x18\x01 \x01(\x03\x12\x11\n\tobservers\x18\x02 \x01(\x0c\x12\x44\n\x0cobservations\x18\x03 \x03(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"g\n\x0cReportToSign\x12\x15\n\rconfig_digest\x18\x01 \x01(\x0c\x12\r\n\x05\x65poch\x18\x02 \x01(\x04\x12\r\n\x05round\x18\x03 \x01(\x04\x12\x12\n\nextra_hash\x18\x04 \x01(\x0c\x12\x0e\n\x06report\x18\x05 \x01(\x0c\"p\n\x0f\x45ventOraclePaid\x12\x18\n\x10transmitter_addr\x18\x01 \x01(\t\x12\x12\n\npayee_addr\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"\xd1\x01\n\x12\x45ventAnswerUpdated\x12?\n\x07\x63urrent\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12@\n\x08round_id\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x38\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\"\x9f\x01\n\rEventNewRound\x12@\n\x08round_id\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x12\n\nstarted_by\x18\x02 \x01(\t\x12\x38\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\"8\n\x10\x45ventTransmitted\x12\x15\n\rconfig_digest\x18\x01 \x01(\x0c\x12\r\n\x05\x65poch\x18\x02 \x01(\x04\"\xe8\x02\n\x14\x45ventNewTransmission\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12\x1b\n\x13\x61ggregator_round_id\x18\x02 \x01(\r\x12>\n\x06\x61nswer\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x13\n\x0btransmitter\x18\x04 \x01(\t\x12\x1e\n\x16observations_timestamp\x18\x05 \x01(\x03\x12\x44\n\x0cobservations\x18\x06 \x03(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\tobservers\x18\x07 \x01(\x0c\x12\x15\n\rconfig_digest\x18\x08 \x01(\x0c\x12=\n\x0f\x65poch_and_round\x18\t \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRound\"\xbc\x01\n\x0e\x45ventConfigSet\x12\x15\n\rconfig_digest\x18\x01 \x01(\x0c\x12$\n\x1cprevious_config_block_number\x18\x02 \x01(\x03\x12\x31\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfig\x12:\n\x0b\x63onfig_info\x18\x04 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoBKZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.ocr_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.ocr_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -28,85 +29,85 @@ _PARAMS._options = None _PARAMS._serialized_options = b'\350\240\037\001' _MODULEPARAMS.fields_by_name['min_answer']._options = None - _MODULEPARAMS.fields_by_name['min_answer']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MODULEPARAMS.fields_by_name['min_answer']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MODULEPARAMS.fields_by_name['max_answer']._options = None - _MODULEPARAMS.fields_by_name['max_answer']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MODULEPARAMS.fields_by_name['max_answer']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MODULEPARAMS.fields_by_name['link_per_observation']._options = None - _MODULEPARAMS.fields_by_name['link_per_observation']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _MODULEPARAMS.fields_by_name['link_per_observation']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _MODULEPARAMS.fields_by_name['link_per_transmission']._options = None - _MODULEPARAMS.fields_by_name['link_per_transmission']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _MODULEPARAMS.fields_by_name['link_per_transmission']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _SETCONFIGPROPOSAL._options = None - _SETCONFIGPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _SETCONFIGPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _FEEDPROPERTIES.fields_by_name['min_answer']._options = None - _FEEDPROPERTIES.fields_by_name['min_answer']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _FEEDPROPERTIES.fields_by_name['min_answer']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _FEEDPROPERTIES.fields_by_name['max_answer']._options = None - _FEEDPROPERTIES.fields_by_name['max_answer']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _FEEDPROPERTIES.fields_by_name['max_answer']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _FEEDPROPERTIES.fields_by_name['link_per_observation']._options = None - _FEEDPROPERTIES.fields_by_name['link_per_observation']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _FEEDPROPERTIES.fields_by_name['link_per_observation']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _FEEDPROPERTIES.fields_by_name['link_per_transmission']._options = None - _FEEDPROPERTIES.fields_by_name['link_per_transmission']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _FEEDPROPERTIES.fields_by_name['link_per_transmission']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _SETBATCHCONFIGPROPOSAL._options = None - _SETBATCHCONFIGPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _SETBATCHCONFIGPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _TRANSMISSION.fields_by_name['answer']._options = None - _TRANSMISSION.fields_by_name['answer']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _TRANSMISSION.fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _REPORT.fields_by_name['observations']._options = None - _REPORT.fields_by_name['observations']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _REPORT.fields_by_name['observations']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EVENTORACLEPAID.fields_by_name['amount']._options = None _EVENTORACLEPAID.fields_by_name['amount']._serialized_options = b'\310\336\037\000' _EVENTANSWERUPDATED.fields_by_name['current']._options = None - _EVENTANSWERUPDATED.fields_by_name['current']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _EVENTANSWERUPDATED.fields_by_name['current']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _EVENTANSWERUPDATED.fields_by_name['round_id']._options = None - _EVENTANSWERUPDATED.fields_by_name['round_id']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _EVENTANSWERUPDATED.fields_by_name['round_id']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _EVENTANSWERUPDATED.fields_by_name['updated_at']._options = None - _EVENTANSWERUPDATED.fields_by_name['updated_at']._serialized_options = b'\220\337\037\001\310\336\037\000' + _EVENTANSWERUPDATED.fields_by_name['updated_at']._serialized_options = b'\310\336\037\000\220\337\037\001' _EVENTNEWROUND.fields_by_name['round_id']._options = None - _EVENTNEWROUND.fields_by_name['round_id']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _EVENTNEWROUND.fields_by_name['round_id']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _EVENTNEWROUND.fields_by_name['started_at']._options = None - _EVENTNEWROUND.fields_by_name['started_at']._serialized_options = b'\220\337\037\001\310\336\037\000' + _EVENTNEWROUND.fields_by_name['started_at']._serialized_options = b'\310\336\037\000\220\337\037\001' _EVENTNEWTRANSMISSION.fields_by_name['answer']._options = None - _EVENTNEWTRANSMISSION.fields_by_name['answer']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _EVENTNEWTRANSMISSION.fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _EVENTNEWTRANSMISSION.fields_by_name['observations']._options = None - _EVENTNEWTRANSMISSION.fields_by_name['observations']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' - _PARAMS._serialized_start=172 - _PARAMS._serialized_end=259 - _FEEDCONFIG._serialized_start=262 - _FEEDCONFIG._serialized_end=466 - _FEEDCONFIGINFO._serialized_start=468 - _FEEDCONFIGINFO._serialized_end=594 - _MODULEPARAMS._serialized_start=597 - _MODULEPARAMS._serialized_end=1029 - _CONTRACTCONFIG._serialized_start=1032 - _CONTRACTCONFIG._serialized_end=1202 - _SETCONFIGPROPOSAL._serialized_start=1205 - _SETCONFIGPROPOSAL._serialized_end=1351 - _FEEDPROPERTIES._serialized_start=1354 - _FEEDPROPERTIES._serialized_end=1818 - _SETBATCHCONFIGPROPOSAL._serialized_start=1821 - _SETBATCHCONFIGPROPOSAL._serialized_end=2044 - _ORACLEOBSERVATIONSCOUNTS._serialized_start=2046 - _ORACLEOBSERVATIONSCOUNTS._serialized_end=2088 - _GASREIMBURSEMENTS._serialized_start=2090 - _GASREIMBURSEMENTS._serialized_end=2160 - _PAYEE._serialized_start=2162 - _PAYEE._serialized_end=2217 - _TRANSMISSION._serialized_start=2220 - _TRANSMISSION._serialized_end=2362 - _EPOCHANDROUND._serialized_start=2364 - _EPOCHANDROUND._serialized_end=2409 - _REPORT._serialized_start=2412 - _REPORT._serialized_end=2541 - _REPORTTOSIGN._serialized_start=2543 - _REPORTTOSIGN._serialized_end=2646 - _EVENTORACLEPAID._serialized_start=2648 - _EVENTORACLEPAID._serialized_end=2760 - _EVENTANSWERUPDATED._serialized_start=2763 - _EVENTANSWERUPDATED._serialized_end=2972 - _EVENTNEWROUND._serialized_start=2975 - _EVENTNEWROUND._serialized_end=3134 - _EVENTTRANSMITTED._serialized_start=3136 - _EVENTTRANSMITTED._serialized_end=3192 - _EVENTNEWTRANSMISSION._serialized_start=3195 - _EVENTNEWTRANSMISSION._serialized_end=3555 - _EVENTCONFIGSET._serialized_start=3558 - _EVENTCONFIGSET._serialized_end=3746 + _EVENTNEWTRANSMISSION.fields_by_name['observations']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _globals['_PARAMS']._serialized_start=172 + _globals['_PARAMS']._serialized_end=259 + _globals['_FEEDCONFIG']._serialized_start=262 + _globals['_FEEDCONFIG']._serialized_end=466 + _globals['_FEEDCONFIGINFO']._serialized_start=468 + _globals['_FEEDCONFIGINFO']._serialized_end=594 + _globals['_MODULEPARAMS']._serialized_start=597 + _globals['_MODULEPARAMS']._serialized_end=1029 + _globals['_CONTRACTCONFIG']._serialized_start=1032 + _globals['_CONTRACTCONFIG']._serialized_end=1202 + _globals['_SETCONFIGPROPOSAL']._serialized_start=1205 + _globals['_SETCONFIGPROPOSAL']._serialized_end=1351 + _globals['_FEEDPROPERTIES']._serialized_start=1354 + _globals['_FEEDPROPERTIES']._serialized_end=1818 + _globals['_SETBATCHCONFIGPROPOSAL']._serialized_start=1821 + _globals['_SETBATCHCONFIGPROPOSAL']._serialized_end=2044 + _globals['_ORACLEOBSERVATIONSCOUNTS']._serialized_start=2046 + _globals['_ORACLEOBSERVATIONSCOUNTS']._serialized_end=2088 + _globals['_GASREIMBURSEMENTS']._serialized_start=2090 + _globals['_GASREIMBURSEMENTS']._serialized_end=2160 + _globals['_PAYEE']._serialized_start=2162 + _globals['_PAYEE']._serialized_end=2217 + _globals['_TRANSMISSION']._serialized_start=2220 + _globals['_TRANSMISSION']._serialized_end=2362 + _globals['_EPOCHANDROUND']._serialized_start=2364 + _globals['_EPOCHANDROUND']._serialized_end=2409 + _globals['_REPORT']._serialized_start=2412 + _globals['_REPORT']._serialized_end=2541 + _globals['_REPORTTOSIGN']._serialized_start=2543 + _globals['_REPORTTOSIGN']._serialized_end=2646 + _globals['_EVENTORACLEPAID']._serialized_start=2648 + _globals['_EVENTORACLEPAID']._serialized_end=2760 + _globals['_EVENTANSWERUPDATED']._serialized_start=2763 + _globals['_EVENTANSWERUPDATED']._serialized_end=2972 + _globals['_EVENTNEWROUND']._serialized_start=2975 + _globals['_EVENTNEWROUND']._serialized_end=3134 + _globals['_EVENTTRANSMITTED']._serialized_start=3136 + _globals['_EVENTTRANSMITTED']._serialized_end=3192 + _globals['_EVENTNEWTRANSMISSION']._serialized_start=3195 + _globals['_EVENTNEWTRANSMISSION']._serialized_end=3555 + _globals['_EVENTCONFIGSET']._serialized_start=3558 + _globals['_EVENTCONFIGSET']._serialized_end=3746 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py index 1d0f1c8a..c2ce353b 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/ocr/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +20,9 @@ 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\"J\n\x13QueryParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\")\n\x16QueryFeedConfigRequest\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\"\x92\x01\n\x17QueryFeedConfigResponse\x12?\n\x10\x66\x65\x65\x64_config_info\x18\x01 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfo\x12\x36\n\x0b\x66\x65\x65\x64_config\x18\x02 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfig\"-\n\x1aQueryFeedConfigInfoRequest\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\"\x9d\x01\n\x1bQueryFeedConfigInfoResponse\x12?\n\x10\x66\x65\x65\x64_config_info\x18\x01 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfo\x12=\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRound\"*\n\x17QueryLatestRoundRequest\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\"f\n\x18QueryLatestRoundResponse\x12\x17\n\x0flatest_round_id\x18\x01 \x01(\x04\x12\x31\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.Transmission\"8\n%QueryLatestTransmissionDetailsRequest\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\"\xb1\x01\n&QueryLatestTransmissionDetailsResponse\x12\x15\n\rconfig_digest\x18\x01 \x01(\x0c\x12=\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRound\x12\x31\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32#.injective.ocr.v1beta1.Transmission\"-\n\x16QueryOwedAmountRequest\x12\x13\n\x0btransmitter\x18\x01 \x01(\t\"J\n\x17QueryOwedAmountResponse\x12/\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"\x19\n\x17QueryModuleStateRequest\"N\n\x18QueryModuleStateResponse\x12\x32\n\x05state\x18\x01 \x01(\x0b\x32#.injective.ocr.v1beta1.GenesisState2\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\n\x06\x61nswer\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x11\n\ttimestamp\x18\x03 \x01(\x04\"\x9d\x01\n\x11SetBandPriceEvent\x12\x0f\n\x07relayer\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12=\n\x05price\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x14\n\x0cresolve_time\x18\x04 \x01(\x04\x12\x12\n\nrequest_id\x18\x05 \x01(\x04\"\xb5\x01\n\x14SetBandIBCPriceEvent\x12\x0f\n\x07relayer\x18\x01 \x01(\t\x12\x0f\n\x07symbols\x18\x02 \x03(\t\x12>\n\x06prices\x18\x03 \x03(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x14\n\x0cresolve_time\x18\x04 \x01(\x04\x12\x12\n\nrequest_id\x18\x05 \x01(\x04\x12\x11\n\tclient_id\x18\x06 \x01(\x03\"?\n\x16\x45ventBandIBCAckSuccess\x12\x12\n\nack_result\x18\x01 \x01(\t\x12\x11\n\tclient_id\x18\x02 \x01(\x03\"<\n\x14\x45ventBandIBCAckError\x12\x11\n\tack_error\x18\x01 \x01(\t\x12\x11\n\tclient_id\x18\x02 \x01(\x03\"0\n\x1b\x45ventBandIBCResponseTimeout\x12\x11\n\tclient_id\x18\x01 \x01(\x03\"\x85\x01\n\x16SetPriceFeedPriceEvent\x12\x0f\n\x07relayer\x18\x01 \x01(\t\x12\x0c\n\x04\x62\x61se\x18\x02 \x01(\t\x12\r\n\x05quote\x18\x03 \x01(\t\x12=\n\x05price\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\x89\x01\n\x15SetProviderPriceEvent\x12\x10\n\x08provider\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12=\n\x05price\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"y\n\x15SetCoinbasePriceEvent\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12=\n\x05price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x11\n\ttimestamp\x18\x03 \x01(\x04\"N\n\x12\x45ventSetPythPrices\x12\x38\n\x06prices\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateBNZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/oracle/v1beta1/events.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\"|\n\x16SetChainlinkPriceEvent\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12>\n\x06\x61nswer\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\ttimestamp\x18\x03 \x01(\x04\"\x9d\x01\n\x11SetBandPriceEvent\x12\x0f\n\x07relayer\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12=\n\x05price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cresolve_time\x18\x04 \x01(\x04\x12\x12\n\nrequest_id\x18\x05 \x01(\x04\"\xb5\x01\n\x14SetBandIBCPriceEvent\x12\x0f\n\x07relayer\x18\x01 \x01(\t\x12\x0f\n\x07symbols\x18\x02 \x03(\t\x12>\n\x06prices\x18\x03 \x03(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cresolve_time\x18\x04 \x01(\x04\x12\x12\n\nrequest_id\x18\x05 \x01(\x04\x12\x11\n\tclient_id\x18\x06 \x01(\x03\"?\n\x16\x45ventBandIBCAckSuccess\x12\x12\n\nack_result\x18\x01 \x01(\t\x12\x11\n\tclient_id\x18\x02 \x01(\x03\"<\n\x14\x45ventBandIBCAckError\x12\x11\n\tack_error\x18\x01 \x01(\t\x12\x11\n\tclient_id\x18\x02 \x01(\x03\"0\n\x1b\x45ventBandIBCResponseTimeout\x12\x11\n\tclient_id\x18\x01 \x01(\x03\"\x85\x01\n\x16SetPriceFeedPriceEvent\x12\x0f\n\x07relayer\x18\x01 \x01(\t\x12\x0c\n\x04\x62\x61se\x18\x02 \x01(\t\x12\r\n\x05quote\x18\x03 \x01(\t\x12=\n\x05price\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x89\x01\n\x15SetProviderPriceEvent\x12\x10\n\x08provider\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12=\n\x05price\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"y\n\x15SetCoinbasePriceEvent\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\ttimestamp\x18\x03 \x01(\x04\"N\n\x12\x45ventSetPythPrices\x12\x38\n\x06prices\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateBNZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.events_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types' _SETCHAINLINKPRICEEVENT.fields_by_name['answer']._options = None - _SETCHAINLINKPRICEEVENT.fields_by_name['answer']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SETCHAINLINKPRICEEVENT.fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SETBANDPRICEEVENT.fields_by_name['price']._options = None - _SETBANDPRICEEVENT.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SETBANDPRICEEVENT.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SETBANDIBCPRICEEVENT.fields_by_name['prices']._options = None - _SETBANDIBCPRICEEVENT.fields_by_name['prices']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SETBANDIBCPRICEEVENT.fields_by_name['prices']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SETPRICEFEEDPRICEEVENT.fields_by_name['price']._options = None - _SETPRICEFEEDPRICEEVENT.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SETPRICEFEEDPRICEEVENT.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SETPROVIDERPRICEEVENT.fields_by_name['price']._options = None - _SETPROVIDERPRICEEVENT.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _SETPROVIDERPRICEEVENT.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _SETCOINBASEPRICEEVENT.fields_by_name['price']._options = None - _SETCOINBASEPRICEEVENT.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' - _SETCHAINLINKPRICEEVENT._serialized_start=160 - _SETCHAINLINKPRICEEVENT._serialized_end=284 - _SETBANDPRICEEVENT._serialized_start=287 - _SETBANDPRICEEVENT._serialized_end=444 - _SETBANDIBCPRICEEVENT._serialized_start=447 - _SETBANDIBCPRICEEVENT._serialized_end=628 - _EVENTBANDIBCACKSUCCESS._serialized_start=630 - _EVENTBANDIBCACKSUCCESS._serialized_end=693 - _EVENTBANDIBCACKERROR._serialized_start=695 - _EVENTBANDIBCACKERROR._serialized_end=755 - _EVENTBANDIBCRESPONSETIMEOUT._serialized_start=757 - _EVENTBANDIBCRESPONSETIMEOUT._serialized_end=805 - _SETPRICEFEEDPRICEEVENT._serialized_start=808 - _SETPRICEFEEDPRICEEVENT._serialized_end=941 - _SETPROVIDERPRICEEVENT._serialized_start=944 - _SETPROVIDERPRICEEVENT._serialized_end=1081 - _SETCOINBASEPRICEEVENT._serialized_start=1083 - _SETCOINBASEPRICEEVENT._serialized_end=1204 - _EVENTSETPYTHPRICES._serialized_start=1206 - _EVENTSETPYTHPRICES._serialized_end=1284 + _SETCOINBASEPRICEEVENT.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _globals['_SETCHAINLINKPRICEEVENT']._serialized_start=160 + _globals['_SETCHAINLINKPRICEEVENT']._serialized_end=284 + _globals['_SETBANDPRICEEVENT']._serialized_start=287 + _globals['_SETBANDPRICEEVENT']._serialized_end=444 + _globals['_SETBANDIBCPRICEEVENT']._serialized_start=447 + _globals['_SETBANDIBCPRICEEVENT']._serialized_end=628 + _globals['_EVENTBANDIBCACKSUCCESS']._serialized_start=630 + _globals['_EVENTBANDIBCACKSUCCESS']._serialized_end=693 + _globals['_EVENTBANDIBCACKERROR']._serialized_start=695 + _globals['_EVENTBANDIBCACKERROR']._serialized_end=755 + _globals['_EVENTBANDIBCRESPONSETIMEOUT']._serialized_start=757 + _globals['_EVENTBANDIBCRESPONSETIMEOUT']._serialized_end=805 + _globals['_SETPRICEFEEDPRICEEVENT']._serialized_start=808 + _globals['_SETPRICEFEEDPRICEEVENT']._serialized_end=941 + _globals['_SETPROVIDERPRICEEVENT']._serialized_start=944 + _globals['_SETPROVIDERPRICEEVENT']._serialized_end=1081 + _globals['_SETCOINBASEPRICEEVENT']._serialized_start=1083 + _globals['_SETCOINBASEPRICEEVENT']._serialized_end=1204 + _globals['_EVENTSETPYTHPRICES']._serialized_start=1206 + _globals['_EVENTSETPYTHPRICES']._serialized_end=1284 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py index 79449bc7..5c465668 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/oracle/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ 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\"\xc5\x07\n\x0cGenesisState\x12\x36\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\x12\x15\n\rband_relayers\x18\x02 \x03(\t\x12\x43\n\x11\x62\x61nd_price_states\x18\x03 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceState\x12I\n\x17price_feed_price_states\x18\x04 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedState\x12K\n\x15\x63oinbase_price_states\x18\x05 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceState\x12G\n\x15\x62\x61nd_ibc_price_states\x18\x06 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceState\x12M\n\x18\x62\x61nd_ibc_oracle_requests\x18\x07 \x03(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequest\x12\x46\n\x0f\x62\x61nd_ibc_params\x18\x08 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00\x12!\n\x19\x62\x61nd_ibc_latest_client_id\x18\t \x01(\x04\x12\x42\n\x10\x63\x61lldata_records\x18\n \x03(\x0b\x32(.injective.oracle.v1beta1.CalldataRecord\x12\"\n\x1a\x62\x61nd_ibc_latest_request_id\x18\x0b \x01(\x04\x12M\n\x16\x63hainlink_price_states\x18\x0c \x03(\x0b\x32-.injective.oracle.v1beta1.ChainlinkPriceState\x12H\n\x18historical_price_records\x18\r \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecords\x12@\n\x0fprovider_states\x18\x0e \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderState\x12\x43\n\x11pyth_price_states\x18\x0f \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceState\"5\n\x0e\x43\x61lldataRecord\x12\x11\n\tclient_id\x18\x01 \x01(\x04\x12\x10\n\x08\x63\x61lldata\x18\x02 \x01(\x0c\x42NZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -27,8 +28,8 @@ _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['band_ibc_params']._options = None _GENESISSTATE.fields_by_name['band_ibc_params']._serialized_options = b'\310\336\037\000' - _GENESISSTATE._serialized_start=130 - _GENESISSTATE._serialized_end=1095 - _CALLDATARECORD._serialized_start=1097 - _CALLDATARECORD._serialized_end=1150 + _globals['_GENESISSTATE']._serialized_start=130 + _globals['_GENESISSTATE']._serialized_end=1095 + _globals['_CALLDATARECORD']._serialized_start=1097 + _globals['_CALLDATARECORD']._serialized_end=1150 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py index 08fb7a09..664488c9 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/oracle/v1beta1/oracle.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +15,11 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__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\"%\n\x06Params\x12\x15\n\rpyth_contract\x18\x01 \x01(\t:\x04\xe8\xa0\x1f\x01\"m\n\nOracleInfo\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x39\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x14\n\x0cscale_factor\x18\x03 \x01(\r\"\xba\x01\n\x13\x43hainlinkPriceState\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12>\n\x06\x61nswer\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x11\n\ttimestamp\x18\x03 \x01(\x04\x12?\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\xc9\x01\n\x0e\x42\x61ndPriceState\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12<\n\x04rate\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x14\n\x0cresolve_time\x18\x03 \x01(\x04\x12\x12\n\nrequest_ID\x18\x04 \x01(\x04\x12?\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"z\n\x0ePriceFeedState\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\t\x12\r\n\x05quote\x18\x02 \x01(\t\x12\x39\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceState\x12\x10\n\x08relayers\x18\x04 \x03(\t\"2\n\x0cProviderInfo\x12\x10\n\x08provider\x18\x01 \x01(\t\x12\x10\n\x08relayers\x18\x02 \x03(\t\"\x9b\x01\n\rProviderState\x12=\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfo\x12K\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceState\"Y\n\x12ProviderPriceState\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x33\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceState\",\n\rPriceFeedInfo\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\t\x12\r\n\x05quote\x18\x02 \x01(\t\"O\n\x0ePriceFeedPrice\x12=\n\x05price\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\x92\x01\n\x12\x43oinbasePriceState\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x0b\n\x03key\x18\x03 \x01(\t\x12\r\n\x05value\x18\x04 \x01(\x04\x12?\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\nPriceState\x12=\n\x05price\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12H\n\x10\x63umulative_price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\xbc\x02\n\x0ePythPriceState\x12\x10\n\x08price_id\x18\x01 \x01(\t\x12\x41\n\tema_price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12@\n\x08\x65ma_conf\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12<\n\x04\x63onf\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x14\n\x0cpublish_time\x18\x05 \x01(\x04\x12?\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\x9c\x02\n\x11\x42\x61ndOracleRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12\x18\n\x10oracle_script_id\x18\x02 \x01(\x03\x12\x0f\n\x07symbols\x18\x03 \x03(\t\x12\x11\n\task_count\x18\x04 \x01(\x04\x12\x11\n\tmin_count\x18\x05 \x01(\x04\x12^\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.Coins\x12\x13\n\x0bprepare_gas\x18\x07 \x01(\x04\x12\x13\n\x0b\x65xecute_gas\x18\x08 \x01(\x04\x12\x18\n\x10min_source_count\x18\t \x01(\x04\"\xa8\x01\n\rBandIBCParams\x12\x18\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08\x12\x1c\n\x14ibc_request_interval\x18\x02 \x01(\x03\x12\x1a\n\x12ibc_source_channel\x18\x03 \x01(\t\x12\x13\n\x0bibc_version\x18\x04 \x01(\t\x12\x13\n\x0bibc_port_id\x18\x05 \x01(\t\x12\x19\n\x11legacy_oracle_ids\x18\x06 \x03(\x03\"r\n\x14SymbolPriceTimestamp\x12\x34\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x11\n\tsymbol_id\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"d\n\x13LastPriceTimestamps\x12M\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestamp\"\x9c\x01\n\x0cPriceRecords\x12\x34\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x11\n\tsymbol_id\x18\x02 \x01(\t\x12\x43\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecord\"_\n\x0bPriceRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\xbf\x03\n\x12MetadataStatistics\x12\x13\n\x0bgroup_count\x18\x01 \x01(\r\x12\x1b\n\x13records_sample_size\x18\x02 \x01(\r\x12<\n\x04mean\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12<\n\x04twap\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x17\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03\x12\x16\n\x0elast_timestamp\x18\x06 \x01(\x03\x12\x41\n\tmin_price\x18\x07 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x41\n\tmax_price\x18\x08 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x44\n\x0cmedian_price\x18\t \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\"\x9c\x01\n\x10PriceAttestation\x12\x10\n\x08price_id\x18\x01 \x01(\t\x12\r\n\x05price\x18\x02 \x01(\x03\x12\x0c\n\x04\x63onf\x18\x03 \x01(\x04\x12\x0c\n\x04\x65xpo\x18\x04 \x01(\x05\x12\x11\n\tema_price\x18\x05 \x01(\x03\x12\x10\n\x08\x65ma_conf\x18\x06 \x01(\x04\x12\x10\n\x08\x65ma_expo\x18\x07 \x01(\x05\x12\x14\n\x0cpublish_time\x18\x08 \x01(\x03*\x9f\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\x42NZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\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\"%\n\x06Params\x12\x15\n\rpyth_contract\x18\x01 \x01(\t:\x04\xe8\xa0\x1f\x01\"m\n\nOracleInfo\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x39\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x14\n\x0cscale_factor\x18\x03 \x01(\r\"\xba\x01\n\x13\x43hainlinkPriceState\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12>\n\x06\x61nswer\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\ttimestamp\x18\x03 \x01(\x04\x12?\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\xc9\x01\n\x0e\x42\x61ndPriceState\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12<\n\x04rate\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x14\n\x0cresolve_time\x18\x03 \x01(\x04\x12\x12\n\nrequest_ID\x18\x04 \x01(\x04\x12?\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"z\n\x0ePriceFeedState\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\t\x12\r\n\x05quote\x18\x02 \x01(\t\x12\x39\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceState\x12\x10\n\x08relayers\x18\x04 \x03(\t\"2\n\x0cProviderInfo\x12\x10\n\x08provider\x18\x01 \x01(\t\x12\x10\n\x08relayers\x18\x02 \x03(\t\"\x9b\x01\n\rProviderState\x12=\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfo\x12K\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceState\"Y\n\x12ProviderPriceState\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x33\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceState\",\n\rPriceFeedInfo\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\t\x12\r\n\x05quote\x18\x02 \x01(\t\"O\n\x0ePriceFeedPrice\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x92\x01\n\x12\x43oinbasePriceState\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x0b\n\x03key\x18\x03 \x01(\t\x12\r\n\x05value\x18\x04 \x01(\x04\x12?\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\nPriceState\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x63umulative_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\xbc\x02\n\x0ePythPriceState\x12\x10\n\x08price_id\x18\x01 \x01(\t\x12\x41\n\tema_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x65ma_conf\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12<\n\x04\x63onf\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cpublish_time\x18\x05 \x01(\x04\x12?\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\x9c\x02\n\x11\x42\x61ndOracleRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12\x18\n\x10oracle_script_id\x18\x02 \x01(\x03\x12\x0f\n\x07symbols\x18\x03 \x03(\t\x12\x11\n\task_count\x18\x04 \x01(\x04\x12\x11\n\tmin_count\x18\x05 \x01(\x04\x12^\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.Coins\x12\x13\n\x0bprepare_gas\x18\x07 \x01(\x04\x12\x13\n\x0b\x65xecute_gas\x18\x08 \x01(\x04\x12\x18\n\x10min_source_count\x18\t \x01(\x04\"\xa8\x01\n\rBandIBCParams\x12\x18\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08\x12\x1c\n\x14ibc_request_interval\x18\x02 \x01(\x03\x12\x1a\n\x12ibc_source_channel\x18\x03 \x01(\t\x12\x13\n\x0bibc_version\x18\x04 \x01(\t\x12\x13\n\x0bibc_port_id\x18\x05 \x01(\t\x12\x19\n\x11legacy_oracle_ids\x18\x06 \x03(\x03\"r\n\x14SymbolPriceTimestamp\x12\x34\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x11\n\tsymbol_id\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"d\n\x13LastPriceTimestamps\x12M\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestamp\"\x9c\x01\n\x0cPriceRecords\x12\x34\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x11\n\tsymbol_id\x18\x02 \x01(\t\x12\x43\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecord\"_\n\x0bPriceRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xbf\x03\n\x12MetadataStatistics\x12\x13\n\x0bgroup_count\x18\x01 \x01(\r\x12\x1b\n\x13records_sample_size\x18\x02 \x01(\r\x12<\n\x04mean\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12<\n\x04twap\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x17\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03\x12\x16\n\x0elast_timestamp\x18\x06 \x01(\x03\x12\x41\n\tmin_price\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x41\n\tmax_price\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0cmedian_price\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x9c\x01\n\x10PriceAttestation\x12\x10\n\x08price_id\x18\x01 \x01(\t\x12\r\n\x05price\x18\x02 \x01(\x03\x12\x0c\n\x04\x63onf\x18\x03 \x01(\x04\x12\x0c\n\x04\x65xpo\x18\x04 \x01(\x05\x12\x11\n\tema_price\x18\x05 \x01(\x03\x12\x10\n\x08\x65ma_conf\x18\x06 \x01(\x04\x12\x10\n\x08\x65ma_expo\x18\x07 \x01(\x05\x12\x14\n\x0cpublish_time\x18\x08 \x01(\x03*\x9f\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\x42NZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.oracle_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.oracle_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -26,85 +27,85 @@ _PARAMS._options = None _PARAMS._serialized_options = b'\350\240\037\001' _CHAINLINKPRICESTATE.fields_by_name['answer']._options = None - _CHAINLINKPRICESTATE.fields_by_name['answer']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _CHAINLINKPRICESTATE.fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _CHAINLINKPRICESTATE.fields_by_name['price_state']._options = None _CHAINLINKPRICESTATE.fields_by_name['price_state']._serialized_options = b'\310\336\037\000' _BANDPRICESTATE.fields_by_name['rate']._options = None - _BANDPRICESTATE.fields_by_name['rate']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _BANDPRICESTATE.fields_by_name['rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _BANDPRICESTATE.fields_by_name['price_state']._options = None _BANDPRICESTATE.fields_by_name['price_state']._serialized_options = b'\310\336\037\000' _PRICEFEEDPRICE.fields_by_name['price']._options = None - _PRICEFEEDPRICE.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PRICEFEEDPRICE.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _COINBASEPRICESTATE.fields_by_name['price_state']._options = None _COINBASEPRICESTATE.fields_by_name['price_state']._serialized_options = b'\310\336\037\000' _PRICESTATE.fields_by_name['price']._options = None - _PRICESTATE.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PRICESTATE.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PRICESTATE.fields_by_name['cumulative_price']._options = None - _PRICESTATE.fields_by_name['cumulative_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PRICESTATE.fields_by_name['cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PYTHPRICESTATE.fields_by_name['ema_price']._options = None - _PYTHPRICESTATE.fields_by_name['ema_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PYTHPRICESTATE.fields_by_name['ema_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PYTHPRICESTATE.fields_by_name['ema_conf']._options = None - _PYTHPRICESTATE.fields_by_name['ema_conf']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PYTHPRICESTATE.fields_by_name['ema_conf']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PYTHPRICESTATE.fields_by_name['conf']._options = None - _PYTHPRICESTATE.fields_by_name['conf']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PYTHPRICESTATE.fields_by_name['conf']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PYTHPRICESTATE.fields_by_name['price_state']._options = None _PYTHPRICESTATE.fields_by_name['price_state']._serialized_options = b'\310\336\037\000' _BANDORACLEREQUEST.fields_by_name['fee_limit']._options = None _BANDORACLEREQUEST.fields_by_name['fee_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _PRICERECORD.fields_by_name['price']._options = None - _PRICERECORD.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PRICERECORD.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _METADATASTATISTICS.fields_by_name['mean']._options = None - _METADATASTATISTICS.fields_by_name['mean']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _METADATASTATISTICS.fields_by_name['mean']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _METADATASTATISTICS.fields_by_name['twap']._options = None - _METADATASTATISTICS.fields_by_name['twap']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _METADATASTATISTICS.fields_by_name['twap']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _METADATASTATISTICS.fields_by_name['min_price']._options = None - _METADATASTATISTICS.fields_by_name['min_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _METADATASTATISTICS.fields_by_name['min_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _METADATASTATISTICS.fields_by_name['max_price']._options = None - _METADATASTATISTICS.fields_by_name['max_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _METADATASTATISTICS.fields_by_name['max_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _METADATASTATISTICS.fields_by_name['median_price']._options = None - _METADATASTATISTICS.fields_by_name['median_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' - _ORACLETYPE._serialized_start=3397 - _ORACLETYPE._serialized_end=3556 - _PARAMS._serialized_start=121 - _PARAMS._serialized_end=158 - _ORACLEINFO._serialized_start=160 - _ORACLEINFO._serialized_end=269 - _CHAINLINKPRICESTATE._serialized_start=272 - _CHAINLINKPRICESTATE._serialized_end=458 - _BANDPRICESTATE._serialized_start=461 - _BANDPRICESTATE._serialized_end=662 - _PRICEFEEDSTATE._serialized_start=664 - _PRICEFEEDSTATE._serialized_end=786 - _PROVIDERINFO._serialized_start=788 - _PROVIDERINFO._serialized_end=838 - _PROVIDERSTATE._serialized_start=841 - _PROVIDERSTATE._serialized_end=996 - _PROVIDERPRICESTATE._serialized_start=998 - _PROVIDERPRICESTATE._serialized_end=1087 - _PRICEFEEDINFO._serialized_start=1089 - _PRICEFEEDINFO._serialized_end=1133 - _PRICEFEEDPRICE._serialized_start=1135 - _PRICEFEEDPRICE._serialized_end=1214 - _COINBASEPRICESTATE._serialized_start=1217 - _COINBASEPRICESTATE._serialized_end=1363 - _PRICESTATE._serialized_start=1366 - _PRICESTATE._serialized_end=1534 - _PYTHPRICESTATE._serialized_start=1537 - _PYTHPRICESTATE._serialized_end=1853 - _BANDORACLEREQUEST._serialized_start=1856 - _BANDORACLEREQUEST._serialized_end=2140 - _BANDIBCPARAMS._serialized_start=2143 - _BANDIBCPARAMS._serialized_end=2311 - _SYMBOLPRICETIMESTAMP._serialized_start=2313 - _SYMBOLPRICETIMESTAMP._serialized_end=2427 - _LASTPRICETIMESTAMPS._serialized_start=2429 - _LASTPRICETIMESTAMPS._serialized_end=2529 - _PRICERECORDS._serialized_start=2532 - _PRICERECORDS._serialized_end=2688 - _PRICERECORD._serialized_start=2690 - _PRICERECORD._serialized_end=2785 - _METADATASTATISTICS._serialized_start=2788 - _METADATASTATISTICS._serialized_end=3235 - _PRICEATTESTATION._serialized_start=3238 - _PRICEATTESTATION._serialized_end=3394 + _METADATASTATISTICS.fields_by_name['median_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _globals['_ORACLETYPE']._serialized_start=3397 + _globals['_ORACLETYPE']._serialized_end=3556 + _globals['_PARAMS']._serialized_start=121 + _globals['_PARAMS']._serialized_end=158 + _globals['_ORACLEINFO']._serialized_start=160 + _globals['_ORACLEINFO']._serialized_end=269 + _globals['_CHAINLINKPRICESTATE']._serialized_start=272 + _globals['_CHAINLINKPRICESTATE']._serialized_end=458 + _globals['_BANDPRICESTATE']._serialized_start=461 + _globals['_BANDPRICESTATE']._serialized_end=662 + _globals['_PRICEFEEDSTATE']._serialized_start=664 + _globals['_PRICEFEEDSTATE']._serialized_end=786 + _globals['_PROVIDERINFO']._serialized_start=788 + _globals['_PROVIDERINFO']._serialized_end=838 + _globals['_PROVIDERSTATE']._serialized_start=841 + _globals['_PROVIDERSTATE']._serialized_end=996 + _globals['_PROVIDERPRICESTATE']._serialized_start=998 + _globals['_PROVIDERPRICESTATE']._serialized_end=1087 + _globals['_PRICEFEEDINFO']._serialized_start=1089 + _globals['_PRICEFEEDINFO']._serialized_end=1133 + _globals['_PRICEFEEDPRICE']._serialized_start=1135 + _globals['_PRICEFEEDPRICE']._serialized_end=1214 + _globals['_COINBASEPRICESTATE']._serialized_start=1217 + _globals['_COINBASEPRICESTATE']._serialized_end=1363 + _globals['_PRICESTATE']._serialized_start=1366 + _globals['_PRICESTATE']._serialized_end=1534 + _globals['_PYTHPRICESTATE']._serialized_start=1537 + _globals['_PYTHPRICESTATE']._serialized_end=1853 + _globals['_BANDORACLEREQUEST']._serialized_start=1856 + _globals['_BANDORACLEREQUEST']._serialized_end=2140 + _globals['_BANDIBCPARAMS']._serialized_start=2143 + _globals['_BANDIBCPARAMS']._serialized_end=2311 + _globals['_SYMBOLPRICETIMESTAMP']._serialized_start=2313 + _globals['_SYMBOLPRICETIMESTAMP']._serialized_end=2427 + _globals['_LASTPRICETIMESTAMPS']._serialized_start=2429 + _globals['_LASTPRICETIMESTAMPS']._serialized_end=2529 + _globals['_PRICERECORDS']._serialized_start=2532 + _globals['_PRICERECORDS']._serialized_end=2688 + _globals['_PRICERECORD']._serialized_start=2690 + _globals['_PRICERECORD']._serialized_end=2785 + _globals['_METADATASTATISTICS']._serialized_start=2788 + _globals['_METADATASTATISTICS']._serialized_end=3235 + _globals['_PRICEATTESTATION']._serialized_start=3238 + _globals['_PRICEATTESTATION']._serialized_end=3394 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py index fbbf485f..606676a5 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/oracle/v1beta1/proposal.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,52 +17,53 @@ from injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__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\"\x80\x01\n GrantBandOraclePrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08relayers\x18\x03 \x03(\t:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x81\x01\n!RevokeBandOraclePrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08relayers\x18\x03 \x03(\t:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9e\x01\n!GrantPriceFeederPrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04\x62\x61se\x18\x03 \x01(\t\x12\r\n\x05quote\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x90\x01\n\x1eGrantProviderPrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08provider\x18\x03 \x01(\t\x12\x10\n\x08relayers\x18\x04 \x03(\t:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x91\x01\n\x1fRevokeProviderPrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08provider\x18\x03 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9f\x01\n\"RevokePriceFeederPrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04\x62\x61se\x18\x03 \x01(\t\x12\r\n\x05quote\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb4\x01\n\"AuthorizeBandOracleRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x42\n\x07request\x18\x03 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestB\x04\xc8\xde\x1f\x00:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd5\x01\n\x1fUpdateBandOracleRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1a\n\x12\x64\x65lete_request_ids\x18\x03 \x03(\x04\x12J\n\x15update_oracle_request\x18\x04 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequest:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xab\x01\n\x15\x45nableBandIBCProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x46\n\x0f\x62\x61nd_ibc_params\x18\x03 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentBNZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\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\"\x80\x01\n GrantBandOraclePrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08relayers\x18\x03 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x81\x01\n!RevokeBandOraclePrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08relayers\x18\x03 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9e\x01\n!GrantPriceFeederPrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04\x62\x61se\x18\x03 \x01(\t\x12\r\n\x05quote\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x90\x01\n\x1eGrantProviderPrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08provider\x18\x03 \x01(\t\x12\x10\n\x08relayers\x18\x04 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x91\x01\n\x1fRevokeProviderPrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08provider\x18\x03 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9f\x01\n\"RevokePriceFeederPrivilegeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04\x62\x61se\x18\x03 \x01(\t\x12\r\n\x05quote\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb4\x01\n\"AuthorizeBandOracleRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x42\n\x07request\x18\x03 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd5\x01\n\x1fUpdateBandOracleRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1a\n\x12\x64\x65lete_request_ids\x18\x03 \x03(\x04\x12J\n\x15update_oracle_request\x18\x04 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequest:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xab\x01\n\x15\x45nableBandIBCProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x46\n\x0f\x62\x61nd_ibc_params\x18\x03 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentBNZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.proposal_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.proposal_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types' _GRANTBANDORACLEPRIVILEGEPROPOSAL._options = None - _GRANTBANDORACLEPRIVILEGEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _GRANTBANDORACLEPRIVILEGEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _REVOKEBANDORACLEPRIVILEGEPROPOSAL._options = None - _REVOKEBANDORACLEPRIVILEGEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _REVOKEBANDORACLEPRIVILEGEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _GRANTPRICEFEEDERPRIVILEGEPROPOSAL._options = None - _GRANTPRICEFEEDERPRIVILEGEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _GRANTPRICEFEEDERPRIVILEGEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _GRANTPROVIDERPRIVILEGEPROPOSAL._options = None - _GRANTPROVIDERPRIVILEGEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _GRANTPROVIDERPRIVILEGEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _REVOKEPROVIDERPRIVILEGEPROPOSAL._options = None - _REVOKEPROVIDERPRIVILEGEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _REVOKEPROVIDERPRIVILEGEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _REVOKEPRICEFEEDERPRIVILEGEPROPOSAL._options = None - _REVOKEPRICEFEEDERPRIVILEGEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _REVOKEPRICEFEEDERPRIVILEGEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _AUTHORIZEBANDORACLEREQUESTPROPOSAL.fields_by_name['request']._options = None _AUTHORIZEBANDORACLEREQUESTPROPOSAL.fields_by_name['request']._serialized_options = b'\310\336\037\000' _AUTHORIZEBANDORACLEREQUESTPROPOSAL._options = None - _AUTHORIZEBANDORACLEREQUESTPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _AUTHORIZEBANDORACLEREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _UPDATEBANDORACLEREQUESTPROPOSAL._options = None - _UPDATEBANDORACLEREQUESTPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _UPDATEBANDORACLEREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _ENABLEBANDIBCPROPOSAL.fields_by_name['band_ibc_params']._options = None _ENABLEBANDIBCPROPOSAL.fields_by_name['band_ibc_params']._serialized_options = b'\310\336\037\000' _ENABLEBANDIBCPROPOSAL._options = None - _ENABLEBANDIBCPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _GRANTBANDORACLEPRIVILEGEPROPOSAL._serialized_start=190 - _GRANTBANDORACLEPRIVILEGEPROPOSAL._serialized_end=318 - _REVOKEBANDORACLEPRIVILEGEPROPOSAL._serialized_start=321 - _REVOKEBANDORACLEPRIVILEGEPROPOSAL._serialized_end=450 - _GRANTPRICEFEEDERPRIVILEGEPROPOSAL._serialized_start=453 - _GRANTPRICEFEEDERPRIVILEGEPROPOSAL._serialized_end=611 - _GRANTPROVIDERPRIVILEGEPROPOSAL._serialized_start=614 - _GRANTPROVIDERPRIVILEGEPROPOSAL._serialized_end=758 - _REVOKEPROVIDERPRIVILEGEPROPOSAL._serialized_start=761 - _REVOKEPROVIDERPRIVILEGEPROPOSAL._serialized_end=906 - _REVOKEPRICEFEEDERPRIVILEGEPROPOSAL._serialized_start=909 - _REVOKEPRICEFEEDERPRIVILEGEPROPOSAL._serialized_end=1068 - _AUTHORIZEBANDORACLEREQUESTPROPOSAL._serialized_start=1071 - _AUTHORIZEBANDORACLEREQUESTPROPOSAL._serialized_end=1251 - _UPDATEBANDORACLEREQUESTPROPOSAL._serialized_start=1254 - _UPDATEBANDORACLEREQUESTPROPOSAL._serialized_end=1467 - _ENABLEBANDIBCPROPOSAL._serialized_start=1470 - _ENABLEBANDIBCPROPOSAL._serialized_end=1641 + _ENABLEBANDIBCPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_start=190 + _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_end=318 + _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_start=321 + _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_end=450 + _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_start=453 + _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_end=611 + _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_start=614 + _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_end=758 + _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_start=761 + _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_end=906 + _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_start=909 + _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_end=1068 + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_start=1071 + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_end=1251 + _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_start=1254 + _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_end=1467 + _globals['_ENABLEBANDIBCPROPOSAL']._serialized_start=1470 + _globals['_ENABLEBANDIBCPROPOSAL']._serialized_end=1641 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py index a7c31161..29aff13b 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/oracle/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +17,11 @@ from 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\")\n\x15QueryPythPriceRequest\x12\x10\n\x08price_id\x18\x01 \x01(\t\"W\n\x16QueryPythPriceResponse\x12=\n\x0bprice_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PythPriceState\"\x14\n\x12QueryParamsRequest\"M\n\x13QueryParamsResponse\x12\x36\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\"\x1a\n\x18QueryBandRelayersRequest\"-\n\x19QueryBandRelayersResponse\x12\x10\n\x08relayers\x18\x01 \x03(\t\"\x1d\n\x1bQueryBandPriceStatesRequest\"^\n\x1cQueryBandPriceStatesResponse\x12>\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceState\" \n\x1eQueryBandIBCPriceStatesRequest\"a\n\x1fQueryBandIBCPriceStatesResponse\x12>\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceState\"\"\n QueryPriceFeedPriceStatesRequest\"c\n!QueryPriceFeedPriceStatesResponse\x12>\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedState\"!\n\x1fQueryCoinbasePriceStatesRequest\"f\n QueryCoinbasePriceStatesResponse\x12\x42\n\x0cprice_states\x18\x01 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceState\"\x1d\n\x1bQueryPythPriceStatesRequest\"^\n\x1cQueryPythPriceStatesResponse\x12>\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceState\"B\n\x1eQueryProviderPriceStateRequest\x12\x10\n\x08provider\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\"\\\n\x1fQueryProviderPriceStateResponse\x12\x39\n\x0bprice_state\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceState\"\x19\n\x17QueryModuleStateRequest\"Q\n\x18QueryModuleStateResponse\x12\x35\n\x05state\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.GenesisState\"m\n\"QueryHistoricalPriceRecordsRequest\x12\x34\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x11\n\tsymbol_id\x18\x02 \x01(\t\"d\n#QueryHistoricalPriceRecordsResponse\x12=\n\rprice_records\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecords\"^\n\x14OracleHistoryOptions\x12\x0f\n\x07max_age\x18\x01 \x01(\x04\x12\x1b\n\x13include_raw_history\x18\x02 \x01(\x08\x12\x18\n\x10include_metadata\x18\x03 \x01(\x08\"\xe1\x01\n\x1cQueryOracleVolatilityRequest\x12\x37\n\tbase_info\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfo\x12\x38\n\nquote_info\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfo\x12N\n\x16oracle_history_options\x18\x03 \x01(\x0b\x32..injective.oracle.v1beta1.OracleHistoryOptions\"\xe3\x01\n\x1dQueryOracleVolatilityResponse\x12>\n\nvolatility\x18\x01 \x01(\tB*\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatistics\x12:\n\x0braw_history\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecord\"!\n\x1fQueryOracleProvidersInfoRequest\"]\n QueryOracleProvidersInfoResponse\x12\x39\n\tproviders\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.ProviderInfo\"4\n QueryOracleProviderPricesRequest\x12\x10\n\x08provider\x18\x01 \x01(\t\"c\n!QueryOracleProviderPricesResponse\x12>\n\rproviderState\x18\x01 \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderState\"q\n\x17QueryOraclePriceRequest\x12\x39\n\x0boracle_type\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0c\n\x04\x62\x61se\x18\x02 \x01(\t\x12\r\n\x05quote\x18\x03 \x01(\t\"\xad\x03\n\x0ePricePairState\x12\x42\n\npair_price\x18\x01 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x42\n\nbase_price\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x43\n\x0bquote_price\x18\x03 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12M\n\x15\x62\x61se_cumulative_price\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12N\n\x16quote_cumulative_price\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x16\n\x0e\x62\x61se_timestamp\x18\x06 \x01(\x03\x12\x17\n\x0fquote_timestamp\x18\x07 \x01(\x03\"^\n\x18QueryOraclePriceResponse\x12\x42\n\x10price_pair_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PricePairState2\xda\x15\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\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_priceBNZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\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\")\n\x15QueryPythPriceRequest\x12\x10\n\x08price_id\x18\x01 \x01(\t\"W\n\x16QueryPythPriceResponse\x12=\n\x0bprice_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PythPriceState\"\x14\n\x12QueryParamsRequest\"M\n\x13QueryParamsResponse\x12\x36\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\"\x1a\n\x18QueryBandRelayersRequest\"-\n\x19QueryBandRelayersResponse\x12\x10\n\x08relayers\x18\x01 \x03(\t\"\x1d\n\x1bQueryBandPriceStatesRequest\"^\n\x1cQueryBandPriceStatesResponse\x12>\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceState\" \n\x1eQueryBandIBCPriceStatesRequest\"a\n\x1fQueryBandIBCPriceStatesResponse\x12>\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceState\"\"\n QueryPriceFeedPriceStatesRequest\"c\n!QueryPriceFeedPriceStatesResponse\x12>\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedState\"!\n\x1fQueryCoinbasePriceStatesRequest\"f\n QueryCoinbasePriceStatesResponse\x12\x42\n\x0cprice_states\x18\x01 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceState\"\x1d\n\x1bQueryPythPriceStatesRequest\"^\n\x1cQueryPythPriceStatesResponse\x12>\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceState\"B\n\x1eQueryProviderPriceStateRequest\x12\x10\n\x08provider\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\"\\\n\x1fQueryProviderPriceStateResponse\x12\x39\n\x0bprice_state\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceState\"\x19\n\x17QueryModuleStateRequest\"Q\n\x18QueryModuleStateResponse\x12\x35\n\x05state\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.GenesisState\"m\n\"QueryHistoricalPriceRecordsRequest\x12\x34\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x11\n\tsymbol_id\x18\x02 \x01(\t\"d\n#QueryHistoricalPriceRecordsResponse\x12=\n\rprice_records\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecords\"^\n\x14OracleHistoryOptions\x12\x0f\n\x07max_age\x18\x01 \x01(\x04\x12\x1b\n\x13include_raw_history\x18\x02 \x01(\x08\x12\x18\n\x10include_metadata\x18\x03 \x01(\x08\"\xe1\x01\n\x1cQueryOracleVolatilityRequest\x12\x37\n\tbase_info\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfo\x12\x38\n\nquote_info\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfo\x12N\n\x16oracle_history_options\x18\x03 \x01(\x0b\x32..injective.oracle.v1beta1.OracleHistoryOptions\"\xe3\x01\n\x1dQueryOracleVolatilityResponse\x12>\n\nvolatility\x18\x01 \x01(\tB*\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatistics\x12:\n\x0braw_history\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecord\"!\n\x1fQueryOracleProvidersInfoRequest\"]\n QueryOracleProvidersInfoResponse\x12\x39\n\tproviders\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.ProviderInfo\"4\n QueryOracleProviderPricesRequest\x12\x10\n\x08provider\x18\x01 \x01(\t\"c\n!QueryOracleProviderPricesResponse\x12>\n\rproviderState\x18\x01 \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderState\"q\n\x17QueryOraclePriceRequest\x12\x39\n\x0boracle_type\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0c\n\x04\x62\x61se\x18\x02 \x01(\t\x12\r\n\x05quote\x18\x03 \x01(\t\"\xad\x03\n\x0ePricePairState\x12\x42\n\npair_price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x42\n\nbase_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0bquote_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12M\n\x15\x62\x61se_cumulative_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16quote_cumulative_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x16\n\x0e\x62\x61se_timestamp\x18\x06 \x01(\x03\x12\x17\n\x0fquote_timestamp\x18\x07 \x01(\x03\"^\n\x18QueryOraclePriceResponse\x12\x42\n\x10price_pair_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PricePairState2\xda\x15\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\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_priceBNZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -30,15 +31,15 @@ _QUERYORACLEVOLATILITYRESPONSE.fields_by_name['volatility']._options = None _QUERYORACLEVOLATILITYRESPONSE.fields_by_name['volatility']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PRICEPAIRSTATE.fields_by_name['pair_price']._options = None - _PRICEPAIRSTATE.fields_by_name['pair_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PRICEPAIRSTATE.fields_by_name['pair_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PRICEPAIRSTATE.fields_by_name['base_price']._options = None - _PRICEPAIRSTATE.fields_by_name['base_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PRICEPAIRSTATE.fields_by_name['base_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PRICEPAIRSTATE.fields_by_name['quote_price']._options = None - _PRICEPAIRSTATE.fields_by_name['quote_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PRICEPAIRSTATE.fields_by_name['quote_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PRICEPAIRSTATE.fields_by_name['base_cumulative_price']._options = None - _PRICEPAIRSTATE.fields_by_name['base_cumulative_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PRICEPAIRSTATE.fields_by_name['base_cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PRICEPAIRSTATE.fields_by_name['quote_cumulative_price']._options = None - _PRICEPAIRSTATE.fields_by_name['quote_cumulative_price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PRICEPAIRSTATE.fields_by_name['quote_cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\"\022 /injective/oracle/v1beta1/params' _QUERY.methods_by_name['BandRelayers']._options = None @@ -69,70 +70,70 @@ _QUERY.methods_by_name['OraclePrice']._serialized_options = b'\202\323\344\223\002!\022\037/injective/oracle/v1beta1/price' _QUERY.methods_by_name['PythPrice']._options = None _QUERY.methods_by_name['PythPrice']._serialized_options = b'\202\323\344\223\002&\022$/injective/oracle/v1beta1/pyth_price' - _QUERYPYTHPRICEREQUEST._serialized_start=197 - _QUERYPYTHPRICEREQUEST._serialized_end=238 - _QUERYPYTHPRICERESPONSE._serialized_start=240 - _QUERYPYTHPRICERESPONSE._serialized_end=327 - _QUERYPARAMSREQUEST._serialized_start=329 - _QUERYPARAMSREQUEST._serialized_end=349 - _QUERYPARAMSRESPONSE._serialized_start=351 - _QUERYPARAMSRESPONSE._serialized_end=428 - _QUERYBANDRELAYERSREQUEST._serialized_start=430 - _QUERYBANDRELAYERSREQUEST._serialized_end=456 - _QUERYBANDRELAYERSRESPONSE._serialized_start=458 - _QUERYBANDRELAYERSRESPONSE._serialized_end=503 - _QUERYBANDPRICESTATESREQUEST._serialized_start=505 - _QUERYBANDPRICESTATESREQUEST._serialized_end=534 - _QUERYBANDPRICESTATESRESPONSE._serialized_start=536 - _QUERYBANDPRICESTATESRESPONSE._serialized_end=630 - _QUERYBANDIBCPRICESTATESREQUEST._serialized_start=632 - _QUERYBANDIBCPRICESTATESREQUEST._serialized_end=664 - _QUERYBANDIBCPRICESTATESRESPONSE._serialized_start=666 - _QUERYBANDIBCPRICESTATESRESPONSE._serialized_end=763 - _QUERYPRICEFEEDPRICESTATESREQUEST._serialized_start=765 - _QUERYPRICEFEEDPRICESTATESREQUEST._serialized_end=799 - _QUERYPRICEFEEDPRICESTATESRESPONSE._serialized_start=801 - _QUERYPRICEFEEDPRICESTATESRESPONSE._serialized_end=900 - _QUERYCOINBASEPRICESTATESREQUEST._serialized_start=902 - _QUERYCOINBASEPRICESTATESREQUEST._serialized_end=935 - _QUERYCOINBASEPRICESTATESRESPONSE._serialized_start=937 - _QUERYCOINBASEPRICESTATESRESPONSE._serialized_end=1039 - _QUERYPYTHPRICESTATESREQUEST._serialized_start=1041 - _QUERYPYTHPRICESTATESREQUEST._serialized_end=1070 - _QUERYPYTHPRICESTATESRESPONSE._serialized_start=1072 - _QUERYPYTHPRICESTATESRESPONSE._serialized_end=1166 - _QUERYPROVIDERPRICESTATEREQUEST._serialized_start=1168 - _QUERYPROVIDERPRICESTATEREQUEST._serialized_end=1234 - _QUERYPROVIDERPRICESTATERESPONSE._serialized_start=1236 - _QUERYPROVIDERPRICESTATERESPONSE._serialized_end=1328 - _QUERYMODULESTATEREQUEST._serialized_start=1330 - _QUERYMODULESTATEREQUEST._serialized_end=1355 - _QUERYMODULESTATERESPONSE._serialized_start=1357 - _QUERYMODULESTATERESPONSE._serialized_end=1438 - _QUERYHISTORICALPRICERECORDSREQUEST._serialized_start=1440 - _QUERYHISTORICALPRICERECORDSREQUEST._serialized_end=1549 - _QUERYHISTORICALPRICERECORDSRESPONSE._serialized_start=1551 - _QUERYHISTORICALPRICERECORDSRESPONSE._serialized_end=1651 - _ORACLEHISTORYOPTIONS._serialized_start=1653 - _ORACLEHISTORYOPTIONS._serialized_end=1747 - _QUERYORACLEVOLATILITYREQUEST._serialized_start=1750 - _QUERYORACLEVOLATILITYREQUEST._serialized_end=1975 - _QUERYORACLEVOLATILITYRESPONSE._serialized_start=1978 - _QUERYORACLEVOLATILITYRESPONSE._serialized_end=2205 - _QUERYORACLEPROVIDERSINFOREQUEST._serialized_start=2207 - _QUERYORACLEPROVIDERSINFOREQUEST._serialized_end=2240 - _QUERYORACLEPROVIDERSINFORESPONSE._serialized_start=2242 - _QUERYORACLEPROVIDERSINFORESPONSE._serialized_end=2335 - _QUERYORACLEPROVIDERPRICESREQUEST._serialized_start=2337 - _QUERYORACLEPROVIDERPRICESREQUEST._serialized_end=2389 - _QUERYORACLEPROVIDERPRICESRESPONSE._serialized_start=2391 - _QUERYORACLEPROVIDERPRICESRESPONSE._serialized_end=2490 - _QUERYORACLEPRICEREQUEST._serialized_start=2492 - _QUERYORACLEPRICEREQUEST._serialized_end=2605 - _PRICEPAIRSTATE._serialized_start=2608 - _PRICEPAIRSTATE._serialized_end=3037 - _QUERYORACLEPRICERESPONSE._serialized_start=3039 - _QUERYORACLEPRICERESPONSE._serialized_end=3133 - _QUERY._serialized_start=3136 - _QUERY._serialized_end=5914 + _globals['_QUERYPYTHPRICEREQUEST']._serialized_start=197 + _globals['_QUERYPYTHPRICEREQUEST']._serialized_end=238 + _globals['_QUERYPYTHPRICERESPONSE']._serialized_start=240 + _globals['_QUERYPYTHPRICERESPONSE']._serialized_end=327 + _globals['_QUERYPARAMSREQUEST']._serialized_start=329 + _globals['_QUERYPARAMSREQUEST']._serialized_end=349 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=351 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=428 + _globals['_QUERYBANDRELAYERSREQUEST']._serialized_start=430 + _globals['_QUERYBANDRELAYERSREQUEST']._serialized_end=456 + _globals['_QUERYBANDRELAYERSRESPONSE']._serialized_start=458 + _globals['_QUERYBANDRELAYERSRESPONSE']._serialized_end=503 + _globals['_QUERYBANDPRICESTATESREQUEST']._serialized_start=505 + _globals['_QUERYBANDPRICESTATESREQUEST']._serialized_end=534 + _globals['_QUERYBANDPRICESTATESRESPONSE']._serialized_start=536 + _globals['_QUERYBANDPRICESTATESRESPONSE']._serialized_end=630 + _globals['_QUERYBANDIBCPRICESTATESREQUEST']._serialized_start=632 + _globals['_QUERYBANDIBCPRICESTATESREQUEST']._serialized_end=664 + _globals['_QUERYBANDIBCPRICESTATESRESPONSE']._serialized_start=666 + _globals['_QUERYBANDIBCPRICESTATESRESPONSE']._serialized_end=763 + _globals['_QUERYPRICEFEEDPRICESTATESREQUEST']._serialized_start=765 + _globals['_QUERYPRICEFEEDPRICESTATESREQUEST']._serialized_end=799 + _globals['_QUERYPRICEFEEDPRICESTATESRESPONSE']._serialized_start=801 + _globals['_QUERYPRICEFEEDPRICESTATESRESPONSE']._serialized_end=900 + _globals['_QUERYCOINBASEPRICESTATESREQUEST']._serialized_start=902 + _globals['_QUERYCOINBASEPRICESTATESREQUEST']._serialized_end=935 + _globals['_QUERYCOINBASEPRICESTATESRESPONSE']._serialized_start=937 + _globals['_QUERYCOINBASEPRICESTATESRESPONSE']._serialized_end=1039 + _globals['_QUERYPYTHPRICESTATESREQUEST']._serialized_start=1041 + _globals['_QUERYPYTHPRICESTATESREQUEST']._serialized_end=1070 + _globals['_QUERYPYTHPRICESTATESRESPONSE']._serialized_start=1072 + _globals['_QUERYPYTHPRICESTATESRESPONSE']._serialized_end=1166 + _globals['_QUERYPROVIDERPRICESTATEREQUEST']._serialized_start=1168 + _globals['_QUERYPROVIDERPRICESTATEREQUEST']._serialized_end=1234 + _globals['_QUERYPROVIDERPRICESTATERESPONSE']._serialized_start=1236 + _globals['_QUERYPROVIDERPRICESTATERESPONSE']._serialized_end=1328 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=1330 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=1355 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=1357 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1438 + _globals['_QUERYHISTORICALPRICERECORDSREQUEST']._serialized_start=1440 + _globals['_QUERYHISTORICALPRICERECORDSREQUEST']._serialized_end=1549 + _globals['_QUERYHISTORICALPRICERECORDSRESPONSE']._serialized_start=1551 + _globals['_QUERYHISTORICALPRICERECORDSRESPONSE']._serialized_end=1651 + _globals['_ORACLEHISTORYOPTIONS']._serialized_start=1653 + _globals['_ORACLEHISTORYOPTIONS']._serialized_end=1747 + _globals['_QUERYORACLEVOLATILITYREQUEST']._serialized_start=1750 + _globals['_QUERYORACLEVOLATILITYREQUEST']._serialized_end=1975 + _globals['_QUERYORACLEVOLATILITYRESPONSE']._serialized_start=1978 + _globals['_QUERYORACLEVOLATILITYRESPONSE']._serialized_end=2205 + _globals['_QUERYORACLEPROVIDERSINFOREQUEST']._serialized_start=2207 + _globals['_QUERYORACLEPROVIDERSINFOREQUEST']._serialized_end=2240 + _globals['_QUERYORACLEPROVIDERSINFORESPONSE']._serialized_start=2242 + _globals['_QUERYORACLEPROVIDERSINFORESPONSE']._serialized_end=2335 + _globals['_QUERYORACLEPROVIDERPRICESREQUEST']._serialized_start=2337 + _globals['_QUERYORACLEPROVIDERPRICESREQUEST']._serialized_end=2389 + _globals['_QUERYORACLEPROVIDERPRICESRESPONSE']._serialized_start=2391 + _globals['_QUERYORACLEPROVIDERPRICESRESPONSE']._serialized_end=2490 + _globals['_QUERYORACLEPRICEREQUEST']._serialized_start=2492 + _globals['_QUERYORACLEPRICEREQUEST']._serialized_end=2605 + _globals['_PRICEPAIRSTATE']._serialized_start=2608 + _globals['_PRICEPAIRSTATE']._serialized_end=3037 + _globals['_QUERYORACLEPRICERESPONSE']._serialized_start=3039 + _globals['_QUERYORACLEPRICERESPONSE']._serialized_end=3133 + _globals['_QUERY']._serialized_start=3136 + _globals['_QUERY']._serialized_end=5914 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py index 1719c37a..843e6be0 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/oracle/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +17,65 @@ from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__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\"\xa0\x01\n\x16MsgRelayProviderPrices\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08provider\x18\x02 \x01(\t\x12\x0f\n\x07symbols\x18\x03 \x03(\t\x12>\n\x06prices\x18\x04 \x03(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\" \n\x1eMsgRelayProviderPricesResponse\"\x99\x01\n\x16MsgRelayPriceFeedPrice\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0c\n\x04\x62\x61se\x18\x02 \x03(\t\x12\r\n\x05quote\x18\x03 \x03(\t\x12=\n\x05price\x18\x04 \x03(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\" \n\x1eMsgRelayPriceFeedPriceResponse\"}\n\x11MsgRelayBandRates\x12\x0f\n\x07relayer\x18\x01 \x01(\t\x12\x0f\n\x07symbols\x18\x02 \x03(\t\x12\r\n\x05rates\x18\x03 \x03(\x04\x12\x15\n\rresolve_times\x18\x04 \x03(\x04\x12\x12\n\nrequestIDs\x18\x05 \x03(\x04:\x0c\x82\xe7\xb0*\x07relayer\"\x1b\n\x19MsgRelayBandRatesResponse\"e\n\x18MsgRelayCoinbaseMessages\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08messages\x18\x02 \x03(\x0c\x12\x12\n\nsignatures\x18\x03 \x03(\x0c:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n MsgRelayCoinbaseMessagesResponse\"Q\n\x16MsgRequestBandIBCRates\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\x04:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\" \n\x1eMsgRequestBandIBCRatesResponse\"\x81\x01\n\x12MsgRelayPythPrices\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x46\n\x12price_attestations\x18\x02 \x03(\x0b\x32*.injective.oracle.v1beta1.PriceAttestation:\x13\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgRelayPythPricesResponse\"\x86\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x06params\x18\x02 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xf4\x06\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\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.MsgUpdateParamsResponseBNZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\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\"\xa0\x01\n\x16MsgRelayProviderPrices\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08provider\x18\x02 \x01(\t\x12\x0f\n\x07symbols\x18\x03 \x03(\t\x12>\n\x06prices\x18\x04 \x03(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\" \n\x1eMsgRelayProviderPricesResponse\"\x99\x01\n\x16MsgRelayPriceFeedPrice\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0c\n\x04\x62\x61se\x18\x02 \x03(\t\x12\r\n\x05quote\x18\x03 \x03(\t\x12=\n\x05price\x18\x04 \x03(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\" \n\x1eMsgRelayPriceFeedPriceResponse\"}\n\x11MsgRelayBandRates\x12\x0f\n\x07relayer\x18\x01 \x01(\t\x12\x0f\n\x07symbols\x18\x02 \x03(\t\x12\r\n\x05rates\x18\x03 \x03(\x04\x12\x15\n\rresolve_times\x18\x04 \x03(\x04\x12\x12\n\nrequestIDs\x18\x05 \x03(\x04:\x0c\x82\xe7\xb0*\x07relayer\"\x1b\n\x19MsgRelayBandRatesResponse\"e\n\x18MsgRelayCoinbaseMessages\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08messages\x18\x02 \x03(\x0c\x12\x12\n\nsignatures\x18\x03 \x03(\x0c:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n MsgRelayCoinbaseMessagesResponse\"Q\n\x16MsgRequestBandIBCRates\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\x04:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\" \n\x1eMsgRequestBandIBCRatesResponse\"\x81\x01\n\x12MsgRelayPythPrices\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x46\n\x12price_attestations\x18\x02 \x03(\x0b\x32*.injective.oracle.v1beta1.PriceAttestation:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgRelayPythPricesResponse\"\x86\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x36\n\x06params\x18\x02 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xf4\x06\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\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.MsgUpdateParamsResponseBNZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types' _MSGRELAYPROVIDERPRICES.fields_by_name['prices']._options = None - _MSGRELAYPROVIDERPRICES.fields_by_name['prices']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGRELAYPROVIDERPRICES.fields_by_name['prices']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGRELAYPROVIDERPRICES._options = None - _MSGRELAYPROVIDERPRICES._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGRELAYPROVIDERPRICES._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGRELAYPRICEFEEDPRICE.fields_by_name['price']._options = None - _MSGRELAYPRICEFEEDPRICE.fields_by_name['price']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _MSGRELAYPRICEFEEDPRICE.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGRELAYPRICEFEEDPRICE._options = None - _MSGRELAYPRICEFEEDPRICE._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGRELAYPRICEFEEDPRICE._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGRELAYBANDRATES._options = None _MSGRELAYBANDRATES._serialized_options = b'\202\347\260*\007relayer' _MSGRELAYCOINBASEMESSAGES._options = None - _MSGRELAYCOINBASEMESSAGES._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGRELAYCOINBASEMESSAGES._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGREQUESTBANDIBCRATES._options = None - _MSGREQUESTBANDIBCRATES._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGREQUESTBANDIBCRATES._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGRELAYPYTHPRICES._options = None - _MSGRELAYPYTHPRICES._serialized_options = b'\350\240\037\000\210\240\037\000\202\347\260*\006sender' + _MSGRELAYPYTHPRICES._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEPARAMS.fields_by_name['params']._options = None _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' _MSGUPDATEPARAMS._options = None _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' - _MSGRELAYPROVIDERPRICES._serialized_start=177 - _MSGRELAYPROVIDERPRICES._serialized_end=337 - _MSGRELAYPROVIDERPRICESRESPONSE._serialized_start=339 - _MSGRELAYPROVIDERPRICESRESPONSE._serialized_end=371 - _MSGRELAYPRICEFEEDPRICE._serialized_start=374 - _MSGRELAYPRICEFEEDPRICE._serialized_end=527 - _MSGRELAYPRICEFEEDPRICERESPONSE._serialized_start=529 - _MSGRELAYPRICEFEEDPRICERESPONSE._serialized_end=561 - _MSGRELAYBANDRATES._serialized_start=563 - _MSGRELAYBANDRATES._serialized_end=688 - _MSGRELAYBANDRATESRESPONSE._serialized_start=690 - _MSGRELAYBANDRATESRESPONSE._serialized_end=717 - _MSGRELAYCOINBASEMESSAGES._serialized_start=719 - _MSGRELAYCOINBASEMESSAGES._serialized_end=820 - _MSGRELAYCOINBASEMESSAGESRESPONSE._serialized_start=822 - _MSGRELAYCOINBASEMESSAGESRESPONSE._serialized_end=856 - _MSGREQUESTBANDIBCRATES._serialized_start=858 - _MSGREQUESTBANDIBCRATES._serialized_end=939 - _MSGREQUESTBANDIBCRATESRESPONSE._serialized_start=941 - _MSGREQUESTBANDIBCRATESRESPONSE._serialized_end=973 - _MSGRELAYPYTHPRICES._serialized_start=976 - _MSGRELAYPYTHPRICES._serialized_end=1105 - _MSGRELAYPYTHPRICESRESPONSE._serialized_start=1107 - _MSGRELAYPYTHPRICESRESPONSE._serialized_end=1135 - _MSGUPDATEPARAMS._serialized_start=1138 - _MSGUPDATEPARAMS._serialized_end=1272 - _MSGUPDATEPARAMSRESPONSE._serialized_start=1274 - _MSGUPDATEPARAMSRESPONSE._serialized_end=1299 - _MSG._serialized_start=1302 - _MSG._serialized_end=2186 + _globals['_MSGRELAYPROVIDERPRICES']._serialized_start=177 + _globals['_MSGRELAYPROVIDERPRICES']._serialized_end=337 + _globals['_MSGRELAYPROVIDERPRICESRESPONSE']._serialized_start=339 + _globals['_MSGRELAYPROVIDERPRICESRESPONSE']._serialized_end=371 + _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_start=374 + _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_end=527 + _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_start=529 + _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_end=561 + _globals['_MSGRELAYBANDRATES']._serialized_start=563 + _globals['_MSGRELAYBANDRATES']._serialized_end=688 + _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_start=690 + _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_end=717 + _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_start=719 + _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_end=820 + _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_start=822 + _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_end=856 + _globals['_MSGREQUESTBANDIBCRATES']._serialized_start=858 + _globals['_MSGREQUESTBANDIBCRATES']._serialized_end=939 + _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_start=941 + _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_end=973 + _globals['_MSGRELAYPYTHPRICES']._serialized_start=976 + _globals['_MSGRELAYPYTHPRICES']._serialized_end=1105 + _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_start=1107 + _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_end=1135 + _globals['_MSGUPDATEPARAMS']._serialized_start=1138 + _globals['_MSGUPDATEPARAMS']._serialized_end=1272 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1274 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1299 + _globals['_MSG']._serialized_start=1302 + _globals['_MSG']._serialized_end=2186 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/attestation_pb2.py b/pyinjective/proto/injective/peggy/v1/attestation_pb2.py index 84eba828..d3f31123 100644 --- a/pyinjective/proto/injective/peggy/v1/attestation_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/attestation_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/attestation.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +15,11 @@ 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\"c\n\x0b\x41ttestation\x12\x10\n\x08observed\x18\x01 \x01(\x08\x12\r\n\x05votes\x18\x02 \x03(\t\x12\x0e\n\x06height\x18\x03 \x01(\x04\x12#\n\x05\x63laim\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\"^\n\nERC20Token\x12\x10\n\x08\x63ontract\x18\x01 \x01(\t\x12>\n\x06\x61mount\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00*\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\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\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\"c\n\x0b\x41ttestation\x12\x10\n\x08observed\x18\x01 \x01(\x08\x12\r\n\x05votes\x18\x02 \x03(\t\x12\x0e\n\x06height\x18\x03 \x01(\x04\x12#\n\x05\x63laim\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\"^\n\nERC20Token\x12\x10\n\x08\x63ontract\x18\x01 \x01(\t\x12>\n\x06\x61mount\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int*\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\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.attestation_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.attestation_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -36,11 +37,11 @@ _CLAIMTYPE.values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._options = None _CLAIMTYPE.values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._serialized_options = b'\212\235 \031CLAIM_TYPE_VALSET_UPDATED' _ERC20TOKEN.fields_by_name['amount']._options = None - _ERC20TOKEN.fields_by_name['amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' - _CLAIMTYPE._serialized_start=307 - _CLAIMTYPE._serialized_end=594 - _ATTESTATION._serialized_start=109 - _ATTESTATION._serialized_end=208 - _ERC20TOKEN._serialized_start=210 - _ERC20TOKEN._serialized_end=304 + _ERC20TOKEN.fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' + _globals['_CLAIMTYPE']._serialized_start=307 + _globals['_CLAIMTYPE']._serialized_end=594 + _globals['_ATTESTATION']._serialized_start=109 + _globals['_ATTESTATION']._serialized_end=208 + _globals['_ERC20TOKEN']._serialized_start=210 + _globals['_ERC20TOKEN']._serialized_end=304 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/batch_pb2.py b/pyinjective/proto/injective/peggy/v1/batch_pb2.py index a5ce57b2..c3be7517 100644 --- a/pyinjective/proto/injective/peggy/v1/batch_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/batch_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/batch.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +16,15 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/batch.proto\x12\x12injective.peggy.v1\x1a$injective/peggy/v1/attestation.proto\"\xa2\x01\n\x0fOutgoingTxBatch\x12\x13\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04\x12\x15\n\rbatch_timeout\x18\x02 \x01(\x04\x12<\n\x0ctransactions\x18\x03 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTx\x12\x16\n\x0etoken_contract\x18\x04 \x01(\t\x12\r\n\x05\x62lock\x18\x05 \x01(\x04\"\xae\x01\n\x12OutgoingTransferTx\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0e\n\x06sender\x18\x02 \x01(\t\x12\x14\n\x0c\x64\x65st_address\x18\x03 \x01(\t\x12\x33\n\x0b\x65rc20_token\x18\x04 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20Token\x12\x31\n\terc20_fee\x18\x05 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.batch_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.batch_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' - _OUTGOINGTXBATCH._serialized_start=93 - _OUTGOINGTXBATCH._serialized_end=255 - _OUTGOINGTRANSFERTX._serialized_start=258 - _OUTGOINGTRANSFERTX._serialized_end=432 + _globals['_OUTGOINGTXBATCH']._serialized_start=93 + _globals['_OUTGOINGTXBATCH']._serialized_end=255 + _globals['_OUTGOINGTRANSFERTX']._serialized_start=258 + _globals['_OUTGOINGTRANSFERTX']._serialized_end=432 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py index 259a3d40..3023b24d 100644 --- a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/ethereum_signer.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +16,15 @@ 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\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.ethereum_signer_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.ethereum_signer_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _SIGNTYPE._options = None _SIGNTYPE._serialized_options = b'\210\243\036\000\250\244\036\000' - _SIGNTYPE._serialized_start=87 - _SIGNTYPE._serialized_end=232 + _globals['_SIGNTYPE']._serialized_start=87 + _globals['_SIGNTYPE']._serialized_end=232 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/events_pb2.py b/pyinjective/proto/injective/peggy/v1/events_pb2.py index 4e910d76..fc3e8be4 100644 --- a/pyinjective/proto/injective/peggy/v1/events_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/events_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/events.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,57 @@ from 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\"\xac\x01\n\x18\x45ventAttestationObserved\x12\x37\n\x10\x61ttestation_type\x18\x01 \x01(\x0e\x32\x1d.injective.peggy.v1.ClaimType\x12\x17\n\x0f\x62ridge_contract\x18\x02 \x01(\t\x12\x17\n\x0f\x62ridge_chain_id\x18\x03 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x04 \x01(\x0c\x12\r\n\x05nonce\x18\x05 \x01(\x04\"O\n\x1b\x45ventBridgeWithdrawCanceled\x12\x17\n\x0f\x62ridge_contract\x18\x01 \x01(\t\x12\x17\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04\"\x83\x01\n\x12\x45ventOutgoingBatch\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x02 \x01(\t\x12\x13\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04\x12\x15\n\rbatch_timeout\x18\x04 \x01(\x04\x12\x14\n\x0c\x62\x61tch_tx_ids\x18\x05 \x03(\x04\"o\n\x1a\x45ventOutgoingBatchCanceled\x12\x17\n\x0f\x62ridge_contract\x18\x01 \x01(\t\x12\x17\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04\x12\x10\n\x08\x62\x61tch_id\x18\x03 \x01(\x04\x12\r\n\x05nonce\x18\x04 \x01(\x04\"\xe1\x01\n\x18\x45ventValsetUpdateRequest\x12\x14\n\x0cvalset_nonce\x18\x01 \x01(\x04\x12\x15\n\rvalset_height\x18\x02 \x01(\x04\x12;\n\x0evalset_members\x18\x03 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidator\x12\x45\n\rreward_amount\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x14\n\x0creward_token\x18\x05 \x01(\t\"v\n\x1d\x45ventSetOrchestratorAddresses\x12\x19\n\x11validator_address\x18\x01 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x02 \x01(\t\x12\x1c\n\x14operator_eth_address\x18\x03 \x01(\t\"H\n\x12\x45ventValsetConfirm\x12\x14\n\x0cvalset_nonce\x18\x01 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\x02 \x01(\t\"\xd0\x01\n\x0e\x45ventSendToEth\x12\x16\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04\x12\x0e\n\x06sender\x18\x02 \x01(\t\x12\x10\n\x08receiver\x18\x03 \x01(\t\x12?\n\x06\x61mount\x18\x04 \x01(\tB/\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.Coin\xc8\xde\x1f\x00\x12\x43\n\nbridge_fee\x18\x05 \x01(\tB/\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.Coin\xc8\xde\x1f\x00\"F\n\x11\x45ventConfirmBatch\x12\x13\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\x02 \x01(\t\"R\n\x14\x45ventAttestationVote\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x02 \x01(\x0c\x12\r\n\x05voter\x18\x03 \x01(\t\"\x8c\x02\n\x11\x45ventDepositClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x02 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x03 \x01(\x0c\x12\x17\n\x0f\x65thereum_sender\x18\x04 \x01(\t\x12\x17\n\x0f\x63osmos_receiver\x18\x05 \x01(\t\x12\x16\n\x0etoken_contract\x18\x06 \x01(\t\x12>\n\x06\x61mount\x18\x07 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x1c\n\x14orchestrator_address\x18\x08 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\t \x01(\t\"\xa2\x01\n\x12\x45ventWithdrawClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x02 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x03 \x01(\x0c\x12\x13\n\x0b\x62\x61tch_nonce\x18\x04 \x01(\x04\x12\x16\n\x0etoken_contract\x18\x05 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x06 \x01(\t\"\xd8\x01\n\x17\x45ventERC20DeployedClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x02 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x03 \x01(\x0c\x12\x14\n\x0c\x63osmos_denom\x18\x04 \x01(\t\x12\x16\n\x0etoken_contract\x18\x05 \x01(\t\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x0e\n\x06symbol\x18\x07 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x08 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\t \x01(\t\"\xa9\x02\n\x16\x45ventValsetUpdateClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x02 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x03 \x01(\x0c\x12\x14\n\x0cvalset_nonce\x18\x04 \x01(\x04\x12;\n\x0evalset_members\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidator\x12\x45\n\rreward_amount\x18\x06 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x14\n\x0creward_token\x18\x07 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x08 \x01(\t\".\n\x14\x45ventCancelSendToEth\x12\x16\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04\"_\n\x1f\x45ventSubmitBadSignatureEvidence\x12\x19\n\x11\x62\x61\x64_eth_signature\x18\x01 \x01(\t\x12!\n\x19\x62\x61\x64_eth_signature_subject\x18\x02 \x01(\t\"z\n\x13\x45ventValidatorSlash\x12\r\n\x05power\x18\x01 \x01(\x03\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x19\n\x11\x63onsensus_address\x18\x03 \x01(\t\x12\x18\n\x10operator_address\x18\x04 \x01(\t\x12\x0f\n\x07moniker\x18\x05 \x01(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\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\"\xac\x01\n\x18\x45ventAttestationObserved\x12\x37\n\x10\x61ttestation_type\x18\x01 \x01(\x0e\x32\x1d.injective.peggy.v1.ClaimType\x12\x17\n\x0f\x62ridge_contract\x18\x02 \x01(\t\x12\x17\n\x0f\x62ridge_chain_id\x18\x03 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x04 \x01(\x0c\x12\r\n\x05nonce\x18\x05 \x01(\x04\"O\n\x1b\x45ventBridgeWithdrawCanceled\x12\x17\n\x0f\x62ridge_contract\x18\x01 \x01(\t\x12\x17\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04\"\x83\x01\n\x12\x45ventOutgoingBatch\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x02 \x01(\t\x12\x13\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04\x12\x15\n\rbatch_timeout\x18\x04 \x01(\x04\x12\x14\n\x0c\x62\x61tch_tx_ids\x18\x05 \x03(\x04\"o\n\x1a\x45ventOutgoingBatchCanceled\x12\x17\n\x0f\x62ridge_contract\x18\x01 \x01(\t\x12\x17\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04\x12\x10\n\x08\x62\x61tch_id\x18\x03 \x01(\x04\x12\r\n\x05nonce\x18\x04 \x01(\x04\"\xe1\x01\n\x18\x45ventValsetUpdateRequest\x12\x14\n\x0cvalset_nonce\x18\x01 \x01(\x04\x12\x15\n\rvalset_height\x18\x02 \x01(\x04\x12;\n\x0evalset_members\x18\x03 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidator\x12\x45\n\rreward_amount\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x14\n\x0creward_token\x18\x05 \x01(\t\"v\n\x1d\x45ventSetOrchestratorAddresses\x12\x19\n\x11validator_address\x18\x01 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x02 \x01(\t\x12\x1c\n\x14operator_eth_address\x18\x03 \x01(\t\"H\n\x12\x45ventValsetConfirm\x12\x14\n\x0cvalset_nonce\x18\x01 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\x02 \x01(\t\"\xd0\x01\n\x0e\x45ventSendToEth\x12\x16\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04\x12\x0e\n\x06sender\x18\x02 \x01(\t\x12\x10\n\x08receiver\x18\x03 \x01(\t\x12?\n\x06\x61mount\x18\x04 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.Coin\x12\x43\n\nbridge_fee\x18\x05 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.Coin\"F\n\x11\x45ventConfirmBatch\x12\x13\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\x02 \x01(\t\"R\n\x14\x45ventAttestationVote\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x02 \x01(\x0c\x12\r\n\x05voter\x18\x03 \x01(\t\"\x8c\x02\n\x11\x45ventDepositClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x02 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x03 \x01(\x0c\x12\x17\n\x0f\x65thereum_sender\x18\x04 \x01(\t\x12\x17\n\x0f\x63osmos_receiver\x18\x05 \x01(\t\x12\x16\n\x0etoken_contract\x18\x06 \x01(\t\x12>\n\x06\x61mount\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x1c\n\x14orchestrator_address\x18\x08 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\t \x01(\t\"\xa2\x01\n\x12\x45ventWithdrawClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x02 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x03 \x01(\x0c\x12\x13\n\x0b\x62\x61tch_nonce\x18\x04 \x01(\x04\x12\x16\n\x0etoken_contract\x18\x05 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x06 \x01(\t\"\xd8\x01\n\x17\x45ventERC20DeployedClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x02 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x03 \x01(\x0c\x12\x14\n\x0c\x63osmos_denom\x18\x04 \x01(\t\x12\x16\n\x0etoken_contract\x18\x05 \x01(\t\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x0e\n\x06symbol\x18\x07 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x08 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\t \x01(\t\"\xa9\x02\n\x16\x45ventValsetUpdateClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x02 \x01(\x04\x12\x16\n\x0e\x61ttestation_id\x18\x03 \x01(\x0c\x12\x14\n\x0cvalset_nonce\x18\x04 \x01(\x04\x12;\n\x0evalset_members\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidator\x12\x45\n\rreward_amount\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x14\n\x0creward_token\x18\x07 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x08 \x01(\t\".\n\x14\x45ventCancelSendToEth\x12\x16\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04\"_\n\x1f\x45ventSubmitBadSignatureEvidence\x12\x19\n\x11\x62\x61\x64_eth_signature\x18\x01 \x01(\t\x12!\n\x19\x62\x61\x64_eth_signature_subject\x18\x02 \x01(\t\"z\n\x13\x45ventValidatorSlash\x12\r\n\x05power\x18\x01 \x01(\x03\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x19\n\x11\x63onsensus_address\x18\x03 \x01(\t\x12\x18\n\x10operator_address\x18\x04 \x01(\t\x12\x0f\n\x07moniker\x18\x05 \x01(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.events_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _EVENTVALSETUPDATEREQUEST.fields_by_name['reward_amount']._options = None - _EVENTVALSETUPDATEREQUEST.fields_by_name['reward_amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _EVENTVALSETUPDATEREQUEST.fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _EVENTSENDTOETH.fields_by_name['amount']._options = None - _EVENTSENDTOETH.fields_by_name['amount']._serialized_options = b'\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin\310\336\037\000' + _EVENTSENDTOETH.fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' _EVENTSENDTOETH.fields_by_name['bridge_fee']._options = None - _EVENTSENDTOETH.fields_by_name['bridge_fee']._serialized_options = b'\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin\310\336\037\000' + _EVENTSENDTOETH.fields_by_name['bridge_fee']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' _EVENTDEPOSITCLAIM.fields_by_name['amount']._options = None - _EVENTDEPOSITCLAIM.fields_by_name['amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _EVENTDEPOSITCLAIM.fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _EVENTVALSETUPDATECLAIM.fields_by_name['reward_amount']._options = None - _EVENTVALSETUPDATECLAIM.fields_by_name['reward_amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' - _EVENTATTESTATIONOBSERVED._serialized_start=148 - _EVENTATTESTATIONOBSERVED._serialized_end=320 - _EVENTBRIDGEWITHDRAWCANCELED._serialized_start=322 - _EVENTBRIDGEWITHDRAWCANCELED._serialized_end=401 - _EVENTOUTGOINGBATCH._serialized_start=404 - _EVENTOUTGOINGBATCH._serialized_end=535 - _EVENTOUTGOINGBATCHCANCELED._serialized_start=537 - _EVENTOUTGOINGBATCHCANCELED._serialized_end=648 - _EVENTVALSETUPDATEREQUEST._serialized_start=651 - _EVENTVALSETUPDATEREQUEST._serialized_end=876 - _EVENTSETORCHESTRATORADDRESSES._serialized_start=878 - _EVENTSETORCHESTRATORADDRESSES._serialized_end=996 - _EVENTVALSETCONFIRM._serialized_start=998 - _EVENTVALSETCONFIRM._serialized_end=1070 - _EVENTSENDTOETH._serialized_start=1073 - _EVENTSENDTOETH._serialized_end=1281 - _EVENTCONFIRMBATCH._serialized_start=1283 - _EVENTCONFIRMBATCH._serialized_end=1353 - _EVENTATTESTATIONVOTE._serialized_start=1355 - _EVENTATTESTATIONVOTE._serialized_end=1437 - _EVENTDEPOSITCLAIM._serialized_start=1440 - _EVENTDEPOSITCLAIM._serialized_end=1708 - _EVENTWITHDRAWCLAIM._serialized_start=1711 - _EVENTWITHDRAWCLAIM._serialized_end=1873 - _EVENTERC20DEPLOYEDCLAIM._serialized_start=1876 - _EVENTERC20DEPLOYEDCLAIM._serialized_end=2092 - _EVENTVALSETUPDATECLAIM._serialized_start=2095 - _EVENTVALSETUPDATECLAIM._serialized_end=2392 - _EVENTCANCELSENDTOETH._serialized_start=2394 - _EVENTCANCELSENDTOETH._serialized_end=2440 - _EVENTSUBMITBADSIGNATUREEVIDENCE._serialized_start=2442 - _EVENTSUBMITBADSIGNATUREEVIDENCE._serialized_end=2537 - _EVENTVALIDATORSLASH._serialized_start=2539 - _EVENTVALIDATORSLASH._serialized_end=2661 + _EVENTVALSETUPDATECLAIM.fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' + _globals['_EVENTATTESTATIONOBSERVED']._serialized_start=148 + _globals['_EVENTATTESTATIONOBSERVED']._serialized_end=320 + _globals['_EVENTBRIDGEWITHDRAWCANCELED']._serialized_start=322 + _globals['_EVENTBRIDGEWITHDRAWCANCELED']._serialized_end=401 + _globals['_EVENTOUTGOINGBATCH']._serialized_start=404 + _globals['_EVENTOUTGOINGBATCH']._serialized_end=535 + _globals['_EVENTOUTGOINGBATCHCANCELED']._serialized_start=537 + _globals['_EVENTOUTGOINGBATCHCANCELED']._serialized_end=648 + _globals['_EVENTVALSETUPDATEREQUEST']._serialized_start=651 + _globals['_EVENTVALSETUPDATEREQUEST']._serialized_end=876 + _globals['_EVENTSETORCHESTRATORADDRESSES']._serialized_start=878 + _globals['_EVENTSETORCHESTRATORADDRESSES']._serialized_end=996 + _globals['_EVENTVALSETCONFIRM']._serialized_start=998 + _globals['_EVENTVALSETCONFIRM']._serialized_end=1070 + _globals['_EVENTSENDTOETH']._serialized_start=1073 + _globals['_EVENTSENDTOETH']._serialized_end=1281 + _globals['_EVENTCONFIRMBATCH']._serialized_start=1283 + _globals['_EVENTCONFIRMBATCH']._serialized_end=1353 + _globals['_EVENTATTESTATIONVOTE']._serialized_start=1355 + _globals['_EVENTATTESTATIONVOTE']._serialized_end=1437 + _globals['_EVENTDEPOSITCLAIM']._serialized_start=1440 + _globals['_EVENTDEPOSITCLAIM']._serialized_end=1708 + _globals['_EVENTWITHDRAWCLAIM']._serialized_start=1711 + _globals['_EVENTWITHDRAWCLAIM']._serialized_end=1873 + _globals['_EVENTERC20DEPLOYEDCLAIM']._serialized_start=1876 + _globals['_EVENTERC20DEPLOYEDCLAIM']._serialized_end=2092 + _globals['_EVENTVALSETUPDATECLAIM']._serialized_start=2095 + _globals['_EVENTVALSETUPDATECLAIM']._serialized_end=2392 + _globals['_EVENTCANCELSENDTOETH']._serialized_start=2394 + _globals['_EVENTCANCELSENDTOETH']._serialized_end=2440 + _globals['_EVENTSUBMITBADSIGNATUREEVIDENCE']._serialized_start=2442 + _globals['_EVENTSUBMITBADSIGNATUREEVIDENCE']._serialized_end=2537 + _globals['_EVENTVALIDATORSLASH']._serialized_start=2539 + _globals['_EVENTVALIDATORSLASH']._serialized_end=2661 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/genesis_pb2.py b/pyinjective/proto/injective/peggy/v1/genesis_pb2.py index a8447524..af1f08bc 100644 --- a/pyinjective/proto/injective/peggy/v1/genesis_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +22,15 @@ 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\x06\n\x0cGenesisState\x12*\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.Params\x12\x1b\n\x13last_observed_nonce\x18\x02 \x01(\x04\x12+\n\x07valsets\x18\x03 \x03(\x0b\x32\x1a.injective.peggy.v1.Valset\x12=\n\x0fvalset_confirms\x18\x04 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirm\x12\x34\n\x07\x62\x61tches\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatch\x12;\n\x0e\x62\x61tch_confirms\x18\x06 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatch\x12\x35\n\x0c\x61ttestations\x18\x07 \x03(\x0b\x32\x1f.injective.peggy.v1.Attestation\x12O\n\x16orchestrator_addresses\x18\x08 \x03(\x0b\x32/.injective.peggy.v1.MsgSetOrchestratorAddresses\x12\x39\n\x0f\x65rc20_to_denoms\x18\t \x03(\x0b\x32 .injective.peggy.v1.ERC20ToDenom\x12\x43\n\x13unbatched_transfers\x18\n \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTx\x12%\n\x1dlast_observed_ethereum_height\x18\x0b \x01(\x04\x12\x1e\n\x16last_outgoing_batch_id\x18\x0c \x01(\x04\x12\x1d\n\x15last_outgoing_pool_id\x18\r \x01(\x04\x12>\n\x14last_observed_valset\x18\x0e \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12\x65thereum_blacklist\x18\x0f \x03(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _GENESISSTATE.fields_by_name['last_observed_valset']._options = None _GENESISSTATE.fields_by_name['last_observed_valset']._serialized_options = b'\310\336\037\000' - _GENESISSTATE._serialized_start=277 - _GENESISSTATE._serialized_end=1045 + _globals['_GENESISSTATE']._serialized_start=277 + _globals['_GENESISSTATE']._serialized_end=1045 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/msgs_pb2.py b/pyinjective/proto/injective/peggy/v1/msgs_pb2.py index bb8a02fc..f95877d6 100644 --- a/pyinjective/proto/injective/peggy/v1/msgs_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/msgs_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/msgs.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +21,11 @@ from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__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\"X\n\x1bMsgSetOrchestratorAddresses\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x14\n\x0corchestrator\x18\x02 \x01(\t\x12\x13\n\x0b\x65th_address\x18\x03 \x01(\t\"%\n#MsgSetOrchestratorAddressesResponse\"r\n\x10MsgValsetConfirm\x12\r\n\x05nonce\x18\x01 \x01(\x04\x12\x14\n\x0corchestrator\x18\x02 \x01(\t\x12\x13\n\x0b\x65th_address\x18\x03 \x01(\t\x12\x11\n\tsignature\x18\x04 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x1a\n\x18MsgValsetConfirmResponse\"\xa3\x01\n\x0cMsgSendToEth\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x65th_dest\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x33\n\nbridge_fee\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x16\n\x14MsgSendToEthResponse\"I\n\x0fMsgRequestBatch\x12\x14\n\x0corchestrator\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x19\n\x17MsgRequestBatchResponse\"\x88\x01\n\x0fMsgConfirmBatch\x12\r\n\x05nonce\x18\x01 \x01(\x04\x12\x16\n\x0etoken_contract\x18\x02 \x01(\t\x12\x12\n\neth_signer\x18\x03 \x01(\t\x12\x14\n\x0corchestrator\x18\x04 \x01(\t\x12\x11\n\tsignature\x18\x05 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x19\n\x17MsgConfirmBatchResponse\"\xfd\x01\n\x0fMsgDepositClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x04\x12\x16\n\x0etoken_contract\x18\x03 \x01(\t\x12>\n\x06\x61mount\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x17\n\x0f\x65thereum_sender\x18\x05 \x01(\t\x12\x17\n\x0f\x63osmos_receiver\x18\x06 \x01(\t\x12\x14\n\x0corchestrator\x18\x07 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x08 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x19\n\x17MsgDepositClaimResponse\"\x93\x01\n\x10MsgWithdrawClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x04\x12\x13\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04\x12\x16\n\x0etoken_contract\x18\x04 \x01(\t\x12\x14\n\x0corchestrator\x18\x05 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x1a\n\x18MsgWithdrawClaimResponse\"\xc9\x01\n\x15MsgERC20DeployedClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x04\x12\x14\n\x0c\x63osmos_denom\x18\x03 \x01(\t\x12\x16\n\x0etoken_contract\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x0e\n\x06symbol\x18\x06 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x07 \x01(\x04\x12\x14\n\x0corchestrator\x18\x08 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x1f\n\x1dMsgERC20DeployedClaimResponse\"I\n\x12MsgCancelSendToEth\x12\x16\n\x0etransaction_id\x18\x01 \x01(\x04\x12\x0e\n\x06sender\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgCancelSendToEthResponse\"v\n\x1dMsgSubmitBadSignatureEvidence\x12%\n\x07subject\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tsignature\x18\x02 \x01(\t\x12\x0e\n\x06sender\x18\x03 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\'\n%MsgSubmitBadSignatureEvidenceResponse\"\x94\x02\n\x15MsgValsetUpdatedClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0cvalset_nonce\x18\x02 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x03 \x01(\x04\x12\x34\n\x07members\x18\x04 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidator\x12\x45\n\rreward_amount\x18\x05 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x14\n\x0creward_token\x18\x06 \x01(\t\x12\x14\n\x0corchestrator\x18\x07 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x1f\n\x1dMsgValsetUpdatedClaimResponse\"\x80\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xa6\x0e\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.MsgUpdateParamsResponseBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\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\"X\n\x1bMsgSetOrchestratorAddresses\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x14\n\x0corchestrator\x18\x02 \x01(\t\x12\x13\n\x0b\x65th_address\x18\x03 \x01(\t\"%\n#MsgSetOrchestratorAddressesResponse\"r\n\x10MsgValsetConfirm\x12\r\n\x05nonce\x18\x01 \x01(\x04\x12\x14\n\x0corchestrator\x18\x02 \x01(\t\x12\x13\n\x0b\x65th_address\x18\x03 \x01(\t\x12\x11\n\tsignature\x18\x04 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x1a\n\x18MsgValsetConfirmResponse\"\xa3\x01\n\x0cMsgSendToEth\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x65th_dest\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x33\n\nbridge_fee\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x16\n\x14MsgSendToEthResponse\"I\n\x0fMsgRequestBatch\x12\x14\n\x0corchestrator\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x19\n\x17MsgRequestBatchResponse\"\x88\x01\n\x0fMsgConfirmBatch\x12\r\n\x05nonce\x18\x01 \x01(\x04\x12\x16\n\x0etoken_contract\x18\x02 \x01(\t\x12\x12\n\neth_signer\x18\x03 \x01(\t\x12\x14\n\x0corchestrator\x18\x04 \x01(\t\x12\x11\n\tsignature\x18\x05 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x19\n\x17MsgConfirmBatchResponse\"\xfd\x01\n\x0fMsgDepositClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x04\x12\x16\n\x0etoken_contract\x18\x03 \x01(\t\x12>\n\x06\x61mount\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x17\n\x0f\x65thereum_sender\x18\x05 \x01(\t\x12\x17\n\x0f\x63osmos_receiver\x18\x06 \x01(\t\x12\x14\n\x0corchestrator\x18\x07 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x08 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x19\n\x17MsgDepositClaimResponse\"\x93\x01\n\x10MsgWithdrawClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x04\x12\x13\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04\x12\x16\n\x0etoken_contract\x18\x04 \x01(\t\x12\x14\n\x0corchestrator\x18\x05 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x1a\n\x18MsgWithdrawClaimResponse\"\xc9\x01\n\x15MsgERC20DeployedClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x04\x12\x14\n\x0c\x63osmos_denom\x18\x03 \x01(\t\x12\x16\n\x0etoken_contract\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x0e\n\x06symbol\x18\x06 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x07 \x01(\x04\x12\x14\n\x0corchestrator\x18\x08 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x1f\n\x1dMsgERC20DeployedClaimResponse\"I\n\x12MsgCancelSendToEth\x12\x16\n\x0etransaction_id\x18\x01 \x01(\x04\x12\x0e\n\x06sender\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgCancelSendToEthResponse\"v\n\x1dMsgSubmitBadSignatureEvidence\x12%\n\x07subject\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tsignature\x18\x02 \x01(\t\x12\x0e\n\x06sender\x18\x03 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\'\n%MsgSubmitBadSignatureEvidenceResponse\"\x94\x02\n\x15MsgValsetUpdatedClaim\x12\x13\n\x0b\x65vent_nonce\x18\x01 \x01(\x04\x12\x14\n\x0cvalset_nonce\x18\x02 \x01(\x04\x12\x14\n\x0c\x62lock_height\x18\x03 \x01(\x04\x12\x34\n\x07members\x18\x04 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidator\x12\x45\n\rreward_amount\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x14\n\x0creward_token\x18\x06 \x01(\t\x12\x14\n\x0corchestrator\x18\x07 \x01(\t:\x11\x82\xe7\xb0*\x0corchestrator\"\x1f\n\x1dMsgValsetUpdatedClaimResponse\"\x80\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xa6\x0e\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.MsgUpdateParamsResponseBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.msgs_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.msgs_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -42,7 +43,7 @@ _MSGCONFIRMBATCH._options = None _MSGCONFIRMBATCH._serialized_options = b'\202\347\260*\014orchestrator' _MSGDEPOSITCLAIM.fields_by_name['amount']._options = None - _MSGDEPOSITCLAIM.fields_by_name['amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _MSGDEPOSITCLAIM.fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _MSGDEPOSITCLAIM._options = None _MSGDEPOSITCLAIM._serialized_options = b'\202\347\260*\014orchestrator' _MSGWITHDRAWCLAIM._options = None @@ -54,7 +55,7 @@ _MSGSUBMITBADSIGNATUREEVIDENCE._options = None _MSGSUBMITBADSIGNATUREEVIDENCE._serialized_options = b'\202\347\260*\006sender' _MSGVALSETUPDATEDCLAIM.fields_by_name['reward_amount']._options = None - _MSGVALSETUPDATEDCLAIM.fields_by_name['reward_amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' + _MSGVALSETUPDATEDCLAIM.fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' _MSGVALSETUPDATEDCLAIM._options = None _MSGVALSETUPDATEDCLAIM._serialized_options = b'\202\347\260*\014orchestrator' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None @@ -85,54 +86,54 @@ _MSG.methods_by_name['CancelSendToEth']._serialized_options = b'\202\323\344\223\002(\"&/injective/peggy/v1/cancel_send_to_eth' _MSG.methods_by_name['SubmitBadSignatureEvidence']._options = None _MSG.methods_by_name['SubmitBadSignatureEvidence']._serialized_options = b'\202\323\344\223\0023\"1/injective/peggy/v1/submit_bad_signature_evidence' - _MSGSETORCHESTRATORADDRESSES._serialized_start=281 - _MSGSETORCHESTRATORADDRESSES._serialized_end=369 - _MSGSETORCHESTRATORADDRESSESRESPONSE._serialized_start=371 - _MSGSETORCHESTRATORADDRESSESRESPONSE._serialized_end=408 - _MSGVALSETCONFIRM._serialized_start=410 - _MSGVALSETCONFIRM._serialized_end=524 - _MSGVALSETCONFIRMRESPONSE._serialized_start=526 - _MSGVALSETCONFIRMRESPONSE._serialized_end=552 - _MSGSENDTOETH._serialized_start=555 - _MSGSENDTOETH._serialized_end=718 - _MSGSENDTOETHRESPONSE._serialized_start=720 - _MSGSENDTOETHRESPONSE._serialized_end=742 - _MSGREQUESTBATCH._serialized_start=744 - _MSGREQUESTBATCH._serialized_end=817 - _MSGREQUESTBATCHRESPONSE._serialized_start=819 - _MSGREQUESTBATCHRESPONSE._serialized_end=844 - _MSGCONFIRMBATCH._serialized_start=847 - _MSGCONFIRMBATCH._serialized_end=983 - _MSGCONFIRMBATCHRESPONSE._serialized_start=985 - _MSGCONFIRMBATCHRESPONSE._serialized_end=1010 - _MSGDEPOSITCLAIM._serialized_start=1013 - _MSGDEPOSITCLAIM._serialized_end=1266 - _MSGDEPOSITCLAIMRESPONSE._serialized_start=1268 - _MSGDEPOSITCLAIMRESPONSE._serialized_end=1293 - _MSGWITHDRAWCLAIM._serialized_start=1296 - _MSGWITHDRAWCLAIM._serialized_end=1443 - _MSGWITHDRAWCLAIMRESPONSE._serialized_start=1445 - _MSGWITHDRAWCLAIMRESPONSE._serialized_end=1471 - _MSGERC20DEPLOYEDCLAIM._serialized_start=1474 - _MSGERC20DEPLOYEDCLAIM._serialized_end=1675 - _MSGERC20DEPLOYEDCLAIMRESPONSE._serialized_start=1677 - _MSGERC20DEPLOYEDCLAIMRESPONSE._serialized_end=1708 - _MSGCANCELSENDTOETH._serialized_start=1710 - _MSGCANCELSENDTOETH._serialized_end=1783 - _MSGCANCELSENDTOETHRESPONSE._serialized_start=1785 - _MSGCANCELSENDTOETHRESPONSE._serialized_end=1813 - _MSGSUBMITBADSIGNATUREEVIDENCE._serialized_start=1815 - _MSGSUBMITBADSIGNATUREEVIDENCE._serialized_end=1933 - _MSGSUBMITBADSIGNATUREEVIDENCERESPONSE._serialized_start=1935 - _MSGSUBMITBADSIGNATUREEVIDENCERESPONSE._serialized_end=1974 - _MSGVALSETUPDATEDCLAIM._serialized_start=1977 - _MSGVALSETUPDATEDCLAIM._serialized_end=2253 - _MSGVALSETUPDATEDCLAIMRESPONSE._serialized_start=2255 - _MSGVALSETUPDATEDCLAIMRESPONSE._serialized_end=2286 - _MSGUPDATEPARAMS._serialized_start=2289 - _MSGUPDATEPARAMS._serialized_end=2417 - _MSGUPDATEPARAMSRESPONSE._serialized_start=2419 - _MSGUPDATEPARAMSRESPONSE._serialized_end=2444 - _MSG._serialized_start=2447 - _MSG._serialized_end=4277 + _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_start=281 + _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_end=369 + _globals['_MSGSETORCHESTRATORADDRESSESRESPONSE']._serialized_start=371 + _globals['_MSGSETORCHESTRATORADDRESSESRESPONSE']._serialized_end=408 + _globals['_MSGVALSETCONFIRM']._serialized_start=410 + _globals['_MSGVALSETCONFIRM']._serialized_end=524 + _globals['_MSGVALSETCONFIRMRESPONSE']._serialized_start=526 + _globals['_MSGVALSETCONFIRMRESPONSE']._serialized_end=552 + _globals['_MSGSENDTOETH']._serialized_start=555 + _globals['_MSGSENDTOETH']._serialized_end=718 + _globals['_MSGSENDTOETHRESPONSE']._serialized_start=720 + _globals['_MSGSENDTOETHRESPONSE']._serialized_end=742 + _globals['_MSGREQUESTBATCH']._serialized_start=744 + _globals['_MSGREQUESTBATCH']._serialized_end=817 + _globals['_MSGREQUESTBATCHRESPONSE']._serialized_start=819 + _globals['_MSGREQUESTBATCHRESPONSE']._serialized_end=844 + _globals['_MSGCONFIRMBATCH']._serialized_start=847 + _globals['_MSGCONFIRMBATCH']._serialized_end=983 + _globals['_MSGCONFIRMBATCHRESPONSE']._serialized_start=985 + _globals['_MSGCONFIRMBATCHRESPONSE']._serialized_end=1010 + _globals['_MSGDEPOSITCLAIM']._serialized_start=1013 + _globals['_MSGDEPOSITCLAIM']._serialized_end=1266 + _globals['_MSGDEPOSITCLAIMRESPONSE']._serialized_start=1268 + _globals['_MSGDEPOSITCLAIMRESPONSE']._serialized_end=1293 + _globals['_MSGWITHDRAWCLAIM']._serialized_start=1296 + _globals['_MSGWITHDRAWCLAIM']._serialized_end=1443 + _globals['_MSGWITHDRAWCLAIMRESPONSE']._serialized_start=1445 + _globals['_MSGWITHDRAWCLAIMRESPONSE']._serialized_end=1471 + _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_start=1474 + _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_end=1675 + _globals['_MSGERC20DEPLOYEDCLAIMRESPONSE']._serialized_start=1677 + _globals['_MSGERC20DEPLOYEDCLAIMRESPONSE']._serialized_end=1708 + _globals['_MSGCANCELSENDTOETH']._serialized_start=1710 + _globals['_MSGCANCELSENDTOETH']._serialized_end=1783 + _globals['_MSGCANCELSENDTOETHRESPONSE']._serialized_start=1785 + _globals['_MSGCANCELSENDTOETHRESPONSE']._serialized_end=1813 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_start=1815 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_end=1933 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE']._serialized_start=1935 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE']._serialized_end=1974 + _globals['_MSGVALSETUPDATEDCLAIM']._serialized_start=1977 + _globals['_MSGVALSETUPDATEDCLAIM']._serialized_end=2253 + _globals['_MSGVALSETUPDATEDCLAIMRESPONSE']._serialized_start=2255 + _globals['_MSGVALSETUPDATEDCLAIMRESPONSE']._serialized_end=2286 + _globals['_MSGUPDATEPARAMS']._serialized_start=2289 + _globals['_MSGUPDATEPARAMS']._serialized_end=2417 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2419 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2444 + _globals['_MSG']._serialized_start=2447 + _globals['_MSG']._serialized_end=4277 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/params_pb2.py b/pyinjective/proto/injective/peggy/v1/params_pb2.py index d4e8f175..b3ba7c04 100644 --- a/pyinjective/proto/injective/peggy/v1/params_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/params_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/params.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,28 +15,29 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__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\"\xb7\x07\n\x06Params\x12\x10\n\x08peggy_id\x18\x01 \x01(\t\x12\x1c\n\x14\x63ontract_source_hash\x18\x02 \x01(\t\x12\x1f\n\x17\x62ridge_ethereum_address\x18\x03 \x01(\t\x12\x17\n\x0f\x62ridge_chain_id\x18\x04 \x01(\x04\x12\x1d\n\x15signed_valsets_window\x18\x05 \x01(\x04\x12\x1d\n\x15signed_batches_window\x18\x06 \x01(\x04\x12\x1c\n\x14signed_claims_window\x18\x07 \x01(\x04\x12\x1c\n\x14target_batch_timeout\x18\x08 \x01(\x04\x12\x1a\n\x12\x61verage_block_time\x18\t \x01(\x04\x12#\n\x1b\x61verage_ethereum_block_time\x18\n \x01(\x04\x12M\n\x15slash_fraction_valset\x18\x0b \x01(\x0c\x42.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12L\n\x14slash_fraction_batch\x18\x0c \x01(\x0c\x42.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12L\n\x14slash_fraction_claim\x18\r \x01(\x0c\x42.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12X\n slash_fraction_conflicting_claim\x18\x0e \x01(\x0c\x42.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12&\n\x1eunbond_slashing_valsets_window\x18\x0f \x01(\x04\x12X\n slash_fraction_bad_eth_signature\x18\x10 \x01(\x0c\x42.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12\x19\n\x11\x63osmos_coin_denom\x18\x11 \x01(\t\x12\"\n\x1a\x63osmos_coin_erc20_contract\x18\x12 \x01(\t\x12\x1e\n\x16\x63laim_slashing_enabled\x18\x13 \x01(\x08\x12$\n\x1c\x62ridge_contract_start_height\x18\x14 \x01(\x04\x12\x36\n\rvalset_reward\x18\x15 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x04\x80\xdc \x00\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\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\"\xb7\x07\n\x06Params\x12\x10\n\x08peggy_id\x18\x01 \x01(\t\x12\x1c\n\x14\x63ontract_source_hash\x18\x02 \x01(\t\x12\x1f\n\x17\x62ridge_ethereum_address\x18\x03 \x01(\t\x12\x17\n\x0f\x62ridge_chain_id\x18\x04 \x01(\x04\x12\x1d\n\x15signed_valsets_window\x18\x05 \x01(\x04\x12\x1d\n\x15signed_batches_window\x18\x06 \x01(\x04\x12\x1c\n\x14signed_claims_window\x18\x07 \x01(\x04\x12\x1c\n\x14target_batch_timeout\x18\x08 \x01(\x04\x12\x1a\n\x12\x61verage_block_time\x18\t \x01(\x04\x12#\n\x1b\x61verage_ethereum_block_time\x18\n \x01(\x04\x12M\n\x15slash_fraction_valset\x18\x0b \x01(\x0c\x42.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14slash_fraction_batch\x18\x0c \x01(\x0c\x42.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14slash_fraction_claim\x18\r \x01(\x0c\x42.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12X\n slash_fraction_conflicting_claim\x18\x0e \x01(\x0c\x42.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12&\n\x1eunbond_slashing_valsets_window\x18\x0f \x01(\x04\x12X\n slash_fraction_bad_eth_signature\x18\x10 \x01(\x0c\x42.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x19\n\x11\x63osmos_coin_denom\x18\x11 \x01(\t\x12\"\n\x1a\x63osmos_coin_erc20_contract\x18\x12 \x01(\t\x12\x1e\n\x16\x63laim_slashing_enabled\x18\x13 \x01(\x08\x12$\n\x1c\x62ridge_contract_start_height\x18\x14 \x01(\x04\x12\x36\n\rvalset_reward\x18\x15 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x04\x80\xdc \x00\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.params_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.params_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _PARAMS.fields_by_name['slash_fraction_valset']._options = None - _PARAMS.fields_by_name['slash_fraction_valset']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['slash_fraction_valset']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['slash_fraction_batch']._options = None - _PARAMS.fields_by_name['slash_fraction_batch']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['slash_fraction_batch']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['slash_fraction_claim']._options = None - _PARAMS.fields_by_name['slash_fraction_claim']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['slash_fraction_claim']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['slash_fraction_conflicting_claim']._options = None - _PARAMS.fields_by_name['slash_fraction_conflicting_claim']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['slash_fraction_conflicting_claim']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['slash_fraction_bad_eth_signature']._options = None - _PARAMS.fields_by_name['slash_fraction_bad_eth_signature']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000' + _PARAMS.fields_by_name['slash_fraction_bad_eth_signature']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _PARAMS.fields_by_name['valset_reward']._options = None _PARAMS.fields_by_name['valset_reward']._serialized_options = b'\310\336\037\000' _PARAMS._options = None _PARAMS._serialized_options = b'\200\334 \000' - _PARAMS._serialized_start=110 - _PARAMS._serialized_end=1061 + _globals['_PARAMS']._serialized_start=110 + _globals['_PARAMS']._serialized_end=1061 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/pool_pb2.py b/pyinjective/proto/injective/peggy/v1/pool_pb2.py index 3f45c789..d268ec39 100644 --- a/pyinjective/proto/injective/peggy/v1/pool_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/pool_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/pool.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,18 +14,19 @@ from 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\"\x14\n\x05IDSet\x12\x0b\n\x03ids\x18\x01 \x03(\x04\"^\n\tBatchFees\x12\r\n\x05token\x18\x01 \x01(\t\x12\x42\n\ntotal_fees\x18\x02 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dinjective/peggy/v1/pool.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\"\x14\n\x05IDSet\x12\x0b\n\x03ids\x18\x01 \x03(\x04\"^\n\tBatchFees\x12\r\n\x05token\x18\x01 \x01(\t\x12\x42\n\ntotal_fees\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.IntBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.pool_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.pool_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _BATCHFEES.fields_by_name['total_fees']._options = None - _BATCHFEES.fields_by_name['total_fees']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' - _IDSET._serialized_start=75 - _IDSET._serialized_end=95 - _BATCHFEES._serialized_start=97 - _BATCHFEES._serialized_end=191 + _BATCHFEES.fields_by_name['total_fees']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' + _globals['_IDSET']._serialized_start=75 + _globals['_IDSET']._serialized_end=95 + _globals['_BATCHFEES']._serialized_start=97 + _globals['_BATCHFEES']._serialized_end=191 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/proposal_pb2.py b/pyinjective/proto/injective/peggy/v1/proposal_pb2.py index 3f9c9f45..150e258e 100644 --- a/pyinjective/proto/injective/peggy/v1/proposal_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/proposal_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/proposal.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,21 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/peggy/v1/proposal.proto\x12\x12injective.peggy.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\"\x8d\x01\n\"BlacklistEthereumAddressesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1b\n\x13\x62lacklist_addresses\x18\x03 \x03(\t:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x8a\x01\n\x1fRevokeEthereumBlacklistProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1b\n\x13\x62lacklist_addresses\x18\x03 \x03(\t:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/peggy/v1/proposal.proto\x12\x12injective.peggy.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\"\x8d\x01\n\"BlacklistEthereumAddressesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1b\n\x13\x62lacklist_addresses\x18\x03 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x8a\x01\n\x1fRevokeEthereumBlacklistProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1b\n\x13\x62lacklist_addresses\x18\x03 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.proposal_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.proposal_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _BLACKLISTETHEREUMADDRESSESPROPOSAL._options = None - _BLACKLISTETHEREUMADDRESSESPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BLACKLISTETHEREUMADDRESSESPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _REVOKEETHEREUMBLACKLISTPROPOSAL._options = None - _REVOKEETHEREUMBLACKLISTPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _BLACKLISTETHEREUMADDRESSESPROPOSAL._serialized_start=107 - _BLACKLISTETHEREUMADDRESSESPROPOSAL._serialized_end=248 - _REVOKEETHEREUMBLACKLISTPROPOSAL._serialized_start=251 - _REVOKEETHEREUMBLACKLISTPROPOSAL._serialized_end=389 + _REVOKEETHEREUMBLACKLISTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_BLACKLISTETHEREUMADDRESSESPROPOSAL']._serialized_start=107 + _globals['_BLACKLISTETHEREUMADDRESSESPROPOSAL']._serialized_end=248 + _globals['_REVOKEETHEREUMBLACKLISTPROPOSAL']._serialized_start=251 + _globals['_REVOKEETHEREUMBLACKLISTPROPOSAL']._serialized_end=389 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/query_pb2.py b/pyinjective/proto/injective/peggy/v1/query_pb2.py index 756d124f..8a8c0887 100644 --- a/pyinjective/proto/injective/peggy/v1/query_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +23,9 @@ 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\"G\n\x13QueryParamsResponse\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00\"\x1b\n\x19QueryCurrentValsetRequest\"H\n\x1aQueryCurrentValsetResponse\x12*\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.Valset\"*\n\x19QueryValsetRequestRequest\x12\r\n\x05nonce\x18\x01 \x01(\x04\"H\n\x1aQueryValsetRequestResponse\x12*\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.Valset\";\n\x19QueryValsetConfirmRequest\x12\r\n\x05nonce\x18\x01 \x01(\x04\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\"S\n\x1aQueryValsetConfirmResponse\x12\x35\n\x07\x63onfirm\x18\x01 \x01(\x0b\x32$.injective.peggy.v1.MsgValsetConfirm\"2\n!QueryValsetConfirmsByNonceRequest\x12\r\n\x05nonce\x18\x01 \x01(\x04\"\\\n\"QueryValsetConfirmsByNonceResponse\x12\x36\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirm\" \n\x1eQueryLastValsetRequestsRequest\"N\n\x1fQueryLastValsetRequestsResponse\x12+\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.Valset\"=\n*QueryLastPendingValsetRequestByAddrRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"Z\n+QueryLastPendingValsetRequestByAddrResponse\x12+\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.Valset\"\x16\n\x14QueryBatchFeeRequest\"I\n\x15QueryBatchFeeResponse\x12\x30\n\tbatchFees\x18\x01 \x03(\x0b\x32\x1d.injective.peggy.v1.BatchFees\"<\n)QueryLastPendingBatchRequestByAddrRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"`\n*QueryLastPendingBatchRequestByAddrResponse\x12\x32\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatch\"\x1f\n\x1dQueryOutgoingTxBatchesRequest\"V\n\x1eQueryOutgoingTxBatchesResponse\x12\x34\n\x07\x62\x61tches\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatch\"J\n\x1fQueryBatchRequestByNonceRequest\x12\r\n\x05nonce\x18\x01 \x01(\x04\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\"V\n QueryBatchRequestByNonceResponse\x12\x32\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatch\"D\n\x19QueryBatchConfirmsRequest\x12\r\n\x05nonce\x18\x01 \x01(\x04\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\"S\n\x1aQueryBatchConfirmsResponse\x12\x35\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatch\".\n\x1bQueryLastEventByAddrRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\\\n\x1cQueryLastEventByAddrResponse\x12<\n\x10last_claim_event\x18\x01 \x01(\x0b\x32\".injective.peggy.v1.LastClaimEvent\")\n\x18QueryERC20ToDenomRequest\x12\r\n\x05\x65rc20\x18\x01 \x01(\t\"E\n\x19QueryERC20ToDenomResponse\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x19\n\x11\x63osmos_originated\x18\x02 \x01(\x08\")\n\x18QueryDenomToERC20Request\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"E\n\x19QueryDenomToERC20Response\x12\r\n\x05\x65rc20\x18\x01 \x01(\t\x12\x19\n\x11\x63osmos_originated\x18\x02 \x01(\x08\"@\n#QueryDelegateKeysByValidatorAddress\x12\x19\n\x11validator_address\x18\x01 \x01(\t\"`\n+QueryDelegateKeysByValidatorAddressResponse\x12\x13\n\x0b\x65th_address\x18\x01 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x02 \x01(\t\"4\n\x1dQueryDelegateKeysByEthAddress\x12\x13\n\x0b\x65th_address\x18\x01 \x01(\t\"`\n%QueryDelegateKeysByEthAddressResponse\x12\x19\n\x11validator_address\x18\x01 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x02 \x01(\t\"F\n&QueryDelegateKeysByOrchestratorAddress\x12\x1c\n\x14orchestrator_address\x18\x01 \x01(\t\"`\n.QueryDelegateKeysByOrchestratorAddressResponse\x12\x19\n\x11validator_address\x18\x01 \x01(\t\x12\x13\n\x0b\x65th_address\x18\x02 \x01(\t\"/\n\x15QueryPendingSendToEth\x12\x16\n\x0esender_address\x18\x01 \x01(\t\"\xaa\x01\n\x1dQueryPendingSendToEthResponse\x12\x44\n\x14transfers_in_batches\x18\x01 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTx\x12\x43\n\x13unbatched_transfers\x18\x02 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTx\"\x19\n\x17QueryModuleStateRequest\"K\n\x18QueryModuleStateResponse\x12/\n\x05state\x18\x01 \x01(\x0b\x32 .injective.peggy.v1.GenesisState\"\x16\n\x14MissingNoncesRequest\"3\n\x15MissingNoncesResponse\x12\x1a\n\x12operator_addresses\x18\x01 \x03(\t2\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_noncesBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -73,90 +74,90 @@ _QUERY.methods_by_name['PeggyModuleState']._serialized_options = b'\202\323\344\223\002\030\022\026/peggy/v1/module_state' _QUERY.methods_by_name['MissingPeggoNonces']._options = None _QUERY.methods_by_name['MissingPeggoNonces']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/missing_nonces' - _QUERYPARAMSREQUEST._serialized_start=299 - _QUERYPARAMSREQUEST._serialized_end=319 - _QUERYPARAMSRESPONSE._serialized_start=321 - _QUERYPARAMSRESPONSE._serialized_end=392 - _QUERYCURRENTVALSETREQUEST._serialized_start=394 - _QUERYCURRENTVALSETREQUEST._serialized_end=421 - _QUERYCURRENTVALSETRESPONSE._serialized_start=423 - _QUERYCURRENTVALSETRESPONSE._serialized_end=495 - _QUERYVALSETREQUESTREQUEST._serialized_start=497 - _QUERYVALSETREQUESTREQUEST._serialized_end=539 - _QUERYVALSETREQUESTRESPONSE._serialized_start=541 - _QUERYVALSETREQUESTRESPONSE._serialized_end=613 - _QUERYVALSETCONFIRMREQUEST._serialized_start=615 - _QUERYVALSETCONFIRMREQUEST._serialized_end=674 - _QUERYVALSETCONFIRMRESPONSE._serialized_start=676 - _QUERYVALSETCONFIRMRESPONSE._serialized_end=759 - _QUERYVALSETCONFIRMSBYNONCEREQUEST._serialized_start=761 - _QUERYVALSETCONFIRMSBYNONCEREQUEST._serialized_end=811 - _QUERYVALSETCONFIRMSBYNONCERESPONSE._serialized_start=813 - _QUERYVALSETCONFIRMSBYNONCERESPONSE._serialized_end=905 - _QUERYLASTVALSETREQUESTSREQUEST._serialized_start=907 - _QUERYLASTVALSETREQUESTSREQUEST._serialized_end=939 - _QUERYLASTVALSETREQUESTSRESPONSE._serialized_start=941 - _QUERYLASTVALSETREQUESTSRESPONSE._serialized_end=1019 - _QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST._serialized_start=1021 - _QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST._serialized_end=1082 - _QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE._serialized_start=1084 - _QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE._serialized_end=1174 - _QUERYBATCHFEEREQUEST._serialized_start=1176 - _QUERYBATCHFEEREQUEST._serialized_end=1198 - _QUERYBATCHFEERESPONSE._serialized_start=1200 - _QUERYBATCHFEERESPONSE._serialized_end=1273 - _QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST._serialized_start=1275 - _QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST._serialized_end=1335 - _QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE._serialized_start=1337 - _QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE._serialized_end=1433 - _QUERYOUTGOINGTXBATCHESREQUEST._serialized_start=1435 - _QUERYOUTGOINGTXBATCHESREQUEST._serialized_end=1466 - _QUERYOUTGOINGTXBATCHESRESPONSE._serialized_start=1468 - _QUERYOUTGOINGTXBATCHESRESPONSE._serialized_end=1554 - _QUERYBATCHREQUESTBYNONCEREQUEST._serialized_start=1556 - _QUERYBATCHREQUESTBYNONCEREQUEST._serialized_end=1630 - _QUERYBATCHREQUESTBYNONCERESPONSE._serialized_start=1632 - _QUERYBATCHREQUESTBYNONCERESPONSE._serialized_end=1718 - _QUERYBATCHCONFIRMSREQUEST._serialized_start=1720 - _QUERYBATCHCONFIRMSREQUEST._serialized_end=1788 - _QUERYBATCHCONFIRMSRESPONSE._serialized_start=1790 - _QUERYBATCHCONFIRMSRESPONSE._serialized_end=1873 - _QUERYLASTEVENTBYADDRREQUEST._serialized_start=1875 - _QUERYLASTEVENTBYADDRREQUEST._serialized_end=1921 - _QUERYLASTEVENTBYADDRRESPONSE._serialized_start=1923 - _QUERYLASTEVENTBYADDRRESPONSE._serialized_end=2015 - _QUERYERC20TODENOMREQUEST._serialized_start=2017 - _QUERYERC20TODENOMREQUEST._serialized_end=2058 - _QUERYERC20TODENOMRESPONSE._serialized_start=2060 - _QUERYERC20TODENOMRESPONSE._serialized_end=2129 - _QUERYDENOMTOERC20REQUEST._serialized_start=2131 - _QUERYDENOMTOERC20REQUEST._serialized_end=2172 - _QUERYDENOMTOERC20RESPONSE._serialized_start=2174 - _QUERYDENOMTOERC20RESPONSE._serialized_end=2243 - _QUERYDELEGATEKEYSBYVALIDATORADDRESS._serialized_start=2245 - _QUERYDELEGATEKEYSBYVALIDATORADDRESS._serialized_end=2309 - _QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE._serialized_start=2311 - _QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE._serialized_end=2407 - _QUERYDELEGATEKEYSBYETHADDRESS._serialized_start=2409 - _QUERYDELEGATEKEYSBYETHADDRESS._serialized_end=2461 - _QUERYDELEGATEKEYSBYETHADDRESSRESPONSE._serialized_start=2463 - _QUERYDELEGATEKEYSBYETHADDRESSRESPONSE._serialized_end=2559 - _QUERYDELEGATEKEYSBYORCHESTRATORADDRESS._serialized_start=2561 - _QUERYDELEGATEKEYSBYORCHESTRATORADDRESS._serialized_end=2631 - _QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE._serialized_start=2633 - _QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE._serialized_end=2729 - _QUERYPENDINGSENDTOETH._serialized_start=2731 - _QUERYPENDINGSENDTOETH._serialized_end=2778 - _QUERYPENDINGSENDTOETHRESPONSE._serialized_start=2781 - _QUERYPENDINGSENDTOETHRESPONSE._serialized_end=2951 - _QUERYMODULESTATEREQUEST._serialized_start=2953 - _QUERYMODULESTATEREQUEST._serialized_end=2978 - _QUERYMODULESTATERESPONSE._serialized_start=2980 - _QUERYMODULESTATERESPONSE._serialized_end=3055 - _MISSINGNONCESREQUEST._serialized_start=3057 - _MISSINGNONCESREQUEST._serialized_end=3079 - _MISSINGNONCESRESPONSE._serialized_start=3081 - _MISSINGNONCESRESPONSE._serialized_end=3132 - _QUERY._serialized_start=3135 - _QUERY._serialized_end=6533 + _globals['_QUERYPARAMSREQUEST']._serialized_start=299 + _globals['_QUERYPARAMSREQUEST']._serialized_end=319 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=321 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=392 + _globals['_QUERYCURRENTVALSETREQUEST']._serialized_start=394 + _globals['_QUERYCURRENTVALSETREQUEST']._serialized_end=421 + _globals['_QUERYCURRENTVALSETRESPONSE']._serialized_start=423 + _globals['_QUERYCURRENTVALSETRESPONSE']._serialized_end=495 + _globals['_QUERYVALSETREQUESTREQUEST']._serialized_start=497 + _globals['_QUERYVALSETREQUESTREQUEST']._serialized_end=539 + _globals['_QUERYVALSETREQUESTRESPONSE']._serialized_start=541 + _globals['_QUERYVALSETREQUESTRESPONSE']._serialized_end=613 + _globals['_QUERYVALSETCONFIRMREQUEST']._serialized_start=615 + _globals['_QUERYVALSETCONFIRMREQUEST']._serialized_end=674 + _globals['_QUERYVALSETCONFIRMRESPONSE']._serialized_start=676 + _globals['_QUERYVALSETCONFIRMRESPONSE']._serialized_end=759 + _globals['_QUERYVALSETCONFIRMSBYNONCEREQUEST']._serialized_start=761 + _globals['_QUERYVALSETCONFIRMSBYNONCEREQUEST']._serialized_end=811 + _globals['_QUERYVALSETCONFIRMSBYNONCERESPONSE']._serialized_start=813 + _globals['_QUERYVALSETCONFIRMSBYNONCERESPONSE']._serialized_end=905 + _globals['_QUERYLASTVALSETREQUESTSREQUEST']._serialized_start=907 + _globals['_QUERYLASTVALSETREQUESTSREQUEST']._serialized_end=939 + _globals['_QUERYLASTVALSETREQUESTSRESPONSE']._serialized_start=941 + _globals['_QUERYLASTVALSETREQUESTSRESPONSE']._serialized_end=1019 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST']._serialized_start=1021 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST']._serialized_end=1082 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE']._serialized_start=1084 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE']._serialized_end=1174 + _globals['_QUERYBATCHFEEREQUEST']._serialized_start=1176 + _globals['_QUERYBATCHFEEREQUEST']._serialized_end=1198 + _globals['_QUERYBATCHFEERESPONSE']._serialized_start=1200 + _globals['_QUERYBATCHFEERESPONSE']._serialized_end=1273 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST']._serialized_start=1275 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST']._serialized_end=1335 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE']._serialized_start=1337 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE']._serialized_end=1433 + _globals['_QUERYOUTGOINGTXBATCHESREQUEST']._serialized_start=1435 + _globals['_QUERYOUTGOINGTXBATCHESREQUEST']._serialized_end=1466 + _globals['_QUERYOUTGOINGTXBATCHESRESPONSE']._serialized_start=1468 + _globals['_QUERYOUTGOINGTXBATCHESRESPONSE']._serialized_end=1554 + _globals['_QUERYBATCHREQUESTBYNONCEREQUEST']._serialized_start=1556 + _globals['_QUERYBATCHREQUESTBYNONCEREQUEST']._serialized_end=1630 + _globals['_QUERYBATCHREQUESTBYNONCERESPONSE']._serialized_start=1632 + _globals['_QUERYBATCHREQUESTBYNONCERESPONSE']._serialized_end=1718 + _globals['_QUERYBATCHCONFIRMSREQUEST']._serialized_start=1720 + _globals['_QUERYBATCHCONFIRMSREQUEST']._serialized_end=1788 + _globals['_QUERYBATCHCONFIRMSRESPONSE']._serialized_start=1790 + _globals['_QUERYBATCHCONFIRMSRESPONSE']._serialized_end=1873 + _globals['_QUERYLASTEVENTBYADDRREQUEST']._serialized_start=1875 + _globals['_QUERYLASTEVENTBYADDRREQUEST']._serialized_end=1921 + _globals['_QUERYLASTEVENTBYADDRRESPONSE']._serialized_start=1923 + _globals['_QUERYLASTEVENTBYADDRRESPONSE']._serialized_end=2015 + _globals['_QUERYERC20TODENOMREQUEST']._serialized_start=2017 + _globals['_QUERYERC20TODENOMREQUEST']._serialized_end=2058 + _globals['_QUERYERC20TODENOMRESPONSE']._serialized_start=2060 + _globals['_QUERYERC20TODENOMRESPONSE']._serialized_end=2129 + _globals['_QUERYDENOMTOERC20REQUEST']._serialized_start=2131 + _globals['_QUERYDENOMTOERC20REQUEST']._serialized_end=2172 + _globals['_QUERYDENOMTOERC20RESPONSE']._serialized_start=2174 + _globals['_QUERYDENOMTOERC20RESPONSE']._serialized_end=2243 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESS']._serialized_start=2245 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESS']._serialized_end=2309 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE']._serialized_start=2311 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE']._serialized_end=2407 + _globals['_QUERYDELEGATEKEYSBYETHADDRESS']._serialized_start=2409 + _globals['_QUERYDELEGATEKEYSBYETHADDRESS']._serialized_end=2461 + _globals['_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE']._serialized_start=2463 + _globals['_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE']._serialized_end=2559 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS']._serialized_start=2561 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS']._serialized_end=2631 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE']._serialized_start=2633 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE']._serialized_end=2729 + _globals['_QUERYPENDINGSENDTOETH']._serialized_start=2731 + _globals['_QUERYPENDINGSENDTOETH']._serialized_end=2778 + _globals['_QUERYPENDINGSENDTOETHRESPONSE']._serialized_start=2781 + _globals['_QUERYPENDINGSENDTOETHRESPONSE']._serialized_end=2951 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=2953 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=2978 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=2980 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=3055 + _globals['_MISSINGNONCESREQUEST']._serialized_start=3057 + _globals['_MISSINGNONCESREQUEST']._serialized_end=3079 + _globals['_MISSINGNONCESRESPONSE']._serialized_start=3081 + _globals['_MISSINGNONCESRESPONSE']._serialized_end=3132 + _globals['_QUERY']._serialized_start=3135 + _globals['_QUERY']._serialized_end=6533 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/types_pb2.py b/pyinjective/proto/injective/peggy/v1/types_pb2.py index 376207d8..50beafb5 100644 --- a/pyinjective/proto/injective/peggy/v1/types_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/peggy/v1/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,24 +14,25 @@ from 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\":\n\x0f\x42ridgeValidator\x12\r\n\x05power\x18\x01 \x01(\x04\x12\x18\n\x10\x65thereum_address\x18\x02 \x01(\t\"\xba\x01\n\x06Valset\x12\r\n\x05nonce\x18\x01 \x01(\x04\x12\x34\n\x07members\x18\x02 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidator\x12\x0e\n\x06height\x18\x03 \x01(\x04\x12\x45\n\rreward_amount\x18\x04 \x01(\tB.\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xc8\xde\x1f\x00\x12\x14\n\x0creward_token\x18\x05 \x01(\t\"]\n\x1fLastObservedEthereumBlockHeight\x12\x1b\n\x13\x63osmos_block_height\x18\x01 \x01(\x04\x12\x1d\n\x15\x65thereum_block_height\x18\x02 \x01(\x04\"M\n\x0eLastClaimEvent\x12\x1c\n\x14\x65thereum_event_nonce\x18\x01 \x01(\x04\x12\x1d\n\x15\x65thereum_event_height\x18\x02 \x01(\x04\",\n\x0c\x45RC20ToDenom\x12\r\n\x05\x65rc20\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/types.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\":\n\x0f\x42ridgeValidator\x12\r\n\x05power\x18\x01 \x01(\x04\x12\x18\n\x10\x65thereum_address\x18\x02 \x01(\t\"\xba\x01\n\x06Valset\x12\r\n\x05nonce\x18\x01 \x01(\x04\x12\x34\n\x07members\x18\x02 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidator\x12\x0e\n\x06height\x18\x03 \x01(\x04\x12\x45\n\rreward_amount\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x14\n\x0creward_token\x18\x05 \x01(\t\"]\n\x1fLastObservedEthereumBlockHeight\x12\x1b\n\x13\x63osmos_block_height\x18\x01 \x01(\x04\x12\x1d\n\x15\x65thereum_block_height\x18\x02 \x01(\x04\"M\n\x0eLastClaimEvent\x12\x1c\n\x14\x65thereum_event_nonce\x18\x01 \x01(\x04\x12\x1d\n\x15\x65thereum_event_height\x18\x02 \x01(\x04\",\n\x0c\x45RC20ToDenom\x12\r\n\x05\x65rc20\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _VALSET.fields_by_name['reward_amount']._options = None - _VALSET.fields_by_name['reward_amount']._serialized_options = b'\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\310\336\037\000' - _BRIDGEVALIDATOR._serialized_start=76 - _BRIDGEVALIDATOR._serialized_end=134 - _VALSET._serialized_start=137 - _VALSET._serialized_end=323 - _LASTOBSERVEDETHEREUMBLOCKHEIGHT._serialized_start=325 - _LASTOBSERVEDETHEREUMBLOCKHEIGHT._serialized_end=418 - _LASTCLAIMEVENT._serialized_start=420 - _LASTCLAIMEVENT._serialized_end=497 - _ERC20TODENOM._serialized_start=499 - _ERC20TODENOM._serialized_end=543 + _VALSET.fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int' + _globals['_BRIDGEVALIDATOR']._serialized_start=76 + _globals['_BRIDGEVALIDATOR']._serialized_end=134 + _globals['_VALSET']._serialized_start=137 + _globals['_VALSET']._serialized_end=323 + _globals['_LASTOBSERVEDETHEREUMBLOCKHEIGHT']._serialized_start=325 + _globals['_LASTOBSERVEDETHEREUMBLOCKHEIGHT']._serialized_end=418 + _globals['_LASTCLAIMEVENT']._serialized_start=420 + _globals['_LASTCLAIMEVENT']._serialized_end=497 + _globals['_ERC20TODENOM']._serialized_start=499 + _globals['_ERC20TODENOM']._serialized_end=543 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py new file mode 100644 index 00000000..84af83e3 --- /dev/null +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py @@ -0,0 +1,125 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/stream/v1beta1/query.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from injective.exchange.v1beta1 import events_pb2 as injective_dot_exchange_dot_v1beta1_dot_events__pb2 +from injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/stream/v1beta1/query.proto\x12\x18injective.stream.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\'injective/exchange/v1beta1/events.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xb6\x06\n\rStreamRequest\x12P\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01\x12\\\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12O\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12U\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12I\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01\x12N\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01\"\xc0\x05\n\x0eStreamResponse\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12<\n\rbank_balances\x18\x02 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalance\x12I\n\x13subaccount_deposits\x18\x03 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDeposits\x12\x38\n\x0bspot_trades\x18\x04 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTrade\x12\x44\n\x11\x64\x65rivative_trades\x18\x05 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTrade\x12\x38\n\x0bspot_orders\x18\x06 \x03(\x0b\x32#.injective.stream.v1beta1.SpotOrder\x12\x44\n\x11\x64\x65rivative_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeOrder\x12I\n\x16spot_orderbook_updates\x18\x08 \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12O\n\x1c\x64\x65rivative_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12\x35\n\tpositions\x18\n \x03(\x0b\x32\".injective.stream.v1beta1.Position\x12<\n\roracle_prices\x18\x0b \x03(\x0b\x32%.injective.stream.v1beta1.OraclePrice\"V\n\x0fOrderbookUpdate\x12\x0b\n\x03seq\x18\x01 \x01(\x04\x12\x36\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.Orderbook\"\x8d\x01\n\tOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x35\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12\x36\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"}\n\x0b\x42\x61nkBalance\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12]\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"p\n\x12SubaccountDeposits\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x43\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00\"^\n\x11SubaccountDeposit\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12:\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00\"_\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00\"~\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00\x12\x11\n\tis_market\x18\x03 \x01(\x08\"\xdd\x02\n\x08Position\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06isLong\x18\x03 \x01(\x08\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"j\n\x0bOraclePrice\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xd3\x02\n\tSpotTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x06 \x01(\t\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\"\xdb\x02\n\x0f\x44\x65rivativeTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x41\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\":\n\x0cTradesFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"=\n\x0fPositionsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\":\n\x0cOrdersFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"%\n\x0fOrderbookFilter\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"&\n\x12\x42\x61nkBalancesFilter\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\"2\n\x18SubaccountDepositsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\"#\n\x11OraclePriceFilter\x12\x0e\n\x06symbol\x18\x01 \x03(\t2g\n\x06Stream\x12]\n\x06Stream\x12\'.injective.stream.v1beta1.StreamRequest\x1a(.injective.stream.v1beta1.StreamResponse0\x01\x42\x46ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.stream.v1beta1.query_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types' + _STREAMREQUEST.fields_by_name['bank_balances_filter']._options = None + _STREAMREQUEST.fields_by_name['bank_balances_filter']._serialized_options = b'\310\336\037\001' + _STREAMREQUEST.fields_by_name['subaccount_deposits_filter']._options = None + _STREAMREQUEST.fields_by_name['subaccount_deposits_filter']._serialized_options = b'\310\336\037\001' + _STREAMREQUEST.fields_by_name['spot_trades_filter']._options = None + _STREAMREQUEST.fields_by_name['spot_trades_filter']._serialized_options = b'\310\336\037\001' + _STREAMREQUEST.fields_by_name['derivative_trades_filter']._options = None + _STREAMREQUEST.fields_by_name['derivative_trades_filter']._serialized_options = b'\310\336\037\001' + _STREAMREQUEST.fields_by_name['spot_orders_filter']._options = None + _STREAMREQUEST.fields_by_name['spot_orders_filter']._serialized_options = b'\310\336\037\001' + _STREAMREQUEST.fields_by_name['derivative_orders_filter']._options = None + _STREAMREQUEST.fields_by_name['derivative_orders_filter']._serialized_options = b'\310\336\037\001' + _STREAMREQUEST.fields_by_name['spot_orderbooks_filter']._options = None + _STREAMREQUEST.fields_by_name['spot_orderbooks_filter']._serialized_options = b'\310\336\037\001' + _STREAMREQUEST.fields_by_name['derivative_orderbooks_filter']._options = None + _STREAMREQUEST.fields_by_name['derivative_orderbooks_filter']._serialized_options = b'\310\336\037\001' + _STREAMREQUEST.fields_by_name['positions_filter']._options = None + _STREAMREQUEST.fields_by_name['positions_filter']._serialized_options = b'\310\336\037\001' + _STREAMREQUEST.fields_by_name['oracle_price_filter']._options = None + _STREAMREQUEST.fields_by_name['oracle_price_filter']._serialized_options = b'\310\336\037\001' + _BANKBALANCE.fields_by_name['balances']._options = None + _BANKBALANCE.fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _SUBACCOUNTDEPOSITS.fields_by_name['deposits']._options = None + _SUBACCOUNTDEPOSITS.fields_by_name['deposits']._serialized_options = b'\310\336\037\000' + _SUBACCOUNTDEPOSIT.fields_by_name['deposit']._options = None + _SUBACCOUNTDEPOSIT.fields_by_name['deposit']._serialized_options = b'\310\336\037\000' + _SPOTORDER.fields_by_name['order']._options = None + _SPOTORDER.fields_by_name['order']._serialized_options = b'\310\336\037\000' + _DERIVATIVEORDER.fields_by_name['order']._options = None + _DERIVATIVEORDER.fields_by_name['order']._serialized_options = b'\310\336\037\000' + _POSITION.fields_by_name['quantity']._options = None + _POSITION.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _POSITION.fields_by_name['entry_price']._options = None + _POSITION.fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _POSITION.fields_by_name['margin']._options = None + _POSITION.fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _POSITION.fields_by_name['cumulative_funding_entry']._options = None + _POSITION.fields_by_name['cumulative_funding_entry']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _ORACLEPRICE.fields_by_name['price']._options = None + _ORACLEPRICE.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTTRADE.fields_by_name['quantity']._options = None + _SPOTTRADE.fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTTRADE.fields_by_name['price']._options = None + _SPOTTRADE.fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTTRADE.fields_by_name['fee']._options = None + _SPOTTRADE.fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTTRADE.fields_by_name['fee_recipient_address']._options = None + _SPOTTRADE.fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _DERIVATIVETRADE.fields_by_name['payout']._options = None + _DERIVATIVETRADE.fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _DERIVATIVETRADE.fields_by_name['fee']._options = None + _DERIVATIVETRADE.fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _DERIVATIVETRADE.fields_by_name['fee_recipient_address']._options = None + _DERIVATIVETRADE.fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST']._serialized_start=205 + _globals['_STREAMREQUEST']._serialized_end=1027 + _globals['_STREAMRESPONSE']._serialized_start=1030 + _globals['_STREAMRESPONSE']._serialized_end=1734 + _globals['_ORDERBOOKUPDATE']._serialized_start=1736 + _globals['_ORDERBOOKUPDATE']._serialized_end=1822 + _globals['_ORDERBOOK']._serialized_start=1825 + _globals['_ORDERBOOK']._serialized_end=1966 + _globals['_BANKBALANCE']._serialized_start=1968 + _globals['_BANKBALANCE']._serialized_end=2093 + _globals['_SUBACCOUNTDEPOSITS']._serialized_start=2095 + _globals['_SUBACCOUNTDEPOSITS']._serialized_end=2207 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=2209 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=2303 + _globals['_SPOTORDER']._serialized_start=2305 + _globals['_SPOTORDER']._serialized_end=2400 + _globals['_DERIVATIVEORDER']._serialized_start=2402 + _globals['_DERIVATIVEORDER']._serialized_end=2528 + _globals['_POSITION']._serialized_start=2531 + _globals['_POSITION']._serialized_end=2880 + _globals['_ORACLEPRICE']._serialized_start=2882 + _globals['_ORACLEPRICE']._serialized_end=2988 + _globals['_SPOTTRADE']._serialized_start=2991 + _globals['_SPOTTRADE']._serialized_end=3330 + _globals['_DERIVATIVETRADE']._serialized_start=3333 + _globals['_DERIVATIVETRADE']._serialized_end=3680 + _globals['_TRADESFILTER']._serialized_start=3682 + _globals['_TRADESFILTER']._serialized_end=3740 + _globals['_POSITIONSFILTER']._serialized_start=3742 + _globals['_POSITIONSFILTER']._serialized_end=3803 + _globals['_ORDERSFILTER']._serialized_start=3805 + _globals['_ORDERSFILTER']._serialized_end=3863 + _globals['_ORDERBOOKFILTER']._serialized_start=3865 + _globals['_ORDERBOOKFILTER']._serialized_end=3902 + _globals['_BANKBALANCESFILTER']._serialized_start=3904 + _globals['_BANKBALANCESFILTER']._serialized_end=3942 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=3944 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=3994 + _globals['_ORACLEPRICEFILTER']._serialized_start=3996 + _globals['_ORACLEPRICEFILTER']._serialized_end=4031 + _globals['_STREAM']._serialized_start=4033 + _globals['_STREAM']._serialized_end=4136 +# @@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..762adede --- /dev/null +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py @@ -0,0 +1,69 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from 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, + ) + + +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,)) + + + # 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) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py index ba7e5f2e..7d992bb8 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/tokenfactory/v1beta1/authorityMetadata.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ 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\"?\n\x16\x44\x65nomAuthorityMetadata\x12\x1f\n\x05\x61\x64min\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"admin\":\x04\xe8\xa0\x1f\x01\x42TZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.authorityMetadata_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.authorityMetadata_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -27,6 +28,6 @@ _DENOMAUTHORITYMETADATA.fields_by_name['admin']._serialized_options = b'\362\336\037\014yaml:\"admin\"' _DENOMAUTHORITYMETADATA._options = None _DENOMAUTHORITYMETADATA._serialized_options = b'\350\240\037\001' - _DENOMAUTHORITYMETADATA._serialized_start=144 - _DENOMAUTHORITYMETADATA._serialized_end=207 + _globals['_DENOMAUTHORITYMETADATA']._serialized_start=144 + _globals['_DENOMAUTHORITYMETADATA']._serialized_end=207 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py index acb7f504..3cf78b33 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/tokenfactory/v1beta1/events.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +19,9 @@ 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\"4\n\x12\x45ventCreateTFDenom\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"^\n\x10\x45ventMintTFDenom\x12\x19\n\x11recipient_address\x18\x01 \x01(\t\x12/\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"[\n\x10\x45ventBurnTFDenom\x12\x16\n\x0e\x62urner_address\x18\x01 \x01(\t\x12/\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\">\n\x12\x45ventChangeTFAdmin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x19\n\x11new_admin_address\x18\x02 \x01(\t\"_\n\x17\x45ventSetTFDenomMetadata\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x35\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x04\xc8\xde\x1f\x00\x42TZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.events_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -31,14 +32,14 @@ _EVENTBURNTFDENOM.fields_by_name['amount']._serialized_options = b'\310\336\037\000' _EVENTSETTFDENOMMETADATA.fields_by_name['metadata']._options = None _EVENTSETTFDENOMMETADATA.fields_by_name['metadata']._serialized_options = b'\310\336\037\000' - _EVENTCREATETFDENOM._serialized_start=221 - _EVENTCREATETFDENOM._serialized_end=273 - _EVENTMINTTFDENOM._serialized_start=275 - _EVENTMINTTFDENOM._serialized_end=369 - _EVENTBURNTFDENOM._serialized_start=371 - _EVENTBURNTFDENOM._serialized_end=462 - _EVENTCHANGETFADMIN._serialized_start=464 - _EVENTCHANGETFADMIN._serialized_end=526 - _EVENTSETTFDENOMMETADATA._serialized_start=528 - _EVENTSETTFDENOMMETADATA._serialized_end=623 + _globals['_EVENTCREATETFDENOM']._serialized_start=221 + _globals['_EVENTCREATETFDENOM']._serialized_end=273 + _globals['_EVENTMINTTFDENOM']._serialized_start=275 + _globals['_EVENTMINTTFDENOM']._serialized_end=369 + _globals['_EVENTBURNTFDENOM']._serialized_start=371 + _globals['_EVENTBURNTFDENOM']._serialized_end=462 + _globals['_EVENTCHANGETFADMIN']._serialized_start=464 + _globals['_EVENTCHANGETFADMIN']._serialized_end=526 + _globals['_EVENTSETTFDENOMMETADATA']._serialized_start=528 + _globals['_EVENTSETTFDENOMMETADATA']._serialized_end=623 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py index f15642de..7847eb77 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/tokenfactory/v1beta1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +16,11 @@ from 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\"\xb1\x01\n\x0cGenesisState\x12<\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\x12\x63\n\x0e\x66\x61\x63tory_denoms\x18\x02 \x03(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisDenomB\x1d\xf2\xde\x1f\x15yaml:\"factory_denoms\"\xc8\xde\x1f\x00\"\xac\x01\n\x0cGenesisDenom\x12\x1f\n\x05\x64\x65nom\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"\x12u\n\x12\x61uthority_metadata\x18\x02 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xf2\xde\x1f\x19yaml:\"authority_metadata\"\xc8\xde\x1f\x00:\x04\xe8\xa0\x1f\x01\x42TZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\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\"\xb1\x01\n\x0cGenesisState\x12<\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\x12\x63\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\"\"\xee\x01\n\x0cGenesisDenom\x12\x1f\n\x05\x64\x65nom\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"\x12u\n\x12\x61uthority_metadata\x18\x02 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"authority_metadata\"\x12\x1d\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:\"name\"\x12!\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"symbol\":\x04\xe8\xa0\x1f\x01\x42TZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -27,15 +28,19 @@ _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['factory_denoms']._options = None - _GENESISSTATE.fields_by_name['factory_denoms']._serialized_options = b'\362\336\037\025yaml:\"factory_denoms\"\310\336\037\000' + _GENESISSTATE.fields_by_name['factory_denoms']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"factory_denoms\"' _GENESISDENOM.fields_by_name['denom']._options = None _GENESISDENOM.fields_by_name['denom']._serialized_options = b'\362\336\037\014yaml:\"denom\"' _GENESISDENOM.fields_by_name['authority_metadata']._options = None - _GENESISDENOM.fields_by_name['authority_metadata']._serialized_options = b'\362\336\037\031yaml:\"authority_metadata\"\310\336\037\000' + _GENESISDENOM.fields_by_name['authority_metadata']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"authority_metadata\"' + _GENESISDENOM.fields_by_name['name']._options = None + _GENESISDENOM.fields_by_name['name']._serialized_options = b'\362\336\037\013yaml:\"name\"' + _GENESISDENOM.fields_by_name['symbol']._options = None + _GENESISDENOM.fields_by_name['symbol']._serialized_options = b'\362\336\037\ryaml:\"symbol\"' _GENESISDENOM._options = None _GENESISDENOM._serialized_options = b'\350\240\037\001' - _GENESISSTATE._serialized_start=204 - _GENESISSTATE._serialized_end=381 - _GENESISDENOM._serialized_start=384 - _GENESISDENOM._serialized_end=556 + _globals['_GENESISSTATE']._serialized_start=204 + _globals['_GENESISSTATE']._serialized_end=381 + _globals['_GENESISDENOM']._serialized_start=384 + _globals['_GENESISDENOM']._serialized_end=622 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py index 9f1a12b7..7ee24016 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/tokenfactory/v1beta1/params.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +17,17 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__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\"\x8f\x01\n\x06Params\x12\x84\x01\n\x12\x64\x65nom_creation_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBM\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xf2\xde\x1f\x19yaml:\"denom_creation_fee\"\xc8\xde\x1f\x00\x42TZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\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\"\x8f\x01\n\x06Params\x12\x84\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.CoinsBTZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.params_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.params_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types' _PARAMS.fields_by_name['denom_creation_fee']._options = None - _PARAMS.fields_by_name['denom_creation_fee']._serialized_options = b'\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\362\336\037\031yaml:\"denom_creation_fee\"\310\336\037\000' - _PARAMS._serialized_start=217 - _PARAMS._serialized_end=360 + _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']._serialized_start=217 + _globals['_PARAMS']._serialized_end=360 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py index 26699ece..ed41fc98 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/tokenfactory/v1beta1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +19,11 @@ from 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\"S\n\x13QueryParamsResponse\x12<\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\"p\n\"QueryDenomAuthorityMetadataRequest\x12!\n\x07\x63reator\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"\x12\'\n\tsub_denom\x18\x02 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"sub_denom\"\"\x9c\x01\n#QueryDenomAuthorityMetadataResponse\x12u\n\x12\x61uthority_metadata\x18\x01 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xf2\xde\x1f\x19yaml:\"authority_metadata\"\xc8\xde\x1f\x00\"D\n\x1dQueryDenomsFromCreatorRequest\x12#\n\x07\x63reator\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"creator\"\"C\n\x1eQueryDenomsFromCreatorResponse\x12!\n\x06\x64\x65noms\x18\x01 \x03(\tB\x11\xf2\xde\x1f\ryaml:\"denoms\"\"\x19\n\x17QueryModuleStateRequest\"W\n\x18QueryModuleStateResponse\x12;\n\x05state\x18\x01 \x01(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisState2\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_stateBTZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\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\"S\n\x13QueryParamsResponse\x12<\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\"p\n\"QueryDenomAuthorityMetadataRequest\x12!\n\x07\x63reator\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"\x12\'\n\tsub_denom\x18\x02 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"sub_denom\"\"\x9c\x01\n#QueryDenomAuthorityMetadataResponse\x12u\n\x12\x61uthority_metadata\x18\x01 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"authority_metadata\"\"D\n\x1dQueryDenomsFromCreatorRequest\x12#\n\x07\x63reator\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"creator\"\"C\n\x1eQueryDenomsFromCreatorResponse\x12!\n\x06\x64\x65noms\x18\x01 \x03(\tB\x11\xf2\xde\x1f\ryaml:\"denoms\"\"\x19\n\x17QueryModuleStateRequest\"W\n\x18QueryModuleStateResponse\x12;\n\x05state\x18\x01 \x01(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisState2\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_stateBTZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -34,7 +35,7 @@ _QUERYDENOMAUTHORITYMETADATAREQUEST.fields_by_name['sub_denom']._options = None _QUERYDENOMAUTHORITYMETADATAREQUEST.fields_by_name['sub_denom']._serialized_options = b'\362\336\037\020yaml:\"sub_denom\"' _QUERYDENOMAUTHORITYMETADATARESPONSE.fields_by_name['authority_metadata']._options = None - _QUERYDENOMAUTHORITYMETADATARESPONSE.fields_by_name['authority_metadata']._serialized_options = b'\362\336\037\031yaml:\"authority_metadata\"\310\336\037\000' + _QUERYDENOMAUTHORITYMETADATARESPONSE.fields_by_name['authority_metadata']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"authority_metadata\"' _QUERYDENOMSFROMCREATORREQUEST.fields_by_name['creator']._options = None _QUERYDENOMSFROMCREATORREQUEST.fields_by_name['creator']._serialized_options = b'\362\336\037\016yaml:\"creator\"' _QUERYDENOMSFROMCREATORRESPONSE.fields_by_name['denoms']._options = None @@ -47,22 +48,22 @@ _QUERY.methods_by_name['DenomsFromCreator']._serialized_options = b'\202\323\344\223\002?\022=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}' _QUERY.methods_by_name['TokenfactoryModuleState']._options = None _QUERY.methods_by_name['TokenfactoryModuleState']._serialized_options = b'\202\323\344\223\002.\022,/injective/tokenfactory/v1beta1/module_state' - _QUERYPARAMSREQUEST._serialized_start=321 - _QUERYPARAMSREQUEST._serialized_end=341 - _QUERYPARAMSRESPONSE._serialized_start=343 - _QUERYPARAMSRESPONSE._serialized_end=426 - _QUERYDENOMAUTHORITYMETADATAREQUEST._serialized_start=428 - _QUERYDENOMAUTHORITYMETADATAREQUEST._serialized_end=540 - _QUERYDENOMAUTHORITYMETADATARESPONSE._serialized_start=543 - _QUERYDENOMAUTHORITYMETADATARESPONSE._serialized_end=699 - _QUERYDENOMSFROMCREATORREQUEST._serialized_start=701 - _QUERYDENOMSFROMCREATORREQUEST._serialized_end=769 - _QUERYDENOMSFROMCREATORRESPONSE._serialized_start=771 - _QUERYDENOMSFROMCREATORRESPONSE._serialized_end=838 - _QUERYMODULESTATEREQUEST._serialized_start=840 - _QUERYMODULESTATEREQUEST._serialized_end=865 - _QUERYMODULESTATERESPONSE._serialized_start=867 - _QUERYMODULESTATERESPONSE._serialized_end=954 - _QUERY._serialized_start=957 - _QUERY._serialized_end=1798 + _globals['_QUERYPARAMSREQUEST']._serialized_start=321 + _globals['_QUERYPARAMSREQUEST']._serialized_end=341 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=343 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=426 + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST']._serialized_start=428 + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST']._serialized_end=540 + _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE']._serialized_start=543 + _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE']._serialized_end=699 + _globals['_QUERYDENOMSFROMCREATORREQUEST']._serialized_start=701 + _globals['_QUERYDENOMSFROMCREATORREQUEST']._serialized_end=769 + _globals['_QUERYDENOMSFROMCREATORRESPONSE']._serialized_start=771 + _globals['_QUERYDENOMSFROMCREATORRESPONSE']._serialized_end=838 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=840 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=865 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=867 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=954 + _globals['_QUERY']._serialized_start=957 + _globals['_QUERY']._serialized_end=1798 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py index 8765f9c1..1891d444 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/tokenfactory/v1beta1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +19,11 @@ from 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/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\"g\n\x0eMsgCreateDenom\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12%\n\x08subdenom\x18\x02 \x01(\tB\x13\xf2\xde\x1f\x0fyaml:\"subdenom\":\x0b\x82\xe7\xb0*\x06sender\"M\n\x16MsgCreateDenomResponse\x12\x33\n\x0fnew_token_denom\x18\x01 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_token_denom\"\"{\n\x07MsgMint\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12@\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xf2\xde\x1f\ryaml:\"amount\"\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x11\n\x0fMsgMintResponse\"{\n\x07MsgBurn\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12@\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xf2\xde\x1f\ryaml:\"amount\"\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x11\n\x0fMsgBurnResponse\"\x8a\x01\n\x0eMsgChangeAdmin\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12\x1f\n\x05\x64\x65nom\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"\x12\'\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\":\x0b\x82\xe7\xb0*\x06sender\"\x18\n\x16MsgChangeAdminResponse\"\x8f\x01\n\x13MsgSetDenomMetadata\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12H\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x17\xf2\xde\x1f\x0fyaml:\"metadata\"\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgSetDenomMetadataResponse\"\x8c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12<\n\x06params\x18\x02 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xb8\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.MsgUpdateParamsResponseBTZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\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\"\xa9\x01\n\x0eMsgCreateDenom\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12%\n\x08subdenom\x18\x02 \x01(\tB\x13\xf2\xde\x1f\x0fyaml:\"subdenom\"\x12\x1d\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:\"name\"\x12!\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"symbol\":\x0b\x82\xe7\xb0*\x06sender\"M\n\x16MsgCreateDenomResponse\x12\x33\n\x0fnew_token_denom\x18\x01 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_token_denom\"\"{\n\x07MsgMint\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12@\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:\"amount\":\x0b\x82\xe7\xb0*\x06sender\"\x11\n\x0fMsgMintResponse\"{\n\x07MsgBurn\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12@\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:\"amount\":\x0b\x82\xe7\xb0*\x06sender\"\x11\n\x0fMsgBurnResponse\"\x8a\x01\n\x0eMsgChangeAdmin\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12\x1f\n\x05\x64\x65nom\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"\x12\'\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\":\x0b\x82\xe7\xb0*\x06sender\"\x18\n\x16MsgChangeAdminResponse\"\x8f\x01\n\x13MsgSetDenomMetadata\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12H\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x17\xc8\xde\x1f\x00\xf2\xde\x1f\x0fyaml:\"metadata\":\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgSetDenomMetadataResponse\"\x8c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12<\n\x06params\x18\x02 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xb8\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.MsgUpdateParamsResponseBTZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -31,6 +32,10 @@ _MSGCREATEDENOM.fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' _MSGCREATEDENOM.fields_by_name['subdenom']._options = None _MSGCREATEDENOM.fields_by_name['subdenom']._serialized_options = b'\362\336\037\017yaml:\"subdenom\"' + _MSGCREATEDENOM.fields_by_name['name']._options = None + _MSGCREATEDENOM.fields_by_name['name']._serialized_options = b'\362\336\037\013yaml:\"name\"' + _MSGCREATEDENOM.fields_by_name['symbol']._options = None + _MSGCREATEDENOM.fields_by_name['symbol']._serialized_options = b'\362\336\037\ryaml:\"symbol\"' _MSGCREATEDENOM._options = None _MSGCREATEDENOM._serialized_options = b'\202\347\260*\006sender' _MSGCREATEDENOMRESPONSE.fields_by_name['new_token_denom']._options = None @@ -38,13 +43,13 @@ _MSGMINT.fields_by_name['sender']._options = None _MSGMINT.fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' _MSGMINT.fields_by_name['amount']._options = None - _MSGMINT.fields_by_name['amount']._serialized_options = b'\362\336\037\ryaml:\"amount\"\310\336\037\000' + _MSGMINT.fields_by_name['amount']._serialized_options = b'\310\336\037\000\362\336\037\ryaml:\"amount\"' _MSGMINT._options = None _MSGMINT._serialized_options = b'\202\347\260*\006sender' _MSGBURN.fields_by_name['sender']._options = None _MSGBURN.fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' _MSGBURN.fields_by_name['amount']._options = None - _MSGBURN.fields_by_name['amount']._serialized_options = b'\362\336\037\ryaml:\"amount\"\310\336\037\000' + _MSGBURN.fields_by_name['amount']._serialized_options = b'\310\336\037\000\362\336\037\ryaml:\"amount\"' _MSGBURN._options = None _MSGBURN._serialized_options = b'\202\347\260*\006sender' _MSGCHANGEADMIN.fields_by_name['sender']._options = None @@ -58,7 +63,7 @@ _MSGSETDENOMMETADATA.fields_by_name['sender']._options = None _MSGSETDENOMMETADATA.fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' _MSGSETDENOMMETADATA.fields_by_name['metadata']._options = None - _MSGSETDENOMMETADATA.fields_by_name['metadata']._serialized_options = b'\362\336\037\017yaml:\"metadata\"\310\336\037\000' + _MSGSETDENOMMETADATA.fields_by_name['metadata']._serialized_options = b'\310\336\037\000\362\336\037\017yaml:\"metadata\"' _MSGSETDENOMMETADATA._options = None _MSGSETDENOMMETADATA._serialized_options = b'\202\347\260*\006sender' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None @@ -67,30 +72,30 @@ _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' _MSGUPDATEPARAMS._options = None _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' - _MSGCREATEDENOM._serialized_start=258 - _MSGCREATEDENOM._serialized_end=361 - _MSGCREATEDENOMRESPONSE._serialized_start=363 - _MSGCREATEDENOMRESPONSE._serialized_end=440 - _MSGMINT._serialized_start=442 - _MSGMINT._serialized_end=565 - _MSGMINTRESPONSE._serialized_start=567 - _MSGMINTRESPONSE._serialized_end=584 - _MSGBURN._serialized_start=586 - _MSGBURN._serialized_end=709 - _MSGBURNRESPONSE._serialized_start=711 - _MSGBURNRESPONSE._serialized_end=728 - _MSGCHANGEADMIN._serialized_start=731 - _MSGCHANGEADMIN._serialized_end=869 - _MSGCHANGEADMINRESPONSE._serialized_start=871 - _MSGCHANGEADMINRESPONSE._serialized_end=895 - _MSGSETDENOMMETADATA._serialized_start=898 - _MSGSETDENOMMETADATA._serialized_end=1041 - _MSGSETDENOMMETADATARESPONSE._serialized_start=1043 - _MSGSETDENOMMETADATARESPONSE._serialized_end=1072 - _MSGUPDATEPARAMS._serialized_start=1075 - _MSGUPDATEPARAMS._serialized_end=1215 - _MSGUPDATEPARAMSRESPONSE._serialized_start=1217 - _MSGUPDATEPARAMSRESPONSE._serialized_end=1242 - _MSG._serialized_start=1245 - _MSG._serialized_end=1941 + _globals['_MSGCREATEDENOM']._serialized_start=259 + _globals['_MSGCREATEDENOM']._serialized_end=428 + _globals['_MSGCREATEDENOMRESPONSE']._serialized_start=430 + _globals['_MSGCREATEDENOMRESPONSE']._serialized_end=507 + _globals['_MSGMINT']._serialized_start=509 + _globals['_MSGMINT']._serialized_end=632 + _globals['_MSGMINTRESPONSE']._serialized_start=634 + _globals['_MSGMINTRESPONSE']._serialized_end=651 + _globals['_MSGBURN']._serialized_start=653 + _globals['_MSGBURN']._serialized_end=776 + _globals['_MSGBURNRESPONSE']._serialized_start=778 + _globals['_MSGBURNRESPONSE']._serialized_end=795 + _globals['_MSGCHANGEADMIN']._serialized_start=798 + _globals['_MSGCHANGEADMIN']._serialized_end=936 + _globals['_MSGCHANGEADMINRESPONSE']._serialized_start=938 + _globals['_MSGCHANGEADMINRESPONSE']._serialized_end=962 + _globals['_MSGSETDENOMMETADATA']._serialized_start=965 + _globals['_MSGSETDENOMMETADATA']._serialized_end=1108 + _globals['_MSGSETDENOMMETADATARESPONSE']._serialized_start=1110 + _globals['_MSGSETDENOMMETADATARESPONSE']._serialized_end=1139 + _globals['_MSGUPDATEPARAMS']._serialized_start=1142 + _globals['_MSGUPDATEPARAMS']._serialized_end=1282 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1284 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1309 + _globals['_MSG']._serialized_start=1312 + _globals['_MSG']._serialized_end=2008 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/account_pb2.py b/pyinjective/proto/injective/types/v1beta1/account_pb2.py index 4904240d..6044ea2d 100644 --- a/pyinjective/proto/injective/types/v1beta1/account_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/account_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/types/v1beta1/account.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +18,9 @@ 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\"\xce\x01\n\nEthAccount\x12S\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x1b\xd0\xde\x1f\x01\xf2\xde\x1f\x13yaml:\"base_account\"\x12\'\n\tcode_hash\x18\x02 \x01(\x0c\x42\x14\xf2\xde\x1f\x10yaml:\"code_hash\":B\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-2github.com/cosmos/cosmos-sdk/x/auth/types.AccountIB?Z=github.com/InjectiveLabs/injective-core/injective-chain/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.account_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.account_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -30,6 +31,6 @@ _ETHACCOUNT.fields_by_name['code_hash']._serialized_options = b'\362\336\037\020yaml:\"code_hash\"' _ETHACCOUNT._options = None _ETHACCOUNT._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000\312\264-2github.com/cosmos/cosmos-sdk/x/auth/types.AccountI' - _ETHACCOUNT._serialized_start=148 - _ETHACCOUNT._serialized_end=354 + _globals['_ETHACCOUNT']._serialized_start=148 + _globals['_ETHACCOUNT']._serialized_end=354 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py index 864a8960..759c1191 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/types/v1beta1/tx_ext.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,14 +16,15 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/types/v1beta1/tx_ext.proto\x12\x17injective.types.v1beta1\x1a\x14gogoproto/gogo.proto\"_\n\x16\x45xtensionOptionsWeb3Tx\x12\x18\n\x10typedDataChainID\x18\x01 \x01(\x04\x12\x10\n\x08\x66\x65\x65Payer\x18\x02 \x01(\t\x12\x13\n\x0b\x66\x65\x65PayerSig\x18\x03 \x01(\x0c:\x04\x88\xa0\x1f\x00\x42?Z=github.com/InjectiveLabs/injective-core/injective-chain/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_ext_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_ext_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z=github.com/InjectiveLabs/injective-core/injective-chain/types' _EXTENSIONOPTIONSWEB3TX._options = None _EXTENSIONOPTIONSWEB3TX._serialized_options = b'\210\240\037\000' - _EXTENSIONOPTIONSWEB3TX._serialized_start=87 - _EXTENSIONOPTIONSWEB3TX._serialized_end=182 + _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_start=87 + _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_end=182 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py index bfd4e4fd..727d8338 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/types/v1beta1/tx_response.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,15 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/types/v1beta1/tx_response.proto\x12\x17injective.types.v1beta1\"8\n\x18TxResponseGenericMessage\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"U\n\x0eTxResponseData\x12\x43\n\x08messages\x18\x01 \x03(\x0b\x32\x31.injective.types.v1beta1.TxResponseGenericMessageB?Z=github.com/InjectiveLabs/injective-core/injective-chain/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_response_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_response_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z=github.com/InjectiveLabs/injective-core/injective-chain/types' - _TXRESPONSEGENERICMESSAGE._serialized_start=70 - _TXRESPONSEGENERICMESSAGE._serialized_end=126 - _TXRESPONSEDATA._serialized_start=128 - _TXRESPONSEDATA._serialized_end=213 + _globals['_TXRESPONSEGENERICMESSAGE']._serialized_start=70 + _globals['_TXRESPONSEGENERICMESSAGE']._serialized_end=126 + _globals['_TXRESPONSEDATA']._serialized_start=128 + _globals['_TXRESPONSEDATA']._serialized_end=213 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2.py b/pyinjective/proto/injective/wasmx/v1/events_pb2.py index 2546d43c..98439a5e 100644 --- a/pyinjective/proto/injective/wasmx/v1/events_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/events_pb2.py @@ -2,27 +2,33 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/wasmx/v1/events.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto\"S\n\x16\x45ventContractExecution\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x10\n\x08response\x18\x02 \x01(\x0c\x12\r\n\x05\x65rror\x18\x03 \x01(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\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\"r\n\x16\x45ventContractExecution\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x10\n\x08response\x18\x02 \x01(\x0c\x12\x13\n\x0bother_error\x18\x03 \x01(\t\x12\x17\n\x0f\x65xecution_error\x18\x04 \x01(\t\"\xf9\x01\n\x17\x45ventContractRegistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode\"5\n\x19\x45ventContractDeregistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.events_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' - _EVENTCONTRACTEXECUTION._serialized_start=109 - _EVENTCONTRACTEXECUTION._serialized_end=192 + _globals['_EVENTCONTRACTEXECUTION']._serialized_start=144 + _globals['_EVENTCONTRACTEXECUTION']._serialized_end=258 + _globals['_EVENTCONTRACTREGISTERED']._serialized_start=261 + _globals['_EVENTCONTRACTREGISTERED']._serialized_end=510 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_start=512 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_end=565 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py index c4f04eae..458ed453 100644 --- a/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/wasmx/v1/genesis.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto\"u\n\x1dRegisteredContractWithAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x43\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract\"\x97\x01\n\x0cGenesisState\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\x12U\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.genesis_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -27,8 +28,8 @@ _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['registered_contracts']._options = None _GENESISSTATE.fields_by_name['registered_contracts']._serialized_options = b'\310\336\037\000' - _REGISTEREDCONTRACTWITHADDRESS._serialized_start=110 - _REGISTEREDCONTRACTWITHADDRESS._serialized_end=227 - _GENESISSTATE._serialized_start=230 - _GENESISSTATE._serialized_end=381 + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_start=110 + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_end=227 + _globals['_GENESISSTATE']._serialized_start=230 + _globals['_GENESISSTATE']._serialized_end=381 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py index ee7aac1d..5c0d113c 100644 --- a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/wasmx/v1/proposal.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +16,11 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1f\x63osmwasm/wasm/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"\xcf\x01\n#ContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd5\x01\n(BatchContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12]\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x84\x01\n#BatchContractDeregistrationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tcontracts\x18\x03 \x03(\t:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb0\x02\n\x1b\x43ontractRegistrationRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12<\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00:&\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1f\x63osmwasm/wasm/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"\xcf\x01\n#ContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd5\x01\n(BatchContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12]\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x84\x01\n#BatchContractDeregistrationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tcontracts\x18\x03 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb0\x02\n\x1b\x43ontractRegistrationRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12<\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.proposal_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.proposal_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -27,29 +28,29 @@ _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._options = None _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' _CONTRACTREGISTRATIONREQUESTPROPOSAL._options = None - _CONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _CONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._options = None _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._serialized_options = b'\310\336\037\000' _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._options = None - _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _BATCHCONTRACTDEREGISTRATIONPROPOSAL._options = None - _BATCHCONTRACTDEREGISTRATIONPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCONTRACTDEREGISTRATIONPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _CONTRACTREGISTRATIONREQUEST._options = None _CONTRACTREGISTRATIONREQUEST._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._options = None _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._serialized_options = b'\310\336\037\000' _BATCHSTORECODEPROPOSAL._options = None - _BATCHSTORECODEPROPOSAL._serialized_options = b'\350\240\037\000\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _FUNDINGMODE._serialized_start=1172 - _FUNDINGMODE._serialized_end=1243 - _CONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_start=140 - _CONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_end=347 - _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_start=350 - _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_end=563 - _BATCHCONTRACTDEREGISTRATIONPROPOSAL._serialized_start=566 - _BATCHCONTRACTDEREGISTRATIONPROPOSAL._serialized_end=698 - _CONTRACTREGISTRATIONREQUEST._serialized_start=701 - _CONTRACTREGISTRATIONREQUEST._serialized_end=1005 - _BATCHSTORECODEPROPOSAL._serialized_start=1008 - _BATCHSTORECODEPROPOSAL._serialized_end=1170 + _BATCHSTORECODEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_FUNDINGMODE']._serialized_start=1172 + _globals['_FUNDINGMODE']._serialized_end=1243 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=140 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=347 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=350 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=563 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_start=566 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_end=698 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_start=701 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_end=1005 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_start=1008 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_end=1170 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2.py b/pyinjective/proto/injective/wasmx/v1/query_pb2.py index 84f120ba..5edd5832 100644 --- a/pyinjective/proto/injective/wasmx/v1/query_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/wasmx/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +19,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto\"\x19\n\x17QueryWasmxParamsRequest\"L\n\x18QueryWasmxParamsResponse\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\"\x19\n\x17QueryModuleStateRequest\"K\n\x18QueryModuleStateResponse\x12/\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisState\"@\n$QueryContractRegistrationInfoRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"a\n%QueryContractRegistrationInfoResponse\x12\x38\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/wasmx/v1/module_stateBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.query_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -33,18 +34,18 @@ _QUERY.methods_by_name['ContractRegistrationInfo']._serialized_options = b'\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}' _QUERY.methods_by_name['WasmxModuleState']._options = None _QUERY.methods_by_name['WasmxModuleState']._serialized_options = b'\202\323\344\223\002\"\022 /injective/wasmx/v1/module_state' - _QUERYWASMXPARAMSREQUEST._serialized_start=172 - _QUERYWASMXPARAMSREQUEST._serialized_end=197 - _QUERYWASMXPARAMSRESPONSE._serialized_start=199 - _QUERYWASMXPARAMSRESPONSE._serialized_end=275 - _QUERYMODULESTATEREQUEST._serialized_start=277 - _QUERYMODULESTATEREQUEST._serialized_end=302 - _QUERYMODULESTATERESPONSE._serialized_start=304 - _QUERYMODULESTATERESPONSE._serialized_end=379 - _QUERYCONTRACTREGISTRATIONINFOREQUEST._serialized_start=381 - _QUERYCONTRACTREGISTRATIONINFOREQUEST._serialized_end=445 - _QUERYCONTRACTREGISTRATIONINFORESPONSE._serialized_start=447 - _QUERYCONTRACTREGISTRATIONINFORESPONSE._serialized_end=544 - _QUERY._serialized_start=547 - _QUERY._serialized_end=1063 + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_start=172 + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_end=197 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_start=199 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_end=275 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=277 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=302 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=304 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=379 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_start=381 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_end=445 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_start=447 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_end=544 + _globals['_QUERY']._serialized_start=547 + _globals['_QUERY']._serialized_end=1063 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py index 5928fcb9..205467f5 100644 --- a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/wasmx/v1/tx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +21,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\"e\n\x18MsgExecuteContractCompat\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x0b\n\x03msg\x18\x03 \x01(\t\x12\r\n\x05\x66unds\x18\x04 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"0\n MsgExecuteContractCompatResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x8d\x01\n\x11MsgUpdateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x11\n\tgas_limit\x18\x03 \x01(\x04\x12\x11\n\tgas_price\x18\x04 \x01(\x04\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1b\n\x19MsgUpdateContractResponse\"L\n\x13MsgActivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgActivateContractResponse\"N\n\x15MsgDeactivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgDeactivateContractResponse\"\x80\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x90\x01\n\x13MsgRegisterContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgRegisterContractResponse2\xba\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponseBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.tx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -47,30 +48,30 @@ _MSGREGISTERCONTRACT.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' _MSGREGISTERCONTRACT._options = None _MSGREGISTERCONTRACT._serialized_options = b'\202\347\260*\006sender' - _MSGEXECUTECONTRACTCOMPAT._serialized_start=219 - _MSGEXECUTECONTRACTCOMPAT._serialized_end=320 - _MSGEXECUTECONTRACTCOMPATRESPONSE._serialized_start=322 - _MSGEXECUTECONTRACTCOMPATRESPONSE._serialized_end=370 - _MSGUPDATECONTRACT._serialized_start=373 - _MSGUPDATECONTRACT._serialized_end=514 - _MSGUPDATECONTRACTRESPONSE._serialized_start=516 - _MSGUPDATECONTRACTRESPONSE._serialized_end=543 - _MSGACTIVATECONTRACT._serialized_start=545 - _MSGACTIVATECONTRACT._serialized_end=621 - _MSGACTIVATECONTRACTRESPONSE._serialized_start=623 - _MSGACTIVATECONTRACTRESPONSE._serialized_end=652 - _MSGDEACTIVATECONTRACT._serialized_start=654 - _MSGDEACTIVATECONTRACT._serialized_end=732 - _MSGDEACTIVATECONTRACTRESPONSE._serialized_start=734 - _MSGDEACTIVATECONTRACTRESPONSE._serialized_end=765 - _MSGUPDATEPARAMS._serialized_start=768 - _MSGUPDATEPARAMS._serialized_end=896 - _MSGUPDATEPARAMSRESPONSE._serialized_start=898 - _MSGUPDATEPARAMSRESPONSE._serialized_end=923 - _MSGREGISTERCONTRACT._serialized_start=926 - _MSGREGISTERCONTRACT._serialized_end=1070 - _MSGREGISTERCONTRACTRESPONSE._serialized_start=1072 - _MSGREGISTERCONTRACTRESPONSE._serialized_end=1101 - _MSG._serialized_start=1104 - _MSG._serialized_end=1802 + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_start=219 + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_end=320 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_start=322 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_end=370 + _globals['_MSGUPDATECONTRACT']._serialized_start=373 + _globals['_MSGUPDATECONTRACT']._serialized_end=514 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_start=516 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_end=543 + _globals['_MSGACTIVATECONTRACT']._serialized_start=545 + _globals['_MSGACTIVATECONTRACT']._serialized_end=621 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_start=623 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_end=652 + _globals['_MSGDEACTIVATECONTRACT']._serialized_start=654 + _globals['_MSGDEACTIVATECONTRACT']._serialized_end=732 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_start=734 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_end=765 + _globals['_MSGUPDATEPARAMS']._serialized_start=768 + _globals['_MSGUPDATEPARAMS']._serialized_end=896 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=898 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=923 + _globals['_MSGREGISTERCONTRACT']._serialized_start=926 + _globals['_MSGREGISTERCONTRACT']._serialized_end=1070 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_start=1072 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_end=1101 + _globals['_MSG']._serialized_start=1104 + _globals['_MSG']._serialized_end=1802 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py index c9aef50d..707f0df4 100644 --- a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: injective/wasmx/v1/wasmx.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a!injective/wasmx/v1/proposal.proto\"\x86\x01\n\x06Params\x12\x1c\n\x14is_execution_enabled\x18\x01 \x01(\x08\x12!\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04\x12\x1e\n\x16max_contract_gas_limit\x18\x03 \x01(\x04\x12\x15\n\rmin_gas_price\x18\x04 \x01(\x04:\x04\xe8\xa0\x1f\x01\"\xde\x01\n\x12RegisteredContract\x12\x11\n\tgas_limit\x18\x01 \x01(\x04\x12\x11\n\tgas_price\x18\x02 \x01(\x04\x12\x15\n\ris_executable\x18\x03 \x01(\x08\x12\x15\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x1d\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x32\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x04\xe8\xa0\x1f\x01\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.wasmx_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.wasmx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -33,8 +34,8 @@ _REGISTEREDCONTRACT.fields_by_name['granter_address']._serialized_options = b'\310\336\037\001' _REGISTEREDCONTRACT._options = None _REGISTEREDCONTRACT._serialized_options = b'\350\240\037\001' - _PARAMS._serialized_start=112 - _PARAMS._serialized_end=246 - _REGISTEREDCONTRACT._serialized_start=249 - _REGISTEREDCONTRACT._serialized_end=471 + _globals['_PARAMS']._serialized_start=112 + _globals['_PARAMS']._serialized_end=246 + _globals['_REGISTEREDCONTRACT']._serialized_start=249 + _globals['_REGISTEREDCONTRACT']._serialized_end=471 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/abci/types_pb2.py b/pyinjective/proto/tendermint/abci/types_pb2.py index 46099b8e..5862c885 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2.py +++ b/pyinjective/proto/tendermint/abci/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/abci/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +21,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btendermint/abci/types.proto\x12\x0ftendermint.abci\x1a\x1dtendermint/crypto/proof.proto\x1a\x1ctendermint/crypto/keys.proto\x1a\x1dtendermint/types/params.proto\x1a tendermint/types/validator.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\xf2\x07\n\x07Request\x12,\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00\x12.\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00\x12,\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00\x12\x37\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00\x12.\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00\x12\x33\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00\x12\x30\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00\x12?\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00\x12?\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00\x12H\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00\x12J\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00\x12\x43\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00\x12\x43\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00\x12\x39\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32\".tendermint.abci.RequestExtendVoteH\x00\x12L\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00\x12?\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00\x42\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\x1e\n\x0bRequestEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0e\n\x0cRequestFlush\"`\n\x0bRequestInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x15\n\rblock_version\x18\x02 \x01(\x04\x12\x13\n\x0bp2p_version\x18\x03 \x01(\x04\x12\x14\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\t\"\x82\x02\n\x10RequestInitChain\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\x12;\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0c\x12\x16\n\x0einitial_height\x18\x06 \x01(\x03\"I\n\x0cRequestQuery\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\r\n\x05prove\x18\x04 \x01(\x08\"H\n\x0eRequestCheckTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxType\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"U\n\x14RequestOfferSnapshot\x12+\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.Snapshot\x12\x10\n\x08\x61pp_hash\x18\x02 \x01(\x0c\"I\n\x18RequestLoadSnapshotChunk\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05\x63hunk\x18\x03 \x01(\r\"I\n\x19RequestApplySnapshotChunk\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x63hunk\x18\x02 \x01(\x0c\x12\x0e\n\x06sender\x18\x03 \x01(\t\"\xb6\x02\n\x16RequestPrepareProposal\x12\x14\n\x0cmax_tx_bytes\x18\x01 \x01(\x03\x12\x0b\n\x03txs\x18\x02 \x03(\x0c\x12\x44\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xa9\x02\n\x16RequestProcessProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12?\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"1\n\x11RequestExtendVote\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x0e\n\x06height\x18\x02 \x01(\x03\"m\n\x1aRequestVerifyVoteExtension\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x16\n\x0evote_extension\x18\x04 \x01(\x0c\"\xa6\x02\n\x14RequestFinalizeBlock\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12>\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xbc\x08\n\x08Response\x12\x37\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00\x12-\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00\x12/\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00\x12-\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00\x12\x38\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00\x12/\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00\x12\x34\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00\x12\x31\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00\x12@\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00\x12@\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00\x12I\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00\x12K\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00\x12\x44\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00\x12\x44\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00\x12:\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00\x12M\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00\x12@\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00\x42\x07\n\x05valueJ\x04\x08\x05\x10\x06J\x04\x08\x08\x10\tJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0c\"\"\n\x11ResponseException\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x1f\n\x0cResponseEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0f\n\rResponseFlush\"z\n\x0cResponseInfo\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x03 \x01(\x04\x12\x19\n\x11last_block_height\x18\x04 \x01(\x03\x12\x1b\n\x13last_block_app_hash\x18\x05 \x01(\x0c\"\x9e\x01\n\x11ResponseInitChain\x12;\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x10\n\x08\x61pp_hash\x18\x03 \x01(\x0c\"\xb6\x01\n\rResponseQuery\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\r\n\x05index\x18\x05 \x01(\x03\x12\x0b\n\x03key\x18\x06 \x01(\x0c\x12\r\n\x05value\x18\x07 \x01(\x0c\x12.\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOps\x12\x0e\n\x06height\x18\t \x01(\x03\x12\x11\n\tcodespace\x18\n \x01(\t\"\x80\x02\n\x0fResponseCheckTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\tJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error\"3\n\x0eResponseCommit\x12\x15\n\rretain_height\x18\x03 \x01(\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"E\n\x15ResponseListSnapshots\x12,\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.Snapshot\"\xb6\x01\n\x15ResponseOfferSnapshot\x12=\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.Result\"^\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x11\n\rREJECT_FORMAT\x10\x04\x12\x11\n\rREJECT_SENDER\x10\x05\"*\n\x19ResponseLoadSnapshotChunk\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c\"\xf2\x01\n\x1aResponseApplySnapshotChunk\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.Result\x12\x16\n\x0erefetch_chunks\x18\x02 \x03(\r\x12\x16\n\x0ereject_senders\x18\x03 \x03(\t\"`\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\t\n\x05RETRY\x10\x03\x12\x12\n\x0eRETRY_SNAPSHOT\x10\x04\x12\x13\n\x0fREJECT_SNAPSHOT\x10\x05\"&\n\x17ResponsePrepareProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\x99\x01\n\x17ResponseProcessProposal\x12G\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatus\"5\n\x0eProposalStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\",\n\x12ResponseExtendVote\x12\x16\n\x0evote_extension\x18\x01 \x01(\x0c\"\x9d\x01\n\x1bResponseVerifyVoteExtension\x12I\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus\"3\n\x0cVerifyStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\"\xa5\x02\n\x15ResponseFinalizeBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x31\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x41\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12\x10\n\x08\x61pp_hash\x18\x05 \x01(\x0c\"K\n\nCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12.\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00\"[\n\x12\x45xtendedCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12\x36\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00\"h\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12Q\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitempty\";\n\x0e\x45ventAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\r\n\x05index\x18\x03 \x01(\x08\"\xd6\x01\n\x0c\x45xecTxResult\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t\"j\n\x08TxResult\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\r\x12\n\n\x02tx\x18\x03 \x01(\x0c\x12\x33\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00\"+\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x03 \x01(\x03\"U\n\x0fValidatorUpdate\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\r\n\x05power\x18\x02 \x01(\x03\"{\n\x08VoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x34\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xb8\x01\n\x10\x45xtendedVoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x16\n\x0evote_extension\x18\x03 \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\x04 \x01(\x0c\x12\x34\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xd2\x01\n\x0bMisbehavior\x12.\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorType\x12\x33\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1a\n\x12total_voting_power\x18\x05 \x01(\x03\"Z\n\x08Snapshot\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c*9\n\x0b\x43heckTxType\x12\x10\n\x03NEW\x10\x00\x1a\x07\x8a\x9d \x03New\x12\x18\n\x07RECHECK\x10\x01\x1a\x0b\x8a\x9d \x07Recheck*K\n\x0fMisbehaviorType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x44UPLICATE_VOTE\x10\x01\x12\x17\n\x13LIGHT_CLIENT_ATTACK\x10\x02\x32\x9d\x0b\n\x04\x41\x42\x43I\x12\x43\n\x04\x45\x63ho\x12\x1c.tendermint.abci.RequestEcho\x1a\x1d.tendermint.abci.ResponseEcho\x12\x46\n\x05\x46lush\x12\x1d.tendermint.abci.RequestFlush\x1a\x1e.tendermint.abci.ResponseFlush\x12\x43\n\x04Info\x12\x1c.tendermint.abci.RequestInfo\x1a\x1d.tendermint.abci.ResponseInfo\x12L\n\x07\x43heckTx\x12\x1f.tendermint.abci.RequestCheckTx\x1a .tendermint.abci.ResponseCheckTx\x12\x46\n\x05Query\x12\x1d.tendermint.abci.RequestQuery\x1a\x1e.tendermint.abci.ResponseQuery\x12I\n\x06\x43ommit\x12\x1e.tendermint.abci.RequestCommit\x1a\x1f.tendermint.abci.ResponseCommit\x12R\n\tInitChain\x12!.tendermint.abci.RequestInitChain\x1a\".tendermint.abci.ResponseInitChain\x12^\n\rListSnapshots\x12%.tendermint.abci.RequestListSnapshots\x1a&.tendermint.abci.ResponseListSnapshots\x12^\n\rOfferSnapshot\x12%.tendermint.abci.RequestOfferSnapshot\x1a&.tendermint.abci.ResponseOfferSnapshot\x12j\n\x11LoadSnapshotChunk\x12).tendermint.abci.RequestLoadSnapshotChunk\x1a*.tendermint.abci.ResponseLoadSnapshotChunk\x12m\n\x12\x41pplySnapshotChunk\x12*.tendermint.abci.RequestApplySnapshotChunk\x1a+.tendermint.abci.ResponseApplySnapshotChunk\x12\x64\n\x0fPrepareProposal\x12\'.tendermint.abci.RequestPrepareProposal\x1a(.tendermint.abci.ResponsePrepareProposal\x12\x64\n\x0fProcessProposal\x12\'.tendermint.abci.RequestProcessProposal\x1a(.tendermint.abci.ResponseProcessProposal\x12U\n\nExtendVote\x12\".tendermint.abci.RequestExtendVote\x1a#.tendermint.abci.ResponseExtendVote\x12p\n\x13VerifyVoteExtension\x12+.tendermint.abci.RequestVerifyVoteExtension\x1a,.tendermint.abci.ResponseVerifyVoteExtension\x12^\n\rFinalizeBlock\x12%.tendermint.abci.RequestFinalizeBlock\x1a&.tendermint.abci.ResponseFinalizeBlockB)Z\'github.com/cometbft/cometbft/abci/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.abci.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.abci.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -81,112 +82,112 @@ _MISBEHAVIOR.fields_by_name['validator']._serialized_options = b'\310\336\037\000' _MISBEHAVIOR.fields_by_name['time']._options = None _MISBEHAVIOR.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _CHECKTXTYPE._serialized_start=7757 - _CHECKTXTYPE._serialized_end=7814 - _MISBEHAVIORTYPE._serialized_start=7816 - _MISBEHAVIORTYPE._serialized_end=7891 - _REQUEST._serialized_start=230 - _REQUEST._serialized_end=1240 - _REQUESTECHO._serialized_start=1242 - _REQUESTECHO._serialized_end=1272 - _REQUESTFLUSH._serialized_start=1274 - _REQUESTFLUSH._serialized_end=1288 - _REQUESTINFO._serialized_start=1290 - _REQUESTINFO._serialized_end=1386 - _REQUESTINITCHAIN._serialized_start=1389 - _REQUESTINITCHAIN._serialized_end=1647 - _REQUESTQUERY._serialized_start=1649 - _REQUESTQUERY._serialized_end=1722 - _REQUESTCHECKTX._serialized_start=1724 - _REQUESTCHECKTX._serialized_end=1796 - _REQUESTCOMMIT._serialized_start=1798 - _REQUESTCOMMIT._serialized_end=1813 - _REQUESTLISTSNAPSHOTS._serialized_start=1815 - _REQUESTLISTSNAPSHOTS._serialized_end=1837 - _REQUESTOFFERSNAPSHOT._serialized_start=1839 - _REQUESTOFFERSNAPSHOT._serialized_end=1924 - _REQUESTLOADSNAPSHOTCHUNK._serialized_start=1926 - _REQUESTLOADSNAPSHOTCHUNK._serialized_end=1999 - _REQUESTAPPLYSNAPSHOTCHUNK._serialized_start=2001 - _REQUESTAPPLYSNAPSHOTCHUNK._serialized_end=2074 - _REQUESTPREPAREPROPOSAL._serialized_start=2077 - _REQUESTPREPAREPROPOSAL._serialized_end=2387 - _REQUESTPROCESSPROPOSAL._serialized_start=2390 - _REQUESTPROCESSPROPOSAL._serialized_end=2687 - _REQUESTEXTENDVOTE._serialized_start=2689 - _REQUESTEXTENDVOTE._serialized_end=2738 - _REQUESTVERIFYVOTEEXTENSION._serialized_start=2740 - _REQUESTVERIFYVOTEEXTENSION._serialized_end=2849 - _REQUESTFINALIZEBLOCK._serialized_start=2852 - _REQUESTFINALIZEBLOCK._serialized_end=3146 - _RESPONSE._serialized_start=3149 - _RESPONSE._serialized_end=4233 - _RESPONSEEXCEPTION._serialized_start=4235 - _RESPONSEEXCEPTION._serialized_end=4269 - _RESPONSEECHO._serialized_start=4271 - _RESPONSEECHO._serialized_end=4302 - _RESPONSEFLUSH._serialized_start=4304 - _RESPONSEFLUSH._serialized_end=4319 - _RESPONSEINFO._serialized_start=4321 - _RESPONSEINFO._serialized_end=4443 - _RESPONSEINITCHAIN._serialized_start=4446 - _RESPONSEINITCHAIN._serialized_end=4604 - _RESPONSEQUERY._serialized_start=4607 - _RESPONSEQUERY._serialized_end=4789 - _RESPONSECHECKTX._serialized_start=4792 - _RESPONSECHECKTX._serialized_end=5048 - _RESPONSECOMMIT._serialized_start=5050 - _RESPONSECOMMIT._serialized_end=5101 - _RESPONSELISTSNAPSHOTS._serialized_start=5103 - _RESPONSELISTSNAPSHOTS._serialized_end=5172 - _RESPONSEOFFERSNAPSHOT._serialized_start=5175 - _RESPONSEOFFERSNAPSHOT._serialized_end=5357 - _RESPONSEOFFERSNAPSHOT_RESULT._serialized_start=5263 - _RESPONSEOFFERSNAPSHOT_RESULT._serialized_end=5357 - _RESPONSELOADSNAPSHOTCHUNK._serialized_start=5359 - _RESPONSELOADSNAPSHOTCHUNK._serialized_end=5401 - _RESPONSEAPPLYSNAPSHOTCHUNK._serialized_start=5404 - _RESPONSEAPPLYSNAPSHOTCHUNK._serialized_end=5646 - _RESPONSEAPPLYSNAPSHOTCHUNK_RESULT._serialized_start=5550 - _RESPONSEAPPLYSNAPSHOTCHUNK_RESULT._serialized_end=5646 - _RESPONSEPREPAREPROPOSAL._serialized_start=5648 - _RESPONSEPREPAREPROPOSAL._serialized_end=5686 - _RESPONSEPROCESSPROPOSAL._serialized_start=5689 - _RESPONSEPROCESSPROPOSAL._serialized_end=5842 - _RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS._serialized_start=5789 - _RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS._serialized_end=5842 - _RESPONSEEXTENDVOTE._serialized_start=5844 - _RESPONSEEXTENDVOTE._serialized_end=5888 - _RESPONSEVERIFYVOTEEXTENSION._serialized_start=5891 - _RESPONSEVERIFYVOTEEXTENSION._serialized_end=6048 - _RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS._serialized_start=5997 - _RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS._serialized_end=6048 - _RESPONSEFINALIZEBLOCK._serialized_start=6051 - _RESPONSEFINALIZEBLOCK._serialized_end=6344 - _COMMITINFO._serialized_start=6346 - _COMMITINFO._serialized_end=6421 - _EXTENDEDCOMMITINFO._serialized_start=6423 - _EXTENDEDCOMMITINFO._serialized_end=6514 - _EVENT._serialized_start=6516 - _EVENT._serialized_end=6620 - _EVENTATTRIBUTE._serialized_start=6622 - _EVENTATTRIBUTE._serialized_end=6681 - _EXECTXRESULT._serialized_start=6684 - _EXECTXRESULT._serialized_end=6898 - _TXRESULT._serialized_start=6900 - _TXRESULT._serialized_end=7006 - _VALIDATOR._serialized_start=7008 - _VALIDATOR._serialized_end=7051 - _VALIDATORUPDATE._serialized_start=7053 - _VALIDATORUPDATE._serialized_end=7138 - _VOTEINFO._serialized_start=7140 - _VOTEINFO._serialized_end=7263 - _EXTENDEDVOTEINFO._serialized_start=7266 - _EXTENDEDVOTEINFO._serialized_end=7450 - _MISBEHAVIOR._serialized_start=7453 - _MISBEHAVIOR._serialized_end=7663 - _SNAPSHOT._serialized_start=7665 - _SNAPSHOT._serialized_end=7755 - _ABCI._serialized_start=7894 - _ABCI._serialized_end=9331 + _globals['_CHECKTXTYPE']._serialized_start=7757 + _globals['_CHECKTXTYPE']._serialized_end=7814 + _globals['_MISBEHAVIORTYPE']._serialized_start=7816 + _globals['_MISBEHAVIORTYPE']._serialized_end=7891 + _globals['_REQUEST']._serialized_start=230 + _globals['_REQUEST']._serialized_end=1240 + _globals['_REQUESTECHO']._serialized_start=1242 + _globals['_REQUESTECHO']._serialized_end=1272 + _globals['_REQUESTFLUSH']._serialized_start=1274 + _globals['_REQUESTFLUSH']._serialized_end=1288 + _globals['_REQUESTINFO']._serialized_start=1290 + _globals['_REQUESTINFO']._serialized_end=1386 + _globals['_REQUESTINITCHAIN']._serialized_start=1389 + _globals['_REQUESTINITCHAIN']._serialized_end=1647 + _globals['_REQUESTQUERY']._serialized_start=1649 + _globals['_REQUESTQUERY']._serialized_end=1722 + _globals['_REQUESTCHECKTX']._serialized_start=1724 + _globals['_REQUESTCHECKTX']._serialized_end=1796 + _globals['_REQUESTCOMMIT']._serialized_start=1798 + _globals['_REQUESTCOMMIT']._serialized_end=1813 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_start=1815 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_end=1837 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_start=1839 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_end=1924 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_start=1926 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_end=1999 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_start=2001 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_end=2074 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_start=2077 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2387 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2390 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=2687 + _globals['_REQUESTEXTENDVOTE']._serialized_start=2689 + _globals['_REQUESTEXTENDVOTE']._serialized_end=2738 + _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_start=2740 + _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_end=2849 + _globals['_REQUESTFINALIZEBLOCK']._serialized_start=2852 + _globals['_REQUESTFINALIZEBLOCK']._serialized_end=3146 + _globals['_RESPONSE']._serialized_start=3149 + _globals['_RESPONSE']._serialized_end=4233 + _globals['_RESPONSEEXCEPTION']._serialized_start=4235 + _globals['_RESPONSEEXCEPTION']._serialized_end=4269 + _globals['_RESPONSEECHO']._serialized_start=4271 + _globals['_RESPONSEECHO']._serialized_end=4302 + _globals['_RESPONSEFLUSH']._serialized_start=4304 + _globals['_RESPONSEFLUSH']._serialized_end=4319 + _globals['_RESPONSEINFO']._serialized_start=4321 + _globals['_RESPONSEINFO']._serialized_end=4443 + _globals['_RESPONSEINITCHAIN']._serialized_start=4446 + _globals['_RESPONSEINITCHAIN']._serialized_end=4604 + _globals['_RESPONSEQUERY']._serialized_start=4607 + _globals['_RESPONSEQUERY']._serialized_end=4789 + _globals['_RESPONSECHECKTX']._serialized_start=4792 + _globals['_RESPONSECHECKTX']._serialized_end=5048 + _globals['_RESPONSECOMMIT']._serialized_start=5050 + _globals['_RESPONSECOMMIT']._serialized_end=5101 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=5103 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=5172 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=5175 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=5357 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=5263 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=5357 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=5359 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=5401 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=5404 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=5646 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=5550 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=5646 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=5648 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=5686 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=5689 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=5842 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=5789 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=5842 + _globals['_RESPONSEEXTENDVOTE']._serialized_start=5844 + _globals['_RESPONSEEXTENDVOTE']._serialized_end=5888 + _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_start=5891 + _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_end=6048 + _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_start=5997 + _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_end=6048 + _globals['_RESPONSEFINALIZEBLOCK']._serialized_start=6051 + _globals['_RESPONSEFINALIZEBLOCK']._serialized_end=6344 + _globals['_COMMITINFO']._serialized_start=6346 + _globals['_COMMITINFO']._serialized_end=6421 + _globals['_EXTENDEDCOMMITINFO']._serialized_start=6423 + _globals['_EXTENDEDCOMMITINFO']._serialized_end=6514 + _globals['_EVENT']._serialized_start=6516 + _globals['_EVENT']._serialized_end=6620 + _globals['_EVENTATTRIBUTE']._serialized_start=6622 + _globals['_EVENTATTRIBUTE']._serialized_end=6681 + _globals['_EXECTXRESULT']._serialized_start=6684 + _globals['_EXECTXRESULT']._serialized_end=6898 + _globals['_TXRESULT']._serialized_start=6900 + _globals['_TXRESULT']._serialized_end=7006 + _globals['_VALIDATOR']._serialized_start=7008 + _globals['_VALIDATOR']._serialized_end=7051 + _globals['_VALIDATORUPDATE']._serialized_start=7053 + _globals['_VALIDATORUPDATE']._serialized_end=7138 + _globals['_VOTEINFO']._serialized_start=7140 + _globals['_VOTEINFO']._serialized_end=7263 + _globals['_EXTENDEDVOTEINFO']._serialized_start=7266 + _globals['_EXTENDEDVOTEINFO']._serialized_end=7450 + _globals['_MISBEHAVIOR']._serialized_start=7453 + _globals['_MISBEHAVIOR']._serialized_end=7663 + _globals['_SNAPSHOT']._serialized_start=7665 + _globals['_SNAPSHOT']._serialized_end=7755 + _globals['_ABCI']._serialized_start=7894 + _globals['_ABCI']._serialized_end=9331 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/blocksync/types_pb2.py b/pyinjective/proto/tendermint/blocksync/types_pb2.py index d622f8de..7211647e 100644 --- a/pyinjective/proto/tendermint/blocksync/types_pb2.py +++ b/pyinjective/proto/tendermint/blocksync/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/blocksync/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +17,23 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/blocksync/types.proto\x12\x14tendermint.blocksync\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"\x1e\n\x0c\x42lockRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"!\n\x0fNoBlockResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\"m\n\rBlockResponse\x12&\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x17.tendermint.types.Block\x12\x34\n\next_commit\x18\x02 \x01(\x0b\x32 .tendermint.types.ExtendedCommit\"\x0f\n\rStatusRequest\".\n\x0eStatusResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61se\x18\x02 \x01(\x03\"\xd0\x02\n\x07Message\x12;\n\rblock_request\x18\x01 \x01(\x0b\x32\".tendermint.blocksync.BlockRequestH\x00\x12\x42\n\x11no_block_response\x18\x02 \x01(\x0b\x32%.tendermint.blocksync.NoBlockResponseH\x00\x12=\n\x0e\x62lock_response\x18\x03 \x01(\x0b\x32#.tendermint.blocksync.BlockResponseH\x00\x12=\n\x0estatus_request\x18\x04 \x01(\x0b\x32#.tendermint.blocksync.StatusRequestH\x00\x12?\n\x0fstatus_response\x18\x05 \x01(\x0b\x32$.tendermint.blocksync.StatusResponseH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/blocksyncb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.blocksync.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.blocksync.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/blocksync' - _BLOCKREQUEST._serialized_start=118 - _BLOCKREQUEST._serialized_end=148 - _NOBLOCKRESPONSE._serialized_start=150 - _NOBLOCKRESPONSE._serialized_end=183 - _BLOCKRESPONSE._serialized_start=185 - _BLOCKRESPONSE._serialized_end=294 - _STATUSREQUEST._serialized_start=296 - _STATUSREQUEST._serialized_end=311 - _STATUSRESPONSE._serialized_start=313 - _STATUSRESPONSE._serialized_end=359 - _MESSAGE._serialized_start=362 - _MESSAGE._serialized_end=698 + _globals['_BLOCKREQUEST']._serialized_start=118 + _globals['_BLOCKREQUEST']._serialized_end=148 + _globals['_NOBLOCKRESPONSE']._serialized_start=150 + _globals['_NOBLOCKRESPONSE']._serialized_end=183 + _globals['_BLOCKRESPONSE']._serialized_start=185 + _globals['_BLOCKRESPONSE']._serialized_end=294 + _globals['_STATUSREQUEST']._serialized_start=296 + _globals['_STATUSREQUEST']._serialized_end=311 + _globals['_STATUSRESPONSE']._serialized_start=313 + _globals['_STATUSRESPONSE']._serialized_end=359 + _globals['_MESSAGE']._serialized_start=362 + _globals['_MESSAGE']._serialized_end=698 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/consensus/types_pb2.py b/pyinjective/proto/tendermint/consensus/types_pb2.py index 4e380c56..8cf67304 100644 --- a/pyinjective/proto/tendermint/consensus/types_pb2.py +++ b/pyinjective/proto/tendermint/consensus/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/consensus/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,10 +16,11 @@ from tendermint.libs.bits import types_pb2 as tendermint_dot_libs_dot_bits_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/consensus/types.proto\x12\x14tendermint.consensus\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/libs/bits/types.proto\"x\n\x0cNewRoundStep\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\r\x12 \n\x18seconds_since_start_time\x18\x04 \x01(\x03\x12\x19\n\x11last_commit_round\x18\x05 \x01(\x05\"\xbc\x01\n\rNewValidBlock\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x44\n\x15\x62lock_part_set_header\x18\x03 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\x12\x33\n\x0b\x62lock_parts\x18\x04 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArray\x12\x11\n\tis_commit\x18\x05 \x01(\x08\">\n\x08Proposal\x12\x32\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00\"u\n\x0bProposalPOL\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x1a\n\x12proposal_pol_round\x18\x02 \x01(\x05\x12:\n\x0cproposal_pol\x18\x03 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"V\n\tBlockPart\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12*\n\x04part\x18\x03 \x01(\x0b\x32\x16.tendermint.types.PartB\x04\xc8\xde\x1f\x00\",\n\x04Vote\x12$\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\"f\n\x07HasVote\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\r\n\x05index\x18\x04 \x01(\x05\"\x9a\x01\n\x0cVoteSetMaj23\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\"\xce\x01\n\x0bVoteSetBits\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\x12\x33\n\x05votes\x18\x05 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"\x8d\x04\n\x07Message\x12<\n\x0enew_round_step\x18\x01 \x01(\x0b\x32\".tendermint.consensus.NewRoundStepH\x00\x12>\n\x0fnew_valid_block\x18\x02 \x01(\x0b\x32#.tendermint.consensus.NewValidBlockH\x00\x12\x32\n\x08proposal\x18\x03 \x01(\x0b\x32\x1e.tendermint.consensus.ProposalH\x00\x12\x39\n\x0cproposal_pol\x18\x04 \x01(\x0b\x32!.tendermint.consensus.ProposalPOLH\x00\x12\x35\n\nblock_part\x18\x05 \x01(\x0b\x32\x1f.tendermint.consensus.BlockPartH\x00\x12*\n\x04vote\x18\x06 \x01(\x0b\x32\x1a.tendermint.consensus.VoteH\x00\x12\x31\n\x08has_vote\x18\x07 \x01(\x0b\x32\x1d.tendermint.consensus.HasVoteH\x00\x12<\n\x0evote_set_maj23\x18\x08 \x01(\x0b\x32\".tendermint.consensus.VoteSetMaj23H\x00\x12:\n\rvote_set_bits\x18\t \x01(\x0b\x32!.tendermint.consensus.VoteSetBitsH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/consensusb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/consensus/types.proto\x12\x14tendermint.consensus\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/libs/bits/types.proto\"x\n\x0cNewRoundStep\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\r\x12 \n\x18seconds_since_start_time\x18\x04 \x01(\x03\x12\x19\n\x11last_commit_round\x18\x05 \x01(\x05\"\xbc\x01\n\rNewValidBlock\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x44\n\x15\x62lock_part_set_header\x18\x03 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\x12\x33\n\x0b\x62lock_parts\x18\x04 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArray\x12\x11\n\tis_commit\x18\x05 \x01(\x08\">\n\x08Proposal\x12\x32\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00\"u\n\x0bProposalPOL\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x1a\n\x12proposal_pol_round\x18\x02 \x01(\x05\x12:\n\x0cproposal_pol\x18\x03 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"V\n\tBlockPart\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12*\n\x04part\x18\x03 \x01(\x0b\x32\x16.tendermint.types.PartB\x04\xc8\xde\x1f\x00\",\n\x04Vote\x12$\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\"f\n\x07HasVote\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\r\n\x05index\x18\x04 \x01(\x05\"D\n\x14HasProposalBlockPart\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\r\n\x05index\x18\x03 \x01(\x05\"\x9a\x01\n\x0cVoteSetMaj23\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\"\xce\x01\n\x0bVoteSetBits\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x33\n\x05votes\x18\x05 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"\xdc\x04\n\x07Message\x12<\n\x0enew_round_step\x18\x01 \x01(\x0b\x32\".tendermint.consensus.NewRoundStepH\x00\x12>\n\x0fnew_valid_block\x18\x02 \x01(\x0b\x32#.tendermint.consensus.NewValidBlockH\x00\x12\x32\n\x08proposal\x18\x03 \x01(\x0b\x32\x1e.tendermint.consensus.ProposalH\x00\x12\x39\n\x0cproposal_pol\x18\x04 \x01(\x0b\x32!.tendermint.consensus.ProposalPOLH\x00\x12\x35\n\nblock_part\x18\x05 \x01(\x0b\x32\x1f.tendermint.consensus.BlockPartH\x00\x12*\n\x04vote\x18\x06 \x01(\x0b\x32\x1a.tendermint.consensus.VoteH\x00\x12\x31\n\x08has_vote\x18\x07 \x01(\x0b\x32\x1d.tendermint.consensus.HasVoteH\x00\x12<\n\x0evote_set_maj23\x18\x08 \x01(\x0b\x32\".tendermint.consensus.VoteSetMaj23H\x00\x12:\n\rvote_set_bits\x18\t \x01(\x0b\x32!.tendermint.consensus.VoteSetBitsH\x00\x12M\n\x17has_proposal_block_part\x18\n \x01(\x0b\x32*.tendermint.consensus.HasProposalBlockPartH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/consensusb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.consensus.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.consensus.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -33,29 +34,31 @@ _BLOCKPART.fields_by_name['part']._options = None _BLOCKPART.fields_by_name['part']._serialized_options = b'\310\336\037\000' _VOTESETMAJ23.fields_by_name['block_id']._options = None - _VOTESETMAJ23.fields_by_name['block_id']._serialized_options = b'\342\336\037\007BlockID\310\336\037\000' + _VOTESETMAJ23.fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' _VOTESETBITS.fields_by_name['block_id']._options = None - _VOTESETBITS.fields_by_name['block_id']._serialized_options = b'\342\336\037\007BlockID\310\336\037\000' + _VOTESETBITS.fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' _VOTESETBITS.fields_by_name['votes']._options = None _VOTESETBITS.fields_by_name['votes']._serialized_options = b'\310\336\037\000' - _NEWROUNDSTEP._serialized_start=144 - _NEWROUNDSTEP._serialized_end=264 - _NEWVALIDBLOCK._serialized_start=267 - _NEWVALIDBLOCK._serialized_end=455 - _PROPOSAL._serialized_start=457 - _PROPOSAL._serialized_end=519 - _PROPOSALPOL._serialized_start=521 - _PROPOSALPOL._serialized_end=638 - _BLOCKPART._serialized_start=640 - _BLOCKPART._serialized_end=726 - _VOTE._serialized_start=728 - _VOTE._serialized_end=772 - _HASVOTE._serialized_start=774 - _HASVOTE._serialized_end=876 - _VOTESETMAJ23._serialized_start=879 - _VOTESETMAJ23._serialized_end=1033 - _VOTESETBITS._serialized_start=1036 - _VOTESETBITS._serialized_end=1242 - _MESSAGE._serialized_start=1245 - _MESSAGE._serialized_end=1770 + _globals['_NEWROUNDSTEP']._serialized_start=144 + _globals['_NEWROUNDSTEP']._serialized_end=264 + _globals['_NEWVALIDBLOCK']._serialized_start=267 + _globals['_NEWVALIDBLOCK']._serialized_end=455 + _globals['_PROPOSAL']._serialized_start=457 + _globals['_PROPOSAL']._serialized_end=519 + _globals['_PROPOSALPOL']._serialized_start=521 + _globals['_PROPOSALPOL']._serialized_end=638 + _globals['_BLOCKPART']._serialized_start=640 + _globals['_BLOCKPART']._serialized_end=726 + _globals['_VOTE']._serialized_start=728 + _globals['_VOTE']._serialized_end=772 + _globals['_HASVOTE']._serialized_start=774 + _globals['_HASVOTE']._serialized_end=876 + _globals['_HASPROPOSALBLOCKPART']._serialized_start=878 + _globals['_HASPROPOSALBLOCKPART']._serialized_end=946 + _globals['_VOTESETMAJ23']._serialized_start=949 + _globals['_VOTESETMAJ23']._serialized_end=1103 + _globals['_VOTESETBITS']._serialized_start=1106 + _globals['_VOTESETBITS']._serialized_end=1312 + _globals['_MESSAGE']._serialized_start=1315 + _globals['_MESSAGE']._serialized_end=1919 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/consensus/wal_pb2.py b/pyinjective/proto/tendermint/consensus/wal_pb2.py index 7ea70775..a0ac7639 100644 --- a/pyinjective/proto/tendermint/consensus/wal_pb2.py +++ b/pyinjective/proto/tendermint/consensus/wal_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/consensus/wal.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +20,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/consensus/wal.proto\x12\x14tendermint.consensus\x1a\x14gogoproto/gogo.proto\x1a tendermint/consensus/types.proto\x1a\x1dtendermint/types/events.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"X\n\x07MsgInfo\x12\x30\n\x03msg\x18\x01 \x01(\x0b\x32\x1d.tendermint.consensus.MessageB\x04\xc8\xde\x1f\x00\x12\x1b\n\x07peer_id\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06PeerID\"q\n\x0bTimeoutInfo\x12\x35\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x0c\n\x04step\x18\x04 \x01(\r\"\x1b\n\tEndHeight\x12\x0e\n\x06height\x18\x01 \x01(\x03\"\x81\x02\n\nWALMessage\x12G\n\x16\x65vent_data_round_state\x18\x01 \x01(\x0b\x32%.tendermint.types.EventDataRoundStateH\x00\x12\x31\n\x08msg_info\x18\x02 \x01(\x0b\x32\x1d.tendermint.consensus.MsgInfoH\x00\x12\x39\n\x0ctimeout_info\x18\x03 \x01(\x0b\x32!.tendermint.consensus.TimeoutInfoH\x00\x12\x35\n\nend_height\x18\x04 \x01(\x0b\x32\x1f.tendermint.consensus.EndHeightH\x00\x42\x05\n\x03sum\"t\n\x0fTimedWALMessage\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12-\n\x03msg\x18\x02 \x01(\x0b\x32 .tendermint.consensus.WALMessageB9Z7github.com/cometbft/cometbft/proto/tendermint/consensusb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.consensus.wal_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.consensus.wal_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -34,14 +35,14 @@ _TIMEOUTINFO.fields_by_name['duration']._serialized_options = b'\310\336\037\000\230\337\037\001' _TIMEDWALMESSAGE.fields_by_name['time']._options = None _TIMEDWALMESSAGE.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _MSGINFO._serialized_start=208 - _MSGINFO._serialized_end=296 - _TIMEOUTINFO._serialized_start=298 - _TIMEOUTINFO._serialized_end=411 - _ENDHEIGHT._serialized_start=413 - _ENDHEIGHT._serialized_end=440 - _WALMESSAGE._serialized_start=443 - _WALMESSAGE._serialized_end=700 - _TIMEDWALMESSAGE._serialized_start=702 - _TIMEDWALMESSAGE._serialized_end=818 + _globals['_MSGINFO']._serialized_start=208 + _globals['_MSGINFO']._serialized_end=296 + _globals['_TIMEOUTINFO']._serialized_start=298 + _globals['_TIMEOUTINFO']._serialized_end=411 + _globals['_ENDHEIGHT']._serialized_start=413 + _globals['_ENDHEIGHT']._serialized_end=440 + _globals['_WALMESSAGE']._serialized_start=443 + _globals['_WALMESSAGE']._serialized_end=700 + _globals['_TIMEDWALMESSAGE']._serialized_start=702 + _globals['_TIMEDWALMESSAGE']._serialized_end=818 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/crypto/keys_pb2.py b/pyinjective/proto/tendermint/crypto/keys_pb2.py index 4b161781..e907ab60 100644 --- a/pyinjective/proto/tendermint/crypto/keys_pb2.py +++ b/pyinjective/proto/tendermint/crypto/keys_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/crypto/keys.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,16 +14,17 @@ from 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\"D\n\tPublicKey\x12\x11\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00\x12\x13\n\tsecp256k1\x18\x02 \x01(\x0cH\x00:\x08\xe8\xa1\x1f\x01\xe8\xa0\x1f\x01\x42\x05\n\x03sumB6Z4github.com/cometbft/cometbft/proto/tendermint/cryptob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"D\n\tPublicKey\x12\x11\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00\x12\x13\n\tsecp256k1\x18\x02 \x01(\x0cH\x00:\x08\xe8\xa0\x1f\x01\xe8\xa1\x1f\x01\x42\x05\n\x03sumB6Z4github.com/cometbft/cometbft/proto/tendermint/cryptob\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.keys_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.keys_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z4github.com/cometbft/cometbft/proto/tendermint/crypto' _PUBLICKEY._options = None - _PUBLICKEY._serialized_options = b'\350\241\037\001\350\240\037\001' - _PUBLICKEY._serialized_start=73 - _PUBLICKEY._serialized_end=141 + _PUBLICKEY._serialized_options = b'\350\240\037\001\350\241\037\001' + _globals['_PUBLICKEY']._serialized_start=73 + _globals['_PUBLICKEY']._serialized_end=141 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/crypto/proof_pb2.py b/pyinjective/proto/tendermint/crypto/proof_pb2.py index 9f7320f2..6af507f6 100644 --- a/pyinjective/proto/tendermint/crypto/proof_pb2.py +++ b/pyinjective/proto/tendermint/crypto/proof_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/crypto/proof.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,23 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/crypto/proof.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"G\n\x05Proof\x12\r\n\x05total\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\x03\x12\x11\n\tleaf_hash\x18\x03 \x01(\x0c\x12\r\n\x05\x61unts\x18\x04 \x03(\x0c\"?\n\x07ValueOp\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\'\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.Proof\"6\n\x08\x44ominoOp\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05input\x18\x02 \x01(\t\x12\x0e\n\x06output\x18\x03 \x01(\t\"2\n\x07ProofOp\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"9\n\x08ProofOps\x12-\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00\x42\x36Z4github.com/cometbft/cometbft/proto/tendermint/cryptob\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.proof_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.proof_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z4github.com/cometbft/cometbft/proto/tendermint/crypto' _PROOFOPS.fields_by_name['ops']._options = None _PROOFOPS.fields_by_name['ops']._serialized_options = b'\310\336\037\000' - _PROOF._serialized_start=74 - _PROOF._serialized_end=145 - _VALUEOP._serialized_start=147 - _VALUEOP._serialized_end=210 - _DOMINOOP._serialized_start=212 - _DOMINOOP._serialized_end=266 - _PROOFOP._serialized_start=268 - _PROOFOP._serialized_end=318 - _PROOFOPS._serialized_start=320 - _PROOFOPS._serialized_end=377 + _globals['_PROOF']._serialized_start=74 + _globals['_PROOF']._serialized_end=145 + _globals['_VALUEOP']._serialized_start=147 + _globals['_VALUEOP']._serialized_end=210 + _globals['_DOMINOOP']._serialized_start=212 + _globals['_DOMINOOP']._serialized_end=266 + _globals['_PROOFOP']._serialized_start=268 + _globals['_PROOFOP']._serialized_end=318 + _globals['_PROOFOPS']._serialized_start=320 + _globals['_PROOFOPS']._serialized_end=377 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/libs/bits/types_pb2.py b/pyinjective/proto/tendermint/libs/bits/types_pb2.py index 7c47a7bf..55997c9c 100644 --- a/pyinjective/proto/tendermint/libs/bits/types_pb2.py +++ b/pyinjective/proto/tendermint/libs/bits/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/libs/bits/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,13 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/libs/bits/types.proto\x12\x14tendermint.libs.bits\"\'\n\x08\x42itArray\x12\x0c\n\x04\x62its\x18\x01 \x01(\x03\x12\r\n\x05\x65lems\x18\x02 \x03(\x04\x42\x39Z7github.com/cometbft/cometbft/proto/tendermint/libs/bitsb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.libs.bits.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.libs.bits.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits' - _BITARRAY._serialized_start=58 - _BITARRAY._serialized_end=97 + _globals['_BITARRAY']._serialized_start=58 + _globals['_BITARRAY']._serialized_end=97 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/mempool/types_pb2.py b/pyinjective/proto/tendermint/mempool/types_pb2.py index 2a2a6655..35623379 100644 --- a/pyinjective/proto/tendermint/mempool/types_pb2.py +++ b/pyinjective/proto/tendermint/mempool/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/mempool/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,15 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/mempool/types.proto\x12\x12tendermint.mempool\"\x12\n\x03Txs\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"8\n\x07Message\x12&\n\x03txs\x18\x01 \x01(\x0b\x32\x17.tendermint.mempool.TxsH\x00\x42\x05\n\x03sumB7Z5github.com/cometbft/cometbft/proto/tendermint/mempoolb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.mempool.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.mempool.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/mempool' - _TXS._serialized_start=54 - _TXS._serialized_end=72 - _MESSAGE._serialized_start=74 - _MESSAGE._serialized_end=130 + _globals['_TXS']._serialized_start=54 + _globals['_TXS']._serialized_end=72 + _globals['_MESSAGE']._serialized_start=74 + _globals['_MESSAGE']._serialized_end=130 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/p2p/conn_pb2.py b/pyinjective/proto/tendermint/p2p/conn_pb2.py index f6ede4ce..b40a79f5 100644 --- a/pyinjective/proto/tendermint/p2p/conn_pb2.py +++ b/pyinjective/proto/tendermint/p2p/conn_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/p2p/conn.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19tendermint/p2p/conn.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\x0c\n\nPacketPing\"\x0c\n\nPacketPong\"R\n\tPacketMsg\x12!\n\nchannel_id\x18\x01 \x01(\x05\x42\r\xe2\xde\x1f\tChannelID\x12\x14\n\x03\x65of\x18\x02 \x01(\x08\x42\x07\xe2\xde\x1f\x03\x45OF\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\xa6\x01\n\x06Packet\x12\x31\n\x0bpacket_ping\x18\x01 \x01(\x0b\x32\x1a.tendermint.p2p.PacketPingH\x00\x12\x31\n\x0bpacket_pong\x18\x02 \x01(\x0b\x32\x1a.tendermint.p2p.PacketPongH\x00\x12/\n\npacket_msg\x18\x03 \x01(\x0b\x32\x19.tendermint.p2p.PacketMsgH\x00\x42\x05\n\x03sum\"R\n\x0e\x41uthSigMessage\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x0b\n\x03sig\x18\x02 \x01(\x0c\x42\x33Z1github.com/cometbft/cometbft/proto/tendermint/p2pb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.conn_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.conn_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -29,14 +30,14 @@ _PACKETMSG.fields_by_name['eof']._serialized_options = b'\342\336\037\003EOF' _AUTHSIGMESSAGE.fields_by_name['pub_key']._options = None _AUTHSIGMESSAGE.fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' - _PACKETPING._serialized_start=97 - _PACKETPING._serialized_end=109 - _PACKETPONG._serialized_start=111 - _PACKETPONG._serialized_end=123 - _PACKETMSG._serialized_start=125 - _PACKETMSG._serialized_end=207 - _PACKET._serialized_start=210 - _PACKET._serialized_end=376 - _AUTHSIGMESSAGE._serialized_start=378 - _AUTHSIGMESSAGE._serialized_end=460 + _globals['_PACKETPING']._serialized_start=97 + _globals['_PACKETPING']._serialized_end=109 + _globals['_PACKETPONG']._serialized_start=111 + _globals['_PACKETPONG']._serialized_end=123 + _globals['_PACKETMSG']._serialized_start=125 + _globals['_PACKETMSG']._serialized_end=207 + _globals['_PACKET']._serialized_start=210 + _globals['_PACKET']._serialized_end=376 + _globals['_AUTHSIGMESSAGE']._serialized_start=378 + _globals['_AUTHSIGMESSAGE']._serialized_end=460 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/p2p/pex_pb2.py b/pyinjective/proto/tendermint/p2p/pex_pb2.py index 76bfae5c..89e904e8 100644 --- a/pyinjective/proto/tendermint/p2p/pex_pb2.py +++ b/pyinjective/proto/tendermint/p2p/pex_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/p2p/pex.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +17,19 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18tendermint/p2p/pex.proto\x12\x0etendermint.p2p\x1a\x1atendermint/p2p/types.proto\x1a\x14gogoproto/gogo.proto\"\x0c\n\nPexRequest\";\n\x08PexAddrs\x12/\n\x05\x61\x64\x64rs\x18\x01 \x03(\x0b\x32\x1a.tendermint.p2p.NetAddressB\x04\xc8\xde\x1f\x00\"r\n\x07Message\x12\x31\n\x0bpex_request\x18\x01 \x01(\x0b\x32\x1a.tendermint.p2p.PexRequestH\x00\x12-\n\tpex_addrs\x18\x02 \x01(\x0b\x32\x18.tendermint.p2p.PexAddrsH\x00\x42\x05\n\x03sumB3Z1github.com/cometbft/cometbft/proto/tendermint/p2pb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.pex_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.pex_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z1github.com/cometbft/cometbft/proto/tendermint/p2p' _PEXADDRS.fields_by_name['addrs']._options = None _PEXADDRS.fields_by_name['addrs']._serialized_options = b'\310\336\037\000' - _PEXREQUEST._serialized_start=94 - _PEXREQUEST._serialized_end=106 - _PEXADDRS._serialized_start=108 - _PEXADDRS._serialized_end=167 - _MESSAGE._serialized_start=169 - _MESSAGE._serialized_end=283 + _globals['_PEXREQUEST']._serialized_start=94 + _globals['_PEXREQUEST']._serialized_end=106 + _globals['_PEXADDRS']._serialized_start=108 + _globals['_PEXADDRS']._serialized_end=167 + _globals['_MESSAGE']._serialized_start=169 + _globals['_MESSAGE']._serialized_end=283 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/p2p/types_pb2.py b/pyinjective/proto/tendermint/p2p/types_pb2.py index 66629262..bceb649b 100644 --- a/pyinjective/proto/tendermint/p2p/types_pb2.py +++ b/pyinjective/proto/tendermint/p2p/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/p2p/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +16,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1atendermint/p2p/types.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto\"B\n\nNetAddress\x12\x12\n\x02id\x18\x01 \x01(\tB\x06\xe2\xde\x1f\x02ID\x12\x12\n\x02ip\x18\x02 \x01(\tB\x06\xe2\xde\x1f\x02IP\x12\x0c\n\x04port\x18\x03 \x01(\r\"C\n\x0fProtocolVersion\x12\x14\n\x03p2p\x18\x01 \x01(\x04\x42\x07\xe2\xde\x1f\x03P2P\x12\r\n\x05\x62lock\x18\x02 \x01(\x04\x12\x0b\n\x03\x61pp\x18\x03 \x01(\x04\"\x93\x02\n\x0f\x44\x65\x66\x61ultNodeInfo\x12?\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.ProtocolVersionB\x04\xc8\xde\x1f\x00\x12*\n\x0f\x64\x65\x66\x61ult_node_id\x18\x02 \x01(\tB\x11\xe2\xde\x1f\rDefaultNodeID\x12\x13\n\x0blisten_addr\x18\x03 \x01(\t\x12\x0f\n\x07network\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x10\n\x08\x63hannels\x18\x06 \x01(\x0c\x12\x0f\n\x07moniker\x18\x07 \x01(\t\x12\x39\n\x05other\x18\x08 \x01(\x0b\x32$.tendermint.p2p.DefaultNodeInfoOtherB\x04\xc8\xde\x1f\x00\"M\n\x14\x44\x65\x66\x61ultNodeInfoOther\x12\x10\n\x08tx_index\x18\x01 \x01(\t\x12#\n\x0brpc_address\x18\x02 \x01(\tB\x0e\xe2\xde\x1f\nRPCAddressB3Z1github.com/cometbft/cometbft/proto/tendermint/p2pb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -36,12 +37,12 @@ _DEFAULTNODEINFO.fields_by_name['other']._serialized_options = b'\310\336\037\000' _DEFAULTNODEINFOOTHER.fields_by_name['rpc_address']._options = None _DEFAULTNODEINFOOTHER.fields_by_name['rpc_address']._serialized_options = b'\342\336\037\nRPCAddress' - _NETADDRESS._serialized_start=68 - _NETADDRESS._serialized_end=134 - _PROTOCOLVERSION._serialized_start=136 - _PROTOCOLVERSION._serialized_end=203 - _DEFAULTNODEINFO._serialized_start=206 - _DEFAULTNODEINFO._serialized_end=481 - _DEFAULTNODEINFOOTHER._serialized_start=483 - _DEFAULTNODEINFOOTHER._serialized_end=560 + _globals['_NETADDRESS']._serialized_start=68 + _globals['_NETADDRESS']._serialized_end=134 + _globals['_PROTOCOLVERSION']._serialized_start=136 + _globals['_PROTOCOLVERSION']._serialized_end=203 + _globals['_DEFAULTNODEINFO']._serialized_start=206 + _globals['_DEFAULTNODEINFO']._serialized_end=481 + _globals['_DEFAULTNODEINFOOTHER']._serialized_start=483 + _globals['_DEFAULTNODEINFOOTHER']._serialized_end=560 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/privval/types_pb2.py b/pyinjective/proto/tendermint/privval/types_pb2.py index 219c1ba0..d90a31c4 100644 --- a/pyinjective/proto/tendermint/privval/types_pb2.py +++ b/pyinjective/proto/tendermint/privval/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/privval/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +18,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/privval/types.proto\x12\x12tendermint.privval\x1a\x1ctendermint/crypto/keys.proto\x1a\x1ctendermint/types/types.proto\x1a\x14gogoproto/gogo.proto\"6\n\x11RemoteSignerError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"!\n\rPubKeyRequest\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\"{\n\x0ePubKeyResponse\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x34\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerError\"I\n\x0fSignVoteRequest\x12$\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\"v\n\x12SignedVoteResponse\x12*\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteB\x04\xc8\xde\x1f\x00\x12\x34\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerError\"U\n\x13SignProposalRequest\x12,\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.Proposal\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\"\x82\x01\n\x16SignedProposalResponse\x12\x32\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00\x12\x34\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerError\"\r\n\x0bPingRequest\"\x0e\n\x0cPingResponse\"\xa6\x04\n\x07Message\x12<\n\x0fpub_key_request\x18\x01 \x01(\x0b\x32!.tendermint.privval.PubKeyRequestH\x00\x12>\n\x10pub_key_response\x18\x02 \x01(\x0b\x32\".tendermint.privval.PubKeyResponseH\x00\x12@\n\x11sign_vote_request\x18\x03 \x01(\x0b\x32#.tendermint.privval.SignVoteRequestH\x00\x12\x46\n\x14signed_vote_response\x18\x04 \x01(\x0b\x32&.tendermint.privval.SignedVoteResponseH\x00\x12H\n\x15sign_proposal_request\x18\x05 \x01(\x0b\x32\'.tendermint.privval.SignProposalRequestH\x00\x12N\n\x18signed_proposal_response\x18\x06 \x01(\x0b\x32*.tendermint.privval.SignedProposalResponseH\x00\x12\x37\n\x0cping_request\x18\x07 \x01(\x0b\x32\x1f.tendermint.privval.PingRequestH\x00\x12\x39\n\rping_response\x18\x08 \x01(\x0b\x32 .tendermint.privval.PingResponseH\x00\x42\x05\n\x03sum*\xa8\x01\n\x06\x45rrors\x12\x12\n\x0e\x45RRORS_UNKNOWN\x10\x00\x12\x1e\n\x1a\x45RRORS_UNEXPECTED_RESPONSE\x10\x01\x12\x18\n\x14\x45RRORS_NO_CONNECTION\x10\x02\x12\x1d\n\x19\x45RRORS_CONNECTION_TIMEOUT\x10\x03\x12\x17\n\x13\x45RRORS_READ_TIMEOUT\x10\x04\x12\x18\n\x14\x45RRORS_WRITE_TIMEOUT\x10\x05\x42\x37Z5github.com/cometbft/cometbft/proto/tendermint/privvalb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.privval.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.privval.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -30,26 +31,26 @@ _SIGNEDVOTERESPONSE.fields_by_name['vote']._serialized_options = b'\310\336\037\000' _SIGNEDPROPOSALRESPONSE.fields_by_name['proposal']._options = None _SIGNEDPROPOSALRESPONSE.fields_by_name['proposal']._serialized_options = b'\310\336\037\000' - _ERRORS._serialized_start=1352 - _ERRORS._serialized_end=1520 - _REMOTESIGNERERROR._serialized_start=136 - _REMOTESIGNERERROR._serialized_end=190 - _PUBKEYREQUEST._serialized_start=192 - _PUBKEYREQUEST._serialized_end=225 - _PUBKEYRESPONSE._serialized_start=227 - _PUBKEYRESPONSE._serialized_end=350 - _SIGNVOTEREQUEST._serialized_start=352 - _SIGNVOTEREQUEST._serialized_end=425 - _SIGNEDVOTERESPONSE._serialized_start=427 - _SIGNEDVOTERESPONSE._serialized_end=545 - _SIGNPROPOSALREQUEST._serialized_start=547 - _SIGNPROPOSALREQUEST._serialized_end=632 - _SIGNEDPROPOSALRESPONSE._serialized_start=635 - _SIGNEDPROPOSALRESPONSE._serialized_end=765 - _PINGREQUEST._serialized_start=767 - _PINGREQUEST._serialized_end=780 - _PINGRESPONSE._serialized_start=782 - _PINGRESPONSE._serialized_end=796 - _MESSAGE._serialized_start=799 - _MESSAGE._serialized_end=1349 + _globals['_ERRORS']._serialized_start=1352 + _globals['_ERRORS']._serialized_end=1520 + _globals['_REMOTESIGNERERROR']._serialized_start=136 + _globals['_REMOTESIGNERERROR']._serialized_end=190 + _globals['_PUBKEYREQUEST']._serialized_start=192 + _globals['_PUBKEYREQUEST']._serialized_end=225 + _globals['_PUBKEYRESPONSE']._serialized_start=227 + _globals['_PUBKEYRESPONSE']._serialized_end=350 + _globals['_SIGNVOTEREQUEST']._serialized_start=352 + _globals['_SIGNVOTEREQUEST']._serialized_end=425 + _globals['_SIGNEDVOTERESPONSE']._serialized_start=427 + _globals['_SIGNEDVOTERESPONSE']._serialized_end=545 + _globals['_SIGNPROPOSALREQUEST']._serialized_start=547 + _globals['_SIGNPROPOSALREQUEST']._serialized_end=632 + _globals['_SIGNEDPROPOSALRESPONSE']._serialized_start=635 + _globals['_SIGNEDPROPOSALRESPONSE']._serialized_end=765 + _globals['_PINGREQUEST']._serialized_start=767 + _globals['_PINGREQUEST']._serialized_end=780 + _globals['_PINGRESPONSE']._serialized_start=782 + _globals['_PINGRESPONSE']._serialized_end=796 + _globals['_MESSAGE']._serialized_start=799 + _globals['_MESSAGE']._serialized_end=1349 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/state/types_pb2.py b/pyinjective/proto/tendermint/state/types_pb2.py index 0d69a1f7..dcb7fd4e 100644 --- a/pyinjective/proto/tendermint/state/types_pb2.py +++ b/pyinjective/proto/tendermint/state/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/state/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +22,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/state/types.proto\x12\x10tendermint.state\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\x1a\x1dtendermint/types/params.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbb\x01\n\x13LegacyABCIResponses\x12\x32\n\x0b\x64\x65liver_txs\x18\x01 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x35\n\tend_block\x18\x02 \x01(\x0b\x32\".tendermint.state.ResponseEndBlock\x12\x39\n\x0b\x62\x65gin_block\x18\x03 \x01(\x0b\x32$.tendermint.state.ResponseBeginBlock\"V\n\x12ResponseBeginBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"\xdb\x01\n\x10ResponseEndBlock\x12\x41\n\x11validator_updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x02 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12@\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"d\n\x0eValidatorsInfo\x12\x35\n\rvalidator_set\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"u\n\x13\x43onsensusParamsInfo\x12\x41\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"\xb2\x01\n\x11\x41\x42\x43IResponsesInfo\x12\x44\n\x15legacy_abci_responses\x18\x01 \x01(\x0b\x32%.tendermint.state.LegacyABCIResponses\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12G\n\x17response_finalize_block\x18\x03 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlock\"S\n\x07Version\x12\x36\n\tconsensus\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x10\n\x08software\x18\x02 \x01(\t\"\xfd\x04\n\x05State\x12\x30\n\x07version\x18\x01 \x01(\x0b\x32\x19.tendermint.state.VersionB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x16\n\x0einitial_height\x18\x0e \x01(\x03\x12\x19\n\x11last_block_height\x18\x03 \x01(\x03\x12\x45\n\rlast_block_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x13\xc8\xde\x1f\x00\xe2\xde\x1f\x0bLastBlockID\x12=\n\x0flast_block_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x37\n\x0fnext_validators\x18\x06 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x32\n\nvalidators\x18\x07 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x37\n\x0flast_validators\x18\x08 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12&\n\x1elast_height_validators_changed\x18\t \x01(\x03\x12\x41\n\x10\x63onsensus_params\x18\n \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12,\n$last_height_consensus_params_changed\x18\x0b \x01(\x03\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\r \x01(\x0c\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/stateb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.state.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.state.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -48,20 +49,20 @@ _STATE.fields_by_name['last_block_time']._serialized_options = b'\310\336\037\000\220\337\037\001' _STATE.fields_by_name['consensus_params']._options = None _STATE.fields_by_name['consensus_params']._serialized_options = b'\310\336\037\000' - _LEGACYABCIRESPONSES._serialized_start=262 - _LEGACYABCIRESPONSES._serialized_end=449 - _RESPONSEBEGINBLOCK._serialized_start=451 - _RESPONSEBEGINBLOCK._serialized_end=537 - _RESPONSEENDBLOCK._serialized_start=540 - _RESPONSEENDBLOCK._serialized_end=759 - _VALIDATORSINFO._serialized_start=761 - _VALIDATORSINFO._serialized_end=861 - _CONSENSUSPARAMSINFO._serialized_start=863 - _CONSENSUSPARAMSINFO._serialized_end=980 - _ABCIRESPONSESINFO._serialized_start=983 - _ABCIRESPONSESINFO._serialized_end=1161 - _VERSION._serialized_start=1163 - _VERSION._serialized_end=1246 - _STATE._serialized_start=1249 - _STATE._serialized_end=1886 + _globals['_LEGACYABCIRESPONSES']._serialized_start=262 + _globals['_LEGACYABCIRESPONSES']._serialized_end=449 + _globals['_RESPONSEBEGINBLOCK']._serialized_start=451 + _globals['_RESPONSEBEGINBLOCK']._serialized_end=537 + _globals['_RESPONSEENDBLOCK']._serialized_start=540 + _globals['_RESPONSEENDBLOCK']._serialized_end=759 + _globals['_VALIDATORSINFO']._serialized_start=761 + _globals['_VALIDATORSINFO']._serialized_end=861 + _globals['_CONSENSUSPARAMSINFO']._serialized_start=863 + _globals['_CONSENSUSPARAMSINFO']._serialized_end=980 + _globals['_ABCIRESPONSESINFO']._serialized_start=983 + _globals['_ABCIRESPONSESINFO']._serialized_end=1161 + _globals['_VERSION']._serialized_start=1163 + _globals['_VERSION']._serialized_end=1246 + _globals['_STATE']._serialized_start=1249 + _globals['_STATE']._serialized_end=1886 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/statesync/types_pb2.py b/pyinjective/proto/tendermint/statesync/types_pb2.py index a9beb62a..0c7a3429 100644 --- a/pyinjective/proto/tendermint/statesync/types_pb2.py +++ b/pyinjective/proto/tendermint/statesync/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/statesync/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,21 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/statesync/types.proto\x12\x14tendermint.statesync\"\x98\x02\n\x07Message\x12\x43\n\x11snapshots_request\x18\x01 \x01(\x0b\x32&.tendermint.statesync.SnapshotsRequestH\x00\x12\x45\n\x12snapshots_response\x18\x02 \x01(\x0b\x32\'.tendermint.statesync.SnapshotsResponseH\x00\x12;\n\rchunk_request\x18\x03 \x01(\x0b\x32\".tendermint.statesync.ChunkRequestH\x00\x12=\n\x0e\x63hunk_response\x18\x04 \x01(\x0b\x32#.tendermint.statesync.ChunkResponseH\x00\x42\x05\n\x03sum\"\x12\n\x10SnapshotsRequest\"c\n\x11SnapshotsResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c\"=\n\x0c\x43hunkRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05index\x18\x03 \x01(\r\"^\n\rChunkResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05index\x18\x03 \x01(\r\x12\r\n\x05\x63hunk\x18\x04 \x01(\x0c\x12\x0f\n\x07missing\x18\x05 \x01(\x08\x42\x39Z7github.com/cometbft/cometbft/proto/tendermint/statesyncb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.statesync.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.statesync.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/statesync' - _MESSAGE._serialized_start=59 - _MESSAGE._serialized_end=339 - _SNAPSHOTSREQUEST._serialized_start=341 - _SNAPSHOTSREQUEST._serialized_end=359 - _SNAPSHOTSRESPONSE._serialized_start=361 - _SNAPSHOTSRESPONSE._serialized_end=460 - _CHUNKREQUEST._serialized_start=462 - _CHUNKREQUEST._serialized_end=523 - _CHUNKRESPONSE._serialized_start=525 - _CHUNKRESPONSE._serialized_end=619 + _globals['_MESSAGE']._serialized_start=59 + _globals['_MESSAGE']._serialized_end=339 + _globals['_SNAPSHOTSREQUEST']._serialized_start=341 + _globals['_SNAPSHOTSREQUEST']._serialized_end=359 + _globals['_SNAPSHOTSRESPONSE']._serialized_start=361 + _globals['_SNAPSHOTSRESPONSE']._serialized_end=460 + _globals['_CHUNKREQUEST']._serialized_start=462 + _globals['_CHUNKREQUEST']._serialized_end=523 + _globals['_CHUNKRESPONSE']._serialized_start=525 + _globals['_CHUNKRESPONSE']._serialized_end=619 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/store/types_pb2.py b/pyinjective/proto/tendermint/store/types_pb2.py index b721b68d..49152bb4 100644 --- a/pyinjective/proto/tendermint/store/types_pb2.py +++ b/pyinjective/proto/tendermint/store/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/store/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,13 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/store/types.proto\x12\x10tendermint.store\"/\n\x0f\x42lockStoreState\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\x03\x12\x0e\n\x06height\x18\x02 \x01(\x03\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/storeb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.store.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.store.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/store' - _BLOCKSTORESTATE._serialized_start=50 - _BLOCKSTORESTATE._serialized_end=97 + _globals['_BLOCKSTORESTATE']._serialized_start=50 + _globals['_BLOCKSTORESTATE']._serialized_end=97 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/block_pb2.py b/pyinjective/proto/tendermint/types/block_pb2.py index cc3a7f43..4382f128 100644 --- a/pyinjective/proto/tendermint/types/block_pb2.py +++ b/pyinjective/proto/tendermint/types/block_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/types/block.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +18,9 @@ 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\"\xca\x01\n\x05\x42lock\x12.\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12*\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\x04\xc8\xde\x1f\x00\x12\x36\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\x04\xc8\xde\x1f\x00\x12-\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.block_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.block_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -30,6 +31,6 @@ _BLOCK.fields_by_name['data']._serialized_options = b'\310\336\037\000' _BLOCK.fields_by_name['evidence']._options = None _BLOCK.fields_by_name['evidence']._serialized_options = b'\310\336\037\000' - _BLOCK._serialized_start=136 - _BLOCK._serialized_end=338 + _globals['_BLOCK']._serialized_start=136 + _globals['_BLOCK']._serialized_end=338 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/canonical_pb2.py b/pyinjective/proto/tendermint/types/canonical_pb2.py index 19629734..9b458430 100644 --- a/pyinjective/proto/tendermint/types/canonical_pb2.py +++ b/pyinjective/proto/tendermint/types/canonical_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/types/canonical.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +18,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/canonical.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"i\n\x10\x43\x61nonicalBlockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12G\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32(.tendermint.types.CanonicalPartSetHeaderB\x04\xc8\xde\x1f\x00\"5\n\x16\x43\x61nonicalPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"\x9d\x02\n\x11\x43\x61nonicalProposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x1f\n\tpol_round\x18\x04 \x01(\x03\x42\x0c\xe2\xde\x1f\x08POLRound\x12\x41\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x07 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\"\xf8\x01\n\rCanonicalVote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x41\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x06 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\"\\\n\x16\x43\x61nonicalVoteExtension\x12\x11\n\textension\x18\x01 \x01(\x0c\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x10\n\x08\x63hain_id\x18\x04 \x01(\tB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.canonical_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.canonical_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -40,14 +41,14 @@ _CANONICALVOTE.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' _CANONICALVOTE.fields_by_name['chain_id']._options = None _CANONICALVOTE.fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' - _CANONICALBLOCKID._serialized_start=139 - _CANONICALBLOCKID._serialized_end=244 - _CANONICALPARTSETHEADER._serialized_start=246 - _CANONICALPARTSETHEADER._serialized_end=299 - _CANONICALPROPOSAL._serialized_start=302 - _CANONICALPROPOSAL._serialized_end=587 - _CANONICALVOTE._serialized_start=590 - _CANONICALVOTE._serialized_end=838 - _CANONICALVOTEEXTENSION._serialized_start=840 - _CANONICALVOTEEXTENSION._serialized_end=932 + _globals['_CANONICALBLOCKID']._serialized_start=139 + _globals['_CANONICALBLOCKID']._serialized_end=244 + _globals['_CANONICALPARTSETHEADER']._serialized_start=246 + _globals['_CANONICALPARTSETHEADER']._serialized_end=299 + _globals['_CANONICALPROPOSAL']._serialized_start=302 + _globals['_CANONICALPROPOSAL']._serialized_end=587 + _globals['_CANONICALVOTE']._serialized_start=590 + _globals['_CANONICALVOTE']._serialized_end=838 + _globals['_CANONICALVOTEEXTENSION']._serialized_start=840 + _globals['_CANONICALVOTEEXTENSION']._serialized_end=932 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/events_pb2.py b/pyinjective/proto/tendermint/types/events_pb2.py index bdc89a2e..c3df61dd 100644 --- a/pyinjective/proto/tendermint/types/events_pb2.py +++ b/pyinjective/proto/tendermint/types/events_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/types/events.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,13 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/events.proto\x12\x10tendermint.types\"B\n\x13\x45ventDataRoundState\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\tB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.events_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' - _EVENTDATAROUNDSTATE._serialized_start=51 - _EVENTDATAROUNDSTATE._serialized_end=117 + _globals['_EVENTDATAROUNDSTATE']._serialized_start=51 + _globals['_EVENTDATAROUNDSTATE']._serialized_end=117 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/evidence_pb2.py b/pyinjective/proto/tendermint/types/evidence_pb2.py index f1d3d541..872df67a 100644 --- a/pyinjective/proto/tendermint/types/evidence_pb2.py +++ b/pyinjective/proto/tendermint/types/evidence_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/types/evidence.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +19,9 @@ 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\"\xb2\x01\n\x08\x45vidence\x12J\n\x17\x64uplicate_vote_evidence\x18\x01 \x01(\x0b\x32\'.tendermint.types.DuplicateVoteEvidenceH\x00\x12S\n\x1clight_client_attack_evidence\x18\x02 \x01(\x0b\x32+.tendermint.types.LightClientAttackEvidenceH\x00\x42\x05\n\x03sum\"\xd5\x01\n\x15\x44uplicateVoteEvidence\x12&\n\x06vote_a\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\x12&\n\x06vote_b\x18\x02 \x01(\x0b\x32\x16.tendermint.types.Vote\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03\x12\x17\n\x0fvalidator_power\x18\x04 \x01(\x03\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\"\xfb\x01\n\x19LightClientAttackEvidence\x12\x37\n\x11\x63onflicting_block\x18\x01 \x01(\x0b\x32\x1c.tendermint.types.LightBlock\x12\x15\n\rcommon_height\x18\x02 \x01(\x03\x12\x39\n\x14\x62yzantine_validators\x18\x03 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x04 \x01(\x03\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\"B\n\x0c\x45videnceList\x12\x32\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x1a.tendermint.types.EvidenceB\x04\xc8\xde\x1f\x00\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.evidence_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.evidence_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -31,12 +32,12 @@ _LIGHTCLIENTATTACKEVIDENCE.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' _EVIDENCELIST.fields_by_name['evidence']._options = None _EVIDENCELIST.fields_by_name['evidence']._serialized_options = b'\310\336\037\000' - _EVIDENCE._serialized_start=173 - _EVIDENCE._serialized_end=351 - _DUPLICATEVOTEEVIDENCE._serialized_start=354 - _DUPLICATEVOTEEVIDENCE._serialized_end=567 - _LIGHTCLIENTATTACKEVIDENCE._serialized_start=570 - _LIGHTCLIENTATTACKEVIDENCE._serialized_end=821 - _EVIDENCELIST._serialized_start=823 - _EVIDENCELIST._serialized_end=889 + _globals['_EVIDENCE']._serialized_start=173 + _globals['_EVIDENCE']._serialized_end=351 + _globals['_DUPLICATEVOTEEVIDENCE']._serialized_start=354 + _globals['_DUPLICATEVOTEEVIDENCE']._serialized_end=567 + _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_start=570 + _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_end=821 + _globals['_EVIDENCELIST']._serialized_start=823 + _globals['_EVIDENCELIST']._serialized_end=889 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/params_pb2.py b/pyinjective/proto/tendermint/types/params_pb2.py index 15bfe8f5..15f9d769 100644 --- a/pyinjective/proto/tendermint/types/params_pb2.py +++ b/pyinjective/proto/tendermint/types/params_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/types/params.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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,8 +17,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\"\x87\x02\n\x0f\x43onsensusParams\x12,\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParams\x12\x32\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParams\x12\x34\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParams\x12\x30\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParams\x12*\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParams\"7\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03J\x04\x08\x03\x10\x04\"~\n\x0e\x45videnceParams\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\x03\x12=\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03\"2\n\x0fValidatorParams\x12\x15\n\rpub_key_types\x18\x01 \x03(\t:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"&\n\rVersionParams\x12\x0b\n\x03\x61pp\x18\x01 \x01(\x04:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\">\n\x0cHashedParams\x12\x17\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03\x12\x15\n\rblock_max_gas\x18\x02 \x01(\x03\"3\n\nABCIParams\x12%\n\x1dvote_extensions_enable_height\x18\x01 \x01(\x03\x42\x39Z3github.com/cometbft/cometbft/proto/tendermint/types\xa8\xe2\x1e\x01\x62\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.params_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.params_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -29,18 +30,18 @@ _VALIDATORPARAMS._serialized_options = b'\270\240\037\001\350\240\037\001' _VERSIONPARAMS._options = None _VERSIONPARAMS._serialized_options = b'\270\240\037\001\350\240\037\001' - _CONSENSUSPARAMS._serialized_start=106 - _CONSENSUSPARAMS._serialized_end=369 - _BLOCKPARAMS._serialized_start=371 - _BLOCKPARAMS._serialized_end=426 - _EVIDENCEPARAMS._serialized_start=428 - _EVIDENCEPARAMS._serialized_end=554 - _VALIDATORPARAMS._serialized_start=556 - _VALIDATORPARAMS._serialized_end=606 - _VERSIONPARAMS._serialized_start=608 - _VERSIONPARAMS._serialized_end=646 - _HASHEDPARAMS._serialized_start=648 - _HASHEDPARAMS._serialized_end=710 - _ABCIPARAMS._serialized_start=712 - _ABCIPARAMS._serialized_end=763 + _globals['_CONSENSUSPARAMS']._serialized_start=106 + _globals['_CONSENSUSPARAMS']._serialized_end=369 + _globals['_BLOCKPARAMS']._serialized_start=371 + _globals['_BLOCKPARAMS']._serialized_end=426 + _globals['_EVIDENCEPARAMS']._serialized_start=428 + _globals['_EVIDENCEPARAMS']._serialized_end=554 + _globals['_VALIDATORPARAMS']._serialized_start=556 + _globals['_VALIDATORPARAMS']._serialized_end=606 + _globals['_VERSIONPARAMS']._serialized_start=608 + _globals['_VERSIONPARAMS']._serialized_end=646 + _globals['_HASHEDPARAMS']._serialized_start=648 + _globals['_HASHEDPARAMS']._serialized_end=710 + _globals['_ABCIPARAMS']._serialized_start=712 + _globals['_ABCIPARAMS']._serialized_end=763 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/types_pb2.py b/pyinjective/proto/tendermint/types/types_pb2.py index 909bc796..f700382a 100644 --- a/pyinjective/proto/tendermint/types/types_pb2.py +++ b/pyinjective/proto/tendermint/types/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/types/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +18,17 @@ from tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\",\n\rPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"S\n\x04Part\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x62ytes\x18\x02 \x01(\x0c\x12-\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00\"W\n\x07\x42lockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12>\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\"\xb3\x03\n\x06Header\x12\x34\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\x0c\"\x13\n\x04\x44\x61ta\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\xc2\x02\n\x04Vote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x19\n\x11validator_address\x18\x06 \x01(\x0c\x12\x17\n\x0fvalidator_index\x18\x07 \x01(\x05\x12\x11\n\tsignature\x18\x08 \x01(\x0c\x12\x11\n\textension\x18\t \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\n \x01(\x0c\"\x9c\x01\n\x06\x43ommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x35\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\tCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\"\xb5\x01\n\x0e\x45xtendedCommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x46\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00\"\xe0\x01\n\x11\x45xtendedCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\x12\x11\n\textension\x18\x05 \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\x06 \x01(\x0c\"\xf5\x01\n\x08Proposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x11\n\tpol_round\x18\x04 \x01(\x05\x12<\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x07 \x01(\x0c\"b\n\x0cSignedHeader\x12(\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.Header\x12(\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.Commit\"z\n\nLightBlock\x12\x35\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeader\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"\x9e\x01\n\tBlockMeta\x12<\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12\x0f\n\x07num_txs\x18\x04 \x01(\x03\"S\n\x07TxProof\x12\x11\n\troot_hash\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\'\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.Proof*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\xa8\xa4\x1e\x01\x88\xa3\x1e\x00\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\",\n\rPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"S\n\x04Part\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x62ytes\x18\x02 \x01(\x0c\x12-\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00\"W\n\x07\x42lockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12>\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\"\xb3\x03\n\x06Header\x12\x34\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\x0c\"\x13\n\x04\x44\x61ta\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\xc2\x02\n\x04Vote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x19\n\x11validator_address\x18\x06 \x01(\x0c\x12\x17\n\x0fvalidator_index\x18\x07 \x01(\x05\x12\x11\n\tsignature\x18\x08 \x01(\x0c\x12\x11\n\textension\x18\t \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\n \x01(\x0c\"\x9c\x01\n\x06\x43ommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x35\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\tCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\"\xb5\x01\n\x0e\x45xtendedCommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x46\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00\"\xe0\x01\n\x11\x45xtendedCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\x12\x11\n\textension\x18\x05 \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\x06 \x01(\x0c\"\xf5\x01\n\x08Proposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x11\n\tpol_round\x18\x04 \x01(\x05\x12<\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x07 \x01(\x0c\"b\n\x0cSignedHeader\x12(\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.Header\x12(\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.Commit\"z\n\nLightBlock\x12\x35\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeader\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"\x9e\x01\n\tBlockMeta\x12<\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12\x0f\n\x07num_txs\x18\x04 \x01(\x03\"S\n\x07TxProof\x12\x11\n\troot_hash\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\'\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.Proof*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _SIGNEDMSGTYPE._options = None - _SIGNEDMSGTYPE._serialized_options = b'\250\244\036\001\210\243\036\000' + _SIGNEDMSGTYPE._serialized_options = b'\210\243\036\000\250\244\036\001' _SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._options = None _SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._serialized_options = b'\212\235 \013UnknownType' _SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._options = None @@ -65,43 +66,43 @@ _EXTENDEDCOMMITSIG.fields_by_name['timestamp']._options = None _EXTENDEDCOMMITSIG.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' _PROPOSAL.fields_by_name['block_id']._options = None - _PROPOSAL.fields_by_name['block_id']._serialized_options = b'\342\336\037\007BlockID\310\336\037\000' + _PROPOSAL.fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' _PROPOSAL.fields_by_name['timestamp']._options = None _PROPOSAL.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' _BLOCKMETA.fields_by_name['block_id']._options = None - _BLOCKMETA.fields_by_name['block_id']._serialized_options = b'\342\336\037\007BlockID\310\336\037\000' + _BLOCKMETA.fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' _BLOCKMETA.fields_by_name['header']._options = None _BLOCKMETA.fields_by_name['header']._serialized_options = b'\310\336\037\000' - _SIGNEDMSGTYPE._serialized_start=2666 - _SIGNEDMSGTYPE._serialized_end=2881 - _PARTSETHEADER._serialized_start=202 - _PARTSETHEADER._serialized_end=246 - _PART._serialized_start=248 - _PART._serialized_end=331 - _BLOCKID._serialized_start=333 - _BLOCKID._serialized_end=420 - _HEADER._serialized_start=423 - _HEADER._serialized_end=858 - _DATA._serialized_start=860 - _DATA._serialized_end=879 - _VOTE._serialized_start=882 - _VOTE._serialized_end=1204 - _COMMIT._serialized_start=1207 - _COMMIT._serialized_end=1363 - _COMMITSIG._serialized_start=1366 - _COMMITSIG._serialized_end=1534 - _EXTENDEDCOMMIT._serialized_start=1537 - _EXTENDEDCOMMIT._serialized_end=1718 - _EXTENDEDCOMMITSIG._serialized_start=1721 - _EXTENDEDCOMMITSIG._serialized_end=1945 - _PROPOSAL._serialized_start=1948 - _PROPOSAL._serialized_end=2193 - _SIGNEDHEADER._serialized_start=2195 - _SIGNEDHEADER._serialized_end=2293 - _LIGHTBLOCK._serialized_start=2295 - _LIGHTBLOCK._serialized_end=2417 - _BLOCKMETA._serialized_start=2420 - _BLOCKMETA._serialized_end=2578 - _TXPROOF._serialized_start=2580 - _TXPROOF._serialized_end=2663 + _globals['_SIGNEDMSGTYPE']._serialized_start=2666 + _globals['_SIGNEDMSGTYPE']._serialized_end=2881 + _globals['_PARTSETHEADER']._serialized_start=202 + _globals['_PARTSETHEADER']._serialized_end=246 + _globals['_PART']._serialized_start=248 + _globals['_PART']._serialized_end=331 + _globals['_BLOCKID']._serialized_start=333 + _globals['_BLOCKID']._serialized_end=420 + _globals['_HEADER']._serialized_start=423 + _globals['_HEADER']._serialized_end=858 + _globals['_DATA']._serialized_start=860 + _globals['_DATA']._serialized_end=879 + _globals['_VOTE']._serialized_start=882 + _globals['_VOTE']._serialized_end=1204 + _globals['_COMMIT']._serialized_start=1207 + _globals['_COMMIT']._serialized_end=1363 + _globals['_COMMITSIG']._serialized_start=1366 + _globals['_COMMITSIG']._serialized_end=1534 + _globals['_EXTENDEDCOMMIT']._serialized_start=1537 + _globals['_EXTENDEDCOMMIT']._serialized_end=1718 + _globals['_EXTENDEDCOMMITSIG']._serialized_start=1721 + _globals['_EXTENDEDCOMMITSIG']._serialized_end=1945 + _globals['_PROPOSAL']._serialized_start=1948 + _globals['_PROPOSAL']._serialized_end=2193 + _globals['_SIGNEDHEADER']._serialized_start=2195 + _globals['_SIGNEDHEADER']._serialized_end=2293 + _globals['_LIGHTBLOCK']._serialized_start=2295 + _globals['_LIGHTBLOCK']._serialized_end=2417 + _globals['_BLOCKMETA']._serialized_start=2420 + _globals['_BLOCKMETA']._serialized_end=2578 + _globals['_TXPROOF']._serialized_start=2580 + _globals['_TXPROOF']._serialized_end=2663 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/validator_pb2.py b/pyinjective/proto/tendermint/types/validator_pb2.py index d0c7dfca..42296a18 100644 --- a/pyinjective/proto/tendermint/types/validator_pb2.py +++ b/pyinjective/proto/tendermint/types/validator_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/types/validator.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +15,17 @@ from tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\x8a\x01\n\x0cValidatorSet\x12/\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12-\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03\"\x82\x01\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x33\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cvoting_power\x18\x03 \x01(\x03\x12\x19\n\x11proposer_priority\x18\x04 \x01(\x03\"V\n\x0fSimpleValidator\x12-\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKey\x12\x14\n\x0cvoting_power\x18\x02 \x01(\x03*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\xa8\xa4\x1e\x01\x88\xa3\x1e\x00\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\x8a\x01\n\x0cValidatorSet\x12/\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12-\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03\"\x82\x01\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x33\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cvoting_power\x18\x03 \x01(\x03\x12\x19\n\x11proposer_priority\x18\x04 \x01(\x03\"V\n\x0fSimpleValidator\x12-\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKey\x12\x14\n\x0cvoting_power\x18\x02 \x01(\x03*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.validator_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.validator_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _BLOCKIDFLAG._options = None - _BLOCKIDFLAG._serialized_options = b'\250\244\036\001\210\243\036\000' + _BLOCKIDFLAG._serialized_options = b'\210\243\036\000\250\244\036\001' _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._options = None _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._options = None @@ -35,12 +36,12 @@ _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' _VALIDATOR.fields_by_name['pub_key']._options = None _VALIDATOR.fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' - _BLOCKIDFLAG._serialized_start=469 - _BLOCKIDFLAG._serialized_end=684 - _VALIDATORSET._serialized_start=107 - _VALIDATORSET._serialized_end=245 - _VALIDATOR._serialized_start=248 - _VALIDATOR._serialized_end=378 - _SIMPLEVALIDATOR._serialized_start=380 - _SIMPLEVALIDATOR._serialized_end=466 + _globals['_BLOCKIDFLAG']._serialized_start=469 + _globals['_BLOCKIDFLAG']._serialized_end=684 + _globals['_VALIDATORSET']._serialized_start=107 + _globals['_VALIDATORSET']._serialized_end=245 + _globals['_VALIDATOR']._serialized_start=248 + _globals['_VALIDATOR']._serialized_end=378 + _globals['_SIMPLEVALIDATOR']._serialized_start=380 + _globals['_SIMPLEVALIDATOR']._serialized_end=466 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/version/types_pb2.py b/pyinjective/proto/tendermint/version/types_pb2.py index ed171b44..8534ef66 100644 --- a/pyinjective/proto/tendermint/version/types_pb2.py +++ b/pyinjective/proto/tendermint/version/types_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tendermint/version/types.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.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 +16,17 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto\")\n\x03\x41pp\x12\x10\n\x08protocol\x18\x01 \x01(\x04\x12\x10\n\x08software\x18\x02 \x01(\t\"-\n\tConsensus\x12\r\n\x05\x62lock\x18\x01 \x01(\x04\x12\x0b\n\x03\x61pp\x18\x02 \x01(\x04:\x04\xe8\xa0\x1f\x01\x42\x37Z5github.com/cometbft/cometbft/proto/tendermint/versionb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.version.types_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.version.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/version' _CONSENSUS._options = None _CONSENSUS._serialized_options = b'\350\240\037\001' - _APP._serialized_start=76 - _APP._serialized_end=117 - _CONSENSUS._serialized_start=119 - _CONSENSUS._serialized_end=164 + _globals['_APP']._serialized_start=76 + _globals['_APP']._serialized_end=117 + _globals['_CONSENSUS']._serialized_start=119 + _globals['_CONSENSUS']._serialized_end=164 # @@protoc_insertion_point(module_scope) From 605986d215b9a1356af0cabcef92093db9523c14 Mon Sep 17 00:00:00 2001 From: abel Date: Thu, 7 Sep 2023 09:02:43 -0300 Subject: [PATCH 05/83] (feat) Finished implementation to support chain streams. Added more details to the example module that shows how to use them --- ...48_WithdrawValidatorCommission_Rewards.py} | 0 examples/chain_client/49_ChainStream.py | 61 +++++++++++++++++++ pyinjective/async_client.py | 21 ++++++- pyinjective/composer.py | 47 +++++++++++++- 4 files changed, 125 insertions(+), 4 deletions(-) rename examples/chain_client/{48_WithdrawValidatorCommission_Rewards => 48_WithdrawValidatorCommission_Rewards.py} (100%) create mode 100644 examples/chain_client/49_ChainStream.py diff --git a/examples/chain_client/48_WithdrawValidatorCommission_Rewards b/examples/chain_client/48_WithdrawValidatorCommission_Rewards.py similarity index 100% rename from examples/chain_client/48_WithdrawValidatorCommission_Rewards rename to examples/chain_client/48_WithdrawValidatorCommission_Rewards.py diff --git a/examples/chain_client/49_ChainStream.py b/examples/chain_client/49_ChainStream.py new file mode 100644 index 00000000..c1e23a02 --- /dev/null +++ b/examples/chain_client/49_ChainStream.py @@ -0,0 +1,61 @@ +import asyncio + +from google.protobuf import json_format + +from pyinjective.composer import Composer +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + # network = Network.devnet() + network = Network.custom( + lcd_endpoint="https://staging.lcd.injective.network:443", + tm_websocket_endpoint="wss://staging.tm.injective.network:443/websocket", + grpc_endpoint="staging.chain.grpc.injective.network:443", + grpc_exchange_endpoint="staging.exchange.grpc.injective.network:443", + grpc_explorer_endpoint="staging.explorer.grpc.injective.network:443", + chain_stream_endpoint="staging.stream.injective.network:443", + chain_id="injective-1", + env='mainnet', + use_secure_connection=True, + ) + + client = AsyncClient(network) + composer = Composer(network=network.string()) + + inj_usdt_market = "0xfbc729e93b05b4c48916c1433c9f9c2ddb24605a73483303ea0f87a8886b52af" + + bank_balances_filter = composer.chain_stream_bank_balances_filter() + subaccount_deposits_filter = composer.chain_stream_subaccount_deposits_filter() + spot_trades_filter = composer.chain_stream_trades_filter() + derivative_trades_filter = composer.chain_stream_trades_filter() + spot_orders_filter = composer.chain_stream_orders_filter() + derivative_orders_filter = composer.chain_stream_orders_filter() + spot_orderbooks_filter = composer.chain_stream_orderbooks_filter() + derivative_orderbooks_filter = composer.chain_stream_orderbooks_filter() + positions_filter = composer.chain_stream_positions_filter() + oracle_price_filter = composer.chain_stream_oracle_price_filter() + stream = await client.chain_stream( + 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 + ) + async for event in stream: + print(json_format.MessageToJson( + message=event, + including_default_value_fields=True, + preserving_proto_field_name=True) + ) + + +if __name__ == '__main__': + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 950a37c0..20bb8fa5 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -939,12 +939,29 @@ async def stream_account_portfolio(self, account_address: str, **kwargs): async def chain_stream( self, bank_balances_filter: Optional[chain_stream_query.BankBalancesFilter] = None, - subaccount_deposits_filter: Optional[chain_stream_query.SubaccountDepositsFilter] = None + subaccount_deposits_filter: Optional[chain_stream_query.SubaccountDepositsFilter] = None, + spot_trades_filter: Optional[chain_stream_query.TradesFilter] = None, + derivative_trades_filter: Optional[chain_stream_query.TradesFilter] = None, + spot_orders_filter: Optional[chain_stream_query.OrdersFilter] = None, + derivative_orders_filter: Optional[chain_stream_query.OrdersFilter] = None, + spot_orderbooks_filter: Optional[chain_stream_query.OrderbookFilter] = None, + derivative_orderbooks_filter: Optional[chain_stream_query.OrderbookFilter] = None, + positions_filter: Optional[chain_stream_query.PositionsFilter] = None, + oracle_price_filter: Optional[chain_stream_query.OraclePriceFilter] = None, ): request = chain_stream_query.StreamRequest( bank_balances_filter=bank_balances_filter, - subaccount_deposits_filter=subaccount_deposits_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, + ) metadata = await self.network.chain_metadata( metadata_query_provider=self._chain_cookie_metadata_requestor ) diff --git a/pyinjective/composer.py b/pyinjective/composer.py index 82540252..d8c1842d 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -902,14 +902,57 @@ def MsgVote( proposal_id=proposal_id, voter=voter, option=option ) - def chain_stream_bank_balances_filter(self, accounts: List[str]) -> chain_stream_query.BankBalancesFilter: + def chain_stream_bank_balances_filter(self, accounts: Optional[List[str]] = None) -> chain_stream_query.BankBalancesFilter: + accounts = accounts or ["*"] return chain_stream_query.BankBalancesFilter(accounts=accounts) def chain_stream_subaccount_deposits_filter( - self, subaccount_ids: List[str] + self, subaccount_ids: Optional[List[str]] = None, ) -> chain_stream_query.SubaccountDepositsFilter: + subaccount_ids = ["*"] return chain_stream_query.SubaccountDepositsFilter(subaccount_ids=subaccount_ids) + def chain_stream_trades_filter( + self, + subaccount_ids: Optional[List[str]] = None, + market_ids: Optional[List[str]] = None, + ) -> chain_stream_query.TradesFilter: + subaccount_ids = subaccount_ids or ["*"] + market_ids = market_ids or ["*"] + return chain_stream_query.TradesFilter(subaccount_ids=subaccount_ids, market_ids=market_ids) + + def chain_stream_orders_filter( + self, + subaccount_ids: Optional[List[str]] = None, + market_ids: Optional[List[str]] = None, + ) -> chain_stream_query.OrdersFilter: + subaccount_ids = subaccount_ids or ["*"] + market_ids = market_ids or ["*"] + return chain_stream_query.OrdersFilter(subaccount_ids=subaccount_ids, market_ids=market_ids) + + def chain_stream_orderbooks_filter( + self, + market_ids: Optional[List[str]] = None, + ) -> chain_stream_query.OrderbookFilter: + market_ids = market_ids or ["*"] + return chain_stream_query.OrderbookFilter(market_ids=market_ids) + + def chain_stream_positions_filter( + self, + subaccount_ids: Optional[List[str]] = None, + market_ids: Optional[List[str]] = None, + ) -> chain_stream_query.PositionsFilter: + subaccount_ids = subaccount_ids or ["*"] + market_ids = market_ids or ["*"] + return chain_stream_query.PositionsFilter(subaccount_ids=subaccount_ids, market_ids=market_ids) + + def chain_stream_oracle_price_filter( + self, + symbols: Optional[List[str]] = None, + ) -> chain_stream_query.PositionsFilter: + symbols = symbols or ["*"] + return chain_stream_query.OraclePriceFilter(symbol=symbols) + # data field format: [request-msg-header][raw-byte-msg-response] # you need to figure out this magic prefix number to trim request-msg-header off the data # this method handles only exchange responses From 364d78c3e695f186dfc9c0d936fd1e95843ba564 Mon Sep 17 00:00:00 2001 From: abel Date: Thu, 7 Sep 2023 11:25:55 -0300 Subject: [PATCH 06/83] (feat) Finished configuraton of chain stream example module --- examples/chain_client/49_ChainStream.py | 66 +++++++++++++++---------- 1 file changed, 41 insertions(+), 25 deletions(-) diff --git a/examples/chain_client/49_ChainStream.py b/examples/chain_client/49_ChainStream.py index c1e23a02..24d3b4b4 100644 --- a/examples/chain_client/49_ChainStream.py +++ b/examples/chain_client/49_ChainStream.py @@ -8,35 +8,51 @@ async def main() -> None: - # select network: local, testnet, mainnet - # network = Network.devnet() - network = Network.custom( - lcd_endpoint="https://staging.lcd.injective.network:443", - tm_websocket_endpoint="wss://staging.tm.injective.network:443/websocket", - grpc_endpoint="staging.chain.grpc.injective.network:443", - grpc_exchange_endpoint="staging.exchange.grpc.injective.network:443", - grpc_explorer_endpoint="staging.explorer.grpc.injective.network:443", - chain_stream_endpoint="staging.stream.injective.network:443", - chain_id="injective-1", - env='mainnet', - use_secure_connection=True, - ) + network = Network.devnet() client = AsyncClient(network) composer = Composer(network=network.string()) - inj_usdt_market = "0xfbc729e93b05b4c48916c1433c9f9c2ddb24605a73483303ea0f87a8886b52af" - - bank_balances_filter = composer.chain_stream_bank_balances_filter() - subaccount_deposits_filter = composer.chain_stream_subaccount_deposits_filter() - spot_trades_filter = composer.chain_stream_trades_filter() - derivative_trades_filter = composer.chain_stream_trades_filter() - spot_orders_filter = composer.chain_stream_orders_filter() - derivative_orders_filter = composer.chain_stream_orders_filter() - spot_orderbooks_filter = composer.chain_stream_orderbooks_filter() - derivative_orderbooks_filter = composer.chain_stream_orderbooks_filter() - positions_filter = composer.chain_stream_positions_filter() - oracle_price_filter = composer.chain_stream_oracle_price_filter() + subaccount_id = "0xbdaedec95d563fb05240d6e01821008454c24c36000000000000000000000000" + + inj_usdt_market = "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" + inj_usdt_perp_market = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" + + bank_balances_filter = composer.chain_stream_bank_balances_filter( + accounts=["inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r"] + ) + subaccount_deposits_filter = composer.chain_stream_subaccount_deposits_filter( + subaccount_ids=[subaccount_id] + ) + spot_trades_filter = composer.chain_stream_trades_filter( + subaccount_ids=["*"], + market_ids=[inj_usdt_market] + ) + derivative_trades_filter = composer.chain_stream_trades_filter( + subaccount_ids=["*"], + market_ids=[inj_usdt_perp_market] + ) + spot_orders_filter = composer.chain_stream_orders_filter( + subaccount_ids=[subaccount_id], + market_ids=[inj_usdt_market] + ) + derivative_orders_filter = composer.chain_stream_orders_filter( + subaccount_ids=[subaccount_id], + market_ids=[inj_usdt_perp_market] + ) + spot_orderbooks_filter = composer.chain_stream_orderbooks_filter( + market_ids=[inj_usdt_market] + ) + derivative_orderbooks_filter = composer.chain_stream_orderbooks_filter( + market_ids=[inj_usdt_perp_market] + ) + positions_filter = composer.chain_stream_positions_filter( + subaccount_ids=[subaccount_id], + market_ids=[inj_usdt_perp_market] + ) + oracle_price_filter = composer.chain_stream_oracle_price_filter( + symbols=["INJ", "USDT"] + ) stream = await client.chain_stream( bank_balances_filter=bank_balances_filter, subaccount_deposits_filter=subaccount_deposits_filter, From 74140e9323fa7353201ccc613fe84cf33f25049b Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 20 Sep 2023 12:06:54 -0300 Subject: [PATCH 07/83] (fix) Fixed issues found by Black --- examples/chain_client/49_ChainStream.py | 47 +++++++++---------------- 1 file changed, 16 insertions(+), 31 deletions(-) diff --git a/examples/chain_client/49_ChainStream.py b/examples/chain_client/49_ChainStream.py index 24d3b4b4..369d54cc 100644 --- a/examples/chain_client/49_ChainStream.py +++ b/examples/chain_client/49_ChainStream.py @@ -2,8 +2,8 @@ from google.protobuf import json_format -from pyinjective.composer import Composer from pyinjective.async_client import AsyncClient +from pyinjective.composer import Composer from pyinjective.core.network import Network @@ -21,38 +21,23 @@ async def main() -> None: bank_balances_filter = composer.chain_stream_bank_balances_filter( accounts=["inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r"] ) - subaccount_deposits_filter = composer.chain_stream_subaccount_deposits_filter( - subaccount_ids=[subaccount_id] - ) - spot_trades_filter = composer.chain_stream_trades_filter( - subaccount_ids=["*"], - market_ids=[inj_usdt_market] - ) + subaccount_deposits_filter = composer.chain_stream_subaccount_deposits_filter(subaccount_ids=[subaccount_id]) + spot_trades_filter = composer.chain_stream_trades_filter(subaccount_ids=["*"], market_ids=[inj_usdt_market]) derivative_trades_filter = composer.chain_stream_trades_filter( - subaccount_ids=["*"], - market_ids=[inj_usdt_perp_market] + subaccount_ids=["*"], market_ids=[inj_usdt_perp_market] ) spot_orders_filter = composer.chain_stream_orders_filter( - subaccount_ids=[subaccount_id], - market_ids=[inj_usdt_market] + subaccount_ids=[subaccount_id], market_ids=[inj_usdt_market] ) derivative_orders_filter = composer.chain_stream_orders_filter( - subaccount_ids=[subaccount_id], - market_ids=[inj_usdt_perp_market] - ) - spot_orderbooks_filter = composer.chain_stream_orderbooks_filter( - market_ids=[inj_usdt_market] - ) - derivative_orderbooks_filter = composer.chain_stream_orderbooks_filter( - market_ids=[inj_usdt_perp_market] + subaccount_ids=[subaccount_id], market_ids=[inj_usdt_perp_market] ) + spot_orderbooks_filter = composer.chain_stream_orderbooks_filter(market_ids=[inj_usdt_market]) + derivative_orderbooks_filter = composer.chain_stream_orderbooks_filter(market_ids=[inj_usdt_perp_market]) positions_filter = composer.chain_stream_positions_filter( - subaccount_ids=[subaccount_id], - market_ids=[inj_usdt_perp_market] - ) - oracle_price_filter = composer.chain_stream_oracle_price_filter( - symbols=["INJ", "USDT"] + subaccount_ids=[subaccount_id], market_ids=[inj_usdt_perp_market] ) + oracle_price_filter = composer.chain_stream_oracle_price_filter(symbols=["INJ", "USDT"]) stream = await client.chain_stream( bank_balances_filter=bank_balances_filter, subaccount_deposits_filter=subaccount_deposits_filter, @@ -63,15 +48,15 @@ async def main() -> None: spot_orderbooks_filter=spot_orderbooks_filter, derivative_orderbooks_filter=derivative_orderbooks_filter, positions_filter=positions_filter, - oracle_price_filter=oracle_price_filter + oracle_price_filter=oracle_price_filter, ) async for event in stream: - print(json_format.MessageToJson( - message=event, - including_default_value_fields=True, - preserving_proto_field_name=True) + print( + json_format.MessageToJson( + message=event, including_default_value_fields=True, preserving_proto_field_name=True + ) ) -if __name__ == '__main__': +if __name__ == "__main__": asyncio.get_event_loop().run_until_complete(main()) From 69fcd5ac49a1f498673dcf3a49f1a521600c8a5c Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 27 Sep 2023 10:02:31 -0300 Subject: [PATCH 08/83] (feat) Moved all changelog info from README.md into its own file --- CHANGELOG.md | 182 +++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 174 ---------------------------------------------- pyproject.toml | 2 +- 3 files changed, 183 insertions(+), 175 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..1ced86f4 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,182 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [0.10.0] - 2023-09-27 +### Added +- New chain stream support + +### Changed +- Moved changelog from the README.md file to its own CHANGELOG.md file + +## [0.9.0] +* Replace Pipenv with Poetry +* Add pre-commit validations to the project +* Add a GitHub workflow to run all tests and calculate coverage for each PR + +## [0.8.5] +* Added NEOK/USDT and ORAI/USDT spot markets to the mainnet .ini file + +## [0.8.4] +* Added methods to SpotMarket, DerivativeMarket and BianaryOptionMarket to translate chain prices and quantities to human-readable format. + +## [0.8.3] +* Fix dependency issue in setup.py. + +## [0.8.2] +* Add web3 library as a dependency for the project. + +## [0.8.1] +* Moved the configuration to use a secure or insecure connection inside the Network class. The AsyncClient's `insecure` parameter is no longer used for anything and will be removed in the future. +* Made the new load balanced bare-metal node the default one for mainnet (it is called `lb`). The legacy one (load balanced k8s node) is called `lb_k8s` + +## [0.8] +* Refactor Composer to be created with all the markets and tokens. The Composer now uses the real markets and tokens to convert human-readable values to chain format +* The Composer can still be instantiated without markets and tokens. When markets and tokens are not provided the Composer loads the required information from the Denoms used in previous versions +* Change in AsyncClient to be able to create Composer instances for the client network, markets and tokens +* Examples have been adapted to create Composer instances using the AsyncClient +* Added new nodes (bare-metal load balancing nodes) for mainnet and testnet +* Deprecated the kubernetes load balanced nodes for testnet +* Refactored the cookies management logic into a cookie assistant. Added the required logic to support the new cookies format for bare-metal load balanced nodes +* Removed class Client. The only supported now is the async version called AsyncClient. + +## [0.7.1.1] +* Fixed Testnet network URLs + +## [0.7.2.1] +* Synchronization of denoms configuration files. + +## [0.7.2] +* Added a new gas limit calculation for the TransactionBroadcaster that estimates the value based on the messages in the transaction (without running the transaction simulation). + +## [0.7.1.2] +* Add NBLA + +## [0.7.1.1] +* Fixed Testnet network URLs + +## [0.7.1] +* Include implementation of the TransactionBroadcaster, to simplify the transaction creation and broadcasting process. + +## [0.7.0.6] +* ADD SEI/USDT in metadata + +## [0.7.0.5] +* Added the required logic in the MsgSubaccountTransfer message to translate amounts and token into the correct amount and token name representation for the chain + +## [0.7.0.4] +* Synchronized decimals for ATOM and WETH in Testnet with the configuration provided by the indexer + +## [0.7.0.3] +* Add FRCOIN testnet + +## [0.7.0.2] +* Removed from AsyncClient all references to the deprecated OrderBook RPC endpoints (replaced them with OrderBookV2) +* Updated all orderbook examples + +## [0.7] +* Removed references to pysha3 library (and also eip712-struct that required it) and replaced it with other implementation to allow the project to work with Python 3.11 +* Updated sentry nodes LCD URL, for each sentry node to use its own service + +## [0.6.5] +* Removed `k8s` from the list of supported mainnet nodes (`lb` should be used instead) + +## [0.6.4] +* Change logging logic to use different loggers for each module and class +* Solved issue preventing requesting spot and derivative historical orders for more than one market_id +* Add `pytest` as a development dependency to implement and run unit tests + +## [0.6.3.3] +* Update the code to the new structure of transaction responses + +## [0.6.3.1] +* Update the code to the new structure of transaction simulation responses + +## [0.6.2.7] +* Fix margin calculation in utils + +## [0.6.2.1] +* Remove version deps from Pipfile + +## [0.6.2.0] +* Add MsgUnderwrite, MsgRequestRedemption in Composer + +## [0.6.1.8] +* Add MsgCreateInsuranceFund in Composer +* Re-gen mainnet denoms + +## [0.6.1.5] +* Add MsgExecuteContract in Composer + +## [0.6.1.4] +* Add wMATIC + +## [0.6.1.2] +* Add OrderbookV2 method in async client + +## [0.6.1.1] +* Add ARB/USDT + +## [0.6.0.9] +* Deprecate K8S and set LB as default +* Proto re-gen + +## [0.6.0.8] +* Add USDCfr + +## [0.6.0.7] +* Add LDO + +## [0.6.0.6] +* Set default testnet endpoints to K8S +* Remove LB config for testnet +* Fix relative imports in composer +* Add AccountPortfolio & StreamAccountPortfolio + +## [0.6.0.5] +* Add new testnet endpoints +* Re-gen mainnet denoms + +## [0.6.0.4] +* Remove explicit versions from protobuf and grpcio-tools dependencies + +## [0.6.0.2] +* Re-gen mainnet denoms + +## [0.6.0.0] +* Change default network to LB +* Re-gen mainnet denoms + +## [0.5.9.7] +* Re-gen mainnet denoms + +## [0.5.9.6] +* Re-gen proto + +## [0.5.9.5] +* Add orderbook snaphot methods + +## [0.5.9.4] +* Re-gen mainnet denoms + +## [0.5.9.4] +* Re-gen mainnet denoms + +## [0.5.9.2] +* Fix margin conversion for binary options + +## [0.5.9.1] +* Add skip/limit to BinaryOptionsMarketsRequest + +## [0.5.9.0] +* Re-gen proto +* Fix MsgRewardsOptOut +* Remove pysha3 dependency + +## [0.5.8.8] +* Add grpc_explorer_endpoint in Network +* Add explorer channel and stub + +*BREAKING CHANGES* + +- Clients using [Custom Network](https://github.com/InjectiveLabs/sdk-python/blob/master/pyinjective/constant.py#L166) must now set grpc_explorer_endpoint during init diff --git a/README.md b/README.md index d3dcc206..91196ecb 100644 --- a/README.md +++ b/README.md @@ -77,180 +77,6 @@ Note that the [sync client](https://github.com/InjectiveLabs/sdk-python/blob/mas poetry run pytest -v ``` -### Changelogs -**0.9** -* Replace Pipenv with Poetry -* Add pre-commit validations to the project -* Add a GitHub workflow to run all tests and calculate coverage for each PR - -**0.8.5** -* Added NEOK/USDT and ORAI/USDT spot markets to the mainnet .ini file - -**0.8.4** -* Added methods to SpotMarket, DerivativeMarket and BianaryOptionMarket to translate chain prices and quantities to human-readable format. - -**0.8.3** -* Fix dependency issue in setup.py. - -**0.8.2** -* Add web3 library as a dependency for the project. - -**0.8.1** -* Moved the configuration to use a secure or insecure connection inside the Network class. The AsyncClient's `insecure` parameter is no longer used for anything and will be removed in the future. -* Made the new load balanced bare-metal node the default one for mainnet (it is called `lb`). The legacy one (load balanced k8s node) is called `lb_k8s` - -**0.8** -* Refactor Composer to be created with all the markets and tokens. The Composer now uses the real markets and tokens to convert human-readable values to chain format -* The Composer can still be instantiated without markets and tokens. When markets and tokens are not provided the Composer loads the required information from the Denoms used in previous versions -* Change in AsyncClient to be able to create Composer instances for the client network, markets and tokens -* Examples have been adapted to create Composer instances using the AsyncClient -* Added new nodes (bare-metal load balancing nodes) for mainnet and testnet -* Deprecated the kubernetes load balanced nodes for testnet -* Refactored the cookies management logic into a cookie assistant. Added the required logic to support the new cookies format for bare-metal load balanced nodes -* Removed class Client. The only supported now is the async version called AsyncClient. - -**0.7.1.1** -* Fixed Testnet network URLs - -**0.7.2.1** -* Synchronization of denoms configuration files. - -**0.7.2** -* Added a new gas limit calculation for the TransactionBroadcaster that estimates the value based on the messages in the transaction (without running the transaction simulation). - -**0.7.1.2** -* Add NBLA - -**0.7.1.1** -* Fixed Testnet network URLs - -**0.7.1** -* Include implementation of the TransactionBroadcaster, to simplify the transaction creation and broadcasting process. - -**0.7.0.6** -* ADD SEI/USDT in metadata - -**0.7.0.5** -* Added the required logic in the MsgSubaccountTransfer message to translate amounts and token into the correct amount and token name representation for the chain - -**0.7.0.4** -* Synchronized decimals for ATOM and WETH in Testnet with the configuration provided by the indexer - -**0.7.0.3** -* Add FRCOIN testnet - -**0.7.0.2** -* Removed from AsyncClient all references to the deprecated OrderBook RPC endpoints (replaced them with OrderBookV2) -* Updated all orderbook examples - -**0.7** -* Removed references to pysha3 library (and also eip712-struct that required it) and replaced it with other implementation to allow the project to work with Python 3.11 -* Updated sentry nodes LCD URL, for each sentry node to use its own service - -**0.6.5** -* Removed `k8s` from the list of supported mainnet nodes (`lb` should be used instead) - -**0.6.4** -* Change logging logic to use different loggers for each module and class -* Solved issue preventing requesting spot and derivative historical orders for more than one market_id -* Add `pytest` as a development dependency to implement and run unit tests - -**0.6.3.3** -* Update the code to the new structure of transaction responses - -**0.6.3.1** -* Update the code to the new structure of transaction simulation responses - -**0.6.2.7** -* Fix margin calculation in utils - -**0.6.2.1** -* Remove version deps from Pipfile - -**0.6.2.0** -* Add MsgUnderwrite, MsgRequestRedemption in Composer - -**0.6.1.8** -* Add MsgCreateInsuranceFund in Composer -* Re-gen mainnet denoms - -**0.6.1.5** -* Add MsgExecuteContract in Composer - -**0.6.1.4** -* Add wMATIC - -**0.6.1.2** -* Add OrderbookV2 method in async client - -**0.6.1.1** -* Add ARB/USDT - -**0.6.0.9** -* Deprecate K8S and set LB as default -* Proto re-gen - -**0.6.0.8** -* Add USDCfr - -**0.6.0.7** -* Add LDO - -**0.6.0.6** -* Set default testnet endpoints to K8S -* Remove LB config for testnet -* Fix relative imports in composer -* Add AccountPortfolio & StreamAccountPortfolio - -**0.6.0.5** -* Add new testnet endpoints -* Re-gen mainnet denoms - -**0.6.0.4** -* Remove explicit versions from protobuf and grpcio-tools dependencies - -**0.6.0.2** -* Re-gen mainnet denoms - -**0.6.0.0** -* Change default network to LB -* Re-gen mainnet denoms - -**0.5.9.7** -* Re-gen mainnet denoms - -**0.5.9.6** -* Re-gen proto - -**0.5.9.5** -* Add orderbook snaphot methods - -**0.5.9.4** -* Re-gen mainnet denoms - -**0.5.9.4** -* Re-gen mainnet denoms - -**0.5.9.2** -* Fix margin conversion for binary options - -**0.5.9.1** -* Add skip/limit to BinaryOptionsMarketsRequest - -**0.5.9.0** -* Re-gen proto -* Fix MsgRewardsOptOut -* Remove pysha3 dependency - -**0.5.8.8** -* Add grpc_explorer_endpoint in Network -* Add explorer channel and stub - -*BREAKING CHANGES* - -- Clients using [Custom Network](https://github.com/InjectiveLabs/sdk-python/blob/master/pyinjective/constant.py#L166) must now set grpc_explorer_endpoint during init - - ## License Copyright © 2021 - 2022 Injective Labs Inc. (https://injectivelabs.org/) diff --git a/pyproject.toml b/pyproject.toml index d0189976..bb77ed38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "0.9.dev" +version = "0.10.dev" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache Software License 2.0" From a29b821491c1431379a92dd7b6e0400cd48e0caa Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 4 Oct 2023 09:34:39 -0300 Subject: [PATCH 09/83] (feat) Upgraded proto definitions to the version required to use the chain streams --- .../proto/cosmwasm/wasm/v1/authz_pb2.py | 49 ++- .../proto/cosmwasm/wasm/v1/genesis_pb2.py | 21 +- .../proto/cosmwasm/wasm/v1/proposal_pb2.py | 86 +++-- .../proto/cosmwasm/wasm/v1/query_pb2.py | 119 ++++--- pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 190 ++++++---- .../proto/cosmwasm/wasm/v1/tx_pb2_grpc.py | 75 +++- .../proto/cosmwasm/wasm/v1/types_pb2.py | 44 ++- .../proto/ibc/applications/fee/v1/fee_pb2.py | 25 +- .../proto/ibc/applications/fee/v1/tx_pb2.py | 47 +-- .../ibc/applications/transfer/v1/query_pb2.py | 6 +- .../transfer/v1/query_pb2_grpc.py | 44 +-- .../ibc/applications/transfer/v1/tx_pb2.py | 27 +- .../proto/ibc/core/client/v1/client_pb2.py | 36 +- .../proto/ibc/core/client/v1/tx_pb2.py | 61 ++-- .../proto/ibc/core/client/v1/tx_pb2_grpc.py | 68 ++++ .../ibc/core/commitment/v1/commitment_pb2.py | 10 +- .../exchange/v1beta1/exchange_pb2.py | 212 ++++++------ .../injective/stream/v1beta1/query_pb2.py | 86 ++--- .../proto/tendermint/abci/types_pb2.py | 168 ++++----- .../tendermint/services/block/v1/block_pb2.py | 39 +++ .../services/block/v1/block_pb2_grpc.py | 4 + .../services/block/v1/block_service_pb2.py | 28 ++ .../block/v1/block_service_pb2_grpc.py | 141 ++++++++ .../block_results/v1/block_results_pb2.py | 33 ++ .../v1/block_results_pb2_grpc.py | 4 + .../v1/block_results_service_pb2.py | 28 ++ .../v1/block_results_service_pb2_grpc.py | 107 ++++++ .../services/pruning/v1/pruning_pb2.py | 56 +++ .../services/pruning/v1/pruning_pb2_grpc.py | 4 + .../services/pruning/v1/service_pb2.py | 27 ++ .../services/pruning/v1/service_pb2_grpc.py | 326 ++++++++++++++++++ .../services/version/v1/version_pb2.py | 29 ++ .../services/version/v1/version_pb2_grpc.py | 4 + .../version/v1/version_service_pb2.py | 28 ++ .../version/v1/version_service_pb2_grpc.py | 89 +++++ 35 files changed, 1783 insertions(+), 538 deletions(-) create mode 100644 pyinjective/proto/tendermint/services/block/v1/block_pb2.py create mode 100644 pyinjective/proto/tendermint/services/block/v1/block_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py create mode 100644 pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py create mode 100644 pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py create mode 100644 pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py create mode 100644 pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py create mode 100644 pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/version/v1/version_pb2.py create mode 100644 pyinjective/proto/tendermint/services/version/v1/version_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py create mode 100644 pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py diff --git a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py index cf25dbc3..a1395c1c 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py @@ -14,11 +14,12 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"\xc1\x01\n\rContractGrant\x12\x10\n\x08\x63ontract\x18\x01 \x01(\t\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/CombinedLimit\"c\n\x16\x41llowAllMessagesFilter:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\x98\x01\n\x16StoreCodeAuthorization\x12\x36\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmwasm.wasm.v1.CodeGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:F\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1bwasm/StoreCodeAuthorization\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"^\n\tCodeGrant\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12>\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\"\xdb\x01\n\rContractGrant\x12*\n\x08\x63ontract\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/CombinedLimit\"c\n\x16\x41llowAllMessagesFilter:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,6 +28,10 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000' + _STORECODEAUTHORIZATION.fields_by_name['grants']._options = None + _STORECODEAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _STORECODEAUTHORIZATION._options = None + _STORECODEAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\033wasm/StoreCodeAuthorization' _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._options = None _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTEXECUTIONAUTHORIZATION._options = None @@ -35,6 +40,8 @@ _CONTRACTMIGRATIONAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTMIGRATIONAUTHORIZATION._options = None _CONTRACTMIGRATIONAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractMigrationAuthorization' + _CONTRACTGRANT.fields_by_name['contract']._options = None + _CONTRACTGRANT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _CONTRACTGRANT.fields_by_name['limit']._options = None _CONTRACTGRANT.fields_by_name['limit']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX' _CONTRACTGRANT.fields_by_name['filter']._options = None @@ -57,22 +64,26 @@ _ACCEPTEDMESSAGESFILTER.fields_by_name['messages']._serialized_options = b'\372\336\037\022RawContractMessage' _ACCEPTEDMESSAGESFILTER._options = None _ACCEPTEDMESSAGESFILTER._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter' - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=178 - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=350 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=353 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=525 - _globals['_CONTRACTGRANT']._serialized_start=528 - _globals['_CONTRACTGRANT']._serialized_end=721 - _globals['_MAXCALLSLIMIT']._serialized_start=723 - _globals['_MAXCALLSLIMIT']._serialized_end=822 - _globals['_MAXFUNDSLIMIT']._serialized_start=825 - _globals['_MAXFUNDSLIMIT']._serialized_end=1004 - _globals['_COMBINEDLIMIT']._serialized_start=1007 - _globals['_COMBINEDLIMIT']._serialized_end=1211 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1213 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1312 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1314 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1433 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1436 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=1577 + _globals['_STORECODEAUTHORIZATION']._serialized_start=208 + _globals['_STORECODEAUTHORIZATION']._serialized_end=360 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=363 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=535 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=538 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=710 + _globals['_CODEGRANT']._serialized_start=712 + _globals['_CODEGRANT']._serialized_end=806 + _globals['_CONTRACTGRANT']._serialized_start=809 + _globals['_CONTRACTGRANT']._serialized_end=1028 + _globals['_MAXCALLSLIMIT']._serialized_start=1030 + _globals['_MAXCALLSLIMIT']._serialized_end=1129 + _globals['_MAXFUNDSLIMIT']._serialized_start=1132 + _globals['_MAXFUNDSLIMIT']._serialized_end=1311 + _globals['_COMBINEDLIMIT']._serialized_start=1314 + _globals['_COMBINEDLIMIT']._serialized_end=1518 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1520 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1619 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1621 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1740 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1743 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=1884 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py index 18e31e46..225daf64 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py @@ -14,9 +14,10 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xaa\x02\n\x0cGenesisState\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x43\n\x05\x63odes\x18\x02 \x03(\x0b\x32\x16.cosmwasm.wasm.v1.CodeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x0f\x63odes,omitempty\xa8\xe7\xb0*\x01\x12O\n\tcontracts\x18\x03 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.ContractB \xc8\xde\x1f\x00\xea\xde\x1f\x13\x63ontracts,omitempty\xa8\xe7\xb0*\x01\x12O\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01\"\x81\x01\n\x04\x43ode\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x38\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x12\n\ncode_bytes\x18\x03 \x01(\x0c\x12\x0e\n\x06pinned\x18\x04 \x01(\x08\"\xf8\x01\n\x08\x43ontract\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12@\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12:\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12T\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"4\n\x08Sequence\x12\x19\n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKey\x12\r\n\x05value\x18\x02 \x01(\x04\x42(Z&github.com/CosmWasm/wasmd/x/wasm/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xaa\x02\n\x0cGenesisState\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x43\n\x05\x63odes\x18\x02 \x03(\x0b\x32\x16.cosmwasm.wasm.v1.CodeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x0f\x63odes,omitempty\xa8\xe7\xb0*\x01\x12O\n\tcontracts\x18\x03 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.ContractB \xc8\xde\x1f\x00\xea\xde\x1f\x13\x63ontracts,omitempty\xa8\xe7\xb0*\x01\x12O\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01\"\x81\x01\n\x04\x43ode\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x38\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x12\n\ncode_bytes\x18\x03 \x01(\x0c\x12\x0e\n\x06pinned\x18\x04 \x01(\x08\"\x92\x02\n\x08\x43ontract\x12\x32\n\x10\x63ontract_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12@\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12:\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12T\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"4\n\x08Sequence\x12\x19\n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKey\x12\r\n\x05value\x18\x02 \x01(\x04\x42(Z&github.com/CosmWasm/wasmd/x/wasm/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -37,6 +38,8 @@ _CODE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _CODE.fields_by_name['code_info']._options = None _CODE.fields_by_name['code_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _CONTRACT.fields_by_name['contract_address']._options = None + _CONTRACT.fields_by_name['contract_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _CONTRACT.fields_by_name['contract_info']._options = None _CONTRACT.fields_by_name['contract_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACT.fields_by_name['contract_state']._options = None @@ -45,12 +48,12 @@ _CONTRACT.fields_by_name['contract_code_history']._serialized_options = b'\310\336\037\000\250\347\260*\001' _SEQUENCE.fields_by_name['id_key']._options = None _SEQUENCE.fields_by_name['id_key']._serialized_options = b'\342\336\037\005IDKey' - _globals['_GENESISSTATE']._serialized_start=124 - _globals['_GENESISSTATE']._serialized_end=422 - _globals['_CODE']._serialized_start=425 - _globals['_CODE']._serialized_end=554 - _globals['_CONTRACT']._serialized_start=557 - _globals['_CONTRACT']._serialized_end=805 - _globals['_SEQUENCE']._serialized_start=807 - _globals['_SEQUENCE']._serialized_end=859 + _globals['_GENESISSTATE']._serialized_start=151 + _globals['_GENESISSTATE']._serialized_end=449 + _globals['_CODE']._serialized_start=452 + _globals['_CODE']._serialized_end=581 + _globals['_CONTRACT']._serialized_start=584 + _globals['_CONTRACT']._serialized_end=858 + _globals['_SEQUENCE']._serialized_start=860 + _globals['_SEQUENCE']._serialized_end=912 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py index 49b6692c..2b5434a1 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py @@ -18,7 +18,7 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmwasm/wasm/v1/proposal.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xc2\x02\n\x11StoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x08 \x01(\x08\x12\x0e\n\x06source\x18\t \x01(\t\x12\x0f\n\x07\x62uilder\x18\n \x01(\t\x12\x11\n\tcode_hash\x18\x0b \x01(\x0c:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\xd9\x02\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\xfa\x02\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\t \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\n \x01(\x08:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xd4\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x06 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xb1\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xa8\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\xb3\x01\n\x13UpdateAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\'\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\"\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\x88\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xce\x01\n\x10PinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xd2\x01\n\x12UnpinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x02\n\x1fUpdateInstantiateConfigProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12N\n\x15\x61\x63\x63\x65ss_config_updates\x18\x03 \x03(\x0b\x32$.cosmwasm.wasm.v1.AccessConfigUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\xfe\x03\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x06 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x07 \x01(\t\x12\r\n\x05label\x18\x08 \x01(\t\x12#\n\x03msg\x18\t \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0c \x01(\t\x12\x11\n\tcode_hash\x18\r \x01(\x0c:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB4Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmwasm/wasm/v1/proposal.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xdc\x02\n\x11StoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x08 \x01(\x08\x12\x0e\n\x06source\x18\t \x01(\t\x12\x0f\n\x07\x62uilder\x18\n \x01(\t\x12\x11\n\tcode_hash\x18\x0b \x01(\x0c:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\x8d\x03\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\xae\x03\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\t \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\n \x01(\x08:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xee\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x06 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xcb\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xdc\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\xe5\x01\n\x13UpdateAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12?\n\tnew_admin\x18\x03 \x01(\tB,\xf2\xde\x1f\x10yaml:\"new_admin\"\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\xa2\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xa4\x01\n\x10PinCodesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xa8\x01\n\x12UnpinCodesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x02\n\x1fUpdateInstantiateConfigProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12N\n\x15\x61\x63\x63\x65ss_config_updates\x18\x03 \x03(\x0b\x32$.cosmwasm.wasm.v1.AccessConfigUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\x98\x04\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x06 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x07 \x01(\t\x12\r\n\x05label\x18\x08 \x01(\t\x12#\n\x03msg\x18\t \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0c \x01(\t\x12\x11\n\tcode_hash\x18\r \x01(\x0c:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB4Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,10 +27,16 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\330\341\036\000\250\342\036\001' + _STORECODEPROPOSAL.fields_by_name['run_as']._options = None + _STORECODEPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._options = None _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' _STORECODEPROPOSAL._options = None _STORECODEPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['admin']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None @@ -39,6 +45,10 @@ _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _INSTANTIATECONTRACTPROPOSAL._options = None _INSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['run_as']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['admin']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._options = None _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._options = None @@ -47,16 +57,24 @@ _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _INSTANTIATECONTRACT2PROPOSAL._options = None _INSTANTIATECONTRACT2PROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' + _MIGRATECONTRACTPROPOSAL.fields_by_name['contract']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._options = None _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MIGRATECONTRACTPROPOSAL._options = None _MIGRATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' + _SUDOCONTRACTPROPOSAL.fields_by_name['contract']._options = None + _SUDOCONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._options = None _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _SUDOCONTRACTPROPOSAL._options = None _SUDOCONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' + _EXECUTECONTRACTPROPOSAL.fields_by_name['run_as']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _EXECUTECONTRACTPROPOSAL.fields_by_name['contract']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._options = None _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._options = None @@ -64,23 +82,19 @@ _EXECUTECONTRACTPROPOSAL._options = None _EXECUTECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._options = None - _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"' + _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"\322\264-\024cosmos.AddressString' + _UPDATEADMINPROPOSAL.fields_by_name['contract']._options = None + _UPDATEADMINPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _UPDATEADMINPROPOSAL._options = None _UPDATEADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' + _CLEARADMINPROPOSAL.fields_by_name['contract']._options = None + _CLEARADMINPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _CLEARADMINPROPOSAL._options = None _CLEARADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' - _PINCODESPROPOSAL.fields_by_name['title']._options = None - _PINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' - _PINCODESPROPOSAL.fields_by_name['description']._options = None - _PINCODESPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' _PINCODESPROPOSAL.fields_by_name['code_ids']._options = None _PINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' _PINCODESPROPOSAL._options = None _PINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' - _UNPINCODESPROPOSAL.fields_by_name['title']._options = None - _UNPINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' - _UNPINCODESPROPOSAL.fields_by_name['description']._options = None - _UNPINCODESPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' _UNPINCODESPROPOSAL.fields_by_name['code_ids']._options = None _UNPINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' _UNPINCODESPROPOSAL._options = None @@ -97,6 +111,8 @@ _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' _UPDATEINSTANTIATECONFIGPROPOSAL._options = None _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._options = None _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None @@ -106,29 +122,29 @@ _STOREANDINSTANTIATECONTRACTPROPOSAL._options = None _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' _globals['_STORECODEPROPOSAL']._serialized_start=184 - _globals['_STORECODEPROPOSAL']._serialized_end=506 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=509 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=854 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=857 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1235 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1238 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1450 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1453 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=1630 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=1633 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=1929 - _globals['_UPDATEADMINPROPOSAL']._serialized_start=1932 - _globals['_UPDATEADMINPROPOSAL']._serialized_end=2111 - _globals['_CLEARADMINPROPOSAL']._serialized_start=2114 - _globals['_CLEARADMINPROPOSAL']._serialized_end=2250 - _globals['_PINCODESPROPOSAL']._serialized_start=2253 - _globals['_PINCODESPROPOSAL']._serialized_end=2459 - _globals['_UNPINCODESPROPOSAL']._serialized_start=2462 - _globals['_UNPINCODESPROPOSAL']._serialized_end=2672 - _globals['_ACCESSCONFIGUPDATE']._serialized_start=2674 - _globals['_ACCESSCONFIGUPDATE']._serialized_end=2798 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=2801 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3067 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=3070 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=3580 + _globals['_STORECODEPROPOSAL']._serialized_end=532 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=535 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=932 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=935 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1365 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1368 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1606 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1609 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=1812 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=1815 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=2163 + _globals['_UPDATEADMINPROPOSAL']._serialized_start=2166 + _globals['_UPDATEADMINPROPOSAL']._serialized_end=2395 + _globals['_CLEARADMINPROPOSAL']._serialized_start=2398 + _globals['_CLEARADMINPROPOSAL']._serialized_end=2560 + _globals['_PINCODESPROPOSAL']._serialized_start=2563 + _globals['_PINCODESPROPOSAL']._serialized_end=2727 + _globals['_UNPINCODESPROPOSAL']._serialized_start=2730 + _globals['_UNPINCODESPROPOSAL']._serialized_end=2898 + _globals['_ACCESSCONFIGUPDATE']._serialized_start=2900 + _globals['_ACCESSCONFIGUPDATE']._serialized_end=3024 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=3027 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3293 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=3296 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=3832 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py index bd8315e3..eba7447c 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py @@ -16,9 +16,10 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\"+\n\x18QueryContractInfoRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"|\n\x19QueryContractInfoResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12H\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\x11\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xea\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01\"j\n\x1bQueryContractHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa3\x01\n\x1cQueryContractHistoryResponse\x12\x46\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"j\n\x1bQueryContractsByCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"n\n\x1cQueryContractsByCodeResponse\x12\x11\n\tcontracts\x18\x01 \x03(\t\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"k\n\x1cQueryAllContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n\x1dQueryAllContractStateResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"C\n\x1cQueryRawContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x12\n\nquery_data\x18\x02 \x01(\x0c\"-\n\x1dQueryRawContractStateResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"]\n\x1eQuerySmartContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12*\n\nquery_data\x18\x02 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"G\n\x1fQuerySmartContractStateResponse\x12$\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"#\n\x10QueryCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\"\xec\x01\n\x10\x43odeInfoResponse\x12!\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02id\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12G\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12I\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"r\n\x11QueryCodeResponse\x12?\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00\x12\x16\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"O\n\x11QueryCodesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x94\x01\n\x12QueryCodesResponse\x12\x41\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"U\n\x17QueryPinnedCodesRequest\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"v\n\x18QueryPinnedCodesResponse\x12\x1d\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDs\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"J\n\x13QueryParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"u\n\x1eQueryContractsByCreatorRequest\x12\x17\n\x0f\x63reator_address\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"z\n\x1fQueryContractsByCreatorResponse\x12\x1a\n\x12\x63ontract_addresses\x18\x01 \x03(\t\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xc3\r\n\x05Query\x12\x95\x01\n\x0c\x43ontractInfo\x12*.cosmwasm.wasm.v1.QueryContractInfoRequest\x1a+.cosmwasm.wasm.v1.QueryContractInfoResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmwasm/wasm/v1/contract/{address}\x12\xa6\x01\n\x0f\x43ontractHistory\x12-.cosmwasm.wasm.v1.QueryContractHistoryRequest\x1a..cosmwasm.wasm.v1.QueryContractHistoryResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmwasm/wasm/v1/contract/{address}/history\x12\xa4\x01\n\x0f\x43ontractsByCode\x12-.cosmwasm.wasm.v1.QueryContractsByCodeRequest\x1a..cosmwasm.wasm.v1.QueryContractsByCodeResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/code/{code_id}/contracts\x12\xa7\x01\n\x10\x41llContractState\x12..cosmwasm.wasm.v1.QueryAllContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryAllContractStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/contract/{address}/state\x12\xb2\x01\n\x10RawContractState\x12..cosmwasm.wasm.v1.QueryRawContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryRawContractStateResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}\x12\xba\x01\n\x12SmartContractState\x12\x30.cosmwasm.wasm.v1.QuerySmartContractStateRequest\x1a\x31.cosmwasm.wasm.v1.QuerySmartContractStateResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}\x12y\n\x04\x43ode\x12\".cosmwasm.wasm.v1.QueryCodeRequest\x1a#.cosmwasm.wasm.v1.QueryCodeResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmwasm/wasm/v1/code/{code_id}\x12r\n\x05\x43odes\x12#.cosmwasm.wasm.v1.QueryCodesRequest\x1a$.cosmwasm.wasm.v1.QueryCodesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmwasm/wasm/v1/code\x12\x8c\x01\n\x0bPinnedCodes\x12).cosmwasm.wasm.v1.QueryPinnedCodesRequest\x1a*.cosmwasm.wasm.v1.QueryPinnedCodesResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/pinned\x12}\n\x06Params\x12$.cosmwasm.wasm.v1.QueryParamsRequest\x1a%.cosmwasm.wasm.v1.QueryParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/params\x12\xb8\x01\n\x12\x43ontractsByCreator\x12\x30.cosmwasm.wasm.v1.QueryContractsByCreatorRequest\x1a\x31.cosmwasm.wasm.v1.QueryContractsByCreatorResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contracts/creator/{creator_address}B0Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"E\n\x18QueryContractInfoRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\x96\x01\n\x19QueryContractInfoResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12H\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\x11\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xea\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01\"\x84\x01\n\x1bQueryContractHistoryRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa3\x01\n\x1cQueryContractHistoryResponse\x12\x46\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"j\n\x1bQueryContractsByCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x88\x01\n\x1cQueryContractsByCodeResponse\x12+\n\tcontracts\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x85\x01\n\x1cQueryAllContractStateRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n\x1dQueryAllContractStateResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"]\n\x1cQueryRawContractStateRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x12\n\nquery_data\x18\x02 \x01(\x0c\"-\n\x1dQueryRawContractStateResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"w\n\x1eQuerySmartContractStateRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\nquery_data\x18\x02 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"G\n\x1fQuerySmartContractStateResponse\x12$\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"#\n\x10QueryCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\"\x86\x02\n\x10\x43odeInfoResponse\x12!\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02id\x12)\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12G\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12I\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"r\n\x11QueryCodeResponse\x12?\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00\x12\x16\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"O\n\x11QueryCodesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x94\x01\n\x12QueryCodesResponse\x12\x41\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"U\n\x17QueryPinnedCodesRequest\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"v\n\x18QueryPinnedCodesResponse\x12\x1d\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDs\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"J\n\x13QueryParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8f\x01\n\x1eQueryContractsByCreatorRequest\x12\x31\n\x0f\x63reator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x94\x01\n\x1fQueryContractsByCreatorResponse\x12\x34\n\x12\x63ontract_addresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xc3\r\n\x05Query\x12\x95\x01\n\x0c\x43ontractInfo\x12*.cosmwasm.wasm.v1.QueryContractInfoRequest\x1a+.cosmwasm.wasm.v1.QueryContractInfoResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmwasm/wasm/v1/contract/{address}\x12\xa6\x01\n\x0f\x43ontractHistory\x12-.cosmwasm.wasm.v1.QueryContractHistoryRequest\x1a..cosmwasm.wasm.v1.QueryContractHistoryResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmwasm/wasm/v1/contract/{address}/history\x12\xa4\x01\n\x0f\x43ontractsByCode\x12-.cosmwasm.wasm.v1.QueryContractsByCodeRequest\x1a..cosmwasm.wasm.v1.QueryContractsByCodeResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/code/{code_id}/contracts\x12\xa7\x01\n\x10\x41llContractState\x12..cosmwasm.wasm.v1.QueryAllContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryAllContractStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/contract/{address}/state\x12\xb2\x01\n\x10RawContractState\x12..cosmwasm.wasm.v1.QueryRawContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryRawContractStateResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}\x12\xba\x01\n\x12SmartContractState\x12\x30.cosmwasm.wasm.v1.QuerySmartContractStateRequest\x1a\x31.cosmwasm.wasm.v1.QuerySmartContractStateResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}\x12y\n\x04\x43ode\x12\".cosmwasm.wasm.v1.QueryCodeRequest\x1a#.cosmwasm.wasm.v1.QueryCodeResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmwasm/wasm/v1/code/{code_id}\x12r\n\x05\x43odes\x12#.cosmwasm.wasm.v1.QueryCodesRequest\x1a$.cosmwasm.wasm.v1.QueryCodesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmwasm/wasm/v1/code\x12\x8c\x01\n\x0bPinnedCodes\x12).cosmwasm.wasm.v1.QueryPinnedCodesRequest\x1a*.cosmwasm.wasm.v1.QueryPinnedCodesResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/pinned\x12}\n\x06Params\x12$.cosmwasm.wasm.v1.QueryParamsRequest\x1a%.cosmwasm.wasm.v1.QueryParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/params\x12\xb8\x01\n\x12\x43ontractsByCreator\x12\x30.cosmwasm.wasm.v1.QueryContractsByCreatorRequest\x1a\x31.cosmwasm.wasm.v1.QueryContractsByCreatorResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contracts/creator/{creator_address}B0Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,20 +28,36 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\250\342\036\000' + _QUERYCONTRACTINFOREQUEST.fields_by_name['address']._options = None + _QUERYCONTRACTINFOREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _QUERYCONTRACTINFORESPONSE.fields_by_name['address']._options = None + _QUERYCONTRACTINFORESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYCONTRACTINFORESPONSE.fields_by_name['contract_info']._options = None _QUERYCONTRACTINFORESPONSE.fields_by_name['contract_info']._serialized_options = b'\310\336\037\000\320\336\037\001\352\336\037\000\250\347\260*\001' _QUERYCONTRACTINFORESPONSE._options = None _QUERYCONTRACTINFORESPONSE._serialized_options = b'\350\240\037\001' + _QUERYCONTRACTHISTORYREQUEST.fields_by_name['address']._options = None + _QUERYCONTRACTHISTORYREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYCONTRACTHISTORYRESPONSE.fields_by_name['entries']._options = None _QUERYCONTRACTHISTORYRESPONSE.fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _QUERYCONTRACTSBYCODERESPONSE.fields_by_name['contracts']._options = None + _QUERYCONTRACTSBYCODERESPONSE.fields_by_name['contracts']._serialized_options = b'\322\264-\024cosmos.AddressString' + _QUERYALLCONTRACTSTATEREQUEST.fields_by_name['address']._options = None + _QUERYALLCONTRACTSTATEREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYALLCONTRACTSTATERESPONSE.fields_by_name['models']._options = None _QUERYALLCONTRACTSTATERESPONSE.fields_by_name['models']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _QUERYRAWCONTRACTSTATEREQUEST.fields_by_name['address']._options = None + _QUERYRAWCONTRACTSTATEREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['address']._options = None + _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['query_data']._options = None _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['query_data']._serialized_options = b'\372\336\037\022RawContractMessage' _QUERYSMARTCONTRACTSTATERESPONSE.fields_by_name['data']._options = None _QUERYSMARTCONTRACTSTATERESPONSE.fields_by_name['data']._serialized_options = b'\372\336\037\022RawContractMessage' _CODEINFORESPONSE.fields_by_name['code_id']._options = None _CODEINFORESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID\352\336\037\002id' + _CODEINFORESPONSE.fields_by_name['creator']._options = None + _CODEINFORESPONSE.fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' _CODEINFORESPONSE.fields_by_name['data_hash']._options = None _CODEINFORESPONSE.fields_by_name['data_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' _CODEINFORESPONSE.fields_by_name['instantiate_permission']._options = None @@ -59,6 +76,10 @@ _QUERYPINNEDCODESRESPONSE.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs' _QUERYPARAMSRESPONSE.fields_by_name['params']._options = None _QUERYPARAMSRESPONSE.fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _QUERYCONTRACTSBYCREATORREQUEST.fields_by_name['creator_address']._options = None + _QUERYCONTRACTSBYCREATORREQUEST.fields_by_name['creator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _QUERYCONTRACTSBYCREATORRESPONSE.fields_by_name['contract_addresses']._options = None + _QUERYCONTRACTSBYCREATORRESPONSE.fields_by_name['contract_addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERY.methods_by_name['ContractInfo']._options = None _QUERY.methods_by_name['ContractInfo']._serialized_options = b'\202\323\344\223\002&\022$/cosmwasm/wasm/v1/contract/{address}' _QUERY.methods_by_name['ContractHistory']._options = None @@ -81,52 +102,52 @@ _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/params' _QUERY.methods_by_name['ContractsByCreator']._options = None _QUERY.methods_by_name['ContractsByCreator']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contracts/creator/{creator_address}' - _globals['_QUERYCONTRACTINFOREQUEST']._serialized_start=195 - _globals['_QUERYCONTRACTINFOREQUEST']._serialized_end=238 - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_start=240 - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_end=364 - _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_start=366 - _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_end=472 - _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_start=475 - _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_end=638 - _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_start=640 - _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_end=746 - _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_start=748 - _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_end=858 - _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_start=860 - _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_end=967 - _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_start=970 - _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_end=1114 - _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_start=1116 - _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_end=1183 - _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_start=1185 - _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_end=1230 - _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_start=1232 - _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_end=1325 - _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_start=1327 - _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_end=1398 - _globals['_QUERYCODEREQUEST']._serialized_start=1400 - _globals['_QUERYCODEREQUEST']._serialized_end=1435 - _globals['_CODEINFORESPONSE']._serialized_start=1438 - _globals['_CODEINFORESPONSE']._serialized_end=1674 - _globals['_QUERYCODERESPONSE']._serialized_start=1676 - _globals['_QUERYCODERESPONSE']._serialized_end=1790 - _globals['_QUERYCODESREQUEST']._serialized_start=1792 - _globals['_QUERYCODESREQUEST']._serialized_end=1871 - _globals['_QUERYCODESRESPONSE']._serialized_start=1874 - _globals['_QUERYCODESRESPONSE']._serialized_end=2022 - _globals['_QUERYPINNEDCODESREQUEST']._serialized_start=2024 - _globals['_QUERYPINNEDCODESREQUEST']._serialized_end=2109 - _globals['_QUERYPINNEDCODESRESPONSE']._serialized_start=2111 - _globals['_QUERYPINNEDCODESRESPONSE']._serialized_end=2229 - _globals['_QUERYPARAMSREQUEST']._serialized_start=2231 - _globals['_QUERYPARAMSREQUEST']._serialized_end=2251 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=2253 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=2327 - _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_start=2329 - _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_end=2446 - _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_start=2448 - _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_end=2570 - _globals['_QUERY']._serialized_start=2573 - _globals['_QUERY']._serialized_end=4304 + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_start=222 + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_end=291 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_start=294 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_end=444 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_start=447 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_end=579 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_start=582 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_end=745 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_start=747 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_end=853 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_start=856 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_end=992 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_start=995 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_end=1128 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_start=1131 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_end=1275 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_start=1277 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_end=1370 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_start=1372 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_end=1417 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_start=1419 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_end=1538 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_start=1540 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_end=1611 + _globals['_QUERYCODEREQUEST']._serialized_start=1613 + _globals['_QUERYCODEREQUEST']._serialized_end=1648 + _globals['_CODEINFORESPONSE']._serialized_start=1651 + _globals['_CODEINFORESPONSE']._serialized_end=1913 + _globals['_QUERYCODERESPONSE']._serialized_start=1915 + _globals['_QUERYCODERESPONSE']._serialized_end=2029 + _globals['_QUERYCODESREQUEST']._serialized_start=2031 + _globals['_QUERYCODESREQUEST']._serialized_end=2110 + _globals['_QUERYCODESRESPONSE']._serialized_start=2113 + _globals['_QUERYCODESRESPONSE']._serialized_end=2261 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_start=2263 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_end=2348 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_start=2350 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_end=2468 + _globals['_QUERYPARAMSREQUEST']._serialized_start=2470 + _globals['_QUERYPARAMSREQUEST']._serialized_end=2490 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=2492 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=2566 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_start=2569 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_end=2712 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_start=2715 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_end=2863 + _globals['_QUERY']._serialized_start=2866 + _globals['_QUERY']._serialized_end=4597 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py index 51a995ec..661c797e 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py @@ -19,7 +19,7 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb7\x01\n\x0cMsgStoreCode\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\x96\x02\n\x16MsgInstantiateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"?\n\x1eMsgInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb7\x02\n\x17MsgInstantiateContract2\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"@\n\x1fMsgInstantiateContract2Response\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xe5\x01\n\x12MsgExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xa1\x01\n\x12MsgMigrateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"j\n\x0eMsgUpdateAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"U\n\rMsgClearAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\xbe\x01\n\x1aMsgUpdateInstantiateConfig\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9e\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xdb\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x06 \x01(\t\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"G\n&MsgStoreAndInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb0\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xb6\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse2\xdc\x0c\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponse\x12\x95\x01\n\x1fRemoveCodeUploadParamsAddresses\x12\x34.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses\x1a<.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse\x12\x8c\x01\n\x1c\x41\x64\x64\x43odeUploadParamsAddresses\x12\x31.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses\x1a\x39.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponseB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xd1\x01\n\x0cMsgStoreCode\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\xca\x02\n\x16MsgInstantiateContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"Y\n\x1eMsgInstantiateContractResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xeb\x02\n\x17MsgInstantiateContract2\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"Z\n\x1fMsgInstantiateContract2Response\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\x99\x02\n\x12MsgExecuteContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xd5\x01\n\x12MsgMigrateContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xb8\x01\n\x0eMsgUpdateAdmin\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\tnew_admin\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"\x89\x01\n\rMsgClearAdmin\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\xd8\x01\n\x1aMsgUpdateInstantiateConfig\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xb8\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xf5\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\'\n\x05\x61\x64min\x18\x06 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"a\n&MsgStoreAndInstantiateContractResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb0\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xb6\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse\"\x9e\x02\n\x1aMsgStoreAndMigrateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract\"a\n\"MsgStoreAndMigrateContractResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\xae\x01\n\x16MsgUpdateContractLabel\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x11\n\tnew_label\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgUpdateContractLabel\" \n\x1eMsgUpdateContractLabelResponse2\xd5\x0e\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponse\x12\x95\x01\n\x1fRemoveCodeUploadParamsAddresses\x12\x34.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses\x1a<.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse\x12\x8c\x01\n\x1c\x41\x64\x64\x43odeUploadParamsAddresses\x12\x31.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses\x1a\x39.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponse\x12}\n\x17StoreAndMigrateContract\x12,.cosmwasm.wasm.v1.MsgStoreAndMigrateContract\x1a\x34.cosmwasm.wasm.v1.MsgStoreAndMigrateContractResponse\x12q\n\x13UpdateContractLabel\x12(.cosmwasm.wasm.v1.MsgUpdateContractLabel\x1a\x30.cosmwasm.wasm.v1.MsgUpdateContractLabelResponse\x1a\x05\x80\xe7\xb0*\x01\x42,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,12 +28,18 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000' + _MSGSTORECODE.fields_by_name['sender']._options = None + _MSGSTORECODE.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSTORECODE.fields_by_name['wasm_byte_code']._options = None _MSGSTORECODE.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' _MSGSTORECODE._options = None _MSGSTORECODE._serialized_options = b'\202\347\260*\006sender\212\347\260*\021wasm/MsgStoreCode' _MSGSTORECODERESPONSE.fields_by_name['code_id']._options = None _MSGSTORECODERESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _MSGINSTANTIATECONTRACT.fields_by_name['sender']._options = None + _MSGINSTANTIATECONTRACT.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGINSTANTIATECONTRACT.fields_by_name['admin']._options = None + _MSGINSTANTIATECONTRACT.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGINSTANTIATECONTRACT.fields_by_name['code_id']._options = None _MSGINSTANTIATECONTRACT.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGINSTANTIATECONTRACT.fields_by_name['msg']._options = None @@ -42,6 +48,12 @@ _MSGINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGINSTANTIATECONTRACT._options = None _MSGINSTANTIATECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgInstantiateContract' + _MSGINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._options = None + _MSGINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGINSTANTIATECONTRACT2.fields_by_name['sender']._options = None + _MSGINSTANTIATECONTRACT2.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGINSTANTIATECONTRACT2.fields_by_name['admin']._options = None + _MSGINSTANTIATECONTRACT2.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGINSTANTIATECONTRACT2.fields_by_name['code_id']._options = None _MSGINSTANTIATECONTRACT2.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGINSTANTIATECONTRACT2.fields_by_name['msg']._options = None @@ -50,22 +62,44 @@ _MSGINSTANTIATECONTRACT2.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGINSTANTIATECONTRACT2._options = None _MSGINSTANTIATECONTRACT2._serialized_options = b'\202\347\260*\006sender\212\347\260*\034wasm/MsgInstantiateContract2' + _MSGINSTANTIATECONTRACT2RESPONSE.fields_by_name['address']._options = None + _MSGINSTANTIATECONTRACT2RESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGEXECUTECONTRACT.fields_by_name['sender']._options = None + _MSGEXECUTECONTRACT.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGEXECUTECONTRACT.fields_by_name['contract']._options = None + _MSGEXECUTECONTRACT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGEXECUTECONTRACT.fields_by_name['msg']._options = None _MSGEXECUTECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGEXECUTECONTRACT.fields_by_name['funds']._options = None _MSGEXECUTECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGEXECUTECONTRACT._options = None _MSGEXECUTECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgExecuteContract' + _MSGMIGRATECONTRACT.fields_by_name['sender']._options = None + _MSGMIGRATECONTRACT.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGMIGRATECONTRACT.fields_by_name['contract']._options = None + _MSGMIGRATECONTRACT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGMIGRATECONTRACT.fields_by_name['code_id']._options = None _MSGMIGRATECONTRACT.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGMIGRATECONTRACT.fields_by_name['msg']._options = None _MSGMIGRATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGMIGRATECONTRACT._options = None _MSGMIGRATECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgMigrateContract' + _MSGUPDATEADMIN.fields_by_name['sender']._options = None + _MSGUPDATEADMIN.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATEADMIN.fields_by_name['new_admin']._options = None + _MSGUPDATEADMIN.fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATEADMIN.fields_by_name['contract']._options = None + _MSGUPDATEADMIN.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEADMIN._options = None _MSGUPDATEADMIN._serialized_options = b'\202\347\260*\006sender\212\347\260*\023wasm/MsgUpdateAdmin' + _MSGCLEARADMIN.fields_by_name['sender']._options = None + _MSGCLEARADMIN.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGCLEARADMIN.fields_by_name['contract']._options = None + _MSGCLEARADMIN.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGCLEARADMIN._options = None _MSGCLEARADMIN._serialized_options = b'\202\347\260*\006sender\212\347\260*\022wasm/MsgClearAdmin' + _MSGUPDATEINSTANTIATECONFIG.fields_by_name['sender']._options = None + _MSGUPDATEINSTANTIATECONFIG.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEINSTANTIATECONFIG.fields_by_name['code_id']._options = None _MSGUPDATEINSTANTIATECONFIG.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGUPDATEINSTANTIATECONFIG._options = None @@ -78,6 +112,8 @@ _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgUpdateParams' _MSGSUDOCONTRACT.fields_by_name['authority']._options = None _MSGSUDOCONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGSUDOCONTRACT.fields_by_name['contract']._options = None + _MSGSUDOCONTRACT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSUDOCONTRACT.fields_by_name['msg']._options = None _MSGSUDOCONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGSUDOCONTRACT._options = None @@ -98,12 +134,16 @@ _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['wasm_byte_code']._options = None _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['admin']._options = None + _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['msg']._options = None _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['funds']._options = None _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGSTOREANDINSTANTIATECONTRACT._options = None _MSGSTOREANDINSTANTIATECONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract' + _MSGSTOREANDINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._options = None + _MSGSTOREANDINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._options = None _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._options = None @@ -116,66 +156,92 @@ _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' _MSGREMOVECODEUPLOADPARAMSADDRESSES._options = None _MSGREMOVECODEUPLOADPARAMSADDRESSES._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'wasm/MsgRemoveCodeUploadParamsAddresses' + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['authority']._options = None + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['wasm_byte_code']._options = None + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['msg']._options = None + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _MSGSTOREANDMIGRATECONTRACT._options = None + _MSGSTOREANDMIGRATECONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*\037wasm/MsgStoreAndMigrateContract' + _MSGSTOREANDMIGRATECONTRACTRESPONSE.fields_by_name['code_id']._options = None + _MSGSTOREANDMIGRATECONTRACTRESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _MSGUPDATECONTRACTLABEL.fields_by_name['sender']._options = None + _MSGUPDATECONTRACTLABEL.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATECONTRACTLABEL.fields_by_name['contract']._options = None + _MSGUPDATECONTRACTLABEL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATECONTRACTLABEL._options = None + _MSGUPDATECONTRACTLABEL._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgUpdateContractLabel' + _MSG._options = None + _MSG._serialized_options = b'\200\347\260*\001' _globals['_MSGSTORECODE']._serialized_start=203 - _globals['_MSGSTORECODE']._serialized_end=386 - _globals['_MSGSTORECODERESPONSE']._serialized_start=388 - _globals['_MSGSTORECODERESPONSE']._serialized_end=457 - _globals['_MSGINSTANTIATECONTRACT']._serialized_start=460 - _globals['_MSGINSTANTIATECONTRACT']._serialized_end=738 - _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_start=740 - _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_end=803 - _globals['_MSGINSTANTIATECONTRACT2']._serialized_start=806 - _globals['_MSGINSTANTIATECONTRACT2']._serialized_end=1117 - _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_start=1119 - _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_end=1183 - _globals['_MSGEXECUTECONTRACT']._serialized_start=1186 - _globals['_MSGEXECUTECONTRACT']._serialized_end=1415 - _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_start=1417 - _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_end=1459 - _globals['_MSGMIGRATECONTRACT']._serialized_start=1462 - _globals['_MSGMIGRATECONTRACT']._serialized_end=1623 - _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_start=1625 - _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_end=1667 - _globals['_MSGUPDATEADMIN']._serialized_start=1669 - _globals['_MSGUPDATEADMIN']._serialized_end=1775 - _globals['_MSGUPDATEADMINRESPONSE']._serialized_start=1777 - _globals['_MSGUPDATEADMINRESPONSE']._serialized_end=1801 - _globals['_MSGCLEARADMIN']._serialized_start=1803 - _globals['_MSGCLEARADMIN']._serialized_end=1888 - _globals['_MSGCLEARADMINRESPONSE']._serialized_start=1890 - _globals['_MSGCLEARADMINRESPONSE']._serialized_end=1913 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=1916 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=2106 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=2108 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=2144 - _globals['_MSGUPDATEPARAMS']._serialized_start=2147 - _globals['_MSGUPDATEPARAMS']._serialized_end=2303 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2305 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2330 - _globals['_MSGSUDOCONTRACT']._serialized_start=2333 - _globals['_MSGSUDOCONTRACT']._serialized_end=2491 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=2493 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=2532 - _globals['_MSGPINCODES']._serialized_start=2535 - _globals['_MSGPINCODES']._serialized_end=2680 - _globals['_MSGPINCODESRESPONSE']._serialized_start=2682 - _globals['_MSGPINCODESRESPONSE']._serialized_end=2703 - _globals['_MSGUNPINCODES']._serialized_start=2706 - _globals['_MSGUNPINCODES']._serialized_end=2855 - _globals['_MSGUNPINCODESRESPONSE']._serialized_start=2857 - _globals['_MSGUNPINCODESRESPONSE']._serialized_end=2880 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=2883 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3358 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3360 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=3431 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=3434 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=3610 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=3612 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=3653 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=3656 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=3838 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=3840 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=3884 - _globals['_MSG']._serialized_start=3887 - _globals['_MSG']._serialized_end=5515 + _globals['_MSGSTORECODE']._serialized_end=412 + _globals['_MSGSTORECODERESPONSE']._serialized_start=414 + _globals['_MSGSTORECODERESPONSE']._serialized_end=483 + _globals['_MSGINSTANTIATECONTRACT']._serialized_start=486 + _globals['_MSGINSTANTIATECONTRACT']._serialized_end=816 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_start=818 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_end=907 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_start=910 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_end=1273 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_start=1275 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_end=1365 + _globals['_MSGEXECUTECONTRACT']._serialized_start=1368 + _globals['_MSGEXECUTECONTRACT']._serialized_end=1649 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_start=1651 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_end=1693 + _globals['_MSGMIGRATECONTRACT']._serialized_start=1696 + _globals['_MSGMIGRATECONTRACT']._serialized_end=1909 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_start=1911 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_end=1953 + _globals['_MSGUPDATEADMIN']._serialized_start=1956 + _globals['_MSGUPDATEADMIN']._serialized_end=2140 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_start=2142 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_end=2166 + _globals['_MSGCLEARADMIN']._serialized_start=2169 + _globals['_MSGCLEARADMIN']._serialized_end=2306 + _globals['_MSGCLEARADMINRESPONSE']._serialized_start=2308 + _globals['_MSGCLEARADMINRESPONSE']._serialized_end=2331 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=2334 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=2550 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=2552 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=2588 + _globals['_MSGUPDATEPARAMS']._serialized_start=2591 + _globals['_MSGUPDATEPARAMS']._serialized_end=2747 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2749 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2774 + _globals['_MSGSUDOCONTRACT']._serialized_start=2777 + _globals['_MSGSUDOCONTRACT']._serialized_end=2961 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=2963 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=3002 + _globals['_MSGPINCODES']._serialized_start=3005 + _globals['_MSGPINCODES']._serialized_end=3150 + _globals['_MSGPINCODESRESPONSE']._serialized_start=3152 + _globals['_MSGPINCODESRESPONSE']._serialized_end=3173 + _globals['_MSGUNPINCODES']._serialized_start=3176 + _globals['_MSGUNPINCODES']._serialized_end=3325 + _globals['_MSGUNPINCODESRESPONSE']._serialized_start=3327 + _globals['_MSGUNPINCODESRESPONSE']._serialized_end=3350 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=3353 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3854 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3856 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=3953 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=3956 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=4132 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4134 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4175 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=4178 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=4360 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4362 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4406 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=4409 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=4695 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=4697 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=4794 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=4797 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=4971 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=4973 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=5005 + _globals['_MSG']._serialized_start=5008 + _globals['_MSG']._serialized_end=6885 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py index d78c99ea..c0074e43 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py @@ -90,6 +90,16 @@ def __init__(self, channel): request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, ) + self.StoreAndMigrateContract = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/StoreAndMigrateContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.FromString, + ) + self.UpdateContractLabel = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/UpdateContractLabel', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.FromString, + ) class MsgServicer(object): @@ -134,7 +144,7 @@ def MigrateContract(self, request, context): raise NotImplementedError('Method not implemented!') def UpdateAdmin(self, request, context): - """UpdateAdmin sets a new admin for a smart contract + """UpdateAdmin sets a new admin for a smart contract """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -222,6 +232,25 @@ def AddCodeUploadParamsAddresses(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def StoreAndMigrateContract(self, request, context): + """StoreAndMigrateContract defines a governance operation for storing + and migrating the contract. The authority is defined in the keeper. + + Since: 0.42 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateContractLabel(self, request, context): + """UpdateContractLabel sets a new label for a smart contract + + Since: 0.43 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -300,6 +329,16 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, ), + 'StoreAndMigrateContract': grpc.unary_unary_rpc_method_handler( + servicer.StoreAndMigrateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.SerializeToString, + ), + 'UpdateContractLabel': grpc.unary_unary_rpc_method_handler( + servicer.UpdateContractLabel, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'cosmwasm.wasm.v1.Msg', rpc_method_handlers) @@ -565,3 +604,37 @@ def AddCodeUploadParamsAddresses(request, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def StoreAndMigrateContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/StoreAndMigrateContract', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateContractLabel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/UpdateContractLabel', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py index afff5713..e726472e 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py @@ -17,7 +17,7 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\x8c\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12\'\n\taddresses\x18\x03 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"code_upload_access\"\xa8\xe7\xb0*\x01\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x81\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x90\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\r\n\x05\x61\x64min\x18\x03 \x01(\t\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c*\xf6\x01\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\"\x04\x08\x02\x10\x02*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\x90\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12+\n\taddresses\x18\x03 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"code_upload_access\"\xa8\xe7\xb0*\x01\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x9b\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12)\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\xc4\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12)\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c*\xf6\x01\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\"\x04\x08\x02\x10\x02*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -53,7 +53,7 @@ _ACCESSCONFIG.fields_by_name['permission']._options = None _ACCESSCONFIG.fields_by_name['permission']._serialized_options = b'\362\336\037\021yaml:\"permission\"' _ACCESSCONFIG.fields_by_name['addresses']._options = None - _ACCESSCONFIG.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _ACCESSCONFIG.fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' _ACCESSCONFIG._options = None _ACCESSCONFIG._serialized_options = b'\230\240\037\001' _PARAMS.fields_by_name['code_upload_access']._options = None @@ -62,10 +62,16 @@ _PARAMS.fields_by_name['instantiate_default_permission']._serialized_options = b'\362\336\037%yaml:\"instantiate_default_permission\"' _PARAMS._options = None _PARAMS._serialized_options = b'\230\240\037\000' + _CODEINFO.fields_by_name['creator']._options = None + _CODEINFO.fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' _CODEINFO.fields_by_name['instantiate_config']._options = None _CODEINFO.fields_by_name['instantiate_config']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTINFO.fields_by_name['code_id']._options = None _CONTRACTINFO.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _CONTRACTINFO.fields_by_name['creator']._options = None + _CONTRACTINFO.fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' + _CONTRACTINFO.fields_by_name['admin']._options = None + _CONTRACTINFO.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _CONTRACTINFO.fields_by_name['ibc_port_id']._options = None _CONTRACTINFO.fields_by_name['ibc_port_id']._serialized_options = b'\342\336\037\tIBCPortID' _CONTRACTINFO.fields_by_name['extension']._options = None @@ -78,24 +84,24 @@ _CONTRACTCODEHISTORYENTRY.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MODEL.fields_by_name['key']._options = None _MODEL.fields_by_name['key']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' - _globals['_ACCESSTYPE']._serialized_start=1388 - _globals['_ACCESSTYPE']._serialized_end=1634 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=1637 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2059 + _globals['_ACCESSTYPE']._serialized_start=1470 + _globals['_ACCESSTYPE']._serialized_end=1716 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=1719 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2141 _globals['_ACCESSTYPEPARAM']._serialized_start=145 _globals['_ACCESSTYPEPARAM']._serialized_end=231 _globals['_ACCESSCONFIG']._serialized_start=234 - _globals['_ACCESSCONFIG']._serialized_end=374 - _globals['_PARAMS']._serialized_start=377 - _globals['_PARAMS']._serialized_end=604 - _globals['_CODEINFO']._serialized_start=607 - _globals['_CODEINFO']._serialized_end=736 - _globals['_CONTRACTINFO']._serialized_start=739 - _globals['_CONTRACTINFO']._serialized_end=1011 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1014 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1232 - _globals['_ABSOLUTETXPOSITION']._serialized_start=1234 - _globals['_ABSOLUTETXPOSITION']._serialized_end=1294 - _globals['_MODEL']._serialized_start=1296 - _globals['_MODEL']._serialized_end=1385 + _globals['_ACCESSCONFIG']._serialized_end=378 + _globals['_PARAMS']._serialized_start=381 + _globals['_PARAMS']._serialized_end=608 + _globals['_CODEINFO']._serialized_start=611 + _globals['_CODEINFO']._serialized_end=766 + _globals['_CONTRACTINFO']._serialized_start=769 + _globals['_CONTRACTINFO']._serialized_end=1093 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1096 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1314 + _globals['_ABSOLUTETXPOSITION']._serialized_start=1316 + _globals['_ABSOLUTETXPOSITION']._serialized_end=1376 + _globals['_MODEL']._serialized_start=1378 + _globals['_MODEL']._serialized_end=1467 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py index 32ac3f05..0ebc93b5 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py @@ -11,13 +11,14 @@ _sym_db = _symbol_database.Default() +from amino import amino_pb2 as amino_dot_amino__pb2 from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/fee.proto\x12\x17ibc.applications.fee.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xa4\x02\n\x03\x46\x65\x65\x12]\n\x08recv_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\\\n\x07\x61\x63k_fee\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12`\n\x0btimeout_fee\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"{\n\tPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0erefund_address\x18\x02 \x01(\t\x12\x10\n\x08relayers\x18\x03 \x03(\t:\x13\x82\xe7\xb0*\x0erefund_address\"K\n\nPacketFees\x12=\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\"\x8d\x01\n\x14IdentifiedPacketFees\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12=\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/fee.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xd7\x02\n\x03\x46\x65\x65\x12n\n\x08recv_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBA\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\x12m\n\x07\x61\x63k_fee\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBA\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\x12q\n\x0btimeout_fee\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBA\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\"{\n\tPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0erefund_address\x18\x02 \x01(\t\x12\x10\n\x08relayers\x18\x03 \x03(\t:\x13\x82\xe7\xb0*\x0erefund_address\"K\n\nPacketFees\x12=\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\"\x8d\x01\n\x14IdentifiedPacketFees\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12=\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,11 +28,11 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _FEE.fields_by_name['recv_fee']._options = None - _FEE.fields_by_name['recv_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _FEE.fields_by_name['recv_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins' _FEE.fields_by_name['ack_fee']._options = None - _FEE.fields_by_name['ack_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _FEE.fields_by_name['ack_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins' _FEE.fields_by_name['timeout_fee']._options = None - _FEE.fields_by_name['timeout_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _FEE.fields_by_name['timeout_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins' _PACKETFEE.fields_by_name['fee']._options = None _PACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' _PACKETFEE._options = None @@ -42,12 +43,12 @@ _IDENTIFIEDPACKETFEES.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _IDENTIFIEDPACKETFEES.fields_by_name['packet_fees']._options = None _IDENTIFIEDPACKETFEES.fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' - _globals['_FEE']._serialized_start=177 - _globals['_FEE']._serialized_end=469 - _globals['_PACKETFEE']._serialized_start=471 - _globals['_PACKETFEE']._serialized_end=594 - _globals['_PACKETFEES']._serialized_start=596 - _globals['_PACKETFEES']._serialized_end=671 - _globals['_IDENTIFIEDPACKETFEES']._serialized_start=674 - _globals['_IDENTIFIEDPACKETFEES']._serialized_end=815 + _globals['_FEE']._serialized_start=196 + _globals['_FEE']._serialized_end=539 + _globals['_PACKETFEE']._serialized_start=541 + _globals['_PACKETFEE']._serialized_end=664 + _globals['_PACKETFEES']._serialized_start=666 + _globals['_PACKETFEES']._serialized_end=741 + _globals['_IDENTIFIEDPACKETFEES']._serialized_start=744 + _globals['_IDENTIFIEDPACKETFEES']._serialized_end=885 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py index 7ad64282..2113deac 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py @@ -11,13 +11,14 @@ _sym_db = _symbol_database.Default() +from amino import amino_pb2 as amino_dot_amino__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.applications.fee.v1 import fee_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_fee__pb2 from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"i\n\x10MsgRegisterPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:\x10\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\"\x1a\n\x18MsgRegisterPayeeResponse\"\x82\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x04 \x01(\t:\x10\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xa8\x01\n\x0fMsgPayPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0esource_port_id\x18\x02 \x01(\t\x12\x19\n\x11source_channel_id\x18\x03 \x01(\t\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgPayPacketFeeResponse\"\xa1\x01\n\x14MsgPayPacketFeeAsync\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12<\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\x82\xe7\xb0*\npacket_fee\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xf6\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\x89\x01\n\x10MsgRegisterPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgRegisterPayee\"\x1a\n\x18MsgRegisterPayeeResponse\"\xae\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x04 \x01(\t:<\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\'cosmos-sdk/MsgRegisterCounterpartyPayee\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xc7\x01\n\x0fMsgPayPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0esource_port_id\x18\x02 \x01(\t\x12\x19\n\x11source_channel_id\x18\x03 \x01(\t\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:.\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgPayPacketFee\"\x19\n\x17MsgPayPacketFeeResponse\"\xc5\x01\n\x14MsgPayPacketFeeAsync\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12<\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00:7\x88\xa0\x1f\x00\x82\xe7\xb0*\npacket_fee\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgPayPacketFeeAsync\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xf6\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,37 +28,37 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _MSGREGISTERPAYEE._options = None - _MSGREGISTERPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer' + _MSGREGISTERPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\033cosmos-sdk/MsgRegisterPayee' _MSGREGISTERCOUNTERPARTYPAYEE._options = None - _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer' + _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\'cosmos-sdk/MsgRegisterCounterpartyPayee' _MSGPAYPACKETFEE.fields_by_name['fee']._options = None _MSGPAYPACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEE._options = None - _MSGPAYPACKETFEE._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGPAYPACKETFEE._serialized_options = b'\210\240\037\000\202\347\260*\006signer\212\347\260*\032cosmos-sdk/MsgPayPacketFee' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._options = None _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._options = None _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEEASYNC._options = None - _MSGPAYPACKETFEEASYNC._serialized_options = b'\210\240\037\000\202\347\260*\npacket_fee' + _MSGPAYPACKETFEEASYNC._serialized_options = b'\210\240\037\000\202\347\260*\npacket_fee\212\347\260*\037cosmos-sdk/MsgPayPacketFeeAsync' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGREGISTERPAYEE']._serialized_start=178 - _globals['_MSGREGISTERPAYEE']._serialized_end=283 - _globals['_MSGREGISTERPAYEERESPONSE']._serialized_start=285 - _globals['_MSGREGISTERPAYEERESPONSE']._serialized_end=311 - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_start=314 - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_end=444 - _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=446 - _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=484 - _globals['_MSGPAYPACKETFEE']._serialized_start=487 - _globals['_MSGPAYPACKETFEE']._serialized_end=655 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=657 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=682 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=685 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=846 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=848 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=878 - _globals['_MSG']._serialized_start=881 - _globals['_MSG']._serialized_end=1383 + _globals['_MSGREGISTERPAYEE']._serialized_start=198 + _globals['_MSGREGISTERPAYEE']._serialized_end=335 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_start=337 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_end=363 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_start=366 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_end=540 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=542 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=580 + _globals['_MSGPAYPACKETFEE']._serialized_start=583 + _globals['_MSGPAYPACKETFEE']._serialized_end=782 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=784 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=809 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=812 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=1009 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=1011 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=1041 + _globals['_MSG']._serialized_start=1044 + _globals['_MSG']._serialized_end=1546 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py index 3a9395aa..93917afa 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py @@ -18,7 +18,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/query.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1cgoogle/api/annotations.proto\"&\n\x16QueryDenomTraceRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"X\n\x17QueryDenomTraceResponse\x12=\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTrace\"U\n\x17QueryDenomTracesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa7\x01\n\x18QueryDenomTracesResponse\x12N\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06Traces\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"K\n\x13QueryParamsResponse\x12\x34\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.Params\"&\n\x15QueryDenomHashRequest\x12\r\n\x05trace\x18\x01 \x01(\t\"&\n\x16QueryDenomHashResponse\x12\x0c\n\x04hash\x18\x01 \x01(\t\"@\n\x19QueryEscrowAddressRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"4\n\x1aQueryEscrowAddressResponse\x12\x16\n\x0e\x65scrow_address\x18\x01 \x01(\t\"0\n\x1fQueryTotalEscrowForDenomRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"S\n QueryTotalEscrowForDenomResponse\x12/\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x32\xd8\x08\n\x05Query\x12\xaf\x01\n\nDenomTrace\x12\x34.ibc.applications.transfer.v1.QueryDenomTraceRequest\x1a\x35.ibc.applications.transfer.v1.QueryDenomTraceResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/transfer/v1/denom_traces/{hash=**}\x12\xa8\x01\n\x0b\x44\x65nomTraces\x12\x35.ibc.applications.transfer.v1.QueryDenomTracesRequest\x1a\x36.ibc.applications.transfer.v1.QueryDenomTracesResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/ibc/apps/transfer/v1/denom_traces\x12\x93\x01\n\x06Params\x12\x30.ibc.applications.transfer.v1.QueryParamsRequest\x1a\x31.ibc.applications.transfer.v1.QueryParamsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/transfer/v1/params\x12\xad\x01\n\tDenomHash\x12\x33.ibc.applications.transfer.v1.QueryDenomHashRequest\x1a\x34.ibc.applications.transfer.v1.QueryDenomHashResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/apps/transfer/v1/denom_hashes/{trace=**}\x12\xd6\x01\n\rEscrowAddress\x12\x37.ibc.applications.transfer.v1.QueryEscrowAddressRequest\x1a\x38.ibc.applications.transfer.v1.QueryEscrowAddressResponse\"R\x82\xd3\xe4\x93\x02L\x12J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address\x12\xd2\x01\n\x13TotalEscrowForDenom\x12=.ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest\x1a>.ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrowB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/query.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1cgoogle/api/annotations.proto\"&\n\x16QueryDenomTraceRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"X\n\x17QueryDenomTraceResponse\x12=\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTrace\"U\n\x17QueryDenomTracesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa7\x01\n\x18QueryDenomTracesResponse\x12N\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06Traces\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"K\n\x13QueryParamsResponse\x12\x34\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.Params\"&\n\x15QueryDenomHashRequest\x12\r\n\x05trace\x18\x01 \x01(\t\"&\n\x16QueryDenomHashResponse\x12\x0c\n\x04hash\x18\x01 \x01(\t\"@\n\x19QueryEscrowAddressRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"4\n\x1aQueryEscrowAddressResponse\x12\x16\n\x0e\x65scrow_address\x18\x01 \x01(\t\"0\n\x1fQueryTotalEscrowForDenomRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"S\n QueryTotalEscrowForDenomResponse\x12/\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x32\xd8\x08\n\x05Query\x12\xa8\x01\n\x0b\x44\x65nomTraces\x12\x35.ibc.applications.transfer.v1.QueryDenomTracesRequest\x1a\x36.ibc.applications.transfer.v1.QueryDenomTracesResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/ibc/apps/transfer/v1/denom_traces\x12\xaf\x01\n\nDenomTrace\x12\x34.ibc.applications.transfer.v1.QueryDenomTraceRequest\x1a\x35.ibc.applications.transfer.v1.QueryDenomTraceResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/transfer/v1/denom_traces/{hash=**}\x12\x93\x01\n\x06Params\x12\x30.ibc.applications.transfer.v1.QueryParamsRequest\x1a\x31.ibc.applications.transfer.v1.QueryParamsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/transfer/v1/params\x12\xad\x01\n\tDenomHash\x12\x33.ibc.applications.transfer.v1.QueryDenomHashRequest\x1a\x34.ibc.applications.transfer.v1.QueryDenomHashResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/apps/transfer/v1/denom_hashes/{trace=**}\x12\xd6\x01\n\rEscrowAddress\x12\x37.ibc.applications.transfer.v1.QueryEscrowAddressRequest\x1a\x38.ibc.applications.transfer.v1.QueryEscrowAddressResponse\"R\x82\xd3\xe4\x93\x02L\x12J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address\x12\xd2\x01\n\x13TotalEscrowForDenom\x12=.ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest\x1a>.ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrowB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -31,10 +31,10 @@ _QUERYDENOMTRACESRESPONSE.fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' _QUERYTOTALESCROWFORDENOMRESPONSE.fields_by_name['amount']._options = None _QUERYTOTALESCROWFORDENOMRESPONSE.fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _QUERY.methods_by_name['DenomTrace']._options = None - _QUERY.methods_by_name['DenomTrace']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/transfer/v1/denom_traces/{hash=**}' _QUERY.methods_by_name['DenomTraces']._options = None _QUERY.methods_by_name['DenomTraces']._serialized_options = b'\202\323\344\223\002$\022\"/ibc/apps/transfer/v1/denom_traces' + _QUERY.methods_by_name['DenomTrace']._options = None + _QUERY.methods_by_name['DenomTrace']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/transfer/v1/denom_traces/{hash=**}' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\036\022\034/ibc/apps/transfer/v1/params' _QUERY.methods_by_name['DenomHash']._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py index 74c1b392..c2bce469 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py @@ -15,16 +15,16 @@ def __init__(self, channel): Args: channel: A grpc.Channel. """ - self.DenomTrace = channel.unary_unary( - '/ibc.applications.transfer.v1.Query/DenomTrace', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.FromString, - ) self.DenomTraces = channel.unary_unary( '/ibc.applications.transfer.v1.Query/DenomTraces', request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, ) + self.DenomTrace = channel.unary_unary( + '/ibc.applications.transfer.v1.Query/DenomTrace', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.FromString, + ) self.Params = channel.unary_unary( '/ibc.applications.transfer.v1.Query/Params', request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, @@ -51,15 +51,15 @@ class QueryServicer(object): """Query provides defines the gRPC querier service. """ - def DenomTrace(self, request, context): - """DenomTrace queries a denomination trace information. + def DenomTraces(self, request, context): + """DenomTraces queries all denomination traces. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def DenomTraces(self, request, context): - """DenomTraces queries all denomination traces. + def DenomTrace(self, request, context): + """DenomTrace queries a denomination trace information. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -96,16 +96,16 @@ def TotalEscrowForDenom(self, request, context): def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'DenomTrace': grpc.unary_unary_rpc_method_handler( - servicer.DenomTrace, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.SerializeToString, - ), 'DenomTraces': grpc.unary_unary_rpc_method_handler( servicer.DenomTraces, request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.FromString, response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.SerializeToString, ), + 'DenomTrace': grpc.unary_unary_rpc_method_handler( + servicer.DenomTrace, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.SerializeToString, + ), 'Params': grpc.unary_unary_rpc_method_handler( servicer.Params, request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, @@ -138,7 +138,7 @@ class Query(object): """ @staticmethod - def DenomTrace(request, + def DenomTraces(request, target, options=(), channel_credentials=None, @@ -148,14 +148,14 @@ def DenomTrace(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTrace', - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTraces', + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DenomTraces(request, + def DenomTrace(request, target, options=(), channel_credentials=None, @@ -165,9 +165,9 @@ def DenomTraces(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTraces', - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTrace', + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py index 4deb94d7..cdccbedc 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py @@ -11,6 +11,7 @@ _sym_db = _symbol_database.Default() +from amino import amino_pb2 as amino_dot_amino__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 @@ -18,7 +19,7 @@ from ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\x80\x02\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12.\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12\x38\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x07 \x01(\x04\x12\x0c\n\x04memo\x18\x08 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04:\x04\x88\xa0\x1f\x00\"n\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12:\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xec\x01\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponse\x12t\n\x0cUpdateParams\x12-.ibc.applications.transfer.v1.MsgUpdateParams\x1a\x35.ibc.applications.transfer.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x39Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\xab\x02\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12>\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x14\xc8\xde\x1f\x00\x9a\xe7\xb0*\x0blegacy_coin\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12\x38\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x07 \x01(\x04\x12\x0c\n\x04memo\x18\x08 \x01(\t:*\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgTransfer\"-\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04:\x04\x88\xa0\x1f\x00\"n\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12:\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xec\x01\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponse\x12t\n\x0cUpdateParams\x12-.ibc.applications.transfer.v1.MsgUpdateParams\x1a\x35.ibc.applications.transfer.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x39Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,11 +29,11 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _MSGTRANSFER.fields_by_name['token']._options = None - _MSGTRANSFER.fields_by_name['token']._serialized_options = b'\310\336\037\000' + _MSGTRANSFER.fields_by_name['token']._serialized_options = b'\310\336\037\000\232\347\260*\013legacy_coin' _MSGTRANSFER.fields_by_name['timeout_height']._options = None _MSGTRANSFER.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000' _MSGTRANSFER._options = None - _MSGTRANSFER._serialized_options = b'\210\240\037\000\202\347\260*\006sender' + _MSGTRANSFER._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\026cosmos-sdk/MsgTransfer' _MSGTRANSFERRESPONSE._options = None _MSGTRANSFERRESPONSE._serialized_options = b'\210\240\037\000' _MSGUPDATEPARAMS.fields_by_name['params']._options = None @@ -41,14 +42,14 @@ _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGTRANSFER']._serialized_start=229 - _globals['_MSGTRANSFER']._serialized_end=485 - _globals['_MSGTRANSFERRESPONSE']._serialized_start=487 - _globals['_MSGTRANSFERRESPONSE']._serialized_end=532 - _globals['_MSGUPDATEPARAMS']._serialized_start=534 - _globals['_MSGUPDATEPARAMS']._serialized_end=644 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=646 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=671 - _globals['_MSG']._serialized_start=674 - _globals['_MSG']._serialized_end=910 + _globals['_MSGTRANSFER']._serialized_start=248 + _globals['_MSGTRANSFER']._serialized_end=547 + _globals['_MSGTRANSFERRESPONSE']._serialized_start=549 + _globals['_MSGTRANSFERRESPONSE']._serialized_end=594 + _globals['_MSGUPDATEPARAMS']._serialized_start=596 + _globals['_MSGUPDATEPARAMS']._serialized_end=706 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=708 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=733 + _globals['_MSG']._serialized_start=736 + _globals['_MSG']._serialized_end=972 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/client_pb2.py b/pyinjective/proto/ibc/core/client/v1/client_pb2.py index 6cca4816..e6e836cd 100644 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/client_pb2.py @@ -11,13 +11,13 @@ _sym_db = _symbol_database.Default() -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/client/v1/client.proto\x12\x12ibc.core.client.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\"V\n\x15IdentifiedClientState\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"{\n\x18\x43onsensusStateWithHeight\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"x\n\x15\x43lientConsensusStates\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12L\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\"\x97\x01\n\x14\x43lientUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x19\n\x11subject_client_id\x18\x03 \x01(\t\x12\x1c\n\x14substitute_client_id\x18\x04 \x01(\t:\"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xc8\x01\n\x0fUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00\x12\x33\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any:*\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"D\n\x06Height\x12\x17\n\x0frevision_number\x18\x01 \x01(\x04\x12\x17\n\x0frevision_height\x18\x02 \x01(\x04:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"!\n\x06Params\x12\x17\n\x0f\x61llowed_clients\x18\x01 \x03(\tB:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/client/v1/client.proto\x12\x12ibc.core.client.v1\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"V\n\x15IdentifiedClientState\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"{\n\x18\x43onsensusStateWithHeight\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"x\n\x15\x43lientConsensusStates\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12L\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\"D\n\x06Height\x12\x17\n\x0frevision_number\x18\x01 \x01(\x04\x12\x17\n\x0frevision_height\x18\x02 \x01(\x04:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"!\n\x06Params\x12\x17\n\x0f\x61llowed_clients\x18\x01 \x03(\t\"\xd8\x01\n\x14\x43lientUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x37\n\x11subject_client_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:\"subject_client_id\"\x12=\n\x14substitute_client_id\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"substitute_client_id\":$\x18\x01\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xec\x01\n\x0fUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00\x12U\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:\"upgraded_client_state\":,\x18\x01\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -30,26 +30,32 @@ _CONSENSUSSTATEWITHHEIGHT.fields_by_name['height']._serialized_options = b'\310\336\037\000' _CLIENTCONSENSUSSTATES.fields_by_name['consensus_states']._options = None _CLIENTCONSENSUSSTATES.fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000' + _HEIGHT._options = None + _HEIGHT._serialized_options = b'\210\240\037\000\230\240\037\000' + _CLIENTUPDATEPROPOSAL.fields_by_name['subject_client_id']._options = None + _CLIENTUPDATEPROPOSAL.fields_by_name['subject_client_id']._serialized_options = b'\362\336\037\030yaml:\"subject_client_id\"' + _CLIENTUPDATEPROPOSAL.fields_by_name['substitute_client_id']._options = None + _CLIENTUPDATEPROPOSAL.fields_by_name['substitute_client_id']._serialized_options = b'\362\336\037\033yaml:\"substitute_client_id\"' _CLIENTUPDATEPROPOSAL._options = None - _CLIENTUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _CLIENTUPDATEPROPOSAL._serialized_options = b'\030\001\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _UPGRADEPROPOSAL.fields_by_name['plan']._options = None _UPGRADEPROPOSAL.fields_by_name['plan']._serialized_options = b'\310\336\037\000' + _UPGRADEPROPOSAL.fields_by_name['upgraded_client_state']._options = None + _UPGRADEPROPOSAL.fields_by_name['upgraded_client_state']._serialized_options = b'\362\336\037\034yaml:\"upgraded_client_state\"' _UPGRADEPROPOSAL._options = None - _UPGRADEPROPOSAL._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content' - _HEIGHT._options = None - _HEIGHT._serialized_options = b'\210\240\037\000\230\240\037\000' + _UPGRADEPROPOSAL._serialized_options = b'\030\001\210\240\037\000\230\240\037\000\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content' _globals['_IDENTIFIEDCLIENTSTATE']._serialized_start=169 _globals['_IDENTIFIEDCLIENTSTATE']._serialized_end=255 _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_start=257 _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_end=380 _globals['_CLIENTCONSENSUSSTATES']._serialized_start=382 _globals['_CLIENTCONSENSUSSTATES']._serialized_end=502 - _globals['_CLIENTUPDATEPROPOSAL']._serialized_start=505 - _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=656 - _globals['_UPGRADEPROPOSAL']._serialized_start=659 - _globals['_UPGRADEPROPOSAL']._serialized_end=859 - _globals['_HEIGHT']._serialized_start=861 - _globals['_HEIGHT']._serialized_end=929 - _globals['_PARAMS']._serialized_start=931 - _globals['_PARAMS']._serialized_end=964 + _globals['_HEIGHT']._serialized_start=504 + _globals['_HEIGHT']._serialized_end=572 + _globals['_PARAMS']._serialized_start=574 + _globals['_PARAMS']._serialized_end=607 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_start=610 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=826 + _globals['_UPGRADEPROPOSAL']._serialized_start=829 + _globals['_UPGRADEPROPOSAL']._serialized_end=1065 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py index 054ffe71..50fb6af7 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py @@ -12,12 +12,13 @@ from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\"\x8d\x01\n\x0fMsgCreateClient\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgCreateClientResponse\"s\n\x0fMsgUpdateClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12,\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateClientResponse\"\xe6\x01\n\x10MsgUpgradeClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x1c\n\x14proof_upgrade_client\x18\x04 \x01(\x0c\x12%\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0c\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgUpgradeClientResponse\"y\n\x15MsgSubmitMisbehaviour\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x11\x18\x01\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"d\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\x91\x04\n\x03Msg\x12`\n\x0c\x43reateClient\x12#.ibc.core.client.v1.MsgCreateClient\x1a+.ibc.core.client.v1.MsgCreateClientResponse\x12`\n\x0cUpdateClient\x12#.ibc.core.client.v1.MsgUpdateClient\x1a+.ibc.core.client.v1.MsgUpdateClientResponse\x12\x63\n\rUpgradeClient\x12$.ibc.core.client.v1.MsgUpgradeClient\x1a,.ibc.core.client.v1.MsgUpgradeClientResponse\x12r\n\x12SubmitMisbehaviour\x12).ibc.core.client.v1.MsgSubmitMisbehaviour\x1a\x31.ibc.core.client.v1.MsgSubmitMisbehaviourResponse\x12\x66\n\x12UpdateClientParams\x12#.ibc.core.client.v1.MsgUpdateParams\x1a+.ibc.core.client.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\"\x8d\x01\n\x0fMsgCreateClient\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgCreateClientResponse\"s\n\x0fMsgUpdateClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12,\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateClientResponse\"\xe6\x01\n\x10MsgUpgradeClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x1c\n\x14proof_upgrade_client\x18\x04 \x01(\x0c\x12%\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0c\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgUpgradeClientResponse\"y\n\x15MsgSubmitMisbehaviour\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x11\x18\x01\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"l\n\x10MsgRecoverClient\x12\x19\n\x11subject_client_id\x18\x01 \x01(\t\x12\x1c\n\x14substitute_client_id\x18\x02 \x01(\t\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgRecoverClientResponse\"\x9b\x01\n\x15MsgIBCSoftwareUpgrade\x12\x30\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00\x12\x33\n\x15upgraded_client_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0b\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgIBCSoftwareUpgradeResponse\"d\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xea\x05\n\x03Msg\x12`\n\x0c\x43reateClient\x12#.ibc.core.client.v1.MsgCreateClient\x1a+.ibc.core.client.v1.MsgCreateClientResponse\x12`\n\x0cUpdateClient\x12#.ibc.core.client.v1.MsgUpdateClient\x1a+.ibc.core.client.v1.MsgUpdateClientResponse\x12\x63\n\rUpgradeClient\x12$.ibc.core.client.v1.MsgUpgradeClient\x1a,.ibc.core.client.v1.MsgUpgradeClientResponse\x12r\n\x12SubmitMisbehaviour\x12).ibc.core.client.v1.MsgSubmitMisbehaviour\x1a\x31.ibc.core.client.v1.MsgSubmitMisbehaviourResponse\x12\x63\n\rRecoverClient\x12$.ibc.core.client.v1.MsgRecoverClient\x1a,.ibc.core.client.v1.MsgRecoverClientResponse\x12r\n\x12IBCSoftwareUpgrade\x12).ibc.core.client.v1.MsgIBCSoftwareUpgrade\x1a\x31.ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse\x12\x66\n\x12UpdateClientParams\x12#.ibc.core.client.v1.MsgUpdateParams\x1a+.ibc.core.client.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -34,32 +35,46 @@ _MSGUPGRADECLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSGSUBMITMISBEHAVIOUR._options = None _MSGSUBMITMISBEHAVIOUR._serialized_options = b'\030\001\210\240\037\000\202\347\260*\006signer' + _MSGRECOVERCLIENT._options = None + _MSGRECOVERCLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGIBCSOFTWAREUPGRADE.fields_by_name['plan']._options = None + _MSGIBCSOFTWAREUPGRADE.fields_by_name['plan']._serialized_options = b'\310\336\037\000' + _MSGIBCSOFTWAREUPGRADE._options = None + _MSGIBCSOFTWAREUPGRADE._serialized_options = b'\202\347\260*\006signer' _MSGUPDATEPARAMS.fields_by_name['params']._options = None _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' _MSGUPDATEPARAMS._options = None _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATECLIENT']._serialized_start=159 - _globals['_MSGCREATECLIENT']._serialized_end=300 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=302 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=327 - _globals['_MSGUPDATECLIENT']._serialized_start=329 - _globals['_MSGUPDATECLIENT']._serialized_end=444 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=446 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=471 - _globals['_MSGUPGRADECLIENT']._serialized_start=474 - _globals['_MSGUPGRADECLIENT']._serialized_end=704 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=706 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=732 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=734 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=855 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=857 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=888 - _globals['_MSGUPDATEPARAMS']._serialized_start=890 - _globals['_MSGUPDATEPARAMS']._serialized_end=990 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=992 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1017 - _globals['_MSG']._serialized_start=1020 - _globals['_MSG']._serialized_end=1549 + _globals['_MSGCREATECLIENT']._serialized_start=197 + _globals['_MSGCREATECLIENT']._serialized_end=338 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=340 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=365 + _globals['_MSGUPDATECLIENT']._serialized_start=367 + _globals['_MSGUPDATECLIENT']._serialized_end=482 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=484 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=509 + _globals['_MSGUPGRADECLIENT']._serialized_start=512 + _globals['_MSGUPGRADECLIENT']._serialized_end=742 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=744 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=770 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=772 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=893 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=895 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=926 + _globals['_MSGRECOVERCLIENT']._serialized_start=928 + _globals['_MSGRECOVERCLIENT']._serialized_end=1036 + _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_start=1038 + _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_end=1064 + _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_start=1067 + _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_end=1222 + _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_start=1224 + _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_end=1255 + _globals['_MSGUPDATEPARAMS']._serialized_start=1257 + _globals['_MSGUPDATEPARAMS']._serialized_end=1357 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1359 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1384 + _globals['_MSG']._serialized_start=1387 + _globals['_MSG']._serialized_end=2133 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py index 631f6b89..9fc38cbf 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py @@ -35,6 +35,16 @@ def __init__(self, channel): request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.SerializeToString, response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.FromString, ) + self.RecoverClient = channel.unary_unary( + '/ibc.core.client.v1.Msg/RecoverClient', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.FromString, + ) + self.IBCSoftwareUpgrade = channel.unary_unary( + '/ibc.core.client.v1.Msg/IBCSoftwareUpgrade', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.FromString, + ) self.UpdateClientParams = channel.unary_unary( '/ibc.core.client.v1.Msg/UpdateClientParams', request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, @@ -74,6 +84,20 @@ def SubmitMisbehaviour(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def RecoverClient(self, request, context): + """RecoverClient defines a rpc handler method for MsgRecoverClient. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def IBCSoftwareUpgrade(self, request, context): + """IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def UpdateClientParams(self, request, context): """UpdateClientParams defines a rpc handler method for MsgUpdateParams. """ @@ -104,6 +128,16 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.FromString, response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.SerializeToString, ), + 'RecoverClient': grpc.unary_unary_rpc_method_handler( + servicer.RecoverClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.SerializeToString, + ), + 'IBCSoftwareUpgrade': grpc.unary_unary_rpc_method_handler( + servicer.IBCSoftwareUpgrade, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.SerializeToString, + ), 'UpdateClientParams': grpc.unary_unary_rpc_method_handler( servicer.UpdateClientParams, request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, @@ -188,6 +222,40 @@ def SubmitMisbehaviour(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def RecoverClient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/ibc.core.client.v1.Msg/RecoverClient', + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def IBCSoftwareUpgrade(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/ibc.core.client.v1.Msg/IBCSoftwareUpgrade', + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def UpdateClientParams(request, target, diff --git a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py index 95aaf82a..ed3dd692 100644 --- a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py +++ b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py @@ -15,7 +15,7 @@ from cosmos.ics23.v1 import proofs_pb2 as cosmos_dot_ics23_dot_v1_dot_proofs__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'ibc/core/commitment/v1/commitment.proto\x12\x16ibc.core.commitment.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\" \n\nMerkleRoot\x12\x0c\n\x04hash\x18\x01 \x01(\x0c:\x04\x88\xa0\x1f\x00\"\"\n\x0cMerklePrefix\x12\x12\n\nkey_prefix\x18\x01 \x01(\x0c\"$\n\nMerklePath\x12\x10\n\x08key_path\x18\x01 \x03(\t:\x04\x98\xa0\x1f\x00\"?\n\x0bMerkleProof\x12\x30\n\x06proofs\x18\x01 \x03(\x0b\x32 .cosmos.ics23.v1.CommitmentProofB>ZZ\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe9\x02\n\x1bSubaccountOrderbookMetadata\x12!\n\x19vanilla_limit_order_count\x18\x01 \x01(\r\x12%\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\r\x12V\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12R\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\'\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\r\x12+\n#reduce_only_conditional_order_count\x18\x06 \x01(\r\"\xa8\x01\n\x0fSubaccountOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cisReduceOnly\x18\x03 \x01(\x08\"e\n\x13SubaccountOrderData\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrder\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\"\xef\x02\n\x14\x44\x65rivativeLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x66illable\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xf3\x02\n\x15\x44\x65rivativeMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0bmargin_hold\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xb3\x02\n\x08Position\x12\x0e\n\x06isLong\x18\x01 \x01(\x08\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"8\n\x14MarketOrderIndicator\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05isBuy\x18\x02 \x01(\x08\"\x98\x02\n\x08TradeLog\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x03 \x01(\x0c\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"\xff\x01\n\rPositionDelta\x12\x0f\n\x07is_long\x18\x01 \x01(\x08\x12J\n\x12\x65xecution_quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x65xecution_margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x65xecution_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa4\x02\n\x12\x44\x65rivativeTradeLog\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x41\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"c\n\x12SubaccountPosition\x12\x36\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.Position\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\"`\n\x11SubaccountDeposit\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x34\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit\"_\n\rDepositUpdate\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12?\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDeposit\"\xb4\x01\n\x10PointsMultiplier\x12O\n\x17maker_points_multiplier\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12O\n\x17taker_points_multiplier\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x98\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x1f\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\t\x12S\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\x12%\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\t\x12Y\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\"\x98\x01\n\x12\x43\x61mpaignRewardPool\x12\x17\n\x0fstart_timestamp\x18\x01 \x01(\x03\x12i\n\x14max_campaign_rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\xd4\x01\n\x19TradingRewardCampaignInfo\x12!\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x02 \x03(\t\x12]\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x04 \x03(\t\"\xb6\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12K\n\x13maker_discount_rate\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13taker_discount_rate\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rstaked_amount\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12>\n\x06volume\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xc0\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12\x14\n\x0c\x62ucket_count\x18\x01 \x01(\x04\x12\x17\n\x0f\x62ucket_duration\x18\x02 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x03 \x03(\t\x12\x43\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x05 \x03(\t\"9\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x0c\n\x04tier\x18\x01 \x01(\x04\x12\x15\n\rttl_timestamp\x18\x02 \x01(\x03\"\x9a\x01\n\x0cVolumeRecord\x12\x44\n\x0cmaker_volume\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0ctaker_volume\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x7f\n\x0e\x41\x63\x63ountRewards\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\\\n\x07rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"h\n\x0cTradeRecords\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecord\"\'\n\rSubaccountIDs\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\x0c\"\xa1\x01\n\x0bTradeRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"}\n\x05Level\x12\x39\n\x01p\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x39\n\x01q\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"z\n\x1f\x41ggregateSubaccountVolumeRecord\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"q\n\x1c\x41ggregateAccountVolumeRecord\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"a\n\x0cMarketVolume\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12>\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00\"0\n\rDenomDecimals\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04*t\n\x1c\x41tomicMarketOrderAccessLevel\x12\n\n\x06Nobody\x10\x00\x12\"\n\x1e\x42\x65ginBlockerSmartContractsOnly\x10\x01\x12\x16\n\x12SmartContractsOnly\x10\x02\x12\x0c\n\x08\x45veryone\x10\x03*T\n\x0cMarketStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x41\x63tive\x10\x01\x12\n\n\x06Paused\x10\x02\x12\x0e\n\nDemolished\x10\x03\x12\x0b\n\x07\x45xpired\x10\x04*\xbb\x02\n\tOrderType\x12 \n\x0bUNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\x10\n\x03\x42UY\x10\x01\x1a\x07\x8a\x9d \x03\x42UY\x12\x12\n\x04SELL\x10\x02\x1a\x08\x8a\x9d \x04SELL\x12\x1a\n\x08STOP_BUY\x10\x03\x1a\x0c\x8a\x9d \x08STOP_BUY\x12\x1c\n\tSTOP_SELL\x10\x04\x1a\r\x8a\x9d \tSTOP_SELL\x12\x1a\n\x08TAKE_BUY\x10\x05\x1a\x0c\x8a\x9d \x08TAKE_BUY\x12\x1c\n\tTAKE_SELL\x10\x06\x1a\r\x8a\x9d \tTAKE_SELL\x12\x16\n\x06\x42UY_PO\x10\x07\x1a\n\x8a\x9d \x06\x42UY_PO\x12\x18\n\x07SELL_PO\x10\x08\x1a\x0b\x8a\x9d \x07SELL_PO\x12\x1e\n\nBUY_ATOMIC\x10\t\x1a\x0e\x8a\x9d \nBUY_ATOMIC\x12 \n\x0bSELL_ATOMIC\x10\n\x1a\x0f\x8a\x9d \x0bSELL_ATOMIC*\xaf\x01\n\rExecutionType\x12\x1c\n\x18UnspecifiedExecutionType\x10\x00\x12\n\n\x06Market\x10\x01\x12\r\n\tLimitFill\x10\x02\x12\x1a\n\x16LimitMatchRestingOrder\x10\x03\x12\x16\n\x12LimitMatchNewOrder\x10\x04\x12\x15\n\x11MarketLiquidation\x10\x05\x12\x1a\n\x16\x45xpiryMarketSettlement\x10\x06*\x89\x02\n\tOrderMask\x12\x16\n\x06UNUSED\x10\x00\x1a\n\x8a\x9d \x06UNUSED\x12\x10\n\x03\x41NY\x10\x01\x1a\x07\x8a\x9d \x03\x41NY\x12\x18\n\x07REGULAR\x10\x02\x1a\x0b\x8a\x9d \x07REGULAR\x12 \n\x0b\x43ONDITIONAL\x10\x04\x1a\x0f\x8a\x9d \x0b\x43ONDITIONAL\x12.\n\x17\x44IRECTION_BUY_OR_HIGHER\x10\x08\x1a\x11\x8a\x9d \rBUY_OR_HIGHER\x12.\n\x17\x44IRECTION_SELL_OR_LOWER\x10\x10\x1a\x11\x8a\x9d \rSELL_OR_LOWER\x12\x1b\n\x0bTYPE_MARKET\x10 \x1a\n\x8a\x9d \x06MARKET\x12\x19\n\nTYPE_LIMIT\x10@\x1a\t\x8a\x9d \x05LIMITBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/exchange/v1beta1/exchange.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\"\x99\x0f\n\x06Params\x12H\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12N\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12S\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12S\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Y\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Y\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12T\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12X\n default_maintenance_margin_ratio\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12 \n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03\x12\x18\n\x10\x66unding_multiple\x18\n \x01(\x03\x12N\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12W\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12T\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\'\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\r\x12_\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12(\n trading_rewards_vesting_duration\x18\x10 \x01(\x03\x12T\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12R\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x62\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x38.injective.exchange.v1beta1.AtomicMarketOrderAccessLevel\x12_\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x65\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12i\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Q\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x33\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08\x12\'\n\x1fpost_only_mode_height_threshold\x18\x19 \x01(\x03:\x04\xe8\xa0\x1f\x01\"v\n\x13MarketFeeMultiplier\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x46\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\xbf\x06\n\x10\x44\x65rivativeMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x13\n\x0boracle_base\x18\x02 \x01(\t\x12\x14\n\x0coracle_quote\x18\x03 \x01(\t\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x05 \x01(\r\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12\x11\n\tmarket_id\x18\x07 \x01(\t\x12L\n\x14initial_margin_ratio\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x13\n\x0bisPerpetual\x18\r \x01(\x08\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x10 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\xa7\x06\n\x13\x42inaryOptionsMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x15\n\roracle_symbol\x18\x02 \x01(\t\x12\x17\n\x0foracle_provider\x18\x03 \x01(\t\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x05 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x07 \x01(\x03\x12\r\n\x05\x61\x64min\x18\x08 \x01(\t\x12\x13\n\x0bquote_denom\x18\t \x01(\t\x12\x11\n\tmarket_id\x18\n \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x10 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10settlement_price\x18\x11 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\x92\x02\n\x17\x45xpiryFuturesMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03\x12\x1c\n\x14twap_start_timestamp\x18\x03 \x01(\x03\x12^\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10settlement_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x81\x02\n\x13PerpetualMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12O\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14hourly_interest_rate\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1e\n\x16next_funding_timestamp\x18\x04 \x01(\x03\x12\x18\n\x10\x66unding_interval\x18\x05 \x01(\x03\"\xc6\x01\n\x16PerpetualMarketFunding\x12J\n\x12\x63umulative_funding\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x63umulative_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x03\"}\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12H\n\x10settlement_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\".\n\x14NextFundingTimestamp\x12\x16\n\x0enext_timestamp\x18\x01 \x01(\x03\"\xe4\x01\n\x0eMidPriceAndTOB\x12\x41\n\tmid_price\x18\x01 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x8f\x04\n\nSpotMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\tmarket_id\x18\x07 \x01(\t\x12\x38\n\x06status\x18\x08 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x9b\x01\n\x07\x44\x65posit\x12I\n\x11\x61vailable_balance\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtotal_balance\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"%\n\x14SubaccountTradeNonce\x12\r\n\x05nonce\x18\x01 \x01(\r\"\xba\x01\n\tOrderInfo\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x15\n\rfee_recipient\x18\x02 \x01(\t\x12=\n\x05price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe1\x01\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12\x45\n\rtrigger_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa9\x02\n\x0eSpotLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12@\n\x08\x66illable\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\"\xae\x02\n\x0fSpotMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x44\n\x0c\x62\x61lance_hold\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x03 \x01(\x0c\x12\x39\n\norder_type\x18\x04 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa7\x02\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe9\x02\n\x1bSubaccountOrderbookMetadata\x12!\n\x19vanilla_limit_order_count\x18\x01 \x01(\r\x12%\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\r\x12V\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12R\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\'\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\r\x12+\n#reduce_only_conditional_order_count\x18\x06 \x01(\r\"\xa8\x01\n\x0fSubaccountOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cisReduceOnly\x18\x03 \x01(\x08\"e\n\x13SubaccountOrderData\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrder\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\"\xef\x02\n\x14\x44\x65rivativeLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x66illable\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xf3\x02\n\x15\x44\x65rivativeMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0bmargin_hold\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xb3\x02\n\x08Position\x12\x0e\n\x06isLong\x18\x01 \x01(\x08\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"8\n\x14MarketOrderIndicator\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05isBuy\x18\x02 \x01(\x08\"\x98\x02\n\x08TradeLog\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x03 \x01(\x0c\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"\xff\x01\n\rPositionDelta\x12\x0f\n\x07is_long\x18\x01 \x01(\x08\x12J\n\x12\x65xecution_quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x65xecution_margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x65xecution_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa4\x02\n\x12\x44\x65rivativeTradeLog\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x41\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"c\n\x12SubaccountPosition\x12\x36\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.Position\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\"`\n\x11SubaccountDeposit\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x34\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit\"_\n\rDepositUpdate\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12?\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDeposit\"\xb4\x01\n\x10PointsMultiplier\x12O\n\x17maker_points_multiplier\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12O\n\x17taker_points_multiplier\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x98\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x1f\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\t\x12S\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\x12%\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\t\x12Y\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\"\x98\x01\n\x12\x43\x61mpaignRewardPool\x12\x17\n\x0fstart_timestamp\x18\x01 \x01(\x03\x12i\n\x14max_campaign_rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\xd4\x01\n\x19TradingRewardCampaignInfo\x12!\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x02 \x03(\t\x12]\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x04 \x03(\t\"\xb6\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12K\n\x13maker_discount_rate\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13taker_discount_rate\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rstaked_amount\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12>\n\x06volume\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xc0\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12\x14\n\x0c\x62ucket_count\x18\x01 \x01(\x04\x12\x17\n\x0f\x62ucket_duration\x18\x02 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x03 \x03(\t\x12\x43\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x05 \x03(\t\"9\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x0c\n\x04tier\x18\x01 \x01(\x04\x12\x15\n\rttl_timestamp\x18\x02 \x01(\x03\"\x9a\x01\n\x0cVolumeRecord\x12\x44\n\x0cmaker_volume\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0ctaker_volume\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x7f\n\x0e\x41\x63\x63ountRewards\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\\\n\x07rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"h\n\x0cTradeRecords\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecord\"\'\n\rSubaccountIDs\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\x0c\"\xa1\x01\n\x0bTradeRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"}\n\x05Level\x12\x39\n\x01p\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x39\n\x01q\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"z\n\x1f\x41ggregateSubaccountVolumeRecord\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"q\n\x1c\x41ggregateAccountVolumeRecord\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"a\n\x0cMarketVolume\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12>\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00\"0\n\rDenomDecimals\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04*t\n\x1c\x41tomicMarketOrderAccessLevel\x12\n\n\x06Nobody\x10\x00\x12\"\n\x1e\x42\x65ginBlockerSmartContractsOnly\x10\x01\x12\x16\n\x12SmartContractsOnly\x10\x02\x12\x0c\n\x08\x45veryone\x10\x03*T\n\x0cMarketStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x41\x63tive\x10\x01\x12\n\n\x06Paused\x10\x02\x12\x0e\n\nDemolished\x10\x03\x12\x0b\n\x07\x45xpired\x10\x04*\xbb\x02\n\tOrderType\x12 \n\x0bUNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\x10\n\x03\x42UY\x10\x01\x1a\x07\x8a\x9d \x03\x42UY\x12\x12\n\x04SELL\x10\x02\x1a\x08\x8a\x9d \x04SELL\x12\x1a\n\x08STOP_BUY\x10\x03\x1a\x0c\x8a\x9d \x08STOP_BUY\x12\x1c\n\tSTOP_SELL\x10\x04\x1a\r\x8a\x9d \tSTOP_SELL\x12\x1a\n\x08TAKE_BUY\x10\x05\x1a\x0c\x8a\x9d \x08TAKE_BUY\x12\x1c\n\tTAKE_SELL\x10\x06\x1a\r\x8a\x9d \tTAKE_SELL\x12\x16\n\x06\x42UY_PO\x10\x07\x1a\n\x8a\x9d \x06\x42UY_PO\x12\x18\n\x07SELL_PO\x10\x08\x1a\x0b\x8a\x9d \x07SELL_PO\x12\x1e\n\nBUY_ATOMIC\x10\t\x1a\x0e\x8a\x9d \nBUY_ATOMIC\x12 \n\x0bSELL_ATOMIC\x10\n\x1a\x0f\x8a\x9d \x0bSELL_ATOMIC*\xaf\x01\n\rExecutionType\x12\x1c\n\x18UnspecifiedExecutionType\x10\x00\x12\n\n\x06Market\x10\x01\x12\r\n\tLimitFill\x10\x02\x12\x1a\n\x16LimitMatchRestingOrder\x10\x03\x12\x16\n\x12LimitMatchNewOrder\x10\x04\x12\x15\n\x11MarketLiquidation\x10\x05\x12\x1a\n\x16\x45xpiryMarketSettlement\x10\x06*\x89\x02\n\tOrderMask\x12\x16\n\x06UNUSED\x10\x00\x1a\n\x8a\x9d \x06UNUSED\x12\x10\n\x03\x41NY\x10\x01\x1a\x07\x8a\x9d \x03\x41NY\x12\x18\n\x07REGULAR\x10\x02\x1a\x0b\x8a\x9d \x07REGULAR\x12 \n\x0b\x43ONDITIONAL\x10\x04\x1a\x0f\x8a\x9d \x0b\x43ONDITIONAL\x12.\n\x17\x44IRECTION_BUY_OR_HIGHER\x10\x08\x1a\x11\x8a\x9d \rBUY_OR_HIGHER\x12.\n\x17\x44IRECTION_SELL_OR_LOWER\x10\x10\x1a\x11\x8a\x9d \rSELL_OR_LOWER\x12\x1b\n\x0bTYPE_MARKET\x10 \x1a\n\x8a\x9d \x06MARKET\x12\x19\n\nTYPE_LIMIT\x10@\x1a\t\x8a\x9d \x05LIMITBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -281,110 +281,110 @@ _LEVEL.fields_by_name['q']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MARKETVOLUME.fields_by_name['volume']._options = None _MARKETVOLUME.fields_by_name['volume']._serialized_options = b'\310\336\037\000' - _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_start=12425 - _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_end=12541 - _globals['_MARKETSTATUS']._serialized_start=12543 - _globals['_MARKETSTATUS']._serialized_end=12627 - _globals['_ORDERTYPE']._serialized_start=12630 - _globals['_ORDERTYPE']._serialized_end=12945 - _globals['_EXECUTIONTYPE']._serialized_start=12948 - _globals['_EXECUTIONTYPE']._serialized_end=13123 - _globals['_ORDERMASK']._serialized_start=13126 - _globals['_ORDERMASK']._serialized_end=13391 + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_start=12466 + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_end=12582 + _globals['_MARKETSTATUS']._serialized_start=12584 + _globals['_MARKETSTATUS']._serialized_end=12668 + _globals['_ORDERTYPE']._serialized_start=12671 + _globals['_ORDERTYPE']._serialized_end=12986 + _globals['_EXECUTIONTYPE']._serialized_start=12989 + _globals['_EXECUTIONTYPE']._serialized_end=13164 + _globals['_ORDERMASK']._serialized_start=13167 + _globals['_ORDERMASK']._serialized_end=13432 _globals['_PARAMS']._serialized_start=167 - _globals['_PARAMS']._serialized_end=2071 - _globals['_MARKETFEEMULTIPLIER']._serialized_start=2073 - _globals['_MARKETFEEMULTIPLIER']._serialized_end=2191 - _globals['_DERIVATIVEMARKET']._serialized_start=2194 - _globals['_DERIVATIVEMARKET']._serialized_end=3025 - _globals['_BINARYOPTIONSMARKET']._serialized_start=3028 - _globals['_BINARYOPTIONSMARKET']._serialized_end=3835 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=3838 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=4112 - _globals['_PERPETUALMARKETINFO']._serialized_start=4115 - _globals['_PERPETUALMARKETINFO']._serialized_end=4372 - _globals['_PERPETUALMARKETFUNDING']._serialized_start=4375 - _globals['_PERPETUALMARKETFUNDING']._serialized_end=4573 - _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_start=4575 - _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_end=4700 - _globals['_NEXTFUNDINGTIMESTAMP']._serialized_start=4702 - _globals['_NEXTFUNDINGTIMESTAMP']._serialized_end=4748 - _globals['_MIDPRICEANDTOB']._serialized_start=4751 - _globals['_MIDPRICEANDTOB']._serialized_end=4979 - _globals['_SPOTMARKET']._serialized_start=4982 - _globals['_SPOTMARKET']._serialized_end=5509 - _globals['_DEPOSIT']._serialized_start=5512 - _globals['_DEPOSIT']._serialized_end=5667 - _globals['_SUBACCOUNTTRADENONCE']._serialized_start=5669 - _globals['_SUBACCOUNTTRADENONCE']._serialized_end=5706 - _globals['_ORDERINFO']._serialized_start=5709 - _globals['_ORDERINFO']._serialized_end=5895 - _globals['_SPOTORDER']._serialized_start=5898 - _globals['_SPOTORDER']._serialized_end=6123 - _globals['_SPOTLIMITORDER']._serialized_start=6126 - _globals['_SPOTLIMITORDER']._serialized_end=6423 - _globals['_SPOTMARKETORDER']._serialized_start=6426 - _globals['_SPOTMARKETORDER']._serialized_end=6728 - _globals['_DERIVATIVEORDER']._serialized_start=6731 - _globals['_DERIVATIVEORDER']._serialized_end=7026 - _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_start=7029 - _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_end=7390 - _globals['_SUBACCOUNTORDER']._serialized_start=7393 - _globals['_SUBACCOUNTORDER']._serialized_end=7561 - _globals['_SUBACCOUNTORDERDATA']._serialized_start=7563 - _globals['_SUBACCOUNTORDERDATA']._serialized_end=7664 - _globals['_DERIVATIVELIMITORDER']._serialized_start=7667 - _globals['_DERIVATIVELIMITORDER']._serialized_end=8034 - _globals['_DERIVATIVEMARKETORDER']._serialized_start=8037 - _globals['_DERIVATIVEMARKETORDER']._serialized_end=8408 - _globals['_POSITION']._serialized_start=8411 - _globals['_POSITION']._serialized_end=8718 - _globals['_MARKETORDERINDICATOR']._serialized_start=8720 - _globals['_MARKETORDERINDICATOR']._serialized_end=8776 - _globals['_TRADELOG']._serialized_start=8779 - _globals['_TRADELOG']._serialized_end=9059 - _globals['_POSITIONDELTA']._serialized_start=9062 - _globals['_POSITIONDELTA']._serialized_end=9317 - _globals['_DERIVATIVETRADELOG']._serialized_start=9320 - _globals['_DERIVATIVETRADELOG']._serialized_end=9612 - _globals['_SUBACCOUNTPOSITION']._serialized_start=9614 - _globals['_SUBACCOUNTPOSITION']._serialized_end=9713 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=9715 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=9811 - _globals['_DEPOSITUPDATE']._serialized_start=9813 - _globals['_DEPOSITUPDATE']._serialized_end=9908 - _globals['_POINTSMULTIPLIER']._serialized_start=9911 - _globals['_POINTSMULTIPLIER']._serialized_end=10091 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=10094 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=10374 - _globals['_CAMPAIGNREWARDPOOL']._serialized_start=10377 - _globals['_CAMPAIGNREWARDPOOL']._serialized_end=10529 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=10532 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=10744 - _globals['_FEEDISCOUNTTIERINFO']._serialized_start=10747 - _globals['_FEEDISCOUNTTIERINFO']._serialized_end=11057 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=11060 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=11252 - _globals['_FEEDISCOUNTTIERTTL']._serialized_start=11254 - _globals['_FEEDISCOUNTTIERTTL']._serialized_end=11311 - _globals['_VOLUMERECORD']._serialized_start=11314 - _globals['_VOLUMERECORD']._serialized_end=11468 - _globals['_ACCOUNTREWARDS']._serialized_start=11470 - _globals['_ACCOUNTREWARDS']._serialized_end=11597 - _globals['_TRADERECORDS']._serialized_start=11599 - _globals['_TRADERECORDS']._serialized_end=11703 - _globals['_SUBACCOUNTIDS']._serialized_start=11705 - _globals['_SUBACCOUNTIDS']._serialized_end=11744 - _globals['_TRADERECORD']._serialized_start=11747 - _globals['_TRADERECORD']._serialized_end=11908 - _globals['_LEVEL']._serialized_start=11910 - _globals['_LEVEL']._serialized_end=12035 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=12037 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=12159 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=12161 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=12274 - _globals['_MARKETVOLUME']._serialized_start=12276 - _globals['_MARKETVOLUME']._serialized_end=12373 - _globals['_DENOMDECIMALS']._serialized_start=12375 - _globals['_DENOMDECIMALS']._serialized_end=12423 + _globals['_PARAMS']._serialized_end=2112 + _globals['_MARKETFEEMULTIPLIER']._serialized_start=2114 + _globals['_MARKETFEEMULTIPLIER']._serialized_end=2232 + _globals['_DERIVATIVEMARKET']._serialized_start=2235 + _globals['_DERIVATIVEMARKET']._serialized_end=3066 + _globals['_BINARYOPTIONSMARKET']._serialized_start=3069 + _globals['_BINARYOPTIONSMARKET']._serialized_end=3876 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=3879 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=4153 + _globals['_PERPETUALMARKETINFO']._serialized_start=4156 + _globals['_PERPETUALMARKETINFO']._serialized_end=4413 + _globals['_PERPETUALMARKETFUNDING']._serialized_start=4416 + _globals['_PERPETUALMARKETFUNDING']._serialized_end=4614 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_start=4616 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_end=4741 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_start=4743 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_end=4789 + _globals['_MIDPRICEANDTOB']._serialized_start=4792 + _globals['_MIDPRICEANDTOB']._serialized_end=5020 + _globals['_SPOTMARKET']._serialized_start=5023 + _globals['_SPOTMARKET']._serialized_end=5550 + _globals['_DEPOSIT']._serialized_start=5553 + _globals['_DEPOSIT']._serialized_end=5708 + _globals['_SUBACCOUNTTRADENONCE']._serialized_start=5710 + _globals['_SUBACCOUNTTRADENONCE']._serialized_end=5747 + _globals['_ORDERINFO']._serialized_start=5750 + _globals['_ORDERINFO']._serialized_end=5936 + _globals['_SPOTORDER']._serialized_start=5939 + _globals['_SPOTORDER']._serialized_end=6164 + _globals['_SPOTLIMITORDER']._serialized_start=6167 + _globals['_SPOTLIMITORDER']._serialized_end=6464 + _globals['_SPOTMARKETORDER']._serialized_start=6467 + _globals['_SPOTMARKETORDER']._serialized_end=6769 + _globals['_DERIVATIVEORDER']._serialized_start=6772 + _globals['_DERIVATIVEORDER']._serialized_end=7067 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_start=7070 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_end=7431 + _globals['_SUBACCOUNTORDER']._serialized_start=7434 + _globals['_SUBACCOUNTORDER']._serialized_end=7602 + _globals['_SUBACCOUNTORDERDATA']._serialized_start=7604 + _globals['_SUBACCOUNTORDERDATA']._serialized_end=7705 + _globals['_DERIVATIVELIMITORDER']._serialized_start=7708 + _globals['_DERIVATIVELIMITORDER']._serialized_end=8075 + _globals['_DERIVATIVEMARKETORDER']._serialized_start=8078 + _globals['_DERIVATIVEMARKETORDER']._serialized_end=8449 + _globals['_POSITION']._serialized_start=8452 + _globals['_POSITION']._serialized_end=8759 + _globals['_MARKETORDERINDICATOR']._serialized_start=8761 + _globals['_MARKETORDERINDICATOR']._serialized_end=8817 + _globals['_TRADELOG']._serialized_start=8820 + _globals['_TRADELOG']._serialized_end=9100 + _globals['_POSITIONDELTA']._serialized_start=9103 + _globals['_POSITIONDELTA']._serialized_end=9358 + _globals['_DERIVATIVETRADELOG']._serialized_start=9361 + _globals['_DERIVATIVETRADELOG']._serialized_end=9653 + _globals['_SUBACCOUNTPOSITION']._serialized_start=9655 + _globals['_SUBACCOUNTPOSITION']._serialized_end=9754 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=9756 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=9852 + _globals['_DEPOSITUPDATE']._serialized_start=9854 + _globals['_DEPOSITUPDATE']._serialized_end=9949 + _globals['_POINTSMULTIPLIER']._serialized_start=9952 + _globals['_POINTSMULTIPLIER']._serialized_end=10132 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=10135 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=10415 + _globals['_CAMPAIGNREWARDPOOL']._serialized_start=10418 + _globals['_CAMPAIGNREWARDPOOL']._serialized_end=10570 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=10573 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=10785 + _globals['_FEEDISCOUNTTIERINFO']._serialized_start=10788 + _globals['_FEEDISCOUNTTIERINFO']._serialized_end=11098 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=11101 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=11293 + _globals['_FEEDISCOUNTTIERTTL']._serialized_start=11295 + _globals['_FEEDISCOUNTTIERTTL']._serialized_end=11352 + _globals['_VOLUMERECORD']._serialized_start=11355 + _globals['_VOLUMERECORD']._serialized_end=11509 + _globals['_ACCOUNTREWARDS']._serialized_start=11511 + _globals['_ACCOUNTREWARDS']._serialized_end=11638 + _globals['_TRADERECORDS']._serialized_start=11640 + _globals['_TRADERECORDS']._serialized_end=11744 + _globals['_SUBACCOUNTIDS']._serialized_start=11746 + _globals['_SUBACCOUNTIDS']._serialized_end=11785 + _globals['_TRADERECORD']._serialized_start=11788 + _globals['_TRADERECORD']._serialized_end=11949 + _globals['_LEVEL']._serialized_start=11951 + _globals['_LEVEL']._serialized_end=12076 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=12078 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=12200 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=12202 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=12315 + _globals['_MARKETVOLUME']._serialized_start=12317 + _globals['_MARKETVOLUME']._serialized_end=12414 + _globals['_DENOMDECIMALS']._serialized_start=12416 + _globals['_DENOMDECIMALS']._serialized_end=12464 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py index 84af83e3..b3393540 100644 --- a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py @@ -17,7 +17,7 @@ from injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/stream/v1beta1/query.proto\x12\x18injective.stream.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\'injective/exchange/v1beta1/events.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xb6\x06\n\rStreamRequest\x12P\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01\x12\\\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12O\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12U\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12I\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01\x12N\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01\"\xc0\x05\n\x0eStreamResponse\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12<\n\rbank_balances\x18\x02 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalance\x12I\n\x13subaccount_deposits\x18\x03 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDeposits\x12\x38\n\x0bspot_trades\x18\x04 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTrade\x12\x44\n\x11\x64\x65rivative_trades\x18\x05 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTrade\x12\x38\n\x0bspot_orders\x18\x06 \x03(\x0b\x32#.injective.stream.v1beta1.SpotOrder\x12\x44\n\x11\x64\x65rivative_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeOrder\x12I\n\x16spot_orderbook_updates\x18\x08 \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12O\n\x1c\x64\x65rivative_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12\x35\n\tpositions\x18\n \x03(\x0b\x32\".injective.stream.v1beta1.Position\x12<\n\roracle_prices\x18\x0b \x03(\x0b\x32%.injective.stream.v1beta1.OraclePrice\"V\n\x0fOrderbookUpdate\x12\x0b\n\x03seq\x18\x01 \x01(\x04\x12\x36\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.Orderbook\"\x8d\x01\n\tOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x35\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12\x36\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"}\n\x0b\x42\x61nkBalance\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12]\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"p\n\x12SubaccountDeposits\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x43\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00\"^\n\x11SubaccountDeposit\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12:\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00\"_\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00\"~\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00\x12\x11\n\tis_market\x18\x03 \x01(\x08\"\xdd\x02\n\x08Position\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06isLong\x18\x03 \x01(\x08\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"j\n\x0bOraclePrice\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xd3\x02\n\tSpotTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x06 \x01(\t\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\"\xdb\x02\n\x0f\x44\x65rivativeTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x41\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\":\n\x0cTradesFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"=\n\x0fPositionsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\":\n\x0cOrdersFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"%\n\x0fOrderbookFilter\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"&\n\x12\x42\x61nkBalancesFilter\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\"2\n\x18SubaccountDepositsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\"#\n\x11OraclePriceFilter\x12\x0e\n\x06symbol\x18\x01 \x03(\t2g\n\x06Stream\x12]\n\x06Stream\x12\'.injective.stream.v1beta1.StreamRequest\x1a(.injective.stream.v1beta1.StreamResponse0\x01\x42\x46ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/stream/v1beta1/query.proto\x12\x18injective.stream.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\'injective/exchange/v1beta1/events.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xb6\x06\n\rStreamRequest\x12P\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01\x12\\\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12O\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12U\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12I\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01\x12N\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01\"\xe0\x05\n\x0eStreamResponse\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x12\n\nblock_time\x18\x02 \x01(\x03\x12<\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalance\x12I\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDeposits\x12\x38\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTrade\x12\x44\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTrade\x12>\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdate\x12J\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdate\x12I\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12O\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12\x35\n\tpositions\x18\x0b \x03(\x0b\x32\".injective.stream.v1beta1.Position\x12<\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePrice\"V\n\x0fOrderbookUpdate\x12\x0b\n\x03seq\x18\x01 \x01(\x04\x12\x36\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.Orderbook\"\x8d\x01\n\tOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x35\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12\x36\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"}\n\x0b\x42\x61nkBalance\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12]\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"p\n\x12SubaccountDeposits\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x43\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00\"^\n\x11SubaccountDeposit\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12:\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00\"\xa3\x01\n\x0fSpotOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x32\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrder\"_\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00\"\xaf\x01\n\x15\x44\x65rivativeOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x38\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrder\"~\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00\x12\x11\n\tis_market\x18\x03 \x01(\x08\"\xdd\x02\n\x08Position\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06isLong\x18\x03 \x01(\x08\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"j\n\x0bOraclePrice\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xd3\x02\n\tSpotTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x06 \x01(\t\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\"\xdb\x02\n\x0f\x44\x65rivativeTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x41\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\":\n\x0cTradesFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"=\n\x0fPositionsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\":\n\x0cOrdersFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"%\n\x0fOrderbookFilter\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"&\n\x12\x42\x61nkBalancesFilter\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\"2\n\x18SubaccountDepositsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\"#\n\x11OraclePriceFilter\x12\x0e\n\x06symbol\x18\x01 \x03(\t*L\n\x11OrderUpdateStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x42ooked\x10\x01\x12\x0b\n\x07Matched\x10\x02\x12\r\n\tCancelled\x10\x03\x32g\n\x06Stream\x12]\n\x06Stream\x12\'.injective.stream.v1beta1.StreamRequest\x1a(.injective.stream.v1beta1.StreamResponse0\x01\x42\x46ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -80,46 +80,52 @@ _DERIVATIVETRADE.fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVETRADE.fields_by_name['fee_recipient_address']._options = None _DERIVATIVETRADE.fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _globals['_ORDERUPDATESTATUS']._serialized_start=4409 + _globals['_ORDERUPDATESTATUS']._serialized_end=4485 _globals['_STREAMREQUEST']._serialized_start=205 _globals['_STREAMREQUEST']._serialized_end=1027 _globals['_STREAMRESPONSE']._serialized_start=1030 - _globals['_STREAMRESPONSE']._serialized_end=1734 - _globals['_ORDERBOOKUPDATE']._serialized_start=1736 - _globals['_ORDERBOOKUPDATE']._serialized_end=1822 - _globals['_ORDERBOOK']._serialized_start=1825 - _globals['_ORDERBOOK']._serialized_end=1966 - _globals['_BANKBALANCE']._serialized_start=1968 - _globals['_BANKBALANCE']._serialized_end=2093 - _globals['_SUBACCOUNTDEPOSITS']._serialized_start=2095 - _globals['_SUBACCOUNTDEPOSITS']._serialized_end=2207 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=2209 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=2303 - _globals['_SPOTORDER']._serialized_start=2305 - _globals['_SPOTORDER']._serialized_end=2400 - _globals['_DERIVATIVEORDER']._serialized_start=2402 - _globals['_DERIVATIVEORDER']._serialized_end=2528 - _globals['_POSITION']._serialized_start=2531 - _globals['_POSITION']._serialized_end=2880 - _globals['_ORACLEPRICE']._serialized_start=2882 - _globals['_ORACLEPRICE']._serialized_end=2988 - _globals['_SPOTTRADE']._serialized_start=2991 - _globals['_SPOTTRADE']._serialized_end=3330 - _globals['_DERIVATIVETRADE']._serialized_start=3333 - _globals['_DERIVATIVETRADE']._serialized_end=3680 - _globals['_TRADESFILTER']._serialized_start=3682 - _globals['_TRADESFILTER']._serialized_end=3740 - _globals['_POSITIONSFILTER']._serialized_start=3742 - _globals['_POSITIONSFILTER']._serialized_end=3803 - _globals['_ORDERSFILTER']._serialized_start=3805 - _globals['_ORDERSFILTER']._serialized_end=3863 - _globals['_ORDERBOOKFILTER']._serialized_start=3865 - _globals['_ORDERBOOKFILTER']._serialized_end=3902 - _globals['_BANKBALANCESFILTER']._serialized_start=3904 - _globals['_BANKBALANCESFILTER']._serialized_end=3942 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=3944 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=3994 - _globals['_ORACLEPRICEFILTER']._serialized_start=3996 - _globals['_ORACLEPRICEFILTER']._serialized_end=4031 - _globals['_STREAM']._serialized_start=4033 - _globals['_STREAM']._serialized_end=4136 + _globals['_STREAMRESPONSE']._serialized_end=1766 + _globals['_ORDERBOOKUPDATE']._serialized_start=1768 + _globals['_ORDERBOOKUPDATE']._serialized_end=1854 + _globals['_ORDERBOOK']._serialized_start=1857 + _globals['_ORDERBOOK']._serialized_end=1998 + _globals['_BANKBALANCE']._serialized_start=2000 + _globals['_BANKBALANCE']._serialized_end=2125 + _globals['_SUBACCOUNTDEPOSITS']._serialized_start=2127 + _globals['_SUBACCOUNTDEPOSITS']._serialized_end=2239 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=2241 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=2335 + _globals['_SPOTORDERUPDATE']._serialized_start=2338 + _globals['_SPOTORDERUPDATE']._serialized_end=2501 + _globals['_SPOTORDER']._serialized_start=2503 + _globals['_SPOTORDER']._serialized_end=2598 + _globals['_DERIVATIVEORDERUPDATE']._serialized_start=2601 + _globals['_DERIVATIVEORDERUPDATE']._serialized_end=2776 + _globals['_DERIVATIVEORDER']._serialized_start=2778 + _globals['_DERIVATIVEORDER']._serialized_end=2904 + _globals['_POSITION']._serialized_start=2907 + _globals['_POSITION']._serialized_end=3256 + _globals['_ORACLEPRICE']._serialized_start=3258 + _globals['_ORACLEPRICE']._serialized_end=3364 + _globals['_SPOTTRADE']._serialized_start=3367 + _globals['_SPOTTRADE']._serialized_end=3706 + _globals['_DERIVATIVETRADE']._serialized_start=3709 + _globals['_DERIVATIVETRADE']._serialized_end=4056 + _globals['_TRADESFILTER']._serialized_start=4058 + _globals['_TRADESFILTER']._serialized_end=4116 + _globals['_POSITIONSFILTER']._serialized_start=4118 + _globals['_POSITIONSFILTER']._serialized_end=4179 + _globals['_ORDERSFILTER']._serialized_start=4181 + _globals['_ORDERSFILTER']._serialized_end=4239 + _globals['_ORDERBOOKFILTER']._serialized_start=4241 + _globals['_ORDERBOOKFILTER']._serialized_end=4278 + _globals['_BANKBALANCESFILTER']._serialized_start=4280 + _globals['_BANKBALANCESFILTER']._serialized_end=4318 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=4320 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=4370 + _globals['_ORACLEPRICEFILTER']._serialized_start=4372 + _globals['_ORACLEPRICEFILTER']._serialized_end=4407 + _globals['_STREAM']._serialized_start=4487 + _globals['_STREAM']._serialized_end=4590 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/abci/types_pb2.py b/pyinjective/proto/tendermint/abci/types_pb2.py index 5862c885..60486546 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2.py +++ b/pyinjective/proto/tendermint/abci/types_pb2.py @@ -19,7 +19,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btendermint/abci/types.proto\x12\x0ftendermint.abci\x1a\x1dtendermint/crypto/proof.proto\x1a\x1ctendermint/crypto/keys.proto\x1a\x1dtendermint/types/params.proto\x1a tendermint/types/validator.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\xf2\x07\n\x07Request\x12,\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00\x12.\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00\x12,\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00\x12\x37\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00\x12.\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00\x12\x33\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00\x12\x30\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00\x12?\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00\x12?\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00\x12H\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00\x12J\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00\x12\x43\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00\x12\x43\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00\x12\x39\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32\".tendermint.abci.RequestExtendVoteH\x00\x12L\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00\x12?\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00\x42\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\x1e\n\x0bRequestEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0e\n\x0cRequestFlush\"`\n\x0bRequestInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x15\n\rblock_version\x18\x02 \x01(\x04\x12\x13\n\x0bp2p_version\x18\x03 \x01(\x04\x12\x14\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\t\"\x82\x02\n\x10RequestInitChain\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\x12;\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0c\x12\x16\n\x0einitial_height\x18\x06 \x01(\x03\"I\n\x0cRequestQuery\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\r\n\x05prove\x18\x04 \x01(\x08\"H\n\x0eRequestCheckTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxType\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"U\n\x14RequestOfferSnapshot\x12+\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.Snapshot\x12\x10\n\x08\x61pp_hash\x18\x02 \x01(\x0c\"I\n\x18RequestLoadSnapshotChunk\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05\x63hunk\x18\x03 \x01(\r\"I\n\x19RequestApplySnapshotChunk\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x63hunk\x18\x02 \x01(\x0c\x12\x0e\n\x06sender\x18\x03 \x01(\t\"\xb6\x02\n\x16RequestPrepareProposal\x12\x14\n\x0cmax_tx_bytes\x18\x01 \x01(\x03\x12\x0b\n\x03txs\x18\x02 \x03(\x0c\x12\x44\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xa9\x02\n\x16RequestProcessProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12?\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"1\n\x11RequestExtendVote\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x0e\n\x06height\x18\x02 \x01(\x03\"m\n\x1aRequestVerifyVoteExtension\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x16\n\x0evote_extension\x18\x04 \x01(\x0c\"\xa6\x02\n\x14RequestFinalizeBlock\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12>\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xbc\x08\n\x08Response\x12\x37\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00\x12-\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00\x12/\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00\x12-\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00\x12\x38\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00\x12/\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00\x12\x34\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00\x12\x31\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00\x12@\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00\x12@\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00\x12I\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00\x12K\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00\x12\x44\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00\x12\x44\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00\x12:\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00\x12M\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00\x12@\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00\x42\x07\n\x05valueJ\x04\x08\x05\x10\x06J\x04\x08\x08\x10\tJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0c\"\"\n\x11ResponseException\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x1f\n\x0cResponseEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0f\n\rResponseFlush\"z\n\x0cResponseInfo\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x03 \x01(\x04\x12\x19\n\x11last_block_height\x18\x04 \x01(\x03\x12\x1b\n\x13last_block_app_hash\x18\x05 \x01(\x0c\"\x9e\x01\n\x11ResponseInitChain\x12;\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x10\n\x08\x61pp_hash\x18\x03 \x01(\x0c\"\xb6\x01\n\rResponseQuery\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\r\n\x05index\x18\x05 \x01(\x03\x12\x0b\n\x03key\x18\x06 \x01(\x0c\x12\r\n\x05value\x18\x07 \x01(\x0c\x12.\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOps\x12\x0e\n\x06height\x18\t \x01(\x03\x12\x11\n\tcodespace\x18\n \x01(\t\"\x80\x02\n\x0fResponseCheckTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\tJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error\"3\n\x0eResponseCommit\x12\x15\n\rretain_height\x18\x03 \x01(\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"E\n\x15ResponseListSnapshots\x12,\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.Snapshot\"\xb6\x01\n\x15ResponseOfferSnapshot\x12=\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.Result\"^\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x11\n\rREJECT_FORMAT\x10\x04\x12\x11\n\rREJECT_SENDER\x10\x05\"*\n\x19ResponseLoadSnapshotChunk\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c\"\xf2\x01\n\x1aResponseApplySnapshotChunk\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.Result\x12\x16\n\x0erefetch_chunks\x18\x02 \x03(\r\x12\x16\n\x0ereject_senders\x18\x03 \x03(\t\"`\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\t\n\x05RETRY\x10\x03\x12\x12\n\x0eRETRY_SNAPSHOT\x10\x04\x12\x13\n\x0fREJECT_SNAPSHOT\x10\x05\"&\n\x17ResponsePrepareProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\x99\x01\n\x17ResponseProcessProposal\x12G\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatus\"5\n\x0eProposalStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\",\n\x12ResponseExtendVote\x12\x16\n\x0evote_extension\x18\x01 \x01(\x0c\"\x9d\x01\n\x1bResponseVerifyVoteExtension\x12I\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus\"3\n\x0cVerifyStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\"\xa5\x02\n\x15ResponseFinalizeBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x31\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x41\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12\x10\n\x08\x61pp_hash\x18\x05 \x01(\x0c\"K\n\nCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12.\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00\"[\n\x12\x45xtendedCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12\x36\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00\"h\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12Q\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitempty\";\n\x0e\x45ventAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\r\n\x05index\x18\x03 \x01(\x08\"\xd6\x01\n\x0c\x45xecTxResult\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t\"j\n\x08TxResult\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\r\x12\n\n\x02tx\x18\x03 \x01(\x0c\x12\x33\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00\"+\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x03 \x01(\x03\"U\n\x0fValidatorUpdate\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\r\n\x05power\x18\x02 \x01(\x03\"{\n\x08VoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x34\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xb8\x01\n\x10\x45xtendedVoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x16\n\x0evote_extension\x18\x03 \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\x04 \x01(\x0c\x12\x34\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xd2\x01\n\x0bMisbehavior\x12.\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorType\x12\x33\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1a\n\x12total_voting_power\x18\x05 \x01(\x03\"Z\n\x08Snapshot\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c*9\n\x0b\x43heckTxType\x12\x10\n\x03NEW\x10\x00\x1a\x07\x8a\x9d \x03New\x12\x18\n\x07RECHECK\x10\x01\x1a\x0b\x8a\x9d \x07Recheck*K\n\x0fMisbehaviorType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x44UPLICATE_VOTE\x10\x01\x12\x17\n\x13LIGHT_CLIENT_ATTACK\x10\x02\x32\x9d\x0b\n\x04\x41\x42\x43I\x12\x43\n\x04\x45\x63ho\x12\x1c.tendermint.abci.RequestEcho\x1a\x1d.tendermint.abci.ResponseEcho\x12\x46\n\x05\x46lush\x12\x1d.tendermint.abci.RequestFlush\x1a\x1e.tendermint.abci.ResponseFlush\x12\x43\n\x04Info\x12\x1c.tendermint.abci.RequestInfo\x1a\x1d.tendermint.abci.ResponseInfo\x12L\n\x07\x43heckTx\x12\x1f.tendermint.abci.RequestCheckTx\x1a .tendermint.abci.ResponseCheckTx\x12\x46\n\x05Query\x12\x1d.tendermint.abci.RequestQuery\x1a\x1e.tendermint.abci.ResponseQuery\x12I\n\x06\x43ommit\x12\x1e.tendermint.abci.RequestCommit\x1a\x1f.tendermint.abci.ResponseCommit\x12R\n\tInitChain\x12!.tendermint.abci.RequestInitChain\x1a\".tendermint.abci.ResponseInitChain\x12^\n\rListSnapshots\x12%.tendermint.abci.RequestListSnapshots\x1a&.tendermint.abci.ResponseListSnapshots\x12^\n\rOfferSnapshot\x12%.tendermint.abci.RequestOfferSnapshot\x1a&.tendermint.abci.ResponseOfferSnapshot\x12j\n\x11LoadSnapshotChunk\x12).tendermint.abci.RequestLoadSnapshotChunk\x1a*.tendermint.abci.ResponseLoadSnapshotChunk\x12m\n\x12\x41pplySnapshotChunk\x12*.tendermint.abci.RequestApplySnapshotChunk\x1a+.tendermint.abci.ResponseApplySnapshotChunk\x12\x64\n\x0fPrepareProposal\x12\'.tendermint.abci.RequestPrepareProposal\x1a(.tendermint.abci.ResponsePrepareProposal\x12\x64\n\x0fProcessProposal\x12\'.tendermint.abci.RequestProcessProposal\x1a(.tendermint.abci.ResponseProcessProposal\x12U\n\nExtendVote\x12\".tendermint.abci.RequestExtendVote\x1a#.tendermint.abci.ResponseExtendVote\x12p\n\x13VerifyVoteExtension\x12+.tendermint.abci.RequestVerifyVoteExtension\x1a,.tendermint.abci.ResponseVerifyVoteExtension\x12^\n\rFinalizeBlock\x12%.tendermint.abci.RequestFinalizeBlock\x1a&.tendermint.abci.ResponseFinalizeBlockB)Z\'github.com/cometbft/cometbft/abci/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btendermint/abci/types.proto\x12\x0ftendermint.abci\x1a\x1dtendermint/crypto/proof.proto\x1a\x1ctendermint/crypto/keys.proto\x1a\x1dtendermint/types/params.proto\x1a tendermint/types/validator.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\xf2\x07\n\x07Request\x12,\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00\x12.\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00\x12,\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00\x12\x37\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00\x12.\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00\x12\x33\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00\x12\x30\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00\x12?\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00\x12?\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00\x12H\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00\x12J\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00\x12\x43\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00\x12\x43\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00\x12\x39\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32\".tendermint.abci.RequestExtendVoteH\x00\x12L\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00\x12?\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00\x42\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\x1e\n\x0bRequestEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0e\n\x0cRequestFlush\"`\n\x0bRequestInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x15\n\rblock_version\x18\x02 \x01(\x04\x12\x13\n\x0bp2p_version\x18\x03 \x01(\x04\x12\x14\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\t\"\x82\x02\n\x10RequestInitChain\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\x12;\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0c\x12\x16\n\x0einitial_height\x18\x06 \x01(\x03\"I\n\x0cRequestQuery\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\r\n\x05prove\x18\x04 \x01(\x08\"H\n\x0eRequestCheckTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxType\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"U\n\x14RequestOfferSnapshot\x12+\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.Snapshot\x12\x10\n\x08\x61pp_hash\x18\x02 \x01(\x0c\"I\n\x18RequestLoadSnapshotChunk\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05\x63hunk\x18\x03 \x01(\r\"I\n\x19RequestApplySnapshotChunk\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x63hunk\x18\x02 \x01(\x0c\x12\x0e\n\x06sender\x18\x03 \x01(\t\"\xb6\x02\n\x16RequestPrepareProposal\x12\x14\n\x0cmax_tx_bytes\x18\x01 \x01(\x03\x12\x0b\n\x03txs\x18\x02 \x03(\x0c\x12\x44\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xa9\x02\n\x16RequestProcessProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12?\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xa4\x02\n\x11RequestExtendVote\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\x32\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x0b\n\x03txs\x18\x04 \x03(\x0c\x12?\n\x14proposed_last_commit\x18\x05 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x06 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"m\n\x1aRequestVerifyVoteExtension\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x16\n\x0evote_extension\x18\x04 \x01(\x0c\"\xa6\x02\n\x14RequestFinalizeBlock\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12>\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xbc\x08\n\x08Response\x12\x37\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00\x12-\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00\x12/\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00\x12-\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00\x12\x38\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00\x12/\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00\x12\x34\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00\x12\x31\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00\x12@\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00\x12@\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00\x12I\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00\x12K\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00\x12\x44\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00\x12\x44\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00\x12:\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00\x12M\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00\x12@\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00\x42\x07\n\x05valueJ\x04\x08\x05\x10\x06J\x04\x08\x08\x10\tJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0c\"\"\n\x11ResponseException\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x1f\n\x0cResponseEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0f\n\rResponseFlush\"z\n\x0cResponseInfo\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x03 \x01(\x04\x12\x19\n\x11last_block_height\x18\x04 \x01(\x03\x12\x1b\n\x13last_block_app_hash\x18\x05 \x01(\x0c\"\x9e\x01\n\x11ResponseInitChain\x12;\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x10\n\x08\x61pp_hash\x18\x03 \x01(\x0c\"\xb6\x01\n\rResponseQuery\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\r\n\x05index\x18\x05 \x01(\x03\x12\x0b\n\x03key\x18\x06 \x01(\x0c\x12\r\n\x05value\x18\x07 \x01(\x0c\x12.\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOps\x12\x0e\n\x06height\x18\t \x01(\x03\x12\x11\n\tcodespace\x18\n \x01(\t\"\x80\x02\n\x0fResponseCheckTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\tJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error\"3\n\x0eResponseCommit\x12\x15\n\rretain_height\x18\x03 \x01(\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"E\n\x15ResponseListSnapshots\x12,\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.Snapshot\"\xb6\x01\n\x15ResponseOfferSnapshot\x12=\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.Result\"^\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x11\n\rREJECT_FORMAT\x10\x04\x12\x11\n\rREJECT_SENDER\x10\x05\"*\n\x19ResponseLoadSnapshotChunk\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c\"\xf2\x01\n\x1aResponseApplySnapshotChunk\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.Result\x12\x16\n\x0erefetch_chunks\x18\x02 \x03(\r\x12\x16\n\x0ereject_senders\x18\x03 \x03(\t\"`\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\t\n\x05RETRY\x10\x03\x12\x12\n\x0eRETRY_SNAPSHOT\x10\x04\x12\x13\n\x0fREJECT_SNAPSHOT\x10\x05\"&\n\x17ResponsePrepareProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\x99\x01\n\x17ResponseProcessProposal\x12G\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatus\"5\n\x0eProposalStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\",\n\x12ResponseExtendVote\x12\x16\n\x0evote_extension\x18\x01 \x01(\x0c\"\x9d\x01\n\x1bResponseVerifyVoteExtension\x12I\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus\"3\n\x0cVerifyStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\"\xa5\x02\n\x15ResponseFinalizeBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x31\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x41\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12\x10\n\x08\x61pp_hash\x18\x05 \x01(\x0c\"K\n\nCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12.\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00\"[\n\x12\x45xtendedCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12\x36\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00\"h\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12Q\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitempty\";\n\x0e\x45ventAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\r\n\x05index\x18\x03 \x01(\x08\"\xd6\x01\n\x0c\x45xecTxResult\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t\"j\n\x08TxResult\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\r\x12\n\n\x02tx\x18\x03 \x01(\x0c\x12\x33\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00\"+\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x03 \x01(\x03\"U\n\x0fValidatorUpdate\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\r\n\x05power\x18\x02 \x01(\x03\"{\n\x08VoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x34\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xb8\x01\n\x10\x45xtendedVoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x16\n\x0evote_extension\x18\x03 \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\x04 \x01(\x0c\x12\x34\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xd2\x01\n\x0bMisbehavior\x12.\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorType\x12\x33\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1a\n\x12total_voting_power\x18\x05 \x01(\x03\"Z\n\x08Snapshot\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c*9\n\x0b\x43heckTxType\x12\x10\n\x03NEW\x10\x00\x1a\x07\x8a\x9d \x03New\x12\x18\n\x07RECHECK\x10\x01\x1a\x0b\x8a\x9d \x07Recheck*K\n\x0fMisbehaviorType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x44UPLICATE_VOTE\x10\x01\x12\x17\n\x13LIGHT_CLIENT_ATTACK\x10\x02\x32\x9d\x0b\n\x04\x41\x42\x43I\x12\x43\n\x04\x45\x63ho\x12\x1c.tendermint.abci.RequestEcho\x1a\x1d.tendermint.abci.ResponseEcho\x12\x46\n\x05\x46lush\x12\x1d.tendermint.abci.RequestFlush\x1a\x1e.tendermint.abci.ResponseFlush\x12\x43\n\x04Info\x12\x1c.tendermint.abci.RequestInfo\x1a\x1d.tendermint.abci.ResponseInfo\x12L\n\x07\x43heckTx\x12\x1f.tendermint.abci.RequestCheckTx\x1a .tendermint.abci.ResponseCheckTx\x12\x46\n\x05Query\x12\x1d.tendermint.abci.RequestQuery\x1a\x1e.tendermint.abci.ResponseQuery\x12I\n\x06\x43ommit\x12\x1e.tendermint.abci.RequestCommit\x1a\x1f.tendermint.abci.ResponseCommit\x12R\n\tInitChain\x12!.tendermint.abci.RequestInitChain\x1a\".tendermint.abci.ResponseInitChain\x12^\n\rListSnapshots\x12%.tendermint.abci.RequestListSnapshots\x1a&.tendermint.abci.ResponseListSnapshots\x12^\n\rOfferSnapshot\x12%.tendermint.abci.RequestOfferSnapshot\x1a&.tendermint.abci.ResponseOfferSnapshot\x12j\n\x11LoadSnapshotChunk\x12).tendermint.abci.RequestLoadSnapshotChunk\x1a*.tendermint.abci.ResponseLoadSnapshotChunk\x12m\n\x12\x41pplySnapshotChunk\x12*.tendermint.abci.RequestApplySnapshotChunk\x1a+.tendermint.abci.ResponseApplySnapshotChunk\x12\x64\n\x0fPrepareProposal\x12\'.tendermint.abci.RequestPrepareProposal\x1a(.tendermint.abci.ResponsePrepareProposal\x12\x64\n\x0fProcessProposal\x12\'.tendermint.abci.RequestProcessProposal\x1a(.tendermint.abci.ResponseProcessProposal\x12U\n\nExtendVote\x12\".tendermint.abci.RequestExtendVote\x1a#.tendermint.abci.ResponseExtendVote\x12p\n\x13VerifyVoteExtension\x12+.tendermint.abci.RequestVerifyVoteExtension\x1a,.tendermint.abci.ResponseVerifyVoteExtension\x12^\n\rFinalizeBlock\x12%.tendermint.abci.RequestFinalizeBlock\x1a&.tendermint.abci.ResponseFinalizeBlockB)Z\'github.com/cometbft/cometbft/abci/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -48,6 +48,12 @@ _REQUESTPROCESSPROPOSAL.fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' _REQUESTPROCESSPROPOSAL.fields_by_name['time']._options = None _REQUESTPROCESSPROPOSAL.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _REQUESTEXTENDVOTE.fields_by_name['time']._options = None + _REQUESTEXTENDVOTE.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _REQUESTEXTENDVOTE.fields_by_name['proposed_last_commit']._options = None + _REQUESTEXTENDVOTE.fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' + _REQUESTEXTENDVOTE.fields_by_name['misbehavior']._options = None + _REQUESTEXTENDVOTE.fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' _REQUESTFINALIZEBLOCK.fields_by_name['decided_last_commit']._options = None _REQUESTFINALIZEBLOCK.fields_by_name['decided_last_commit']._serialized_options = b'\310\336\037\000' _REQUESTFINALIZEBLOCK.fields_by_name['misbehavior']._options = None @@ -82,10 +88,10 @@ _MISBEHAVIOR.fields_by_name['validator']._serialized_options = b'\310\336\037\000' _MISBEHAVIOR.fields_by_name['time']._options = None _MISBEHAVIOR.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_CHECKTXTYPE']._serialized_start=7757 - _globals['_CHECKTXTYPE']._serialized_end=7814 - _globals['_MISBEHAVIORTYPE']._serialized_start=7816 - _globals['_MISBEHAVIORTYPE']._serialized_end=7891 + _globals['_CHECKTXTYPE']._serialized_start=8001 + _globals['_CHECKTXTYPE']._serialized_end=8058 + _globals['_MISBEHAVIORTYPE']._serialized_start=8060 + _globals['_MISBEHAVIORTYPE']._serialized_end=8135 _globals['_REQUEST']._serialized_start=230 _globals['_REQUEST']._serialized_end=1240 _globals['_REQUESTECHO']._serialized_start=1242 @@ -114,80 +120,80 @@ _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2387 _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2390 _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=2687 - _globals['_REQUESTEXTENDVOTE']._serialized_start=2689 - _globals['_REQUESTEXTENDVOTE']._serialized_end=2738 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_start=2740 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_end=2849 - _globals['_REQUESTFINALIZEBLOCK']._serialized_start=2852 - _globals['_REQUESTFINALIZEBLOCK']._serialized_end=3146 - _globals['_RESPONSE']._serialized_start=3149 - _globals['_RESPONSE']._serialized_end=4233 - _globals['_RESPONSEEXCEPTION']._serialized_start=4235 - _globals['_RESPONSEEXCEPTION']._serialized_end=4269 - _globals['_RESPONSEECHO']._serialized_start=4271 - _globals['_RESPONSEECHO']._serialized_end=4302 - _globals['_RESPONSEFLUSH']._serialized_start=4304 - _globals['_RESPONSEFLUSH']._serialized_end=4319 - _globals['_RESPONSEINFO']._serialized_start=4321 - _globals['_RESPONSEINFO']._serialized_end=4443 - _globals['_RESPONSEINITCHAIN']._serialized_start=4446 - _globals['_RESPONSEINITCHAIN']._serialized_end=4604 - _globals['_RESPONSEQUERY']._serialized_start=4607 - _globals['_RESPONSEQUERY']._serialized_end=4789 - _globals['_RESPONSECHECKTX']._serialized_start=4792 - _globals['_RESPONSECHECKTX']._serialized_end=5048 - _globals['_RESPONSECOMMIT']._serialized_start=5050 - _globals['_RESPONSECOMMIT']._serialized_end=5101 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=5103 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=5172 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=5175 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=5357 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=5263 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=5357 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=5359 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=5401 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=5404 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=5646 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=5550 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=5646 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=5648 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=5686 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=5689 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=5842 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=5789 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=5842 - _globals['_RESPONSEEXTENDVOTE']._serialized_start=5844 - _globals['_RESPONSEEXTENDVOTE']._serialized_end=5888 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_start=5891 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_end=6048 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_start=5997 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_end=6048 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_start=6051 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_end=6344 - _globals['_COMMITINFO']._serialized_start=6346 - _globals['_COMMITINFO']._serialized_end=6421 - _globals['_EXTENDEDCOMMITINFO']._serialized_start=6423 - _globals['_EXTENDEDCOMMITINFO']._serialized_end=6514 - _globals['_EVENT']._serialized_start=6516 - _globals['_EVENT']._serialized_end=6620 - _globals['_EVENTATTRIBUTE']._serialized_start=6622 - _globals['_EVENTATTRIBUTE']._serialized_end=6681 - _globals['_EXECTXRESULT']._serialized_start=6684 - _globals['_EXECTXRESULT']._serialized_end=6898 - _globals['_TXRESULT']._serialized_start=6900 - _globals['_TXRESULT']._serialized_end=7006 - _globals['_VALIDATOR']._serialized_start=7008 - _globals['_VALIDATOR']._serialized_end=7051 - _globals['_VALIDATORUPDATE']._serialized_start=7053 - _globals['_VALIDATORUPDATE']._serialized_end=7138 - _globals['_VOTEINFO']._serialized_start=7140 - _globals['_VOTEINFO']._serialized_end=7263 - _globals['_EXTENDEDVOTEINFO']._serialized_start=7266 - _globals['_EXTENDEDVOTEINFO']._serialized_end=7450 - _globals['_MISBEHAVIOR']._serialized_start=7453 - _globals['_MISBEHAVIOR']._serialized_end=7663 - _globals['_SNAPSHOT']._serialized_start=7665 - _globals['_SNAPSHOT']._serialized_end=7755 - _globals['_ABCI']._serialized_start=7894 - _globals['_ABCI']._serialized_end=9331 + _globals['_REQUESTEXTENDVOTE']._serialized_start=2690 + _globals['_REQUESTEXTENDVOTE']._serialized_end=2982 + _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_start=2984 + _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_end=3093 + _globals['_REQUESTFINALIZEBLOCK']._serialized_start=3096 + _globals['_REQUESTFINALIZEBLOCK']._serialized_end=3390 + _globals['_RESPONSE']._serialized_start=3393 + _globals['_RESPONSE']._serialized_end=4477 + _globals['_RESPONSEEXCEPTION']._serialized_start=4479 + _globals['_RESPONSEEXCEPTION']._serialized_end=4513 + _globals['_RESPONSEECHO']._serialized_start=4515 + _globals['_RESPONSEECHO']._serialized_end=4546 + _globals['_RESPONSEFLUSH']._serialized_start=4548 + _globals['_RESPONSEFLUSH']._serialized_end=4563 + _globals['_RESPONSEINFO']._serialized_start=4565 + _globals['_RESPONSEINFO']._serialized_end=4687 + _globals['_RESPONSEINITCHAIN']._serialized_start=4690 + _globals['_RESPONSEINITCHAIN']._serialized_end=4848 + _globals['_RESPONSEQUERY']._serialized_start=4851 + _globals['_RESPONSEQUERY']._serialized_end=5033 + _globals['_RESPONSECHECKTX']._serialized_start=5036 + _globals['_RESPONSECHECKTX']._serialized_end=5292 + _globals['_RESPONSECOMMIT']._serialized_start=5294 + _globals['_RESPONSECOMMIT']._serialized_end=5345 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=5347 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=5416 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=5419 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=5601 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=5507 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=5601 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=5603 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=5645 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=5648 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=5890 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=5794 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=5890 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=5892 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=5930 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=5933 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=6086 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=6033 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=6086 + _globals['_RESPONSEEXTENDVOTE']._serialized_start=6088 + _globals['_RESPONSEEXTENDVOTE']._serialized_end=6132 + _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_start=6135 + _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_end=6292 + _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_start=6241 + _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_end=6292 + _globals['_RESPONSEFINALIZEBLOCK']._serialized_start=6295 + _globals['_RESPONSEFINALIZEBLOCK']._serialized_end=6588 + _globals['_COMMITINFO']._serialized_start=6590 + _globals['_COMMITINFO']._serialized_end=6665 + _globals['_EXTENDEDCOMMITINFO']._serialized_start=6667 + _globals['_EXTENDEDCOMMITINFO']._serialized_end=6758 + _globals['_EVENT']._serialized_start=6760 + _globals['_EVENT']._serialized_end=6864 + _globals['_EVENTATTRIBUTE']._serialized_start=6866 + _globals['_EVENTATTRIBUTE']._serialized_end=6925 + _globals['_EXECTXRESULT']._serialized_start=6928 + _globals['_EXECTXRESULT']._serialized_end=7142 + _globals['_TXRESULT']._serialized_start=7144 + _globals['_TXRESULT']._serialized_end=7250 + _globals['_VALIDATOR']._serialized_start=7252 + _globals['_VALIDATOR']._serialized_end=7295 + _globals['_VALIDATORUPDATE']._serialized_start=7297 + _globals['_VALIDATORUPDATE']._serialized_end=7382 + _globals['_VOTEINFO']._serialized_start=7384 + _globals['_VOTEINFO']._serialized_end=7507 + _globals['_EXTENDEDVOTEINFO']._serialized_start=7510 + _globals['_EXTENDEDVOTEINFO']._serialized_end=7694 + _globals['_MISBEHAVIOR']._serialized_start=7697 + _globals['_MISBEHAVIOR']._serialized_end=7907 + _globals['_SNAPSHOT']._serialized_start=7909 + _globals['_SNAPSHOT']._serialized_end=7999 + _globals['_ABCI']._serialized_start=8138 + _globals['_ABCI']._serialized_end=9575 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_pb2.py b/pyinjective/proto/tendermint/services/block/v1/block_pb2.py new file mode 100644 index 00000000..7f25f3f4 --- /dev/null +++ b/pyinjective/proto/tendermint/services/block/v1/block_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/services/block/v1/block.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 +from tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(tendermint/services/block/v1/block.proto\x12\x1ctendermint.services.block.v1\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"$\n\x12GetByHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"j\n\x13GetByHeightResponse\x12+\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockID\x12&\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.Block\"\x12\n\x10GetLatestRequest\"h\n\x11GetLatestResponse\x12+\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockID\x12&\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.Block\"\x18\n\x16GetLatestHeightRequest\")\n\x17GetLatestHeightResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x42\x41Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block.v1.block_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1' + _globals['_GETBYHEIGHTREQUEST']._serialized_start=134 + _globals['_GETBYHEIGHTREQUEST']._serialized_end=170 + _globals['_GETBYHEIGHTRESPONSE']._serialized_start=172 + _globals['_GETBYHEIGHTRESPONSE']._serialized_end=278 + _globals['_GETLATESTREQUEST']._serialized_start=280 + _globals['_GETLATESTREQUEST']._serialized_end=298 + _globals['_GETLATESTRESPONSE']._serialized_start=300 + _globals['_GETLATESTRESPONSE']._serialized_end=404 + _globals['_GETLATESTHEIGHTREQUEST']._serialized_start=406 + _globals['_GETLATESTHEIGHTREQUEST']._serialized_end=430 + _globals['_GETLATESTHEIGHTRESPONSE']._serialized_start=432 + _globals['_GETLATESTHEIGHTRESPONSE']._serialized_end=473 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_pb2_grpc.py b/pyinjective/proto/tendermint/services/block/v1/block_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/services/block/v1/block_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py new file mode 100644 index 00000000..3d5428ad --- /dev/null +++ b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/services/block/v1/block_service.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from tendermint.services.block.v1 import block_pb2 as tendermint_dot_services_dot_block_dot_v1_dot_block__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0tendermint/services/block/v1/block_service.proto\x12\x1ctendermint.services.block.v1\x1a(tendermint/services/block/v1/block.proto2\xf3\x02\n\x0c\x42lockService\x12r\n\x0bGetByHeight\x12\x30.tendermint.services.block.v1.GetByHeightRequest\x1a\x31.tendermint.services.block.v1.GetByHeightResponse\x12l\n\tGetLatest\x12..tendermint.services.block.v1.GetLatestRequest\x1a/.tendermint.services.block.v1.GetLatestResponse\x12\x80\x01\n\x0fGetLatestHeight\x12\x34.tendermint.services.block.v1.GetLatestHeightRequest\x1a\x35.tendermint.services.block.v1.GetLatestHeightResponse0\x01\x42\x41Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block.v1.block_service_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1' + _globals['_BLOCKSERVICE']._serialized_start=125 + _globals['_BLOCKSERVICE']._serialized_end=496 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py new file mode 100644 index 00000000..4e204eb6 --- /dev/null +++ b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py @@ -0,0 +1,141 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from tendermint.services.block.v1 import block_pb2 as tendermint_dot_services_dot_block_dot_v1_dot_block__pb2 + + +class BlockServiceStub(object): + """BlockService provides information about blocks + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetByHeight = channel.unary_unary( + '/tendermint.services.block.v1.BlockService/GetByHeight', + request_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightResponse.FromString, + ) + self.GetLatest = channel.unary_unary( + '/tendermint.services.block.v1.BlockService/GetLatest', + request_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestResponse.FromString, + ) + self.GetLatestHeight = channel.unary_stream( + '/tendermint.services.block.v1.BlockService/GetLatestHeight', + request_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightResponse.FromString, + ) + + +class BlockServiceServicer(object): + """BlockService provides information about blocks + """ + + def GetByHeight(self, request, context): + """GetBlock retrieves the block information at a particular height. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetLatest(self, request, context): + """GetLatest retrieves the latest block. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetLatestHeight(self, request, context): + """GetLatestHeight returns a stream of the latest block heights committed by + the network. This is a long-lived stream that is only terminated by the + server if an error occurs. The caller is expected to handle such + disconnections and automatically reconnect. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_BlockServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetByHeight': grpc.unary_unary_rpc_method_handler( + servicer.GetByHeight, + request_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightRequest.FromString, + response_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightResponse.SerializeToString, + ), + 'GetLatest': grpc.unary_unary_rpc_method_handler( + servicer.GetLatest, + request_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestRequest.FromString, + response_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestResponse.SerializeToString, + ), + 'GetLatestHeight': grpc.unary_stream_rpc_method_handler( + servicer.GetLatestHeight, + request_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightRequest.FromString, + response_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'tendermint.services.block.v1.BlockService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class BlockService(object): + """BlockService provides information about blocks + """ + + @staticmethod + def GetByHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.block.v1.BlockService/GetByHeight', + tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightRequest.SerializeToString, + tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetLatest(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.block.v1.BlockService/GetLatest', + tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestRequest.SerializeToString, + tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetLatestHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream(request, target, '/tendermint.services.block.v1.BlockService/GetLatestHeight', + tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightRequest.SerializeToString, + tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py new file mode 100644 index 00000000..bda9a9d6 --- /dev/null +++ b/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/services/block_results/v1/block_results.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 +from tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8tendermint/services/block_results/v1/block_results.proto\x12$tendermint.services.block_results.v1\x1a\x1btendermint/abci/types.proto\x1a\x1dtendermint/types/params.proto\"(\n\x16GetBlockResultsRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"\x1e\n\x1cGetLatestBlockResultsRequest\"\xa7\x02\n\x17GetBlockResultsResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x32\n\x0btxs_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x35\n\x15\x66inalize_block_events\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.Event\x12;\n\x11validator_updates\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdate\x12\x42\n\x17\x63onsensus_param_updates\x18\x05 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12\x10\n\x08\x61pp_hash\x18\x06 \x01(\x0c\x42IZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block_results.v1.block_results_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1' + _globals['_GETBLOCKRESULTSREQUEST']._serialized_start=158 + _globals['_GETBLOCKRESULTSREQUEST']._serialized_end=198 + _globals['_GETLATESTBLOCKRESULTSREQUEST']._serialized_start=200 + _globals['_GETLATESTBLOCKRESULTSREQUEST']._serialized_end=230 + _globals['_GETBLOCKRESULTSRESPONSE']._serialized_start=233 + _globals['_GETBLOCKRESULTSRESPONSE']._serialized_end=528 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2_grpc.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py new file mode 100644 index 00000000..37d3214f --- /dev/null +++ b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/services/block_results/v1/block_results_service.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from tendermint.services.block_results.v1 import block_results_pb2 as tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@tendermint/services/block_results/v1/block_results_service.proto\x12$tendermint.services.block_results.v1\x1a\x38tendermint/services/block_results/v1/block_results.proto2\xc3\x02\n\x13\x42lockResultsService\x12\x8e\x01\n\x0fGetBlockResults\x12<.tendermint.services.block_results.v1.GetBlockResultsRequest\x1a=.tendermint.services.block_results.v1.GetBlockResultsResponse\x12\x9a\x01\n\x15GetLatestBlockResults\x12\x42.tendermint.services.block_results.v1.GetLatestBlockResultsRequest\x1a=.tendermint.services.block_results.v1.GetBlockResultsResponseBIZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block_results.v1.block_results_service_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1' + _globals['_BLOCKRESULTSSERVICE']._serialized_start=165 + _globals['_BLOCKRESULTSSERVICE']._serialized_end=488 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py new file mode 100644 index 00000000..12b3e5da --- /dev/null +++ b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py @@ -0,0 +1,107 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from tendermint.services.block_results.v1 import block_results_pb2 as tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2 + + +class BlockResultsServiceStub(object): + """ + BlockResultService provides the block results of a given or latestheight. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetBlockResults = channel.unary_unary( + '/tendermint.services.block_results.v1.BlockResultsService/GetBlockResults', + request_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, + ) + self.GetLatestBlockResults = channel.unary_unary( + '/tendermint.services.block_results.v1.BlockResultsService/GetLatestBlockResults', + request_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetLatestBlockResultsRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, + ) + + +class BlockResultsServiceServicer(object): + """ + BlockResultService provides the block results of a given or latestheight. + """ + + def GetBlockResults(self, request, context): + """GetBlockResults returns the BlockResults of the requested height. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetLatestBlockResults(self, request, context): + """GetLatestBlockResults returns the BlockResults of the latest committed height. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_BlockResultsServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetBlockResults': grpc.unary_unary_rpc_method_handler( + servicer.GetBlockResults, + request_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsRequest.FromString, + response_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.SerializeToString, + ), + 'GetLatestBlockResults': grpc.unary_unary_rpc_method_handler( + servicer.GetLatestBlockResults, + request_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetLatestBlockResultsRequest.FromString, + response_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'tendermint.services.block_results.v1.BlockResultsService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class BlockResultsService(object): + """ + BlockResultService provides the block results of a given or latestheight. + """ + + @staticmethod + def GetBlockResults(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.block_results.v1.BlockResultsService/GetBlockResults', + tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsRequest.SerializeToString, + tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetLatestBlockResults(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.block_results.v1.BlockResultsService/GetLatestBlockResults', + tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetLatestBlockResultsRequest.SerializeToString, + tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py b/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py new file mode 100644 index 00000000..8f0a166f --- /dev/null +++ b/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/services/pruning/v1/pruning.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,tendermint/services/pruning/v1/pruning.proto\x12\x1etendermint.services.pruning.v1\"-\n\x1bSetBlockRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"\x1e\n\x1cSetBlockRetainHeightResponse\"\x1d\n\x1bGetBlockRetainHeightRequest\"`\n\x1cGetBlockRetainHeightResponse\x12\x19\n\x11\x61pp_retain_height\x18\x01 \x01(\x04\x12%\n\x1dpruning_service_retain_height\x18\x02 \x01(\x04\"4\n\"SetBlockResultsRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"%\n#SetBlockResultsRetainHeightResponse\"$\n\"GetBlockResultsRetainHeightRequest\"L\n#GetBlockResultsRetainHeightResponse\x12%\n\x1dpruning_service_retain_height\x18\x01 \x01(\x04\"1\n\x1fSetTxIndexerRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"\"\n SetTxIndexerRetainHeightResponse\"!\n\x1fGetTxIndexerRetainHeightRequest\"2\n GetTxIndexerRetainHeightResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\"4\n\"SetBlockIndexerRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"%\n#SetBlockIndexerRetainHeightResponse\"$\n\"GetBlockIndexerRetainHeightRequest\"5\n#GetBlockIndexerRetainHeightResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.pruning.v1.pruning_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + _globals['_SETBLOCKRETAINHEIGHTREQUEST']._serialized_start=80 + _globals['_SETBLOCKRETAINHEIGHTREQUEST']._serialized_end=125 + _globals['_SETBLOCKRETAINHEIGHTRESPONSE']._serialized_start=127 + _globals['_SETBLOCKRETAINHEIGHTRESPONSE']._serialized_end=157 + _globals['_GETBLOCKRETAINHEIGHTREQUEST']._serialized_start=159 + _globals['_GETBLOCKRETAINHEIGHTREQUEST']._serialized_end=188 + _globals['_GETBLOCKRETAINHEIGHTRESPONSE']._serialized_start=190 + _globals['_GETBLOCKRETAINHEIGHTRESPONSE']._serialized_end=286 + _globals['_SETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_start=288 + _globals['_SETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_end=340 + _globals['_SETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_start=342 + _globals['_SETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_end=379 + _globals['_GETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_start=381 + _globals['_GETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_end=417 + _globals['_GETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_start=419 + _globals['_GETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_end=495 + _globals['_SETTXINDEXERRETAINHEIGHTREQUEST']._serialized_start=497 + _globals['_SETTXINDEXERRETAINHEIGHTREQUEST']._serialized_end=546 + _globals['_SETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_start=548 + _globals['_SETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_end=582 + _globals['_GETTXINDEXERRETAINHEIGHTREQUEST']._serialized_start=584 + _globals['_GETTXINDEXERRETAINHEIGHTREQUEST']._serialized_end=617 + _globals['_GETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_start=619 + _globals['_GETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_end=669 + _globals['_SETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_start=671 + _globals['_SETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_end=723 + _globals['_SETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_start=725 + _globals['_SETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_end=762 + _globals['_GETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_start=764 + _globals['_GETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_end=800 + _globals['_GETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_start=802 + _globals['_GETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_end=855 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2_grpc.py b/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py new file mode 100644 index 00000000..32f20cb6 --- /dev/null +++ b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/services/pruning/v1/service.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from tendermint.services.pruning.v1 import pruning_pb2 as tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,tendermint/services/pruning/v1/service.proto\x12\x1etendermint.services.pruning.v1\x1a,tendermint/services/pruning/v1/pruning.proto2\x9c\n\n\x0ePruningService\x12\x91\x01\n\x14SetBlockRetainHeight\x12;.tendermint.services.pruning.v1.SetBlockRetainHeightRequest\x1a<.tendermint.services.pruning.v1.SetBlockRetainHeightResponse\x12\x91\x01\n\x14GetBlockRetainHeight\x12;.tendermint.services.pruning.v1.GetBlockRetainHeightRequest\x1a<.tendermint.services.pruning.v1.GetBlockRetainHeightResponse\x12\xa6\x01\n\x1bSetBlockResultsRetainHeight\x12\x42.tendermint.services.pruning.v1.SetBlockResultsRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.SetBlockResultsRetainHeightResponse\x12\xa6\x01\n\x1bGetBlockResultsRetainHeight\x12\x42.tendermint.services.pruning.v1.GetBlockResultsRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.GetBlockResultsRetainHeightResponse\x12\x9d\x01\n\x18SetTxIndexerRetainHeight\x12?.tendermint.services.pruning.v1.SetTxIndexerRetainHeightRequest\x1a@.tendermint.services.pruning.v1.SetTxIndexerRetainHeightResponse\x12\x9d\x01\n\x18GetTxIndexerRetainHeight\x12?.tendermint.services.pruning.v1.GetTxIndexerRetainHeightRequest\x1a@.tendermint.services.pruning.v1.GetTxIndexerRetainHeightResponse\x12\xa6\x01\n\x1bSetBlockIndexerRetainHeight\x12\x42.tendermint.services.pruning.v1.SetBlockIndexerRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.SetBlockIndexerRetainHeightResponse\x12\xa6\x01\n\x1bGetBlockIndexerRetainHeight\x12\x42.tendermint.services.pruning.v1.GetBlockIndexerRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.GetBlockIndexerRetainHeightResponseb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.pruning.v1.service_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + _globals['_PRUNINGSERVICE']._serialized_start=127 + _globals['_PRUNINGSERVICE']._serialized_end=1435 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py new file mode 100644 index 00000000..1f680821 --- /dev/null +++ b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py @@ -0,0 +1,326 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from tendermint.services.pruning.v1 import pruning_pb2 as tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2 + + +class PruningServiceStub(object): + """PruningService provides privileged access to specialized pruning + functionality on the CometBFT node to help control node storage. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.SetBlockRetainHeight = channel.unary_unary( + '/tendermint.services.pruning.v1.PruningService/SetBlockRetainHeight', + request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightResponse.FromString, + ) + self.GetBlockRetainHeight = channel.unary_unary( + '/tendermint.services.pruning.v1.PruningService/GetBlockRetainHeight', + request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightResponse.FromString, + ) + self.SetBlockResultsRetainHeight = channel.unary_unary( + '/tendermint.services.pruning.v1.PruningService/SetBlockResultsRetainHeight', + request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightResponse.FromString, + ) + self.GetBlockResultsRetainHeight = channel.unary_unary( + '/tendermint.services.pruning.v1.PruningService/GetBlockResultsRetainHeight', + request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightResponse.FromString, + ) + self.SetTxIndexerRetainHeight = channel.unary_unary( + '/tendermint.services.pruning.v1.PruningService/SetTxIndexerRetainHeight', + request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightResponse.FromString, + ) + self.GetTxIndexerRetainHeight = channel.unary_unary( + '/tendermint.services.pruning.v1.PruningService/GetTxIndexerRetainHeight', + request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightResponse.FromString, + ) + self.SetBlockIndexerRetainHeight = channel.unary_unary( + '/tendermint.services.pruning.v1.PruningService/SetBlockIndexerRetainHeight', + request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightResponse.FromString, + ) + self.GetBlockIndexerRetainHeight = channel.unary_unary( + '/tendermint.services.pruning.v1.PruningService/GetBlockIndexerRetainHeight', + request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightResponse.FromString, + ) + + +class PruningServiceServicer(object): + """PruningService provides privileged access to specialized pruning + functionality on the CometBFT node to help control node storage. + """ + + def SetBlockRetainHeight(self, request, context): + """SetBlockRetainHeightRequest indicates to the node that it can safely + prune all block data up to the specified retain height. + + The lower of this retain height and that set by the application in its + Commit response will be used by the node to determine which heights' data + can be pruned. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBlockRetainHeight(self, request, context): + """GetBlockRetainHeight returns information about the retain height + parameters used by the node to influence block retention/pruning. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SetBlockResultsRetainHeight(self, request, context): + """SetBlockResultsRetainHeightRequest indicates to the node that it can + safely prune all block results data up to the specified height. + + The node will always store the block results for the latest height to + help facilitate crash recovery. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBlockResultsRetainHeight(self, request, context): + """GetBlockResultsRetainHeight returns information about the retain height + parameters used by the node to influence block results retention/pruning. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SetTxIndexerRetainHeight(self, request, context): + """SetTxIndexerRetainHeightRequest indicates to the node that it can safely + prune all tx indices up to the specified retain height. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTxIndexerRetainHeight(self, request, context): + """GetTxIndexerRetainHeight returns information about the retain height + parameters used by the node to influence TxIndexer pruning + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SetBlockIndexerRetainHeight(self, request, context): + """SetBlockIndexerRetainHeightRequest indicates to the node that it can safely + prune all block indices up to the specified retain height. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBlockIndexerRetainHeight(self, request, context): + """GetBlockIndexerRetainHeight returns information about the retain height + parameters used by the node to influence BlockIndexer pruning + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PruningServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'SetBlockRetainHeight': grpc.unary_unary_rpc_method_handler( + servicer.SetBlockRetainHeight, + request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightRequest.FromString, + response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightResponse.SerializeToString, + ), + 'GetBlockRetainHeight': grpc.unary_unary_rpc_method_handler( + servicer.GetBlockRetainHeight, + request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightRequest.FromString, + response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightResponse.SerializeToString, + ), + 'SetBlockResultsRetainHeight': grpc.unary_unary_rpc_method_handler( + servicer.SetBlockResultsRetainHeight, + request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightRequest.FromString, + response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightResponse.SerializeToString, + ), + 'GetBlockResultsRetainHeight': grpc.unary_unary_rpc_method_handler( + servicer.GetBlockResultsRetainHeight, + request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightRequest.FromString, + response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightResponse.SerializeToString, + ), + 'SetTxIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( + servicer.SetTxIndexerRetainHeight, + request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightRequest.FromString, + response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightResponse.SerializeToString, + ), + 'GetTxIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( + servicer.GetTxIndexerRetainHeight, + request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightRequest.FromString, + response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightResponse.SerializeToString, + ), + 'SetBlockIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( + servicer.SetBlockIndexerRetainHeight, + request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightRequest.FromString, + response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightResponse.SerializeToString, + ), + 'GetBlockIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( + servicer.GetBlockIndexerRetainHeight, + request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightRequest.FromString, + response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'tendermint.services.pruning.v1.PruningService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class PruningService(object): + """PruningService provides privileged access to specialized pruning + functionality on the CometBFT node to help control node storage. + """ + + @staticmethod + def SetBlockRetainHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetBlockRetainHeight', + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightRequest.SerializeToString, + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetBlockRetainHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetBlockRetainHeight', + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightRequest.SerializeToString, + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def SetBlockResultsRetainHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetBlockResultsRetainHeight', + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightRequest.SerializeToString, + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetBlockResultsRetainHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetBlockResultsRetainHeight', + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightRequest.SerializeToString, + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def SetTxIndexerRetainHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetTxIndexerRetainHeight', + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightRequest.SerializeToString, + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetTxIndexerRetainHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetTxIndexerRetainHeight', + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightRequest.SerializeToString, + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def SetBlockIndexerRetainHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetBlockIndexerRetainHeight', + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightRequest.SerializeToString, + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetBlockIndexerRetainHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetBlockIndexerRetainHeight', + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightRequest.SerializeToString, + tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/services/version/v1/version_pb2.py b/pyinjective/proto/tendermint/services/version/v1/version_pb2.py new file mode 100644 index 00000000..8d6d2b53 --- /dev/null +++ b/pyinjective/proto/tendermint/services/version/v1/version_pb2.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/services/version/v1/version.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,tendermint/services/version/v1/version.proto\x12\x1etendermint.services.version.v1\"\x13\n\x11GetVersionRequest\"L\n\x12GetVersionResponse\x12\x0c\n\x04node\x18\x01 \x01(\t\x12\x0c\n\x04\x61\x62\x63i\x18\x02 \x01(\t\x12\x0b\n\x03p2p\x18\x03 \x01(\x04\x12\r\n\x05\x62lock\x18\x04 \x01(\x04\x42\x43ZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.version.v1.version_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1' + _globals['_GETVERSIONREQUEST']._serialized_start=80 + _globals['_GETVERSIONREQUEST']._serialized_end=99 + _globals['_GETVERSIONRESPONSE']._serialized_start=101 + _globals['_GETVERSIONRESPONSE']._serialized_end=177 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/version/v1/version_pb2_grpc.py b/pyinjective/proto/tendermint/services/version/v1/version_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/services/version/v1/version_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py new file mode 100644 index 00000000..29d57e42 --- /dev/null +++ b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/services/version/v1/version_service.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from tendermint.services.version.v1 import version_pb2 as tendermint_dot_services_dot_version_dot_v1_dot_version__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4tendermint/services/version/v1/version_service.proto\x12\x1etendermint.services.version.v1\x1a,tendermint/services/version/v1/version.proto2\x85\x01\n\x0eVersionService\x12s\n\nGetVersion\x12\x31.tendermint.services.version.v1.GetVersionRequest\x1a\x32.tendermint.services.version.v1.GetVersionResponseBCZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.version.v1.version_service_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1' + _globals['_VERSIONSERVICE']._serialized_start=135 + _globals['_VERSIONSERVICE']._serialized_end=268 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py new file mode 100644 index 00000000..4fa841b2 --- /dev/null +++ b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py @@ -0,0 +1,89 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from tendermint.services.version.v1 import version_pb2 as tendermint_dot_services_dot_version_dot_v1_dot_version__pb2 + + +class VersionServiceStub(object): + """VersionService simply provides version information about the node and the + protocols it uses. + + The intention with this service is to offer a stable interface through which + clients can access version information. This means that the version of the + service should be kept stable at v1, with GetVersionResponse evolving only + in non-breaking ways. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetVersion = channel.unary_unary( + '/tendermint.services.version.v1.VersionService/GetVersion', + request_serializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionRequest.SerializeToString, + response_deserializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionResponse.FromString, + ) + + +class VersionServiceServicer(object): + """VersionService simply provides version information about the node and the + protocols it uses. + + The intention with this service is to offer a stable interface through which + clients can access version information. This means that the version of the + service should be kept stable at v1, with GetVersionResponse evolving only + in non-breaking ways. + """ + + def GetVersion(self, request, context): + """GetVersion retrieves version information about the node and the protocols + it implements. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_VersionServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetVersion': grpc.unary_unary_rpc_method_handler( + servicer.GetVersion, + request_deserializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionRequest.FromString, + response_serializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'tendermint.services.version.v1.VersionService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class VersionService(object): + """VersionService simply provides version information about the node and the + protocols it uses. + + The intention with this service is to offer a stable interface through which + clients can access version information. This means that the version of the + service should be kept stable at v1, with GetVersionResponse evolving only + in non-breaking ways. + """ + + @staticmethod + def GetVersion(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.services.version.v1.VersionService/GetVersion', + tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionRequest.SerializeToString, + tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) From 33b4d1bde3900ee6591c345611b847ea06e0c2a1 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 4 Oct 2023 09:42:49 -0300 Subject: [PATCH 10/83] (fix) Increase version number --- poetry.lock | 1054 +++++++++++++++++++++++++----------------------- pyproject.toml | 2 +- 2 files changed, 550 insertions(+), 506 deletions(-) diff --git a/poetry.lock b/poetry.lock index 28358a9f..488b510d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -235,113 +235,133 @@ coincurve = ">=15.0,<19" [[package]] name = "bitarray" -version = "2.8.1" +version = "2.8.2" description = "efficient arrays of booleans -- C extension" optional = false python-versions = "*" files = [ - {file = "bitarray-2.8.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:6be965028785413a6163dd55a639b898b22f67f9b6ed554081c23e94a602031e"}, - {file = "bitarray-2.8.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:29e19cb80a69f6d1a64097bfbe1766c418e1a785d901b583ef0328ea10a30399"}, - {file = "bitarray-2.8.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a0f6d705860f59721d7282496a4d29b5fd78690e1c1473503832c983e762b01b"}, - {file = "bitarray-2.8.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6df04efdba4e1bf9d93a1735e42005f8fcf812caf40c03934d9322412d563499"}, - {file = "bitarray-2.8.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:18530ed3ddd71e9ff95440afce531efc3df7a3e0657f1c201c2c3cb41dd65869"}, - {file = "bitarray-2.8.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e4cd81ffd2d58ef68c22c825aff89f4a47bd721e2ada0a3a96793169f370ae21"}, - {file = "bitarray-2.8.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8367768ab797105eb97dfbd4577fcde281618de4d8d3b16ad62c477bb065f347"}, - {file = "bitarray-2.8.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:848af80518d0ed2aee782018588c7c88805f51b01271935df5b256c8d81c726e"}, - {file = "bitarray-2.8.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:c54b0af16be45de534af9d77e8a180126cd059f72db8b6550f62dda233868942"}, - {file = "bitarray-2.8.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:f30cdce22af3dc7c73e70af391bfd87c4574cc40c74d651919e20efc26e014b5"}, - {file = "bitarray-2.8.1-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:bc03bb358ae3917247d257207c79162e666d407ac473718d1b95316dac94162b"}, - {file = "bitarray-2.8.1-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:cf38871ed4cd89df9db7c70f729b948fa3e2848a07c69f78e4ddfbe4f23db63c"}, - {file = "bitarray-2.8.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:4a637bcd199c1366c65b98f18884f0d0b87403f04676b21e4635831660d722a7"}, - {file = "bitarray-2.8.1-cp310-cp310-win32.whl", hash = "sha256:904719fb7304d4115228b63c178f0cc725ad3b73e285c4b328e45a99a8e3fad6"}, - {file = "bitarray-2.8.1-cp310-cp310-win_amd64.whl", hash = "sha256:1e859c664500d57526fe07140889a3b58dca54ff3b16ac6dc6d534a65c933084"}, - {file = "bitarray-2.8.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:2d3f28a80f2e6bb96e9360a4baf3fbacb696b5aba06a14c18a15488d4b6f398f"}, - {file = "bitarray-2.8.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4677477a406f2a9e064920463f69172b865e4d69117e1f2160064d3f5912b0bd"}, - {file = "bitarray-2.8.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9061c0a50216f24c97fb2325de84200e5ad5555f25c854ddcb3ceb6f12136055"}, - {file = "bitarray-2.8.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:843af12991161b358b6379a8dc5f6636798f3dacdae182d30995b6a2df3b263e"}, - {file = "bitarray-2.8.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9336300fd0acf07ede92e424930176dc4b43ef1b298489e93ba9a1695e8ea752"}, - {file = "bitarray-2.8.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f0af01e1f61fe627f63648c0c6f52de8eac56710a2ef1dbce4851d867084cc7e"}, - {file = "bitarray-2.8.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ab81c74a1805fe74330859b38e70d7525cdd80953461b59c06660046afaffcf"}, - {file = "bitarray-2.8.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b2015a9dd718393e814ff7b9e80c58190eb1cef7980f86a97a33e8440e158ce2"}, - {file = "bitarray-2.8.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:5b0493ab66c6b8e17e9fde74c646b39ee09c236cf28a787cb8cbd3a83c05bff7"}, - {file = "bitarray-2.8.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:81e83ed7e0b1c09c5a33b97712da89e7a21fd3e5598eff3975c39540f5619792"}, - {file = "bitarray-2.8.1-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:741c3a2c0997c8f8878edfc65a4a8f7aa72eede337c9bc0b7bd8a45cf6e70dbc"}, - {file = "bitarray-2.8.1-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:57aeab27120a8a50917845bb81b0976e33d4759f2156b01359e2b43d445f5127"}, - {file = "bitarray-2.8.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:17c32ba584e8fb9322419390e0e248769ed7d59de3ffa7432562a4c0ec4f1f82"}, - {file = "bitarray-2.8.1-cp311-cp311-win32.whl", hash = "sha256:b67733a240a96f09b7597af97ac4d60c59140cfcfd180f11a7221863b82f023a"}, - {file = "bitarray-2.8.1-cp311-cp311-win_amd64.whl", hash = "sha256:7b29d4bf3d3da1847f2be9e30105bf51caaf5922e94dc827653e250ed33f4e8a"}, - {file = "bitarray-2.8.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:5f6175c1cf07dadad3213d60075704cf2e2f1232975cfd4ac8328c24a05e8f78"}, - {file = "bitarray-2.8.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cc066c7290151600b8872865708d2d00fb785c5db8a0df20d70d518e02f172b"}, - {file = "bitarray-2.8.1-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4ce2ef9291a193a0e0cd5e23970bf3b682cc8b95220561d05b775b8d616d665f"}, - {file = "bitarray-2.8.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c5582dd7d906e6f9ec1704f99d56d812f7d395d28c02262bc8b50834d51250c3"}, - {file = "bitarray-2.8.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2aa2267eb6d2b88ef7d139e79a6daaa84cd54d241b9797478f10dcb95a9cd620"}, - {file = "bitarray-2.8.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a04d4851e83730f03c4a6aac568c7d8b42f78f0f9cc8231d6db66192b030ce1e"}, - {file = "bitarray-2.8.1-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:f7d2ec2174d503cbb092f8353527842633c530b4e03b9922411640ac9c018a19"}, - {file = "bitarray-2.8.1-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:b65a04b2e029b0694b52d60786732afd15b1ec6517de61a36afbb7808a2ffac1"}, - {file = "bitarray-2.8.1-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:55020d6fb9b72bd3606969f5431386c592ed3666133bd475af945aa0fa9e84ec"}, - {file = "bitarray-2.8.1-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:797de3465f5f6c6be9a412b4e99eb6e8cdb86b83b6756655c4d83a65d0b9a376"}, - {file = "bitarray-2.8.1-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:f9a66745682e175e143a180524a63e692acb2b8c86941073f6dd4ee906e69608"}, - {file = "bitarray-2.8.1-cp36-cp36m-win32.whl", hash = "sha256:443726af4bd60515e4e41ea36c5dbadb29a59bc799bcbf431011d1c6fd4363e3"}, - {file = "bitarray-2.8.1-cp36-cp36m-win_amd64.whl", hash = "sha256:2b0f754a5791635b8239abdcc0258378111b8ee7a8eb3e2bbc24bcc48a0f0b08"}, - {file = "bitarray-2.8.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:d175e16419a52d54c0ac44c93309ba76dc2cfd33ee9d20624f1a5eb86b8e162e"}, - {file = "bitarray-2.8.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f3128234bde3629ab301a501950587e847d30031a9cbf04d95f35cbf44469a9e"}, - {file = "bitarray-2.8.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:75104c3076676708c1ac2484ebf5c26464fb3850312de33a5b5bf61bfa7dbec5"}, - {file = "bitarray-2.8.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:82bfb6ab9b1b5451a5483c9a2ae2a8f83799d7503b384b54f6ab56ea74abb305"}, - {file = "bitarray-2.8.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2dc064a63445366f6b26eaf77230d326b9463e903ba59d6ff5efde0c5ec1ea0e"}, - {file = "bitarray-2.8.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cbe54685cf6b17b3e15faf6c4b76773bc1c484bc447020737d2550a9dde5f6e6"}, - {file = "bitarray-2.8.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:9fed8aba8d1b09cf641b50f1e6dd079c31677106ea4b63ec29f4c49adfabd63f"}, - {file = "bitarray-2.8.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:7c17dd8fb146c2c680bf1cb28b358f9e52a14076e44141c5442148863ee95d7d"}, - {file = "bitarray-2.8.1-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:c9efcee311d9ba0c619743060585af9a9b81496e97b945843d5e954c67722a75"}, - {file = "bitarray-2.8.1-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:dc7acffee09822b334d1b46cd384e969804abdf18f892c82c05c2328066cd2ae"}, - {file = "bitarray-2.8.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ea71e0a50060f96ad0821e0ac785e91e44807f8b69555970979d81934961d5bd"}, - {file = "bitarray-2.8.1-cp37-cp37m-win32.whl", hash = "sha256:69ab51d551d50e4d6ca35abc95c9d04b33ad28418019bb5481ab09bdbc0df15c"}, - {file = "bitarray-2.8.1-cp37-cp37m-win_amd64.whl", hash = "sha256:3024ab4c4906c3681408ca17c35833237d18813ebb9f24ae9f9e3157a4a66939"}, - {file = "bitarray-2.8.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:46fdd27c8fa4186d8b290bf74a28cbd91b94127b1b6a35c265a002e394fa9324"}, - {file = "bitarray-2.8.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:d32ccd2c0d906eae103ef84015f0545a395052b0b6eb0e02e9023ca0132557f6"}, - {file = "bitarray-2.8.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:9186cf8135ca170cd907d8c4df408a87747570d192d89ec4ff23805611c702a0"}, - {file = "bitarray-2.8.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b8d6e5ff385fea25caf26fd58b43f087deb763dcaddd18d3df2895235cf1b484"}, - {file = "bitarray-2.8.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d6a9c72354327c7aa9890ff87904cbe86830cb1fb58c39750a0afac8df5e051"}, - {file = "bitarray-2.8.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d2f13b7d0694ce2024c82fc595e6ccc3918e7f069747c3de41b1ce72a9a1e346"}, - {file = "bitarray-2.8.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2d38ceca90ed538706e3f111513073590f723f90659a7af0b992b29776a6e816"}, - {file = "bitarray-2.8.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2b977c39e3734e73540a2e3a71501c2c6261c70c6ce59d427bb7c4ecf6331c7e"}, - {file = "bitarray-2.8.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:214c05a7642040f6174e29f3e099549d3c40ac44616405081bf230dcafb38767"}, - {file = "bitarray-2.8.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:ad440c17ef2ff42e94286186b5bcf82bf87c4026f91822675239102ebe1f7035"}, - {file = "bitarray-2.8.1-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:28dee92edd0d21655e56e1870c22468d0dabe557df18aa69f6d06b1543614180"}, - {file = "bitarray-2.8.1-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:df9d8a9a46c46950f306394705512553c552b633f8bf3c11359c4204289f11e3"}, - {file = "bitarray-2.8.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:1a0d27aad02d8abcb1d3b7d85f463877c4937e71adf9b6adb9367f2cdad91a52"}, - {file = "bitarray-2.8.1-cp38-cp38-win32.whl", hash = "sha256:6033303431a7c85a535b3f1b0ec28abc2ebc2167c263f244993b56ccb87cae6b"}, - {file = "bitarray-2.8.1-cp38-cp38-win_amd64.whl", hash = "sha256:9b65d487451e0e287565c8436cf4da45260f958f911299f6122a20d7ec76525c"}, - {file = "bitarray-2.8.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:9aad7b4670f090734b272c072c9db375c63bd503512be9a9393e657dcacfc7e2"}, - {file = "bitarray-2.8.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bf80804014e3736515b84044c2be0e70080616b4ceddd4e38d85f3167aeb8165"}, - {file = "bitarray-2.8.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e7f7231ef349e8f4955d9b39561f4683a418a73443cfce797a4eddbee1ba9664"}, - {file = "bitarray-2.8.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:67e8fb18df51e649adbc81359e1db0f202d72708fba61b06f5ac8db47c08d107"}, - {file = "bitarray-2.8.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d5df3d6358425c9dfb6bdbd4f576563ec4173d24693a9042d05aadcb23c0b98"}, - {file = "bitarray-2.8.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6ea51ba4204d086d5b76e84c31d2acbb355ed1b075ded54eb9b7070b0b95415d"}, - {file = "bitarray-2.8.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1414582b3b7516d2282433f0914dd9846389b051b2aea592ae7cc165806c24ac"}, - {file = "bitarray-2.8.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5934e3a623a1d485e1dcfc1990246e3c32c6fc6e7f0fd894750800d35fdb5794"}, - {file = "bitarray-2.8.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:aa08a9b03888c768b9b2383949a942804d50d8164683b39fe62f0bfbfd9b4204"}, - {file = "bitarray-2.8.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:00ff372dfaced7dd6cc2dffd052fafc118053cf81a442992b9a23367479d77d7"}, - {file = "bitarray-2.8.1-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:dd76bbf5a4b2ab84b8ffa229f5648e80038ba76bf8d7acc5de9dd06031b38117"}, - {file = "bitarray-2.8.1-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:e88a706f92ad1e0e1e66f6811d10b6155d5f18f0de9356ee899a7966a4e41992"}, - {file = "bitarray-2.8.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:b2560475c5a1ff96fcab01fae7cf6b9a6da590f02659556b7fccc7991e401884"}, - {file = "bitarray-2.8.1-cp39-cp39-win32.whl", hash = "sha256:74cd1725d08325b6669e6e9a5d09cec29e7c41f7d58e082286af5387414d046d"}, - {file = "bitarray-2.8.1-cp39-cp39-win_amd64.whl", hash = "sha256:e48c45ea7944225bcee026c457a70eaea61db3659d9603f07fc8a643ab7e633b"}, - {file = "bitarray-2.8.1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:c2426dc7a0d92d8254def20ab7a231626397ce5b6fb3d4f44be74cc1370a60c3"}, - {file = "bitarray-2.8.1-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d34790a919f165b6f537935280ef5224957d9ce8ab11d339f5e6d0319a683ccc"}, - {file = "bitarray-2.8.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c26a923080bc211cab8f5a5e242e3657b32951fec8980db0616e9239aade482"}, - {file = "bitarray-2.8.1-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0de1bc5f971aba46de88a4eb0dbb5779e30bbd7514f4dcbff743c209e0c02667"}, - {file = "bitarray-2.8.1-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:3bb5f2954dd897b0bac13b5449e5c977534595b688120c8af054657a08b01f46"}, - {file = "bitarray-2.8.1-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:62ac31059a3c510ef64ed93d930581b262fd4592e6d95ede79fca91e8d3d3ef6"}, - {file = "bitarray-2.8.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ae32ac7217e83646b9f64d7090bf7b737afaa569665621f110a05d9738ca841a"}, - {file = "bitarray-2.8.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3994f7dc48d21af40c0d69fca57d8040b02953f4c7c3652c2341d8947e9cbedf"}, - {file = "bitarray-2.8.1-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c361201e1c3ee6d6b2266f8b7a645389880bccab1b29e22e7a6b7b6e7831ad5"}, - {file = "bitarray-2.8.1-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:861850d6a58e7b6a7096d0b0efed9c6d993a6ab8b9d01e781df1f4d80cc00efa"}, - {file = "bitarray-2.8.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:ee772c20dcb56b03d666a4e4383d0b5b942b0ccc27815e42fe0737b34cba2082"}, - {file = "bitarray-2.8.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:63fa75e87ad8c57d5722cc87902ca148ef8bbbba12b5c5b3c3730a1bc9ac2886"}, - {file = "bitarray-2.8.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b999fb66980f885961d197d97d7ff5a13b7ab524ccf45ccb4704f4b82ce02e3"}, - {file = "bitarray-2.8.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3243e4b8279ff2fe4c6e7869f0e6930c17799ee9f8d07317f68d44a66b46281e"}, - {file = "bitarray-2.8.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:542358b178b025dcc95e7fb83389e9954f701c41d312cbb66bdd763cbe5414b5"}, - {file = "bitarray-2.8.1.tar.gz", hash = "sha256:e68ceef35a88625d16169550768fcc8d3894913e363c24ecbf6b8c07eb02c8f3"}, + {file = "bitarray-2.8.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:525eda30469522cd840a11ba866d0616c132f6c4be8966a297d7545e97fcb822"}, + {file = "bitarray-2.8.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c3d9730341c825eb167ca06c9dddf6ad4d1b4e71ea7da73cc8c5139fcb5e14ca"}, + {file = "bitarray-2.8.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ad8f8c39c8df184e346184699783f105755003662f0dbe1233d9d9849650ab5f"}, + {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2cb8d08330d250df47088c13683322083afbdfafdc31df205616506d6b9f068f"}, + {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:56f19ccba8a6ddf1382b0fb4fb8d4e1330e4a1b148e5d198f0981ba2a97c3492"}, + {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4db2e0f58153a376d9a14873e342d507ca32640640284cddf3c1e74a65929477"}, + {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b9b3c27aeea1752f0c1df1e29115e4b6f0249173d71e53c5f7e2c821706f028b"}, + {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ef23f62b3abd287cf368341540ef2a81c86b48de9d488e182e63fe24ac165538"}, + {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6d79fd3c58a4dc71ffd0fc55982a9a2079fe94c76ccff2777092f6107d6a049a"}, + {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:8528c59d3d3df6618777892b60435022d8917de9ea32933d439c7ffd24437237"}, + {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:c35bb5fe018fd9c42be3c28e74dc7dcfae471c3c6689679dbd0bd1d6dc0f51b7"}, + {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:232e8faa8e624f3eb0552a636ebe745cee00480e0e56ad62f17808d281838f2e"}, + {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:945e97ad2bbf7885426f39641a735a31fd4ca2e84e4d0cd271d9880372d6eae1"}, + {file = "bitarray-2.8.2-cp310-cp310-win32.whl", hash = "sha256:88c2d427ab1b20f220c1d53171b0691faa8f0a219367d84e859f1001e90ceefc"}, + {file = "bitarray-2.8.2-cp310-cp310-win_amd64.whl", hash = "sha256:f7c5745e0f96c2c16c03c7540dbe26f3b62ddee63059be0a014156933f054024"}, + {file = "bitarray-2.8.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a610426251d1340baa4d8b7942d2cbfe6a1e20b92c66817ab582e0d341185ab5"}, + {file = "bitarray-2.8.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:599b04b04eb1b5b964a35986bea2bc4381145836fe550cc33c40a796b855b985"}, + {file = "bitarray-2.8.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9014660472f2080d550157164cc5f9376245a34a0ab877b82b95c1f894af5b28"}, + {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:532d63c54159f7e0fb520e2f72ef596493bc43810eaa75fac7a188e898ab593b"}, + {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ad1563f11dd70cb1684cfe841e4cf7f35d4f65769de21d12b72cf773a7932615"}, + {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2e456150af62ee1f24a0c9976947629bfb80d80b4fbd37aa901cf794db6ba9b0"}, + {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1cc29909e4cef05d5e49f5d77ace1dc49311c7791734a048b690521c76b4b7a0"}, + {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:608385f07a4b0391d4982d1efb83ad70920cd8ca495a7868e44d2a4511cbf84e"}, + {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d2baf7ec353fa64917045b3efe26e7c12ce0d7b4d120c3773a612dce54f91585"}, + {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:2c39d1cb04fc277701de6fe2119cc71facc4aff2ca0414b2e326aec337fa1ab4"}, + {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:3caf4ca668854bb23db4b65af0068238677b5791bcc45694bf8990f3e26e85c9"}, + {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4bbfe4474d3470c724e283bd1fe8ee9ab3cb6a4c378112926f45d41e326a7622"}, + {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:cb941981676dc7859d53199a10a33ca56a3146cce6a45bc6ad70572c1147157d"}, + {file = "bitarray-2.8.2-cp311-cp311-win32.whl", hash = "sha256:e8963d7ac292f41654fa7cbc1a34efdb09e5a42399b2e3689c3fd5b8b4e0fe16"}, + {file = "bitarray-2.8.2-cp311-cp311-win_amd64.whl", hash = "sha256:ee779a291330287b341044635fce2979176d113b0dcce0308dc5d62da7951eec"}, + {file = "bitarray-2.8.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:05d84765bbfd0aa10890c765c56c917c237987325c4e327f3c0febbfc34365c8"}, + {file = "bitarray-2.8.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c7b7be4bff27d7ce6a81d3993755371b5f5b42436afa151868e8fd599acbab19"}, + {file = "bitarray-2.8.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c3d51ab9f3d5b9a10295abe480c50bf74ee5bf3d984c4cee77e493e575acc869"}, + {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:00bad63ef6f9d22ba36b01b89167176a451ea22a916d1dfa77d73e0298f1d1f9"}, + {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:225e19d37b234d4d721557434b7d5590cd63b6342492b689e2d694d44d7cc537"}, + {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d7e3ab9870c496e5a058436bf4d96ed111ca6154c8ef8147b70c44c188d6fb2c"}, + {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ff3e182c766cd6f302e99e0d8e44927d533356e9d6ac93fcd09987ebead467aa"}, + {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a7bb559b68eb9cb3c4f867eb9fb39a696c4da70a41fad37b410bd0c7b426a8ce"}, + {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:97e658a3793478d6bca684f47f29f62542312683687bc045dc3cb588160e74b3"}, + {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:dd351b8fbc77c2e2ebc3eeadc0cf72bd5024a43bef5a847697e2b076d1201636"}, + {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:280809e56a7098f48165ce134222098e4cfe7084b10d69bbc31367942e541dfd"}, + {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:14bc38ced7edffff25ee748c1eabc530624c9af68f86322b030b11b7918b966f"}, + {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:de4953b6b1e19dabd23767bd1f83f1cf73978372189dec0e2dd8b3d6971100d6"}, + {file = "bitarray-2.8.2-cp312-cp312-win32.whl", hash = "sha256:99196b4730d887a4bc578f05039b55dc57b131c81b5a5e03efa619b587bdf293"}, + {file = "bitarray-2.8.2-cp312-cp312-win_amd64.whl", hash = "sha256:215a5bf8fdcbed700cc8782d4044e1f036606d5c321710d83e8da6d0fdfe07d5"}, + {file = "bitarray-2.8.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:e9c54136c9fab2cefe9801e336b8a3aa7299bcfe7f387379cc6394ad1d5a484b"}, + {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:08ad70c1555d9622cecd8f1b132a5341d183a9161aba93cc9739bbaabe4220b0"}, + {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:384be6b7df8fb6a93ddd88d4184094f2ba4f1d07c30dcd4ae164d185d31a2af6"}, + {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd2a098250c683d248a6490ac437ed56f7164d2151572231bd26c76bfe111b11"}, + {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a6ae5c18b9a70cb0ae576a8a3c8a9a0659356c016b49cc6b263dd987d344f30d"}, + {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:188f5780f1cfbeba0c3ddb1aa3fa0415ab1a8aa04e9e89f70ad5403197013437"}, + {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:5f2a96c5b40727bc21a695d3a106f49e88572fa11427bf2193cabd99e624c901"}, + {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:b6df948da34b5fb949698092573d798c76c54f2f2188db59276d599075f9ed04"}, + {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:a1f00c328b8dae1828844bac019dfe425d10a2043cc70e2f967224c5392d19ad"}, + {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:7965108069f9731306a882872c23ad4f5a8531668e82b27932a19814c52a8dd8"}, + {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:420aa610fe392c4ee700e474673276bb4f3c4f091d001f58b1f018bf650840c1"}, + {file = "bitarray-2.8.2-cp36-cp36m-win32.whl", hash = "sha256:b85929db81105c06e8292c05cac093068e86464555c628c03f99c9f8090d68d4"}, + {file = "bitarray-2.8.2-cp36-cp36m-win_amd64.whl", hash = "sha256:cba09dfd3aea2addc994eb21a861c3cea2d68141bb7ebe68b0e94c73405540f9"}, + {file = "bitarray-2.8.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:172169099797f1ec469b0aadb00c653193a74757f99312c9c17dc1a18d23d972"}, + {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:351a4fed240728dcc96966e0c4cfd3dce870525377a1cb5afac8e5cfe116ff7b"}, + {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ff31bef13fd278446b6d1969a46db9f02c36fd905f3e75878f0fe17271f7d897"}, + {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fb8b727cd9ddff848c5f73e65470abb110f026beab403bcebbd74e7439b9bd8f"}, + {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d1356c86eefbde3fe8a3c39fb81bbc8b16acc8e442e191408042e8b1d6904e3"}, + {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7706336bd15acf4e42300579e42bef742c01a4eb202998f6c20c443a2ce5fd60"}, + {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:a4b43949477dc2b0d3e1d8b7c413ed74f515cef01954cdcc3fb1e2dcc49f2aff"}, + {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:06d9de5db244c6e45a5318713367765de0a57d82ad616869a004a710a95541e9"}, + {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:5569c8314335e92570c471d60b4b03eb2a4467864805a560d133d24b27b3961a"}, + {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:76a4faef4c31953aa7b9ebe00d162f7ce9bc03fc8d423ab2dc690a11d7520a8e"}, + {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:1474db8c4297026e1daa1699e70e25e56dff91104fe025b1a9804332f2737604"}, + {file = "bitarray-2.8.2-cp37-cp37m-win32.whl", hash = "sha256:85b504f233f0484e9a74df4f286a9ae56fbbe2a648c45726761cf7b6f072cdc8"}, + {file = "bitarray-2.8.2-cp37-cp37m-win_amd64.whl", hash = "sha256:3dde123ce85d1ba99d9bdf44b1b3174fa22bc8fb10004e0d72bb661a0444c1a9"}, + {file = "bitarray-2.8.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:23fae6a5a1403d16592b8823d5dea93f738c6e217a1e1bb0eefad242fb03d47f"}, + {file = "bitarray-2.8.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c44b3022115eb1697315bc51aeadbade1a19d7188bcda66c52d91209cf2963ca"}, + {file = "bitarray-2.8.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:fea9354b7169810e2bdd6f3265ff128b564a25d38479b9ad0a9c5776e4fd0cfc"}, + {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6f699bf2cb223aeec04a106003bd2bf8a4fc6d4c5eddf79cacecb6b267657ac5"}, + {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:462c9425fbc5315cbc20a72ca62558e5545bb0f6dc9355e2fa96fa747e9b1a80"}, + {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0c8716b4c45fb128cd4da143749e276f150ecb0acb711f4969d7e7ebc9b2a675"}, + {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:79fde5b27e35aedd958f5fb58ebabce47d7eddae5a5e3774088c30c9610195ef"}, + {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6abf2593b91e36f1cb1c40ac895993c7d2eb30d3f1cb0954a80e5f13697b6b69"}, + {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:ab2e03dd140ab93b91f94a785d1cd6082d5ab53ab6ec958726efa0ad17f7b87a"}, + {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:9e895cc3e5ffee269dd9866097e227a68022ef2b78d627a6ed737534d0c88c14"}, + {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:0bbeb7120ec1a9b26ce423e74cad7b414cea9e35f8e05599e3b3dceb87f4d1b6"}, + {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:51d45d56be14b69720d11a8c61e101d86a65dc8a3a9f356bbe4d98cf4f3c5617"}, + {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:726a598e34657772e5f131115741ea8709e9b55fa35d63c4717bc16b2a737d38"}, + {file = "bitarray-2.8.2-cp38-cp38-win32.whl", hash = "sha256:ab87c4c50d65932788d058adbbd28a209144523ffacbab81dd41582ffce26af9"}, + {file = "bitarray-2.8.2-cp38-cp38-win_amd64.whl", hash = "sha256:316147fb62c810a7667277e5ae7bb75b2871c32d2c398aeb4503cbd4cf3315e7"}, + {file = "bitarray-2.8.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:36bdde1aba78e4a3a6ce5cbebd0a6bc967b0c3fbd8bd99a197dcc17d654f423c"}, + {file = "bitarray-2.8.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:932f7b77750dff7140522dc97dfd94533a599ef1c5d0be3733f556fd44a68821"}, + {file = "bitarray-2.8.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5819b95d0ccce864066f062d2329363ae8a64b9c3d076d039c75ffc9204c2a12"}, + {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1c28b52e59a5e6aa00a929b35b04473bd479a74237ab1170c573c49e8aca61fe"}, + {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3ecdd528268478efeb78ed0132b01104bda6cd8f10c8a57708fc87b1add77e4d"}, + {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9f6f245d4a5e707d48274f38551b654a36db4fb83437c98be00d2019263aa364"}, + {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b088f06d9e2f523683ae363e227173ac454dbb56c938c6d42791fdd78bad8da7"}, + {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e883919cea8e446c5c49717a7ce5c93a016a02b9429b81d64b9ab1d80fc12e42"}, + {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:09d729420b8edc4d8a23a518ae4553074a0054d0441c1a461b425c2f033fab5e"}, + {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:d0d0923087fe1f2d85daa68463d221e90b4b8ed0356480c887eea90b2a2cc7ee"}, + {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:70cebcf9bc345ac1e034fa781eac3619323eaf87f7bbe26f0e28850beb6f5634"}, + {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:890355bf6ba3dc04b5a23d1328eb1f6062165e6262197cebc9acfebdcb23144c"}, + {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:f0b54b95e39036c116ffc057b3f56f6084ce88822de3d5d1f57fa38554ccf5c1"}, + {file = "bitarray-2.8.2-cp39-cp39-win32.whl", hash = "sha256:b499d93fa31a73e31ee62f2cbe07e4df833fd7151734b8f07c48ffe3e4547ec5"}, + {file = "bitarray-2.8.2-cp39-cp39-win_amd64.whl", hash = "sha256:b007aaf5810c708c5a2778e371aa546d7084e4e9f82f65865b2ce5a182376f42"}, + {file = "bitarray-2.8.2-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:1b734b074a09b1b2e1de7df423565412d9213faefa8ca422f32be756b189f729"}, + {file = "bitarray-2.8.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dd074b06be9484040acb4c2c0462c4d19a43e377716be7ba10440f51a57bb98c"}, + {file = "bitarray-2.8.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e678696bb613f0344b79be385747aae705b327a9a32ace45a353dd16497bc719"}, + {file = "bitarray-2.8.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bb337ffa10824fa2025c4b1c06a2d809dbed4a4bf9e3ffb262676d084c4e0c50"}, + {file = "bitarray-2.8.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:2b3c7aa2c9a6533dc7234d2a303efdcb9df3f4ac4d0919ec1caf568868f12a0a"}, + {file = "bitarray-2.8.2-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:e6765c47b487341837b3731cca3c8033b971ee082f6ab41cb430aa3447686eec"}, + {file = "bitarray-2.8.2-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cb8566b535bc4ebb26247d6f636a27bb0038bc93fa7e55121628f5cd6b0906ac"}, + {file = "bitarray-2.8.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:56764825f64ab983d32b8c1d4ee483f415f2559e59388ba266a9fcafc44305bf"}, + {file = "bitarray-2.8.2-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0f45f7d58c399e90ee3bddff4f3e2f53ff95c948b2d43de304266153ebd1d778"}, + {file = "bitarray-2.8.2-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:095851409e0db75b1416c8c3e24957135d5a2a206790578e43739e92a00c17c4"}, + {file = "bitarray-2.8.2-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:8bb60d5a948f00901da1d7e4953189259b3c7ef79391fecd6f18db3f48a036fe"}, + {file = "bitarray-2.8.2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2b2dc483ada55ef35990b67dc0e7a779f0b2ce79d156e452dc8b835b03c0dca9"}, + {file = "bitarray-2.8.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8a35e308c23f039064600108fc1c8416bd102bc3cf3a6915761a9f7c801237e0"}, + {file = "bitarray-2.8.2-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fa49f6cfcae4305d8cff028dc9c9a881189a38f7ca43c085aef894c58cb6fbde"}, + {file = "bitarray-2.8.2-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:111bf9913ebee4630e2cb43b61d0abb39813b231262b114e5268cd6a405a22b9"}, + {file = "bitarray-2.8.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:b71d82e3f001bcb53463023f7f37e223fff56cf048f577c6d85597db94770f10"}, + {file = "bitarray-2.8.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:440c537fdf2eaee7fdd41fb1dce5701c490c1964fdb74225b10b49a7c45bc7b4"}, + {file = "bitarray-2.8.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c384c49ce52b82d5b0355000b8aeb7e3a7654997916c1e6fd9d29697edda1076"}, + {file = "bitarray-2.8.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:27428d7b0e706307d0c697f81599e7af4f52e5873ea6bc269eae3604b16b81fe"}, + {file = "bitarray-2.8.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:4963982d5da0825768f9a80760a8560c3e4cf711a9a7ea06ff9bcb7bd250b131"}, + {file = "bitarray-2.8.2.tar.gz", hash = "sha256:f90b2f44b5b23364d5fbade2c34652e15b1fcfe813c46f828e008f68a709160f"}, ] [[package]] @@ -403,75 +423,63 @@ files = [ [[package]] name = "cffi" -version = "1.15.1" +version = "1.16.0" description = "Foreign Function Interface for Python calling C code." optional = false -python-versions = "*" +python-versions = ">=3.8" files = [ - {file = "cffi-1.15.1-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:a66d3508133af6e8548451b25058d5812812ec3798c886bf38ed24a98216fab2"}, - {file = "cffi-1.15.1-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:470c103ae716238bbe698d67ad020e1db9d9dba34fa5a899b5e21577e6d52ed2"}, - {file = "cffi-1.15.1-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:9ad5db27f9cabae298d151c85cf2bad1d359a1b9c686a275df03385758e2f914"}, - {file = "cffi-1.15.1-cp27-cp27m-win32.whl", hash = "sha256:b3bbeb01c2b273cca1e1e0c5df57f12dce9a4dd331b4fa1635b8bec26350bde3"}, - {file = "cffi-1.15.1-cp27-cp27m-win_amd64.whl", hash = "sha256:e00b098126fd45523dd056d2efba6c5a63b71ffe9f2bbe1a4fe1716e1d0c331e"}, - {file = "cffi-1.15.1-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:d61f4695e6c866a23a21acab0509af1cdfd2c013cf256bbf5b6b5e2695827162"}, - {file = "cffi-1.15.1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b"}, - {file = "cffi-1.15.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:39d39875251ca8f612b6f33e6b1195af86d1b3e60086068be9cc053aa4376e21"}, - {file = "cffi-1.15.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:285d29981935eb726a4399badae8f0ffdff4f5050eaa6d0cfc3f64b857b77185"}, - {file = "cffi-1.15.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3eb6971dcff08619f8d91607cfc726518b6fa2a9eba42856be181c6d0d9515fd"}, - {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:21157295583fe8943475029ed5abdcf71eb3911894724e360acff1d61c1d54bc"}, - {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5635bd9cb9731e6d4a1132a498dd34f764034a8ce60cef4f5319c0541159392f"}, - {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2012c72d854c2d03e45d06ae57f40d78e5770d252f195b93f581acf3ba44496e"}, - {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd86c085fae2efd48ac91dd7ccffcfc0571387fe1193d33b6394db7ef31fe2a4"}, - {file = "cffi-1.15.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01"}, - {file = "cffi-1.15.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:59c0b02d0a6c384d453fece7566d1c7e6b7bae4fc5874ef2ef46d56776d61c9e"}, - {file = "cffi-1.15.1-cp310-cp310-win32.whl", hash = "sha256:cba9d6b9a7d64d4bd46167096fc9d2f835e25d7e4c121fb2ddfc6528fb0413b2"}, - {file = "cffi-1.15.1-cp310-cp310-win_amd64.whl", hash = "sha256:ce4bcc037df4fc5e3d184794f27bdaab018943698f4ca31630bc7f84a7b69c6d"}, - {file = "cffi-1.15.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3d08afd128ddaa624a48cf2b859afef385b720bb4b43df214f85616922e6a5ac"}, - {file = "cffi-1.15.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3799aecf2e17cf585d977b780ce79ff0dc9b78d799fc694221ce814c2c19db83"}, - {file = "cffi-1.15.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a591fe9e525846e4d154205572a029f653ada1a78b93697f3b5a8f1f2bc055b9"}, - {file = "cffi-1.15.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3548db281cd7d2561c9ad9984681c95f7b0e38881201e157833a2342c30d5e8c"}, - {file = "cffi-1.15.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:91fc98adde3d7881af9b59ed0294046f3806221863722ba7d8d120c575314325"}, - {file = "cffi-1.15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:94411f22c3985acaec6f83c6df553f2dbe17b698cc7f8ae751ff2237d96b9e3c"}, - {file = "cffi-1.15.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef"}, - {file = "cffi-1.15.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:cc4d65aeeaa04136a12677d3dd0b1c0c94dc43abac5860ab33cceb42b801c1e8"}, - {file = "cffi-1.15.1-cp311-cp311-win32.whl", hash = "sha256:a0f100c8912c114ff53e1202d0078b425bee3649ae34d7b070e9697f93c5d52d"}, - {file = "cffi-1.15.1-cp311-cp311-win_amd64.whl", hash = "sha256:04ed324bda3cda42b9b695d51bb7d54b680b9719cfab04227cdd1e04e5de3104"}, - {file = "cffi-1.15.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50a74364d85fd319352182ef59c5c790484a336f6db772c1a9231f1c3ed0cbd7"}, - {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e263d77ee3dd201c3a142934a086a4450861778baaeeb45db4591ef65550b0a6"}, - {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cec7d9412a9102bdc577382c3929b337320c4c4c4849f2c5cdd14d7368c5562d"}, - {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4289fc34b2f5316fbb762d75362931e351941fa95fa18789191b33fc4cf9504a"}, - {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:173379135477dc8cac4bc58f45db08ab45d228b3363adb7af79436135d028405"}, - {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:6975a3fac6bc83c4a65c9f9fcab9e47019a11d3d2cf7f3c0d03431bf145a941e"}, - {file = "cffi-1.15.1-cp36-cp36m-win32.whl", hash = "sha256:2470043b93ff09bf8fb1d46d1cb756ce6132c54826661a32d4e4d132e1977adf"}, - {file = "cffi-1.15.1-cp36-cp36m-win_amd64.whl", hash = "sha256:30d78fbc8ebf9c92c9b7823ee18eb92f2e6ef79b45ac84db507f52fbe3ec4497"}, - {file = "cffi-1.15.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:198caafb44239b60e252492445da556afafc7d1e3ab7a1fb3f0584ef6d742375"}, - {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5ef34d190326c3b1f822a5b7a45f6c4535e2f47ed06fec77d3d799c450b2651e"}, - {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8102eaf27e1e448db915d08afa8b41d6c7ca7a04b7d73af6514df10a3e74bd82"}, - {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5df2768244d19ab7f60546d0c7c63ce1581f7af8b5de3eb3004b9b6fc8a9f84b"}, - {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a8c4917bd7ad33e8eb21e9a5bbba979b49d9a97acb3a803092cbc1133e20343c"}, - {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0e2642fe3142e4cc4af0799748233ad6da94c62a8bec3a6648bf8ee68b1c7426"}, - {file = "cffi-1.15.1-cp37-cp37m-win32.whl", hash = "sha256:e229a521186c75c8ad9490854fd8bbdd9a0c9aa3a524326b55be83b54d4e0ad9"}, - {file = "cffi-1.15.1-cp37-cp37m-win_amd64.whl", hash = "sha256:a0b71b1b8fbf2b96e41c4d990244165e2c9be83d54962a9a1d118fd8657d2045"}, - {file = "cffi-1.15.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:320dab6e7cb2eacdf0e658569d2575c4dad258c0fcc794f46215e1e39f90f2c3"}, - {file = "cffi-1.15.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1e74c6b51a9ed6589199c787bf5f9875612ca4a8a0785fb2d4a84429badaf22a"}, - {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a5c84c68147988265e60416b57fc83425a78058853509c1b0629c180094904a5"}, - {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3b926aa83d1edb5aa5b427b4053dc420ec295a08e40911296b9eb1b6170f6cca"}, - {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:87c450779d0914f2861b8526e035c5e6da0a3199d8f1add1a665e1cbc6fc6d02"}, - {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f2c9f67e9821cad2e5f480bc8d83b8742896f1242dba247911072d4fa94c192"}, - {file = "cffi-1.15.1-cp38-cp38-win32.whl", hash = "sha256:8b7ee99e510d7b66cdb6c593f21c043c248537a32e0bedf02e01e9553a172314"}, - {file = "cffi-1.15.1-cp38-cp38-win_amd64.whl", hash = "sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5"}, - {file = "cffi-1.15.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:54a2db7b78338edd780e7ef7f9f6c442500fb0d41a5a4ea24fff1c929d5af585"}, - {file = "cffi-1.15.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0"}, - {file = "cffi-1.15.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7473e861101c9e72452f9bf8acb984947aa1661a7704553a9f6e4baa5ba64415"}, - {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6c9a799e985904922a4d207a94eae35c78ebae90e128f0c4e521ce339396be9d"}, - {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3bcde07039e586f91b45c88f8583ea7cf7a0770df3a1649627bf598332cb6984"}, - {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:33ab79603146aace82c2427da5ca6e58f2b3f2fb5da893ceac0c42218a40be35"}, - {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5d598b938678ebf3c67377cdd45e09d431369c3b1a5b331058c338e201f12b27"}, - {file = "cffi-1.15.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:db0fbb9c62743ce59a9ff687eb5f4afbe77e5e8403d6697f7446e5f609976f76"}, - {file = "cffi-1.15.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:98d85c6a2bef81588d9227dde12db8a7f47f639f4a17c9ae08e773aa9c697bf3"}, - {file = "cffi-1.15.1-cp39-cp39-win32.whl", hash = "sha256:40f4774f5a9d4f5e344f31a32b5096977b5d48560c5592e2f3d2c4374bd543ee"}, - {file = "cffi-1.15.1-cp39-cp39-win_amd64.whl", hash = "sha256:70df4e3b545a17496c9b3f41f5115e69a4f2e77e94e1d2a8e1070bc0c38c8a3c"}, - {file = "cffi-1.15.1.tar.gz", hash = "sha256:d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9"}, + {file = "cffi-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6b3d6606d369fc1da4fd8c357d026317fbb9c9b75d36dc16e90e84c26854b088"}, + {file = "cffi-1.16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ac0f5edd2360eea2f1daa9e26a41db02dd4b0451b48f7c318e217ee092a213e9"}, + {file = "cffi-1.16.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7e61e3e4fa664a8588aa25c883eab612a188c725755afff6289454d6362b9673"}, + {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a72e8961a86d19bdb45851d8f1f08b041ea37d2bd8d4fd19903bc3083d80c896"}, + {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b50bf3f55561dac5438f8e70bfcdfd74543fd60df5fa5f62d94e5867deca684"}, + {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7651c50c8c5ef7bdb41108b7b8c5a83013bfaa8a935590c5d74627c047a583c7"}, + {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e4108df7fe9b707191e55f33efbcb2d81928e10cea45527879a4749cbe472614"}, + {file = "cffi-1.16.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:32c68ef735dbe5857c810328cb2481e24722a59a2003018885514d4c09af9743"}, + {file = "cffi-1.16.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:673739cb539f8cdaa07d92d02efa93c9ccf87e345b9a0b556e3ecc666718468d"}, + {file = "cffi-1.16.0-cp310-cp310-win32.whl", hash = "sha256:9f90389693731ff1f659e55c7d1640e2ec43ff725cc61b04b2f9c6d8d017df6a"}, + {file = "cffi-1.16.0-cp310-cp310-win_amd64.whl", hash = "sha256:e6024675e67af929088fda399b2094574609396b1decb609c55fa58b028a32a1"}, + {file = "cffi-1.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b84834d0cf97e7d27dd5b7f3aca7b6e9263c56308ab9dc8aae9784abb774d404"}, + {file = "cffi-1.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1b8ebc27c014c59692bb2664c7d13ce7a6e9a629be20e54e7271fa696ff2b417"}, + {file = "cffi-1.16.0-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ee07e47c12890ef248766a6e55bd38ebfb2bb8edd4142d56db91b21ea68b7627"}, + {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8a9d3ebe49f084ad71f9269834ceccbf398253c9fac910c4fd7053ff1386936"}, + {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e70f54f1796669ef691ca07d046cd81a29cb4deb1e5f942003f401c0c4a2695d"}, + {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5bf44d66cdf9e893637896c7faa22298baebcd18d1ddb6d2626a6e39793a1d56"}, + {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7b78010e7b97fef4bee1e896df8a4bbb6712b7f05b7ef630f9d1da00f6444d2e"}, + {file = "cffi-1.16.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c6a164aa47843fb1b01e941d385aab7215563bb8816d80ff3a363a9f8448a8dc"}, + {file = "cffi-1.16.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e09f3ff613345df5e8c3667da1d918f9149bd623cd9070c983c013792a9a62eb"}, + {file = "cffi-1.16.0-cp311-cp311-win32.whl", hash = "sha256:2c56b361916f390cd758a57f2e16233eb4f64bcbeee88a4881ea90fca14dc6ab"}, + {file = "cffi-1.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:db8e577c19c0fda0beb7e0d4e09e0ba74b1e4c092e0e40bfa12fe05b6f6d75ba"}, + {file = "cffi-1.16.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:fa3a0128b152627161ce47201262d3140edb5a5c3da88d73a1b790a959126956"}, + {file = "cffi-1.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:68e7c44931cc171c54ccb702482e9fc723192e88d25a0e133edd7aff8fcd1f6e"}, + {file = "cffi-1.16.0-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:abd808f9c129ba2beda4cfc53bde801e5bcf9d6e0f22f095e45327c038bfe68e"}, + {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88e2b3c14bdb32e440be531ade29d3c50a1a59cd4e51b1dd8b0865c54ea5d2e2"}, + {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fcc8eb6d5902bb1cf6dc4f187ee3ea80a1eba0a89aba40a5cb20a5087d961357"}, + {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b7be2d771cdba2942e13215c4e340bfd76398e9227ad10402a8767ab1865d2e6"}, + {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e715596e683d2ce000574bae5d07bd522c781a822866c20495e52520564f0969"}, + {file = "cffi-1.16.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:2d92b25dbf6cae33f65005baf472d2c245c050b1ce709cc4588cdcdd5495b520"}, + {file = "cffi-1.16.0-cp312-cp312-win32.whl", hash = "sha256:b2ca4e77f9f47c55c194982e10f058db063937845bb2b7a86c84a6cfe0aefa8b"}, + {file = "cffi-1.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:68678abf380b42ce21a5f2abde8efee05c114c2fdb2e9eef2efdb0257fba1235"}, + {file = "cffi-1.16.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0c9ef6ff37e974b73c25eecc13952c55bceed9112be2d9d938ded8e856138bcc"}, + {file = "cffi-1.16.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a09582f178759ee8128d9270cd1344154fd473bb77d94ce0aeb2a93ebf0feaf0"}, + {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e760191dd42581e023a68b758769e2da259b5d52e3103c6060ddc02c9edb8d7b"}, + {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:80876338e19c951fdfed6198e70bc88f1c9758b94578d5a7c4c91a87af3cf31c"}, + {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a6a14b17d7e17fa0d207ac08642c8820f84f25ce17a442fd15e27ea18d67c59b"}, + {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6602bc8dc6f3a9e02b6c22c4fc1e47aa50f8f8e6d3f78a5e16ac33ef5fefa324"}, + {file = "cffi-1.16.0-cp38-cp38-win32.whl", hash = "sha256:131fd094d1065b19540c3d72594260f118b231090295d8c34e19a7bbcf2e860a"}, + {file = "cffi-1.16.0-cp38-cp38-win_amd64.whl", hash = "sha256:31d13b0f99e0836b7ff893d37af07366ebc90b678b6664c955b54561fc36ef36"}, + {file = "cffi-1.16.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:582215a0e9adbe0e379761260553ba11c58943e4bbe9c36430c4ca6ac74b15ed"}, + {file = "cffi-1.16.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:b29ebffcf550f9da55bec9e02ad430c992a87e5f512cd63388abb76f1036d8d2"}, + {file = "cffi-1.16.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dc9b18bf40cc75f66f40a7379f6a9513244fe33c0e8aa72e2d56b0196a7ef872"}, + {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9cb4a35b3642fc5c005a6755a5d17c6c8b6bcb6981baf81cea8bfbc8903e8ba8"}, + {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b86851a328eedc692acf81fb05444bdf1891747c25af7529e39ddafaf68a4f3f"}, + {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c0f31130ebc2d37cdd8e44605fb5fa7ad59049298b3f745c74fa74c62fbfcfc4"}, + {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f8e709127c6c77446a8c0a8c8bf3c8ee706a06cd44b1e827c3e6a2ee6b8c098"}, + {file = "cffi-1.16.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:748dcd1e3d3d7cd5443ef03ce8685043294ad6bd7c02a38d1bd367cfd968e000"}, + {file = "cffi-1.16.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8895613bcc094d4a1b2dbe179d88d7fb4a15cee43c052e8885783fac397d91fe"}, + {file = "cffi-1.16.0-cp39-cp39-win32.whl", hash = "sha256:ed86a35631f7bfbb28e108dd96773b9d5a6ce4811cf6ea468bb6a359b256b1e4"}, + {file = "cffi-1.16.0-cp39-cp39-win_amd64.whl", hash = "sha256:3686dffb02459559c74dd3d81748269ffb0eb027c39a6fc99502de37d501faa8"}, + {file = "cffi-1.16.0.tar.gz", hash = "sha256:bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0"}, ] [package.dependencies] @@ -490,86 +498,101 @@ files = [ [[package]] name = "charset-normalizer" -version = "3.2.0" +version = "3.3.0" 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.2.0.tar.gz", hash = "sha256:3bb3d25a8e6c0aedd251753a79ae98a093c7e7b471faa3aa9a93a81431987ace"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:0b87549028f680ca955556e3bd57013ab47474c3124dc069faa0b6545b6c9710"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7c70087bfee18a42b4040bb9ec1ca15a08242cf5867c58726530bdf3945672ed"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a103b3a7069b62f5d4890ae1b8f0597618f628b286b03d4bc9195230b154bfa9"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:94aea8eff76ee6d1cdacb07dd2123a68283cb5569e0250feab1240058f53b623"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:db901e2ac34c931d73054d9797383d0f8009991e723dab15109740a63e7f902a"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b0dac0ff919ba34d4df1b6131f59ce95b08b9065233446be7e459f95554c0dc8"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:193cbc708ea3aca45e7221ae58f0fd63f933753a9bfb498a3b474878f12caaad"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:09393e1b2a9461950b1c9a45d5fd251dc7c6f228acab64da1c9c0165d9c7765c"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:baacc6aee0b2ef6f3d308e197b5d7a81c0e70b06beae1f1fcacffdbd124fe0e3"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:bf420121d4c8dce6b889f0e8e4ec0ca34b7f40186203f06a946fa0276ba54029"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:c04a46716adde8d927adb9457bbe39cf473e1e2c2f5d0a16ceb837e5d841ad4f"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:aaf63899c94de41fe3cf934601b0f7ccb6b428c6e4eeb80da72c58eab077b19a"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:d62e51710986674142526ab9f78663ca2b0726066ae26b78b22e0f5e571238dd"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-win32.whl", hash = "sha256:04e57ab9fbf9607b77f7d057974694b4f6b142da9ed4a199859d9d4d5c63fe96"}, - {file = "charset_normalizer-3.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:48021783bdf96e3d6de03a6e39a1171ed5bd7e8bb93fc84cc649d11490f87cea"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:4957669ef390f0e6719db3613ab3a7631e68424604a7b448f079bee145da6e09"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:46fb8c61d794b78ec7134a715a3e564aafc8f6b5e338417cb19fe9f57a5a9bf2"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f779d3ad205f108d14e99bb3859aa7dd8e9c68874617c72354d7ecaec2a054ac"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f25c229a6ba38a35ae6e25ca1264621cc25d4d38dca2942a7fce0b67a4efe918"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2efb1bd13885392adfda4614c33d3b68dee4921fd0ac1d3988f8cbb7d589e72a"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f30b48dd7fa1474554b0b0f3fdfdd4c13b5c737a3c6284d3cdc424ec0ffff3a"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:246de67b99b6851627d945db38147d1b209a899311b1305dd84916f2b88526c6"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9bd9b3b31adcb054116447ea22caa61a285d92e94d710aa5ec97992ff5eb7cf3"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:8c2f5e83493748286002f9369f3e6607c565a6a90425a3a1fef5ae32a36d749d"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:3170c9399da12c9dc66366e9d14da8bf7147e1e9d9ea566067bbce7bb74bd9c2"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7a4826ad2bd6b07ca615c74ab91f32f6c96d08f6fcc3902ceeedaec8cdc3bcd6"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:3b1613dd5aee995ec6d4c69f00378bbd07614702a315a2cf6c1d21461fe17c23"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:9e608aafdb55eb9f255034709e20d5a83b6d60c054df0802fa9c9883d0a937aa"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-win32.whl", hash = "sha256:f2a1d0fd4242bd8643ce6f98927cf9c04540af6efa92323e9d3124f57727bfc1"}, - {file = "charset_normalizer-3.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:681eb3d7e02e3c3655d1b16059fbfb605ac464c834a0c629048a30fad2b27489"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:c57921cda3a80d0f2b8aec7e25c8aa14479ea92b5b51b6876d975d925a2ea346"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41b25eaa7d15909cf3ac4c96088c1f266a9a93ec44f87f1d13d4a0e86c81b982"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f058f6963fd82eb143c692cecdc89e075fa0828db2e5b291070485390b2f1c9c"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a7647ebdfb9682b7bb97e2a5e7cb6ae735b1c25008a70b906aecca294ee96cf4"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eef9df1eefada2c09a5e7a40991b9fc6ac6ef20b1372abd48d2794a316dc0449"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e03b8895a6990c9ab2cdcd0f2fe44088ca1c65ae592b8f795c3294af00a461c3"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:ee4006268ed33370957f55bf2e6f4d263eaf4dc3cfc473d1d90baff6ed36ce4a"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c4983bf937209c57240cff65906b18bb35e64ae872da6a0db937d7b4af845dd7"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:3bb7fda7260735efe66d5107fb7e6af6a7c04c7fce9b2514e04b7a74b06bf5dd"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:72814c01533f51d68702802d74f77ea026b5ec52793c791e2da806a3844a46c3"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:70c610f6cbe4b9fce272c407dd9d07e33e6bf7b4aa1b7ffb6f6ded8e634e3592"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-win32.whl", hash = "sha256:a401b4598e5d3f4a9a811f3daf42ee2291790c7f9d74b18d75d6e21dda98a1a1"}, - {file = "charset_normalizer-3.2.0-cp37-cp37m-win_amd64.whl", hash = "sha256:c0b21078a4b56965e2b12f247467b234734491897e99c1d51cee628da9786959"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:95eb302ff792e12aba9a8b8f8474ab229a83c103d74a750ec0bd1c1eea32e669"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1a100c6d595a7f316f1b6f01d20815d916e75ff98c27a01ae817439ea7726329"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:6339d047dab2780cc6220f46306628e04d9750f02f983ddb37439ca47ced7149"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e4b749b9cc6ee664a3300bb3a273c1ca8068c46be705b6c31cf5d276f8628a94"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a38856a971c602f98472050165cea2cdc97709240373041b69030be15047691f"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f87f746ee241d30d6ed93969de31e5ffd09a2961a051e60ae6bddde9ec3583aa"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:89f1b185a01fe560bc8ae5f619e924407efca2191b56ce749ec84982fc59a32a"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e1c8a2f4c69e08e89632defbfabec2feb8a8d99edc9f89ce33c4b9e36ab63037"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2f4ac36d8e2b4cc1aa71df3dd84ff8efbe3bfb97ac41242fbcfc053c67434f46"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a386ebe437176aab38c041de1260cd3ea459c6ce5263594399880bbc398225b2"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:ccd16eb18a849fd8dcb23e23380e2f0a354e8daa0c984b8a732d9cfaba3a776d"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:e6a5bf2cba5ae1bb80b154ed68a3cfa2fa00fde979a7f50d6598d3e17d9ac20c"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:45de3f87179c1823e6d9e32156fb14c1927fcc9aba21433f088fdfb555b77c10"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-win32.whl", hash = "sha256:1000fba1057b92a65daec275aec30586c3de2401ccdcd41f8a5c1e2c87078706"}, - {file = "charset_normalizer-3.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:8b2c760cfc7042b27ebdb4a43a4453bd829a5742503599144d54a032c5dc7e9e"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:855eafa5d5a2034b4621c74925d89c5efef61418570e5ef9b37717d9c796419c"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:203f0c8871d5a7987be20c72442488a0b8cfd0f43b7973771640fc593f56321f"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e857a2232ba53ae940d3456f7533ce6ca98b81917d47adc3c7fd55dad8fab858"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5e86d77b090dbddbe78867a0275cb4df08ea195e660f1f7f13435a4649e954e5"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c4fb39a81950ec280984b3a44f5bd12819953dc5fa3a7e6fa7a80db5ee853952"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2dee8e57f052ef5353cf608e0b4c871aee320dd1b87d351c28764fc0ca55f9f4"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8700f06d0ce6f128de3ccdbc1acaea1ee264d2caa9ca05daaf492fde7c2a7200"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1920d4ff15ce893210c1f0c0e9d19bfbecb7983c76b33f046c13a8ffbd570252"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:c1c76a1743432b4b60ab3358c937a3fe1341c828ae6194108a94c69028247f22"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:f7560358a6811e52e9c4d142d497f1a6e10103d3a6881f18d04dbce3729c0e2c"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:c8063cf17b19661471ecbdb3df1c84f24ad2e389e326ccaf89e3fb2484d8dd7e"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:cd6dbe0238f7743d0efe563ab46294f54f9bc8f4b9bcf57c3c666cc5bc9d1299"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:1249cbbf3d3b04902ff081ffbb33ce3377fa6e4c7356f759f3cd076cc138d020"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-win32.whl", hash = "sha256:6c409c0deba34f147f77efaa67b8e4bb83d2f11c8806405f76397ae5b8c0d1c9"}, - {file = "charset_normalizer-3.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:7095f6fbfaa55defb6b733cfeb14efaae7a29f0b59d8cf213be4e7ca0b857b80"}, - {file = "charset_normalizer-3.2.0-py3-none-any.whl", hash = "sha256:8e098148dd37b4ce3baca71fb394c81dc5d9c7728c95df695d2dca218edf40e6"}, + {file = "charset-normalizer-3.3.0.tar.gz", hash = "sha256:63563193aec44bce707e0c5ca64ff69fa72ed7cf34ce6e11d5127555756fd2f6"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:effe5406c9bd748a871dbcaf3ac69167c38d72db8c9baf3ff954c344f31c4cbe"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4162918ef3098851fcd8a628bf9b6a98d10c380725df9e04caf5ca6dd48c847a"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0570d21da019941634a531444364f2482e8db0b3425fcd5ac0c36565a64142c8"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5707a746c6083a3a74b46b3a631d78d129edab06195a92a8ece755aac25a3f3d"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:278c296c6f96fa686d74eb449ea1697f3c03dc28b75f873b65b5201806346a69"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a4b71f4d1765639372a3b32d2638197f5cd5221b19531f9245fcc9ee62d38f56"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5969baeaea61c97efa706b9b107dcba02784b1601c74ac84f2a532ea079403e"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a3f93dab657839dfa61025056606600a11d0b696d79386f974e459a3fbc568ec"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:db756e48f9c5c607b5e33dd36b1d5872d0422e960145b08ab0ec7fd420e9d649"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:232ac332403e37e4a03d209a3f92ed9071f7d3dbda70e2a5e9cff1c4ba9f0678"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:e5c1502d4ace69a179305abb3f0bb6141cbe4714bc9b31d427329a95acfc8bdd"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:2502dd2a736c879c0f0d3e2161e74d9907231e25d35794584b1ca5284e43f596"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:23e8565ab7ff33218530bc817922fae827420f143479b753104ab801145b1d5b"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-win32.whl", hash = "sha256:1872d01ac8c618a8da634e232f24793883d6e456a66593135aeafe3784b0848d"}, + {file = "charset_normalizer-3.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:557b21a44ceac6c6b9773bc65aa1b4cc3e248a5ad2f5b914b91579a32e22204d"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d7eff0f27edc5afa9e405f7165f85a6d782d308f3b6b9d96016c010597958e63"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6a685067d05e46641d5d1623d7c7fdf15a357546cbb2f71b0ebde91b175ffc3e"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0d3d5b7db9ed8a2b11a774db2bbea7ba1884430a205dbd54a32d61d7c2a190fa"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2935ffc78db9645cb2086c2f8f4cfd23d9b73cc0dc80334bc30aac6f03f68f8c"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9fe359b2e3a7729010060fbca442ca225280c16e923b37db0e955ac2a2b72a05"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:380c4bde80bce25c6e4f77b19386f5ec9db230df9f2f2ac1e5ad7af2caa70459"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f0d1e3732768fecb052d90d62b220af62ead5748ac51ef61e7b32c266cac9293"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1b2919306936ac6efb3aed1fbf81039f7087ddadb3160882a57ee2ff74fd2382"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:f8888e31e3a85943743f8fc15e71536bda1c81d5aa36d014a3c0c44481d7db6e"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:82eb849f085624f6a607538ee7b83a6d8126df6d2f7d3b319cb837b289123078"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7b8b8bf1189b3ba9b8de5c8db4d541b406611a71a955bbbd7385bbc45fcb786c"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:5adf257bd58c1b8632046bbe43ee38c04e1038e9d37de9c57a94d6bd6ce5da34"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:c350354efb159b8767a6244c166f66e67506e06c8924ed74669b2c70bc8735b1"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-win32.whl", hash = "sha256:02af06682e3590ab952599fbadac535ede5d60d78848e555aa58d0c0abbde786"}, + {file = "charset_normalizer-3.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:86d1f65ac145e2c9ed71d8ffb1905e9bba3a91ae29ba55b4c46ae6fc31d7c0d4"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:3b447982ad46348c02cb90d230b75ac34e9886273df3a93eec0539308a6296d7"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:abf0d9f45ea5fb95051c8bfe43cb40cda383772f7e5023a83cc481ca2604d74e"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b09719a17a2301178fac4470d54b1680b18a5048b481cb8890e1ef820cb80455"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b3d9b48ee6e3967b7901c052b670c7dda6deb812c309439adaffdec55c6d7b78"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:edfe077ab09442d4ef3c52cb1f9dab89bff02f4524afc0acf2d46be17dc479f5"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3debd1150027933210c2fc321527c2299118aa929c2f5a0a80ab6953e3bd1908"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:86f63face3a527284f7bb8a9d4f78988e3c06823f7bea2bd6f0e0e9298ca0403"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:24817cb02cbef7cd499f7c9a2735286b4782bd47a5b3516a0e84c50eab44b98e"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:c71f16da1ed8949774ef79f4a0260d28b83b3a50c6576f8f4f0288d109777989"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:9cf3126b85822c4e53aa28c7ec9869b924d6fcfb76e77a45c44b83d91afd74f9"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:b3b2316b25644b23b54a6f6401074cebcecd1244c0b8e80111c9a3f1c8e83d65"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:03680bb39035fbcffe828eae9c3f8afc0428c91d38e7d61aa992ef7a59fb120e"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4cc152c5dd831641e995764f9f0b6589519f6f5123258ccaca8c6d34572fefa8"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-win32.whl", hash = "sha256:b8f3307af845803fb0b060ab76cf6dd3a13adc15b6b451f54281d25911eb92df"}, + {file = "charset_normalizer-3.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:8eaf82f0eccd1505cf39a45a6bd0a8cf1c70dcfc30dba338207a969d91b965c0"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:dc45229747b67ffc441b3de2f3ae5e62877a282ea828a5bdb67883c4ee4a8810"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2f4a0033ce9a76e391542c182f0d48d084855b5fcba5010f707c8e8c34663d77"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ada214c6fa40f8d800e575de6b91a40d0548139e5dc457d2ebb61470abf50186"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b1121de0e9d6e6ca08289583d7491e7fcb18a439305b34a30b20d8215922d43c"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1063da2c85b95f2d1a430f1c33b55c9c17ffaf5e612e10aeaad641c55a9e2b9d"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:70f1d09c0d7748b73290b29219e854b3207aea922f839437870d8cc2168e31cc"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:250c9eb0f4600361dd80d46112213dff2286231d92d3e52af1e5a6083d10cad9"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:750b446b2ffce1739e8578576092179160f6d26bd5e23eb1789c4d64d5af7dc7"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:fc52b79d83a3fe3a360902d3f5d79073a993597d48114c29485e9431092905d8"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:588245972aca710b5b68802c8cad9edaa98589b1b42ad2b53accd6910dad3545"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:e39c7eb31e3f5b1f88caff88bcff1b7f8334975b46f6ac6e9fc725d829bc35d4"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-win32.whl", hash = "sha256:abecce40dfebbfa6abf8e324e1860092eeca6f7375c8c4e655a8afb61af58f2c"}, + {file = "charset_normalizer-3.3.0-cp37-cp37m-win_amd64.whl", hash = "sha256:24a91a981f185721542a0b7c92e9054b7ab4fea0508a795846bc5b0abf8118d4"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:67b8cc9574bb518ec76dc8e705d4c39ae78bb96237cb533edac149352c1f39fe"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ac71b2977fb90c35d41c9453116e283fac47bb9096ad917b8819ca8b943abecd"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:3ae38d325b512f63f8da31f826e6cb6c367336f95e418137286ba362925c877e"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:542da1178c1c6af8873e143910e2269add130a299c9106eef2594e15dae5e482"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:30a85aed0b864ac88309b7d94be09f6046c834ef60762a8833b660139cfbad13"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:aae32c93e0f64469f74ccc730a7cb21c7610af3a775157e50bbd38f816536b38"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15b26ddf78d57f1d143bdf32e820fd8935d36abe8a25eb9ec0b5a71c82eb3895"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7f5d10bae5d78e4551b7be7a9b29643a95aded9d0f602aa2ba584f0388e7a557"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:249c6470a2b60935bafd1d1d13cd613f8cd8388d53461c67397ee6a0f5dce741"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:c5a74c359b2d47d26cdbbc7845e9662d6b08a1e915eb015d044729e92e7050b7"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:b5bcf60a228acae568e9911f410f9d9e0d43197d030ae5799e20dca8df588287"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:187d18082694a29005ba2944c882344b6748d5be69e3a89bf3cc9d878e548d5a"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:81bf654678e575403736b85ba3a7867e31c2c30a69bc57fe88e3ace52fb17b89"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-win32.whl", hash = "sha256:85a32721ddde63c9df9ebb0d2045b9691d9750cb139c161c80e500d210f5e26e"}, + {file = "charset_normalizer-3.3.0-cp38-cp38-win_amd64.whl", hash = "sha256:468d2a840567b13a590e67dd276c570f8de00ed767ecc611994c301d0f8c014f"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e0fc42822278451bc13a2e8626cf2218ba570f27856b536e00cfa53099724828"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:09c77f964f351a7369cc343911e0df63e762e42bac24cd7d18525961c81754f4"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:12ebea541c44fdc88ccb794a13fe861cc5e35d64ed689513a5c03d05b53b7c82"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:805dfea4ca10411a5296bcc75638017215a93ffb584c9e344731eef0dcfb026a"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:96c2b49eb6a72c0e4991d62406e365d87067ca14c1a729a870d22354e6f68115"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:aaf7b34c5bc56b38c931a54f7952f1ff0ae77a2e82496583b247f7c969eb1479"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:619d1c96099be5823db34fe89e2582b336b5b074a7f47f819d6b3a57ff7bdb86"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a0ac5e7015a5920cfce654c06618ec40c33e12801711da6b4258af59a8eff00a"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:93aa7eef6ee71c629b51ef873991d6911b906d7312c6e8e99790c0f33c576f89"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:7966951325782121e67c81299a031f4c115615e68046f79b85856b86ebffc4cd"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:02673e456dc5ab13659f85196c534dc596d4ef260e4d86e856c3b2773ce09843"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:c2af80fb58f0f24b3f3adcb9148e6203fa67dd3f61c4af146ecad033024dde43"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:153e7b6e724761741e0974fc4dcd406d35ba70b92bfe3fedcb497226c93b9da7"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-win32.whl", hash = "sha256:d47ecf253780c90ee181d4d871cd655a789da937454045b17b5798da9393901a"}, + {file = "charset_normalizer-3.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:d97d85fa63f315a8bdaba2af9a6a686e0eceab77b3089af45133252618e70884"}, + {file = "charset_normalizer-3.3.0-py3-none-any.whl", hash = "sha256:e46cd37076971c1040fc8c41273a8b3e2c624ce4f2be3f5dfcb7a430c1d3acc2"}, ] [[package]] @@ -654,63 +677,63 @@ files = [ [[package]] name = "coverage" -version = "7.3.1" +version = "7.3.2" description = "Code coverage measurement for Python" optional = false python-versions = ">=3.8" files = [ - {file = "coverage-7.3.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:cd0f7429ecfd1ff597389907045ff209c8fdb5b013d38cfa7c60728cb484b6e3"}, - {file = "coverage-7.3.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:966f10df9b2b2115da87f50f6a248e313c72a668248be1b9060ce935c871f276"}, - {file = "coverage-7.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0575c37e207bb9b98b6cf72fdaaa18ac909fb3d153083400c2d48e2e6d28bd8e"}, - {file = "coverage-7.3.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:245c5a99254e83875c7fed8b8b2536f040997a9b76ac4c1da5bff398c06e860f"}, - {file = "coverage-7.3.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4c96dd7798d83b960afc6c1feb9e5af537fc4908852ef025600374ff1a017392"}, - {file = "coverage-7.3.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:de30c1aa80f30af0f6b2058a91505ea6e36d6535d437520067f525f7df123887"}, - {file = "coverage-7.3.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:50dd1e2dd13dbbd856ffef69196781edff26c800a74f070d3b3e3389cab2600d"}, - {file = "coverage-7.3.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:b9c0c19f70d30219113b18fe07e372b244fb2a773d4afde29d5a2f7930765136"}, - {file = "coverage-7.3.1-cp310-cp310-win32.whl", hash = "sha256:770f143980cc16eb601ccfd571846e89a5fe4c03b4193f2e485268f224ab602f"}, - {file = "coverage-7.3.1-cp310-cp310-win_amd64.whl", hash = "sha256:cdd088c00c39a27cfa5329349cc763a48761fdc785879220d54eb785c8a38520"}, - {file = "coverage-7.3.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:74bb470399dc1989b535cb41f5ca7ab2af561e40def22d7e188e0a445e7639e3"}, - {file = "coverage-7.3.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:025ded371f1ca280c035d91b43252adbb04d2aea4c7105252d3cbc227f03b375"}, - {file = "coverage-7.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a6191b3a6ad3e09b6cfd75b45c6aeeffe7e3b0ad46b268345d159b8df8d835f9"}, - {file = "coverage-7.3.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7eb0b188f30e41ddd659a529e385470aa6782f3b412f860ce22b2491c89b8593"}, - {file = "coverage-7.3.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:75c8f0df9dfd8ff745bccff75867d63ef336e57cc22b2908ee725cc552689ec8"}, - {file = "coverage-7.3.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:7eb3cd48d54b9bd0e73026dedce44773214064be93611deab0b6a43158c3d5a0"}, - {file = "coverage-7.3.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:ac3c5b7e75acac31e490b7851595212ed951889918d398b7afa12736c85e13ce"}, - {file = "coverage-7.3.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:5b4ee7080878077af0afa7238df1b967f00dc10763f6e1b66f5cced4abebb0a3"}, - {file = "coverage-7.3.1-cp311-cp311-win32.whl", hash = "sha256:229c0dd2ccf956bf5aeede7e3131ca48b65beacde2029f0361b54bf93d36f45a"}, - {file = "coverage-7.3.1-cp311-cp311-win_amd64.whl", hash = "sha256:c6f55d38818ca9596dc9019eae19a47410d5322408140d9a0076001a3dcb938c"}, - {file = "coverage-7.3.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:5289490dd1c3bb86de4730a92261ae66ea8d44b79ed3cc26464f4c2cde581fbc"}, - {file = "coverage-7.3.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ca833941ec701fda15414be400c3259479bfde7ae6d806b69e63b3dc423b1832"}, - {file = "coverage-7.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cd694e19c031733e446c8024dedd12a00cda87e1c10bd7b8539a87963685e969"}, - {file = "coverage-7.3.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:aab8e9464c00da5cb9c536150b7fbcd8850d376d1151741dd0d16dfe1ba4fd26"}, - {file = "coverage-7.3.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:87d38444efffd5b056fcc026c1e8d862191881143c3aa80bb11fcf9dca9ae204"}, - {file = "coverage-7.3.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:8a07b692129b8a14ad7a37941a3029c291254feb7a4237f245cfae2de78de037"}, - {file = "coverage-7.3.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:2829c65c8faaf55b868ed7af3c7477b76b1c6ebeee99a28f59a2cb5907a45760"}, - {file = "coverage-7.3.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:1f111a7d85658ea52ffad7084088277135ec5f368457275fc57f11cebb15607f"}, - {file = "coverage-7.3.1-cp312-cp312-win32.whl", hash = "sha256:c397c70cd20f6df7d2a52283857af622d5f23300c4ca8e5bd8c7a543825baa5a"}, - {file = "coverage-7.3.1-cp312-cp312-win_amd64.whl", hash = "sha256:5ae4c6da8b3d123500f9525b50bf0168023313963e0e2e814badf9000dd6ef92"}, - {file = "coverage-7.3.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ca70466ca3a17460e8fc9cea7123c8cbef5ada4be3140a1ef8f7b63f2f37108f"}, - {file = "coverage-7.3.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:f2781fd3cabc28278dc982a352f50c81c09a1a500cc2086dc4249853ea96b981"}, - {file = "coverage-7.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6407424621f40205bbe6325686417e5e552f6b2dba3535dd1f90afc88a61d465"}, - {file = "coverage-7.3.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:04312b036580ec505f2b77cbbdfb15137d5efdfade09156961f5277149f5e344"}, - {file = "coverage-7.3.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ac9ad38204887349853d7c313f53a7b1c210ce138c73859e925bc4e5d8fc18e7"}, - {file = "coverage-7.3.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:53669b79f3d599da95a0afbef039ac0fadbb236532feb042c534fbb81b1a4e40"}, - {file = "coverage-7.3.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:614f1f98b84eb256e4f35e726bfe5ca82349f8dfa576faabf8a49ca09e630086"}, - {file = "coverage-7.3.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:f1a317fdf5c122ad642db8a97964733ab7c3cf6009e1a8ae8821089993f175ff"}, - {file = "coverage-7.3.1-cp38-cp38-win32.whl", hash = "sha256:defbbb51121189722420a208957e26e49809feafca6afeef325df66c39c4fdb3"}, - {file = "coverage-7.3.1-cp38-cp38-win_amd64.whl", hash = "sha256:f4f456590eefb6e1b3c9ea6328c1e9fa0f1006e7481179d749b3376fc793478e"}, - {file = "coverage-7.3.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:f12d8b11a54f32688b165fd1a788c408f927b0960984b899be7e4c190ae758f1"}, - {file = "coverage-7.3.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f09195dda68d94a53123883de75bb97b0e35f5f6f9f3aa5bf6e496da718f0cb6"}, - {file = "coverage-7.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c6601a60318f9c3945be6ea0f2a80571f4299b6801716f8a6e4846892737ebe4"}, - {file = "coverage-7.3.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:07d156269718670d00a3b06db2288b48527fc5f36859425ff7cec07c6b367745"}, - {file = "coverage-7.3.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:636a8ac0b044cfeccae76a36f3b18264edcc810a76a49884b96dd744613ec0b7"}, - {file = "coverage-7.3.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:5d991e13ad2ed3aced177f524e4d670f304c8233edad3210e02c465351f785a0"}, - {file = "coverage-7.3.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:586649ada7cf139445da386ab6f8ef00e6172f11a939fc3b2b7e7c9082052fa0"}, - {file = "coverage-7.3.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:4aba512a15a3e1e4fdbfed2f5392ec221434a614cc68100ca99dcad7af29f3f8"}, - {file = "coverage-7.3.1-cp39-cp39-win32.whl", hash = "sha256:6bc6f3f4692d806831c136c5acad5ccedd0262aa44c087c46b7101c77e139140"}, - {file = "coverage-7.3.1-cp39-cp39-win_amd64.whl", hash = "sha256:553d7094cb27db58ea91332e8b5681bac107e7242c23f7629ab1316ee73c4981"}, - {file = "coverage-7.3.1-pp38.pp39.pp310-none-any.whl", hash = "sha256:220eb51f5fb38dfdb7e5d54284ca4d0cd70ddac047d750111a68ab1798945194"}, - {file = "coverage-7.3.1.tar.gz", hash = "sha256:6cb7fe1581deb67b782c153136541e20901aa312ceedaf1467dcb35255787952"}, + {file = "coverage-7.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d872145f3a3231a5f20fd48500274d7df222e291d90baa2026cc5152b7ce86bf"}, + {file = "coverage-7.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:310b3bb9c91ea66d59c53fa4989f57d2436e08f18fb2f421a1b0b6b8cc7fffda"}, + {file = "coverage-7.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f47d39359e2c3779c5331fc740cf4bce6d9d680a7b4b4ead97056a0ae07cb49a"}, + {file = "coverage-7.3.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:aa72dbaf2c2068404b9870d93436e6d23addd8bbe9295f49cbca83f6e278179c"}, + {file = "coverage-7.3.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:beaa5c1b4777f03fc63dfd2a6bd820f73f036bfb10e925fce067b00a340d0f3f"}, + {file = "coverage-7.3.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:dbc1b46b92186cc8074fee9d9fbb97a9dd06c6cbbef391c2f59d80eabdf0faa6"}, + {file = "coverage-7.3.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:315a989e861031334d7bee1f9113c8770472db2ac484e5b8c3173428360a9148"}, + {file = "coverage-7.3.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:d1bc430677773397f64a5c88cb522ea43175ff16f8bfcc89d467d974cb2274f9"}, + {file = "coverage-7.3.2-cp310-cp310-win32.whl", hash = "sha256:a889ae02f43aa45032afe364c8ae84ad3c54828c2faa44f3bfcafecb5c96b02f"}, + {file = "coverage-7.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:c0ba320de3fb8c6ec16e0be17ee1d3d69adcda99406c43c0409cb5c41788a611"}, + {file = "coverage-7.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ac8c802fa29843a72d32ec56d0ca792ad15a302b28ca6203389afe21f8fa062c"}, + {file = "coverage-7.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:89a937174104339e3a3ffcf9f446c00e3a806c28b1841c63edb2b369310fd074"}, + {file = "coverage-7.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e267e9e2b574a176ddb983399dec325a80dbe161f1a32715c780b5d14b5f583a"}, + {file = "coverage-7.3.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2443cbda35df0d35dcfb9bf8f3c02c57c1d6111169e3c85fc1fcc05e0c9f39a3"}, + {file = "coverage-7.3.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4175e10cc8dda0265653e8714b3174430b07c1dca8957f4966cbd6c2b1b8065a"}, + {file = "coverage-7.3.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0cbf38419fb1a347aaf63481c00f0bdc86889d9fbf3f25109cf96c26b403fda1"}, + {file = "coverage-7.3.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:5c913b556a116b8d5f6ef834038ba983834d887d82187c8f73dec21049abd65c"}, + {file = "coverage-7.3.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:1981f785239e4e39e6444c63a98da3a1db8e971cb9ceb50a945ba6296b43f312"}, + {file = "coverage-7.3.2-cp311-cp311-win32.whl", hash = "sha256:43668cabd5ca8258f5954f27a3aaf78757e6acf13c17604d89648ecc0cc66640"}, + {file = "coverage-7.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:e10c39c0452bf6e694511c901426d6b5ac005acc0f78ff265dbe36bf81f808a2"}, + {file = "coverage-7.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:4cbae1051ab791debecc4a5dcc4a1ff45fc27b91b9aee165c8a27514dd160836"}, + {file = "coverage-7.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:12d15ab5833a997716d76f2ac1e4b4d536814fc213c85ca72756c19e5a6b3d63"}, + {file = "coverage-7.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3c7bba973ebee5e56fe9251300c00f1579652587a9f4a5ed8404b15a0471f216"}, + {file = "coverage-7.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fe494faa90ce6381770746077243231e0b83ff3f17069d748f645617cefe19d4"}, + {file = "coverage-7.3.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f6e9589bd04d0461a417562649522575d8752904d35c12907d8c9dfeba588faf"}, + {file = "coverage-7.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:d51ac2a26f71da1b57f2dc81d0e108b6ab177e7d30e774db90675467c847bbdf"}, + {file = "coverage-7.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:99b89d9f76070237975b315b3d5f4d6956ae354a4c92ac2388a5695516e47c84"}, + {file = "coverage-7.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:fa28e909776dc69efb6ed975a63691bc8172b64ff357e663a1bb06ff3c9b589a"}, + {file = "coverage-7.3.2-cp312-cp312-win32.whl", hash = "sha256:289fe43bf45a575e3ab10b26d7b6f2ddb9ee2dba447499f5401cfb5ecb8196bb"}, + {file = "coverage-7.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:7dbc3ed60e8659bc59b6b304b43ff9c3ed858da2839c78b804973f613d3e92ed"}, + {file = "coverage-7.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:f94b734214ea6a36fe16e96a70d941af80ff3bfd716c141300d95ebc85339738"}, + {file = "coverage-7.3.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:af3d828d2c1cbae52d34bdbb22fcd94d1ce715d95f1a012354a75e5913f1bda2"}, + {file = "coverage-7.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:630b13e3036e13c7adc480ca42fa7afc2a5d938081d28e20903cf7fd687872e2"}, + {file = "coverage-7.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c9eacf273e885b02a0273bb3a2170f30e2d53a6d53b72dbe02d6701b5296101c"}, + {file = "coverage-7.3.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d8f17966e861ff97305e0801134e69db33b143bbfb36436efb9cfff6ec7b2fd9"}, + {file = "coverage-7.3.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b4275802d16882cf9c8b3d057a0839acb07ee9379fa2749eca54efbce1535b82"}, + {file = "coverage-7.3.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:72c0cfa5250f483181e677ebc97133ea1ab3eb68645e494775deb6a7f6f83901"}, + {file = "coverage-7.3.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:cb536f0dcd14149425996821a168f6e269d7dcd2c273a8bff8201e79f5104e76"}, + {file = "coverage-7.3.2-cp38-cp38-win32.whl", hash = "sha256:307adb8bd3abe389a471e649038a71b4eb13bfd6b7dd9a129fa856f5c695cf92"}, + {file = "coverage-7.3.2-cp38-cp38-win_amd64.whl", hash = "sha256:88ed2c30a49ea81ea3b7f172e0269c182a44c236eb394718f976239892c0a27a"}, + {file = "coverage-7.3.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b631c92dfe601adf8f5ebc7fc13ced6bb6e9609b19d9a8cd59fa47c4186ad1ce"}, + {file = "coverage-7.3.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d3d9df4051c4a7d13036524b66ecf7a7537d14c18a384043f30a303b146164e9"}, + {file = "coverage-7.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5f7363d3b6a1119ef05015959ca24a9afc0ea8a02c687fe7e2d557705375c01f"}, + {file = "coverage-7.3.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2f11cc3c967a09d3695d2a6f03fb3e6236622b93be7a4b5dc09166a861be6d25"}, + {file = "coverage-7.3.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:149de1d2401ae4655c436a3dced6dd153f4c3309f599c3d4bd97ab172eaf02d9"}, + {file = "coverage-7.3.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:3a4006916aa6fee7cd38db3bfc95aa9c54ebb4ffbfc47c677c8bba949ceba0a6"}, + {file = "coverage-7.3.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9028a3871280110d6e1aa2df1afd5ef003bab5fb1ef421d6dc748ae1c8ef2ebc"}, + {file = "coverage-7.3.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:9f805d62aec8eb92bab5b61c0f07329275b6f41c97d80e847b03eb894f38d083"}, + {file = "coverage-7.3.2-cp39-cp39-win32.whl", hash = "sha256:d1c88ec1a7ff4ebca0219f5b1ef863451d828cccf889c173e1253aa84b1e07ce"}, + {file = "coverage-7.3.2-cp39-cp39-win_amd64.whl", hash = "sha256:b4767da59464bb593c07afceaddea61b154136300881844768037fd5e859353f"}, + {file = "coverage-7.3.2-pp38.pp39.pp310-none-any.whl", hash = "sha256:ae97af89f0fbf373400970c0a21eef5aa941ffeed90aee43650b81f7d7f47637"}, + {file = "coverage-7.3.2.tar.gz", hash = "sha256:be32ad29341b0170e795ca590e1c07e81fc061cb5b10c74ce7203491484404ef"}, ] [package.dependencies] @@ -1059,18 +1082,21 @@ test = ["eth-hash[pycryptodome]", "pytest (>=6.2.5,<7)", "pytest-xdist", "tox (= [[package]] name = "eth-typing" -version = "3.4.0" +version = "3.5.0" description = "eth-typing: Common type annotations for ethereum python packages" optional = false python-versions = ">=3.7.2, <4" files = [ - {file = "eth-typing-3.4.0.tar.gz", hash = "sha256:7f49610469811ee97ac43eaf6baa294778ce74042d41e61ecf22e5ebe385590f"}, - {file = "eth_typing-3.4.0-py3-none-any.whl", hash = "sha256:347d50713dd58ab50063b228d8271624ab2de3071bfa32d467b05f0ea31ab4c5"}, + {file = "eth-typing-3.5.0.tar.gz", hash = "sha256:a92f6896896752143a4704c57441eedf7b1f65d5df4b1c20cb802bb4aa602d7e"}, + {file = "eth_typing-3.5.0-py3-none-any.whl", hash = "sha256:a773dbb7d78fcd1539c30264193ca26ec965f3abca2711748e307f117b0a10f5"}, ] +[package.dependencies] +typing-extensions = ">=4.0.1" + [package.extras] dev = ["black (>=23)", "build (>=0.9.0)", "bumpversion (>=0.5.3)", "flake8 (==6.0.0)", "flake8-bugbear (==23.3.23)", "ipython", "isort (>=5.10.1)", "mypy (==0.971)", "pydocstyle (>=6.0.0)", "pytest (>=7.0.0)", "pytest-watch (>=4.1.0)", "pytest-xdist (>=2.4.0)", "sphinx (>=5.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=4.0.0)", "twine", "wheel"] -doc = ["sphinx (>=5.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)"] +docs = ["sphinx (>=5.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)"] lint = ["black (>=23)", "flake8 (==6.0.0)", "flake8-bugbear (==23.3.23)", "isort (>=5.10.1)", "mypy (==0.971)", "pydocstyle (>=6.0.0)"] test = ["pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)"] @@ -1237,117 +1263,135 @@ files = [ [[package]] name = "grpcio" -version = "1.58.0" +version = "1.59.0" description = "HTTP/2-based RPC framework" optional = false python-versions = ">=3.7" files = [ - {file = "grpcio-1.58.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:3e6bebf1dfdbeb22afd95650e4f019219fef3ab86d3fca8ebade52e4bc39389a"}, - {file = "grpcio-1.58.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:cde11577d5b6fd73a00e6bfa3cf5f428f3f33c2d2878982369b5372bbc4acc60"}, - {file = "grpcio-1.58.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:a2d67ff99e70e86b2be46c1017ae40b4840d09467d5455b2708de6d4c127e143"}, - {file = "grpcio-1.58.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1ed979b273a81de36fc9c6716d9fb09dd3443efa18dcc8652501df11da9583e9"}, - {file = "grpcio-1.58.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:458899d2ebd55d5ca2350fd3826dfd8fcb11fe0f79828ae75e2b1e6051d50a29"}, - {file = "grpcio-1.58.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:bc7ffef430b80345729ff0a6825e9d96ac87efe39216e87ac58c6c4ef400de93"}, - {file = "grpcio-1.58.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:5b23d75e5173faa3d1296a7bedffb25afd2fddb607ef292dfc651490c7b53c3d"}, - {file = "grpcio-1.58.0-cp310-cp310-win32.whl", hash = "sha256:fad9295fe02455d4f158ad72c90ef8b4bcaadfdb5efb5795f7ab0786ad67dd58"}, - {file = "grpcio-1.58.0-cp310-cp310-win_amd64.whl", hash = "sha256:bc325fed4d074367bebd465a20763586e5e1ed5b943e9d8bc7c162b1f44fd602"}, - {file = "grpcio-1.58.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:652978551af02373a5a313e07bfef368f406b5929cf2d50fa7e4027f913dbdb4"}, - {file = "grpcio-1.58.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:9f13a171281ebb4d7b1ba9f06574bce2455dcd3f2f6d1fbe0fd0d84615c74045"}, - {file = "grpcio-1.58.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:8774219e21b05f750eef8adc416e9431cf31b98f6ce9def288e4cea1548cbd22"}, - {file = "grpcio-1.58.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:09206106848462763f7f273ca93d2d2d4d26cab475089e0de830bb76be04e9e8"}, - {file = "grpcio-1.58.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:62831d5e251dd7561d9d9e83a0b8655084b2a1f8ea91e4bd6b3cedfefd32c9d2"}, - {file = "grpcio-1.58.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:212f38c6a156862098f6bdc9a79bf850760a751d259d8f8f249fc6d645105855"}, - {file = "grpcio-1.58.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:4b12754af201bb993e6e2efd7812085ddaaef21d0a6f0ff128b97de1ef55aa4a"}, - {file = "grpcio-1.58.0-cp311-cp311-win32.whl", hash = "sha256:3886b4d56bd4afeac518dbc05933926198aa967a7d1d237a318e6fbc47141577"}, - {file = "grpcio-1.58.0-cp311-cp311-win_amd64.whl", hash = "sha256:002f228d197fea12797a14e152447044e14fb4fdb2eb5d6cfa496f29ddbf79ef"}, - {file = "grpcio-1.58.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:b5e8db0aff0a4819946215f156bd722b6f6c8320eb8419567ffc74850c9fd205"}, - {file = "grpcio-1.58.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:201e550b7e2ede113b63e718e7ece93cef5b0fbf3c45e8fe4541a5a4305acd15"}, - {file = "grpcio-1.58.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:d79b660681eb9bc66cc7cbf78d1b1b9e335ee56f6ea1755d34a31108b80bd3c8"}, - {file = "grpcio-1.58.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2ef8d4a76d2c7d8065aba829f8d0bc0055495c998dce1964ca5b302d02514fb3"}, - {file = "grpcio-1.58.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6cba491c638c76d3dc6c191d9c75041ca5b8f5c6de4b8327ecdcab527f130bb4"}, - {file = "grpcio-1.58.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:6801ff6652ecd2aae08ef994a3e49ff53de29e69e9cd0fd604a79ae4e545a95c"}, - {file = "grpcio-1.58.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:24edec346e69e672daf12b2c88e95c6f737f3792d08866101d8c5f34370c54fd"}, - {file = "grpcio-1.58.0-cp37-cp37m-win_amd64.whl", hash = "sha256:7e473a7abad9af48e3ab5f3b5d237d18208024d28ead65a459bd720401bd2f8f"}, - {file = "grpcio-1.58.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:4891bbb4bba58acd1d620759b3be11245bfe715eb67a4864c8937b855b7ed7fa"}, - {file = "grpcio-1.58.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:e9f995a8a421405958ff30599b4d0eec244f28edc760de82f0412c71c61763d2"}, - {file = "grpcio-1.58.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:2f85f87e2f087d9f632c085b37440a3169fda9cdde80cb84057c2fc292f8cbdf"}, - {file = "grpcio-1.58.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb6b92036ff312d5b4182fa72e8735d17aceca74d0d908a7f08e375456f03e07"}, - {file = "grpcio-1.58.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d81c2b2b24c32139dd2536972f1060678c6b9fbd106842a9fcdecf07b233eccd"}, - {file = "grpcio-1.58.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:fbcecb6aedd5c1891db1d70efbfbdc126c986645b5dd616a045c07d6bd2dfa86"}, - {file = "grpcio-1.58.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:92ae871a902cf19833328bd6498ec007b265aabf2fda845ab5bd10abcaf4c8c6"}, - {file = "grpcio-1.58.0-cp38-cp38-win32.whl", hash = "sha256:dc72e04620d49d3007771c0e0348deb23ca341c0245d610605dddb4ac65a37cb"}, - {file = "grpcio-1.58.0-cp38-cp38-win_amd64.whl", hash = "sha256:1c1c5238c6072470c7f1614bf7c774ffde6b346a100521de9ce791d1e4453afe"}, - {file = "grpcio-1.58.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:fe643af248442221db027da43ed43e53b73e11f40c9043738de9a2b4b6ca7697"}, - {file = "grpcio-1.58.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:128eb1f8e70676d05b1b0c8e6600320fc222b3f8c985a92224248b1367122188"}, - {file = "grpcio-1.58.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:039003a5e0ae7d41c86c768ef8b3ee2c558aa0a23cf04bf3c23567f37befa092"}, - {file = "grpcio-1.58.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8f061722cad3f9aabb3fbb27f3484ec9d4667b7328d1a7800c3c691a98f16bb0"}, - {file = "grpcio-1.58.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba0af11938acf8cd4cf815c46156bcde36fa5850518120920d52620cc3ec1830"}, - {file = "grpcio-1.58.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:d4cef77ad2fed42b1ba9143465856d7e737279854e444925d5ba45fc1f3ba727"}, - {file = "grpcio-1.58.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:24765a627eb4d9288ace32d5104161c3654128fe27f2808ecd6e9b0cfa7fc8b9"}, - {file = "grpcio-1.58.0-cp39-cp39-win32.whl", hash = "sha256:f0241f7eb0d2303a545136c59bc565a35c4fc3b924ccbd69cb482f4828d6f31c"}, - {file = "grpcio-1.58.0-cp39-cp39-win_amd64.whl", hash = "sha256:dcfba7befe3a55dab6fe1eb7fc9359dc0c7f7272b30a70ae0af5d5b063842f28"}, - {file = "grpcio-1.58.0.tar.gz", hash = "sha256:532410c51ccd851b706d1fbc00a87be0f5312bd6f8e5dbf89d4e99c7f79d7499"}, + {file = "grpcio-1.59.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:225e5fa61c35eeaebb4e7491cd2d768cd8eb6ed00f2664fa83a58f29418b39fd"}, + {file = "grpcio-1.59.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:b95ec8ecc4f703f5caaa8d96e93e40c7f589bad299a2617bdb8becbcce525539"}, + {file = "grpcio-1.59.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:1a839ba86764cc48226f50b924216000c79779c563a301586a107bda9cbe9dcf"}, + {file = "grpcio-1.59.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f6cfe44a5d7c7d5f1017a7da1c8160304091ca5dc64a0f85bca0d63008c3137a"}, + {file = "grpcio-1.59.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d0fcf53df684fcc0154b1e61f6b4a8c4cf5f49d98a63511e3f30966feff39cd0"}, + {file = "grpcio-1.59.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:fa66cac32861500f280bb60fe7d5b3e22d68c51e18e65367e38f8669b78cea3b"}, + {file = "grpcio-1.59.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8cd2d38c2d52f607d75a74143113174c36d8a416d9472415eab834f837580cf7"}, + {file = "grpcio-1.59.0-cp310-cp310-win32.whl", hash = "sha256:228b91ce454876d7eed74041aff24a8f04c0306b7250a2da99d35dd25e2a1211"}, + {file = "grpcio-1.59.0-cp310-cp310-win_amd64.whl", hash = "sha256:ca87ee6183421b7cea3544190061f6c1c3dfc959e0b57a5286b108511fd34ff4"}, + {file = "grpcio-1.59.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:c173a87d622ea074ce79be33b952f0b424fa92182063c3bda8625c11d3585d09"}, + {file = "grpcio-1.59.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:ec78aebb9b6771d6a1de7b6ca2f779a2f6113b9108d486e904bde323d51f5589"}, + {file = "grpcio-1.59.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:0b84445fa94d59e6806c10266b977f92fa997db3585f125d6b751af02ff8b9fe"}, + {file = "grpcio-1.59.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c251d22de8f9f5cca9ee47e4bade7c5c853e6e40743f47f5cc02288ee7a87252"}, + {file = "grpcio-1.59.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:956f0b7cb465a65de1bd90d5a7475b4dc55089b25042fe0f6c870707e9aabb1d"}, + {file = "grpcio-1.59.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:38da5310ef84e16d638ad89550b5b9424df508fd5c7b968b90eb9629ca9be4b9"}, + {file = "grpcio-1.59.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:63982150a7d598281fa1d7ffead6096e543ff8be189d3235dd2b5604f2c553e5"}, + {file = "grpcio-1.59.0-cp311-cp311-win32.whl", hash = "sha256:50eff97397e29eeee5df106ea1afce3ee134d567aa2c8e04fabab05c79d791a7"}, + {file = "grpcio-1.59.0-cp311-cp311-win_amd64.whl", hash = "sha256:15f03bd714f987d48ae57fe092cf81960ae36da4e520e729392a59a75cda4f29"}, + {file = "grpcio-1.59.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:f1feb034321ae2f718172d86b8276c03599846dc7bb1792ae370af02718f91c5"}, + {file = "grpcio-1.59.0-cp312-cp312-macosx_10_10_universal2.whl", hash = "sha256:d09bd2a4e9f5a44d36bb8684f284835c14d30c22d8ec92ce796655af12163588"}, + {file = "grpcio-1.59.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:2f120d27051e4c59db2f267b71b833796770d3ea36ca712befa8c5fff5da6ebd"}, + {file = "grpcio-1.59.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ba0ca727a173ee093f49ead932c051af463258b4b493b956a2c099696f38aa66"}, + {file = "grpcio-1.59.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5711c51e204dc52065f4a3327dca46e69636a0b76d3e98c2c28c4ccef9b04c52"}, + {file = "grpcio-1.59.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:d74f7d2d7c242a6af9d4d069552ec3669965b74fed6b92946e0e13b4168374f9"}, + {file = "grpcio-1.59.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3859917de234a0a2a52132489c4425a73669de9c458b01c9a83687f1f31b5b10"}, + {file = "grpcio-1.59.0-cp312-cp312-win32.whl", hash = "sha256:de2599985b7c1b4ce7526e15c969d66b93687571aa008ca749d6235d056b7205"}, + {file = "grpcio-1.59.0-cp312-cp312-win_amd64.whl", hash = "sha256:598f3530231cf10ae03f4ab92d48c3be1fee0c52213a1d5958df1a90957e6a88"}, + {file = "grpcio-1.59.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:b34c7a4c31841a2ea27246a05eed8a80c319bfc0d3e644412ec9ce437105ff6c"}, + {file = "grpcio-1.59.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:c4dfdb49f4997dc664f30116af2d34751b91aa031f8c8ee251ce4dcfc11277b0"}, + {file = "grpcio-1.59.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:61bc72a00ecc2b79d9695220b4d02e8ba53b702b42411397e831c9b0589f08a3"}, + {file = "grpcio-1.59.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f367e4b524cb319e50acbdea57bb63c3b717c5d561974ace0b065a648bb3bad3"}, + {file = "grpcio-1.59.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:849c47ef42424c86af069a9c5e691a765e304079755d5c29eff511263fad9c2a"}, + {file = "grpcio-1.59.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c0488c2b0528e6072010182075615620071371701733c63ab5be49140ed8f7f0"}, + {file = "grpcio-1.59.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:611d9aa0017fa386809bddcb76653a5ab18c264faf4d9ff35cb904d44745f575"}, + {file = "grpcio-1.59.0-cp37-cp37m-win_amd64.whl", hash = "sha256:e5378785dce2b91eb2e5b857ec7602305a3b5cf78311767146464bfa365fc897"}, + {file = "grpcio-1.59.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:fe976910de34d21057bcb53b2c5e667843588b48bf11339da2a75f5c4c5b4055"}, + {file = "grpcio-1.59.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:c041a91712bf23b2a910f61e16565a05869e505dc5a5c025d429ca6de5de842c"}, + {file = "grpcio-1.59.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:0ae444221b2c16d8211b55326f8ba173ba8f8c76349bfc1768198ba592b58f74"}, + {file = "grpcio-1.59.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ceb1e68135788c3fce2211de86a7597591f0b9a0d2bb80e8401fd1d915991bac"}, + {file = "grpcio-1.59.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c4b1cc3a9dc1924d2eb26eec8792fedd4b3fcd10111e26c1d551f2e4eda79ce"}, + {file = "grpcio-1.59.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:871371ce0c0055d3db2a86fdebd1e1d647cf21a8912acc30052660297a5a6901"}, + {file = "grpcio-1.59.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:93e9cb546e610829e462147ce724a9cb108e61647a3454500438a6deef610be1"}, + {file = "grpcio-1.59.0-cp38-cp38-win32.whl", hash = "sha256:f21917aa50b40842b51aff2de6ebf9e2f6af3fe0971c31960ad6a3a2b24988f4"}, + {file = "grpcio-1.59.0-cp38-cp38-win_amd64.whl", hash = "sha256:14890da86a0c0e9dc1ea8e90101d7a3e0e7b1e71f4487fab36e2bfd2ecadd13c"}, + {file = "grpcio-1.59.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:34341d9e81a4b669a5f5dca3b2a760b6798e95cdda2b173e65d29d0b16692857"}, + {file = "grpcio-1.59.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:986de4aa75646e963466b386a8c5055c8b23a26a36a6c99052385d6fe8aaf180"}, + {file = "grpcio-1.59.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:aca8a24fef80bef73f83eb8153f5f5a0134d9539b4c436a716256b311dda90a6"}, + {file = "grpcio-1.59.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:936b2e04663660c600d5173bc2cc84e15adbad9c8f71946eb833b0afc205b996"}, + {file = "grpcio-1.59.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc8bf2e7bc725e76c0c11e474634a08c8f24bcf7426c0c6d60c8f9c6e70e4d4a"}, + {file = "grpcio-1.59.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:81d86a096ccd24a57fa5772a544c9e566218bc4de49e8c909882dae9d73392df"}, + {file = "grpcio-1.59.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:2ea95cd6abbe20138b8df965b4a8674ec312aaef3147c0f46a0bac661f09e8d0"}, + {file = "grpcio-1.59.0-cp39-cp39-win32.whl", hash = "sha256:3b8ff795d35a93d1df6531f31c1502673d1cebeeba93d0f9bd74617381507e3f"}, + {file = "grpcio-1.59.0-cp39-cp39-win_amd64.whl", hash = "sha256:38823bd088c69f59966f594d087d3a929d1ef310506bee9e3648317660d65b81"}, + {file = "grpcio-1.59.0.tar.gz", hash = "sha256:acf70a63cf09dd494000007b798aff88a436e1c03b394995ce450be437b8e54f"}, ] [package.extras] -protobuf = ["grpcio-tools (>=1.58.0)"] +protobuf = ["grpcio-tools (>=1.59.0)"] [[package]] name = "grpcio-tools" -version = "1.58.0" +version = "1.59.0" description = "Protobuf code generator for gRPC" optional = false python-versions = ">=3.7" files = [ - {file = "grpcio-tools-1.58.0.tar.gz", hash = "sha256:6f4d80ceb591e31ca4dceec747dbe56132e1392a0a9bb1c8fe001d1b5cac898a"}, - {file = "grpcio_tools-1.58.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:60c874908f3b40f32f1bb0221f7b3ab65ecb53a4d0a9f0a394f031f1b292c177"}, - {file = "grpcio_tools-1.58.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:1852e798f31e5437ca7b37abc910e028b34732fb19364862cedb87b1dab66fad"}, - {file = "grpcio_tools-1.58.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:149fb48f53cb691a6328f68bed8e4036c730f7106b7f98e92c2c0403f0b9e93c"}, - {file = "grpcio_tools-1.58.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ba3d383e5ca93826038b70f326fce8e8d12dd9b2f64d363a3d612f7475f12dd2"}, - {file = "grpcio_tools-1.58.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6997511e9d2979f7a2389479682dbb06823f21a904e8fb0a5c6baaf1b4b4a863"}, - {file = "grpcio_tools-1.58.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:8de0b701da479643f71fad71fe66885cddd89441ae16e2c724939b47742dc72e"}, - {file = "grpcio_tools-1.58.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:43cc23908b63fcaefe690b10f68a2d8652c994b5b36ab77d2271d9608c895320"}, - {file = "grpcio_tools-1.58.0-cp310-cp310-win32.whl", hash = "sha256:2c2221123d010dc6231799e63a37f2f4786bf614ef65b23009c387cd20d8b193"}, - {file = "grpcio_tools-1.58.0-cp310-cp310-win_amd64.whl", hash = "sha256:df2788736bdf58abe7b0e4d6b1ff806f7686c98c5ad900da312252e3322d91c4"}, - {file = "grpcio_tools-1.58.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:b6ea5578712cdb29b0ff60bfc6405bf0e8d681b9c71d106dd1cda54fe7fe4e55"}, - {file = "grpcio_tools-1.58.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:c29880f491581c83181c0a84a4d11402af2b13166a5266f64e246adf1da7aa66"}, - {file = "grpcio_tools-1.58.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:32d51e933c3565414dd0835f930bb28a1cdeba435d9d2c87fa3cf8b1d284db3c"}, - {file = "grpcio_tools-1.58.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8ad9d77f25514584b1ddc981d70c9e50dfcfc388aa5ba943eee67520c5267ed9"}, - {file = "grpcio_tools-1.58.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4882382631e6352819059278a5c878ce0b067008dd490911d16d5616e8a36d85"}, - {file = "grpcio_tools-1.58.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:d84091a189d848d94645b7c48b61734c12ec03b0d46e5fc0049343a26989ac5c"}, - {file = "grpcio_tools-1.58.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:85ac28a9621e9b92a3fc416288c4ce45542db0b4c31b3e23031dd8e0a0ec5590"}, - {file = "grpcio_tools-1.58.0-cp311-cp311-win32.whl", hash = "sha256:7371d8ea80234b29affec145e25569523f549520ed7e53b2aa92bed412cdecfd"}, - {file = "grpcio_tools-1.58.0-cp311-cp311-win_amd64.whl", hash = "sha256:6997df6e7c5cf4d3ddc764240c1ff6a04b45d70ec28913b38fbc6396ef743e12"}, - {file = "grpcio_tools-1.58.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:ac65b8d6e3acaf88b815edf9af88ff844b6600ff3d2591c05ba4f655b45d5fb4"}, - {file = "grpcio_tools-1.58.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:88e8191d0dd789bebf42533808728f5ce75d2c51e2a72bdf20abe5b5e3fbec42"}, - {file = "grpcio_tools-1.58.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:a3dbece2a121761499a659b799979d4b738586d1065439053de553773eee11ca"}, - {file = "grpcio_tools-1.58.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1086fe240c4c879b9721952b47d46996deb283c2d9355a8dc24a804811aacf70"}, - {file = "grpcio_tools-1.58.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a7ae3dca059d5b358dd03fb63277428fa7d771605d4074a019138dd38d70719a"}, - {file = "grpcio_tools-1.58.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:3f8904ac7fc3da2e874f00b3a986e8b7e004f499344a8e7eb213c26dfb025041"}, - {file = "grpcio_tools-1.58.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:aadbd8393ae332e49731adb31e741f2e689989150569b7acc939f5ea43124e2d"}, - {file = "grpcio_tools-1.58.0-cp37-cp37m-win_amd64.whl", hash = "sha256:1cb6e24194786687d4f23c64de1f0ce553af51de22746911bc37340f85f9783e"}, - {file = "grpcio_tools-1.58.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:6ec43909095c630df3e479e77469bdad367067431f4af602f6ccb978a3b78afd"}, - {file = "grpcio_tools-1.58.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:4be49ed320b0ebcbc21d19ef555fbf229c1c452105522b728e1171ee2052078e"}, - {file = "grpcio_tools-1.58.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:28eefebddec3d3adf19baca78f8b82a2287d358e1b1575ae018cdca8eacc6269"}, - {file = "grpcio_tools-1.58.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2ef8c696e9d78676cc3f583a92bbbf2c84e94e350f7ad22f150a52559f4599d1"}, - {file = "grpcio_tools-1.58.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9aeb5949e46558d21c51fd3ec3eeecc59c94dbca76c67c0a80d3da6b7437930c"}, - {file = "grpcio_tools-1.58.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:6f7144aad9396d35fb1b80429600a970b559c2ad4d07020eeb180fe83cea2bee"}, - {file = "grpcio_tools-1.58.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:4ee26e9253a721fff355737649678535f76cf5d642aa3ac0cd937832559b90af"}, - {file = "grpcio_tools-1.58.0-cp38-cp38-win32.whl", hash = "sha256:343f572312039059a8797d6e29a7fc62196e73131ab01755660a9d48202267c1"}, - {file = "grpcio_tools-1.58.0-cp38-cp38-win_amd64.whl", hash = "sha256:cd7acfbb43b7338a78cf4a67528d05530d574d92b7c829d185b78dfc451d158f"}, - {file = "grpcio_tools-1.58.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:46628247fbce86d18232eead24bd22ed0826c79f3fe2fc2fbdbde45971361049"}, - {file = "grpcio_tools-1.58.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:51587842a54e025a3d0d37afcf4ef2b7ac1def9a5d17448665cb424b53d6c287"}, - {file = "grpcio_tools-1.58.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:a062ae3072a2a39a3c057f4d68b57b021f1dd2956cd09aab39709f6af494e1de"}, - {file = "grpcio_tools-1.58.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eec3c93a08df11c80ef1c29a616bcbb0d83dbc6ea41b48306fcacc720416dfa7"}, - {file = "grpcio_tools-1.58.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b63f823ac991ff77104da614d2a2485a59d37d57830eb2e387a6e2a3edc7fa2b"}, - {file = "grpcio_tools-1.58.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:579c11a9f198847ed48dbc4f211c67fe96a73320b87c81f01b044b72e24a7d77"}, - {file = "grpcio_tools-1.58.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:6ca2fc1dd8049d417a5034d944c9df05cee76f855b3e431627ab4292e7c01c47"}, - {file = "grpcio_tools-1.58.0-cp39-cp39-win32.whl", hash = "sha256:453023120114c35d3d9d6717ea0820e5d5c140f51f9d0b621de4397ff854471b"}, - {file = "grpcio_tools-1.58.0-cp39-cp39-win_amd64.whl", hash = "sha256:b6c896f1df99c35cf062d4803c15663ff00a33ff09add28baa6e475cf6b5e258"}, + {file = "grpcio-tools-1.59.0.tar.gz", hash = "sha256:aa4018f2d8662ac4d9830445d3d253a11b3e096e8afe20865547137aa1160e93"}, + {file = "grpcio_tools-1.59.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:882b809b42b5464bee55288f4e60837297f9618e53e69ae3eea6d61b05ce48fa"}, + {file = "grpcio_tools-1.59.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:4499d4bc5aa9c7b645018d8b0db4bebd663d427aabcd7bee7777046cb1bcbca7"}, + {file = "grpcio_tools-1.59.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:f381ae3ad6a5eb27aad8d810438937d8228977067c54e0bd456fce7e11fdbf3d"}, + {file = "grpcio_tools-1.59.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f1c684c0d9226d04cadafced620a46ab38c346d0780eaac7448da96bf12066a3"}, + {file = "grpcio_tools-1.59.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:40cbf712769242c2ba237745285ef789114d7fcfe8865fc4817d87f20015e99a"}, + {file = "grpcio_tools-1.59.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:1df755951f204e65bf9232a9cac5afe7d6b8e4c87ac084d3ecd738fdc7aa4174"}, + {file = "grpcio_tools-1.59.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:de156c18b0c638aaee3be6ad650c8ba7dec94ed4bac26403aec3dce95ffe9407"}, + {file = "grpcio_tools-1.59.0-cp310-cp310-win32.whl", hash = "sha256:9af7e138baa9b2895cf1f3eb718ac96fc5ae2f8e31fca405e21e0e5cd1643c52"}, + {file = "grpcio_tools-1.59.0-cp310-cp310-win_amd64.whl", hash = "sha256:f14a6e4f700dfd30ff8f0e6695f944affc16ae5a1e738666b3fae4e44b65637e"}, + {file = "grpcio_tools-1.59.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:db030140d0da2368319e2f23655df3baec278c7e0078ecbe051eaf609a69382c"}, + {file = "grpcio_tools-1.59.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:eeed386971bb8afc3ec45593df6a1154d680d87be1209ef8e782e44f85f47e64"}, + {file = "grpcio_tools-1.59.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:962d1a3067129152cee3e172213486cb218a6bad703836991f46f216caefcf00"}, + {file = "grpcio_tools-1.59.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:26eb2eebf150a33ebf088e67c1acf37eb2ac4133d9bfccbaa011ad2148c08b42"}, + {file = "grpcio_tools-1.59.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5b2d6da553980c590487f2e7fd3ec9c1ad8805ff2ec77977b92faa7e3ca14e1f"}, + {file = "grpcio_tools-1.59.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:335e2f355a0c544a88854e2c053aff8a3f398b84a263a96fa19d063ca1fe513a"}, + {file = "grpcio_tools-1.59.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:204e08f807b1d83f5f0efea30c4e680afe26a43dec8ba614a45fa698a7ef0a19"}, + {file = "grpcio_tools-1.59.0-cp311-cp311-win32.whl", hash = "sha256:05bf7b3ed01c8a562bb7e840f864c58acedbd6924eb616367c0bd0a760bdf483"}, + {file = "grpcio_tools-1.59.0-cp311-cp311-win_amd64.whl", hash = "sha256:df85096fcac7cea8aa5bd84b7a39c4cdbf556b93669bb4772eb96aacd3222a4e"}, + {file = "grpcio_tools-1.59.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:240a7a3c2c54f77f1f66085a635bca72003d02f56a670e7db19aec531eda8f78"}, + {file = "grpcio_tools-1.59.0-cp312-cp312-macosx_10_10_universal2.whl", hash = "sha256:6119f62c462d119c63227b9534210f0f13506a888151b9bf586f71e7edf5088b"}, + {file = "grpcio_tools-1.59.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:387662bee8e4c0b52cc0f61eaaca0ca583f5b227103f685b76083a3590a71a3e"}, + {file = "grpcio_tools-1.59.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8f0da5861ee276ca68493b217daef358960e8527cc63c7cb292ca1c9c54939af"}, + {file = "grpcio_tools-1.59.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d0f0806de1161c7f248e4c183633ee7a58dfe45c2b77ddf0136e2e7ad0650b1b"}, + {file = "grpcio_tools-1.59.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:c683be38a9bf4024c223929b4cd2f0a0858c94e9dc8b36d7eaa5a48ce9323a6f"}, + {file = "grpcio_tools-1.59.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:f965707da2b48a33128615bcfebedd215a3a30e346447e885bb3da37a143177a"}, + {file = "grpcio_tools-1.59.0-cp312-cp312-win32.whl", hash = "sha256:2ee960904dde12a7fa48e1591a5b3eeae054bdce57bacf9fd26685a98138f5bf"}, + {file = "grpcio_tools-1.59.0-cp312-cp312-win_amd64.whl", hash = "sha256:71cc6db1d66da3bc3730d9937bddc320f7b1f1dfdff6342bcb5741515fe4110b"}, + {file = "grpcio_tools-1.59.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:f6263b85261b62471cb97b7505df72d72b8b62e5e22d8184924871a6155b4dbf"}, + {file = "grpcio_tools-1.59.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:b8e95d921cc2a1521d4750eedefec9f16031457920a6677edebe9d1b2ad6ae60"}, + {file = "grpcio_tools-1.59.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:cb63055739808144b541986291679d643bae58755d0eb082157c4d4c04443905"}, + {file = "grpcio_tools-1.59.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c4634b3589efa156a8d5860c0a2547315bd5c9e52d14c960d716fe86e0927be"}, + {file = "grpcio_tools-1.59.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2d970aa26854f535ffb94ea098aa8b43de020d9a14682e4a15dcdaeac7801b27"}, + {file = "grpcio_tools-1.59.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:821dba464d84ebbcffd9d420302404db2fa7a40c7ff4c4c4c93726f72bfa2769"}, + {file = "grpcio_tools-1.59.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:0548e901894399886ff4a4cd808cb850b60c021feb4a8977a0751f14dd7e55d9"}, + {file = "grpcio_tools-1.59.0-cp37-cp37m-win_amd64.whl", hash = "sha256:bb87158dbbb9e5a79effe78d54837599caa16df52d8d35366e06a91723b587ae"}, + {file = "grpcio_tools-1.59.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:1d551ff42962c7c333c3da5c70d5e617a87dee581fa2e2c5ae2d5137c8886779"}, + {file = "grpcio_tools-1.59.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:4ee443abcd241a5befb05629013fbf2eac637faa94aaa3056351aded8a31c1bc"}, + {file = "grpcio_tools-1.59.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:520c0c83ea79d14b0679ba43e19c64ca31d30926b26ad2ca7db37cbd89c167e2"}, + {file = "grpcio_tools-1.59.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9fc02a6e517c34dcf885ff3b57260b646551083903e3d2c780b4971ce7d4ab7c"}, + {file = "grpcio_tools-1.59.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6aec8a4ed3808b7dfc1276fe51e3e24bec0eeaf610d395bcd42934647cf902a3"}, + {file = "grpcio_tools-1.59.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:99b3bde646720bbfb77f263f5ba3e1a0de50632d43c38d405a0ef9c7e94373cd"}, + {file = "grpcio_tools-1.59.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:51d9595629998d8b519126c5a610f15deb0327cd6325ed10796b47d1d292e70b"}, + {file = "grpcio_tools-1.59.0-cp38-cp38-win32.whl", hash = "sha256:bfa4b2b7d21c5634b62e5f03462243bd705adc1a21806b5356b8ce06d902e160"}, + {file = "grpcio_tools-1.59.0-cp38-cp38-win_amd64.whl", hash = "sha256:9ed05197c5ab071e91bcef28901e97ca168c4ae94510cb67a14cb4931b94255a"}, + {file = "grpcio_tools-1.59.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:498e7be0b14385980efa681444ba481349c131fc5ec88003819f5d929646947c"}, + {file = "grpcio_tools-1.59.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:b519f2ecde9a579cad2f4a7057d5bb4e040ad17caab8b5e691ed7a13b9db0be9"}, + {file = "grpcio_tools-1.59.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:ef3e8aca2261f7f07436d4e2111556c1fb9bf1f9cfcdf35262743ccdee1b6ce9"}, + {file = "grpcio_tools-1.59.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:27a7f226b741b2ebf7e2d0779d2c9b17f446d1b839d59886c1619e62cc2ae472"}, + {file = "grpcio_tools-1.59.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:784aa52965916fec5afa1a28eeee6f0073bb43a2a1d7fedf963393898843077a"}, + {file = "grpcio_tools-1.59.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:e312ddc2d8bec1a23306a661ad52734f984c9aad5d8f126ebb222a778d95407d"}, + {file = "grpcio_tools-1.59.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:868892ad9e00651a38dace3e4924bae82fc4fd4df2c65d37b74381570ee8deb1"}, + {file = "grpcio_tools-1.59.0-cp39-cp39-win32.whl", hash = "sha256:a4f6cae381f21fee1ef0a5cbbbb146680164311157ae618edf3061742d844383"}, + {file = "grpcio_tools-1.59.0-cp39-cp39-win_amd64.whl", hash = "sha256:4a10e59cca462208b489478340b52a96d64e8b8b6f1ac097f3e8cb211d3f66c0"}, ] [package.dependencies] -grpcio = ">=1.58.0" +grpcio = ">=1.59.0" protobuf = ">=4.21.6,<5.0dev" setuptools = "*" @@ -1384,13 +1428,13 @@ test = ["eth-utils (>=1.0.1,<3)", "hypothesis (>=3.44.24,<=6.31.6)", "pytest (>= [[package]] name = "identify" -version = "2.5.29" +version = "2.5.30" description = "File identification library for Python" optional = false python-versions = ">=3.8" files = [ - {file = "identify-2.5.29-py2.py3-none-any.whl", hash = "sha256:24437fbf6f4d3fe6efd0eb9d67e24dd9106db99af5ceb27996a5f7895f24bf1b"}, - {file = "identify-2.5.29.tar.gz", hash = "sha256:d43d52b86b15918c137e3a74fff5224f60385cd0e9c38e99d07c257f02f151a5"}, + {file = "identify-2.5.30-py2.py3-none-any.whl", hash = "sha256:afe67f26ae29bab007ec21b03d4114f41316ab9dd15aa8736a167481e108da54"}, + {file = "identify-2.5.30.tar.gz", hash = "sha256:f302a4256a15c849b91cfcdcec052a8ce914634b2f77ae87dad29cd749f2d88d"}, ] [package.extras] @@ -1437,13 +1481,13 @@ requirements-deprecated-finder = ["pip-api", "pipreqs"] [[package]] name = "jsonschema" -version = "4.19.0" +version = "4.19.1" description = "An implementation of JSON Schema validation for Python" optional = false python-versions = ">=3.8" files = [ - {file = "jsonschema-4.19.0-py3-none-any.whl", hash = "sha256:043dc26a3845ff09d20e4420d6012a9c91c9aa8999fa184e7efcfeccb41e32cb"}, - {file = "jsonschema-4.19.0.tar.gz", hash = "sha256:6e1e7569ac13be8139b2dd2c21a55d350066ee3f80df06c608b398cdc6f30e8f"}, + {file = "jsonschema-4.19.1-py3-none-any.whl", hash = "sha256:cd5f1f9ed9444e554b38ba003af06c0a8c2868131e56bfbef0550fb450c0330e"}, + {file = "jsonschema-4.19.1.tar.gz", hash = "sha256:ec84cc37cfa703ef7cd4928db24f9cb31428a5d0fa77747b8b51a847458e0bbf"}, ] [package.dependencies] @@ -1696,13 +1740,13 @@ setuptools = "*" [[package]] name = "packaging" -version = "23.1" +version = "23.2" description = "Core utilities for Python packages" optional = false python-versions = ">=3.7" files = [ - {file = "packaging-23.1-py3-none-any.whl", hash = "sha256:994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61"}, - {file = "packaging-23.1.tar.gz", hash = "sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f"}, + {file = "packaging-23.2-py3-none-any.whl", hash = "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"}, + {file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"}, ] [[package]] @@ -1731,13 +1775,13 @@ files = [ [[package]] name = "platformdirs" -version = "3.10.0" +version = "3.11.0" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." optional = false python-versions = ">=3.7" files = [ - {file = "platformdirs-3.10.0-py3-none-any.whl", hash = "sha256:d7c24979f292f916dc9cbf8648319032f551ea8c49a4c9bf2fb556a02070ec1d"}, - {file = "platformdirs-3.10.0.tar.gz", hash = "sha256:b45696dab2d7cc691a3226759c0d3b00c47c8b6e293d96f6436f733303f77f6d"}, + {file = "platformdirs-3.11.0-py3-none-any.whl", hash = "sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e"}, + {file = "platformdirs-3.11.0.tar.gz", hash = "sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3"}, ] [package.extras] @@ -2082,99 +2126,99 @@ rpds-py = ">=0.7.0" [[package]] name = "regex" -version = "2023.8.8" +version = "2023.10.3" description = "Alternative regular expression module, to replace re." optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" files = [ - {file = "regex-2023.8.8-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:88900f521c645f784260a8d346e12a1590f79e96403971241e64c3a265c8ecdb"}, - {file = "regex-2023.8.8-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:3611576aff55918af2697410ff0293d6071b7e00f4b09e005d614686ac4cd57c"}, - {file = "regex-2023.8.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b8a0ccc8f2698f120e9e5742f4b38dc944c38744d4bdfc427616f3a163dd9de5"}, - {file = "regex-2023.8.8-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c662a4cbdd6280ee56f841f14620787215a171c4e2d1744c9528bed8f5816c96"}, - {file = "regex-2023.8.8-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cf0633e4a1b667bfe0bb10b5e53fe0d5f34a6243ea2530eb342491f1adf4f739"}, - {file = "regex-2023.8.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:551ad543fa19e94943c5b2cebc54c73353ffff08228ee5f3376bd27b3d5b9800"}, - {file = "regex-2023.8.8-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:54de2619f5ea58474f2ac211ceea6b615af2d7e4306220d4f3fe690c91988a61"}, - {file = "regex-2023.8.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:5ec4b3f0aebbbe2fc0134ee30a791af522a92ad9f164858805a77442d7d18570"}, - {file = "regex-2023.8.8-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:3ae646c35cb9f820491760ac62c25b6d6b496757fda2d51be429e0e7b67ae0ab"}, - {file = "regex-2023.8.8-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:ca339088839582d01654e6f83a637a4b8194d0960477b9769d2ff2cfa0fa36d2"}, - {file = "regex-2023.8.8-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:d9b6627408021452dcd0d2cdf8da0534e19d93d070bfa8b6b4176f99711e7f90"}, - {file = "regex-2023.8.8-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:bd3366aceedf274f765a3a4bc95d6cd97b130d1dda524d8f25225d14123c01db"}, - {file = "regex-2023.8.8-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:7aed90a72fc3654fba9bc4b7f851571dcc368120432ad68b226bd593f3f6c0b7"}, - {file = "regex-2023.8.8-cp310-cp310-win32.whl", hash = "sha256:80b80b889cb767cc47f31d2b2f3dec2db8126fbcd0cff31b3925b4dc6609dcdb"}, - {file = "regex-2023.8.8-cp310-cp310-win_amd64.whl", hash = "sha256:b82edc98d107cbc7357da7a5a695901b47d6eb0420e587256ba3ad24b80b7d0b"}, - {file = "regex-2023.8.8-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1e7d84d64c84ad97bf06f3c8cb5e48941f135ace28f450d86af6b6512f1c9a71"}, - {file = "regex-2023.8.8-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ce0f9fbe7d295f9922c0424a3637b88c6c472b75eafeaff6f910494a1fa719ef"}, - {file = "regex-2023.8.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:06c57e14ac723b04458df5956cfb7e2d9caa6e9d353c0b4c7d5d54fcb1325c46"}, - {file = "regex-2023.8.8-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e7a9aaa5a1267125eef22cef3b63484c3241aaec6f48949b366d26c7250e0357"}, - {file = "regex-2023.8.8-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b7408511fca48a82a119d78a77c2f5eb1b22fe88b0d2450ed0756d194fe7a9a"}, - {file = "regex-2023.8.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:14dc6f2d88192a67d708341f3085df6a4f5a0c7b03dec08d763ca2cd86e9f559"}, - {file = "regex-2023.8.8-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:48c640b99213643d141550326f34f0502fedb1798adb3c9eb79650b1ecb2f177"}, - {file = "regex-2023.8.8-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0085da0f6c6393428bf0d9c08d8b1874d805bb55e17cb1dfa5ddb7cfb11140bf"}, - {file = "regex-2023.8.8-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:964b16dcc10c79a4a2be9f1273fcc2684a9eedb3906439720598029a797b46e6"}, - {file = "regex-2023.8.8-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7ce606c14bb195b0e5108544b540e2c5faed6843367e4ab3deb5c6aa5e681208"}, - {file = "regex-2023.8.8-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:40f029d73b10fac448c73d6eb33d57b34607f40116e9f6e9f0d32e9229b147d7"}, - {file = "regex-2023.8.8-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:3b8e6ea6be6d64104d8e9afc34c151926f8182f84e7ac290a93925c0db004bfd"}, - {file = "regex-2023.8.8-cp311-cp311-win32.whl", hash = "sha256:942f8b1f3b223638b02df7df79140646c03938d488fbfb771824f3d05fc083a8"}, - {file = "regex-2023.8.8-cp311-cp311-win_amd64.whl", hash = "sha256:51d8ea2a3a1a8fe4f67de21b8b93757005213e8ac3917567872f2865185fa7fb"}, - {file = "regex-2023.8.8-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:e951d1a8e9963ea51efd7f150450803e3b95db5939f994ad3d5edac2b6f6e2b4"}, - {file = "regex-2023.8.8-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:704f63b774218207b8ccc6c47fcef5340741e5d839d11d606f70af93ee78e4d4"}, - {file = "regex-2023.8.8-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:22283c769a7b01c8ac355d5be0715bf6929b6267619505e289f792b01304d898"}, - {file = "regex-2023.8.8-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:91129ff1bb0619bc1f4ad19485718cc623a2dc433dff95baadbf89405c7f6b57"}, - {file = "regex-2023.8.8-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:de35342190deb7b866ad6ba5cbcccb2d22c0487ee0cbb251efef0843d705f0d4"}, - {file = "regex-2023.8.8-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b993b6f524d1e274a5062488a43e3f9f8764ee9745ccd8e8193df743dbe5ee61"}, - {file = "regex-2023.8.8-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:3026cbcf11d79095a32d9a13bbc572a458727bd5b1ca332df4a79faecd45281c"}, - {file = "regex-2023.8.8-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:293352710172239bf579c90a9864d0df57340b6fd21272345222fb6371bf82b3"}, - {file = "regex-2023.8.8-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:d909b5a3fff619dc7e48b6b1bedc2f30ec43033ba7af32f936c10839e81b9217"}, - {file = "regex-2023.8.8-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:3d370ff652323c5307d9c8e4c62efd1956fb08051b0e9210212bc51168b4ff56"}, - {file = "regex-2023.8.8-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:b076da1ed19dc37788f6a934c60adf97bd02c7eea461b73730513921a85d4235"}, - {file = "regex-2023.8.8-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:e9941a4ada58f6218694f382e43fdd256e97615db9da135e77359da257a7168b"}, - {file = "regex-2023.8.8-cp36-cp36m-win32.whl", hash = "sha256:a8c65c17aed7e15a0c824cdc63a6b104dfc530f6fa8cb6ac51c437af52b481c7"}, - {file = "regex-2023.8.8-cp36-cp36m-win_amd64.whl", hash = "sha256:aadf28046e77a72f30dcc1ab185639e8de7f4104b8cb5c6dfa5d8ed860e57236"}, - {file = "regex-2023.8.8-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:423adfa872b4908843ac3e7a30f957f5d5282944b81ca0a3b8a7ccbbfaa06103"}, - {file = "regex-2023.8.8-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ae594c66f4a7e1ea67232a0846649a7c94c188d6c071ac0210c3e86a5f92109"}, - {file = "regex-2023.8.8-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e51c80c168074faa793685656c38eb7a06cbad7774c8cbc3ea05552d615393d8"}, - {file = "regex-2023.8.8-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:09b7f4c66aa9d1522b06e31a54f15581c37286237208df1345108fcf4e050c18"}, - {file = "regex-2023.8.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2e73e5243af12d9cd6a9d6a45a43570dbe2e5b1cdfc862f5ae2b031e44dd95a8"}, - {file = "regex-2023.8.8-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:941460db8fe3bd613db52f05259c9336f5a47ccae7d7def44cc277184030a116"}, - {file = "regex-2023.8.8-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f0ccf3e01afeb412a1a9993049cb160d0352dba635bbca7762b2dc722aa5742a"}, - {file = "regex-2023.8.8-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:2e9216e0d2cdce7dbc9be48cb3eacb962740a09b011a116fd7af8c832ab116ca"}, - {file = "regex-2023.8.8-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:5cd9cd7170459b9223c5e592ac036e0704bee765706445c353d96f2890e816c8"}, - {file = "regex-2023.8.8-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:4873ef92e03a4309b3ccd8281454801b291b689f6ad45ef8c3658b6fa761d7ac"}, - {file = "regex-2023.8.8-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:239c3c2a339d3b3ddd51c2daef10874410917cd2b998f043c13e2084cb191684"}, - {file = "regex-2023.8.8-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:1005c60ed7037be0d9dea1f9c53cc42f836188227366370867222bda4c3c6bd7"}, - {file = "regex-2023.8.8-cp37-cp37m-win32.whl", hash = "sha256:e6bd1e9b95bc5614a7a9c9c44fde9539cba1c823b43a9f7bc11266446dd568e3"}, - {file = "regex-2023.8.8-cp37-cp37m-win_amd64.whl", hash = "sha256:9a96edd79661e93327cfeac4edec72a4046e14550a1d22aa0dd2e3ca52aec921"}, - {file = "regex-2023.8.8-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:f2181c20ef18747d5f4a7ea513e09ea03bdd50884a11ce46066bb90fe4213675"}, - {file = "regex-2023.8.8-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:a2ad5add903eb7cdde2b7c64aaca405f3957ab34f16594d2b78d53b8b1a6a7d6"}, - {file = "regex-2023.8.8-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9233ac249b354c54146e392e8a451e465dd2d967fc773690811d3a8c240ac601"}, - {file = "regex-2023.8.8-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:920974009fb37b20d32afcdf0227a2e707eb83fe418713f7a8b7de038b870d0b"}, - {file = "regex-2023.8.8-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd2b6c5dfe0929b6c23dde9624483380b170b6e34ed79054ad131b20203a1a63"}, - {file = "regex-2023.8.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:96979d753b1dc3b2169003e1854dc67bfc86edf93c01e84757927f810b8c3c93"}, - {file = "regex-2023.8.8-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2ae54a338191e1356253e7883d9d19f8679b6143703086245fb14d1f20196be9"}, - {file = "regex-2023.8.8-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:2162ae2eb8b079622176a81b65d486ba50b888271302190870b8cc488587d280"}, - {file = "regex-2023.8.8-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:c884d1a59e69e03b93cf0dfee8794c63d7de0ee8f7ffb76e5f75be8131b6400a"}, - {file = "regex-2023.8.8-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:cf9273e96f3ee2ac89ffcb17627a78f78e7516b08f94dc435844ae72576a276e"}, - {file = "regex-2023.8.8-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:83215147121e15d5f3a45d99abeed9cf1fe16869d5c233b08c56cdf75f43a504"}, - {file = "regex-2023.8.8-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:3f7454aa427b8ab9101f3787eb178057c5250478e39b99540cfc2b889c7d0586"}, - {file = "regex-2023.8.8-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:f0640913d2c1044d97e30d7c41728195fc37e54d190c5385eacb52115127b882"}, - {file = "regex-2023.8.8-cp38-cp38-win32.whl", hash = "sha256:0c59122ceccb905a941fb23b087b8eafc5290bf983ebcb14d2301febcbe199c7"}, - {file = "regex-2023.8.8-cp38-cp38-win_amd64.whl", hash = "sha256:c12f6f67495ea05c3d542d119d270007090bad5b843f642d418eb601ec0fa7be"}, - {file = "regex-2023.8.8-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:82cd0a69cd28f6cc3789cc6adeb1027f79526b1ab50b1f6062bbc3a0ccb2dbc3"}, - {file = "regex-2023.8.8-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:bb34d1605f96a245fc39790a117ac1bac8de84ab7691637b26ab2c5efb8f228c"}, - {file = "regex-2023.8.8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:987b9ac04d0b38ef4f89fbc035e84a7efad9cdd5f1e29024f9289182c8d99e09"}, - {file = "regex-2023.8.8-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9dd6082f4e2aec9b6a0927202c85bc1b09dcab113f97265127c1dc20e2e32495"}, - {file = "regex-2023.8.8-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7eb95fe8222932c10d4436e7a6f7c99991e3fdd9f36c949eff16a69246dee2dc"}, - {file = "regex-2023.8.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7098c524ba9f20717a56a8d551d2ed491ea89cbf37e540759ed3b776a4f8d6eb"}, - {file = "regex-2023.8.8-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4b694430b3f00eb02c594ff5a16db30e054c1b9589a043fe9174584c6efa8033"}, - {file = "regex-2023.8.8-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:b2aeab3895d778155054abea5238d0eb9a72e9242bd4b43f42fd911ef9a13470"}, - {file = "regex-2023.8.8-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:988631b9d78b546e284478c2ec15c8a85960e262e247b35ca5eaf7ee22f6050a"}, - {file = "regex-2023.8.8-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:67ecd894e56a0c6108ec5ab1d8fa8418ec0cff45844a855966b875d1039a2e34"}, - {file = "regex-2023.8.8-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:14898830f0a0eb67cae2bbbc787c1a7d6e34ecc06fbd39d3af5fe29a4468e2c9"}, - {file = "regex-2023.8.8-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:f2200e00b62568cfd920127782c61bc1c546062a879cdc741cfcc6976668dfcf"}, - {file = "regex-2023.8.8-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:9691a549c19c22d26a4f3b948071e93517bdf86e41b81d8c6ac8a964bb71e5a6"}, - {file = "regex-2023.8.8-cp39-cp39-win32.whl", hash = "sha256:6ab2ed84bf0137927846b37e882745a827458689eb969028af8032b1b3dac78e"}, - {file = "regex-2023.8.8-cp39-cp39-win_amd64.whl", hash = "sha256:5543c055d8ec7801901e1193a51570643d6a6ab8751b1f7dd9af71af467538bb"}, - {file = "regex-2023.8.8.tar.gz", hash = "sha256:fcbdc5f2b0f1cd0f6a56cdb46fe41d2cce1e644e3b68832f3eeebc5fb0f7712e"}, + {file = "regex-2023.10.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4c34d4f73ea738223a094d8e0ffd6d2c1a1b4c175da34d6b0de3d8d69bee6bcc"}, + {file = "regex-2023.10.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a8f4e49fc3ce020f65411432183e6775f24e02dff617281094ba6ab079ef0915"}, + {file = "regex-2023.10.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4cd1bccf99d3ef1ab6ba835308ad85be040e6a11b0977ef7ea8c8005f01a3c29"}, + {file = "regex-2023.10.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:81dce2ddc9f6e8f543d94b05d56e70d03a0774d32f6cca53e978dc01e4fc75b8"}, + {file = "regex-2023.10.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9c6b4d23c04831e3ab61717a707a5d763b300213db49ca680edf8bf13ab5d91b"}, + {file = "regex-2023.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c15ad0aee158a15e17e0495e1e18741573d04eb6da06d8b84af726cfc1ed02ee"}, + {file = "regex-2023.10.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6239d4e2e0b52c8bd38c51b760cd870069f0bdf99700a62cd509d7a031749a55"}, + {file = "regex-2023.10.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:4a8bf76e3182797c6b1afa5b822d1d5802ff30284abe4599e1247be4fd6b03be"}, + {file = "regex-2023.10.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:d9c727bbcf0065cbb20f39d2b4f932f8fa1631c3e01fcedc979bd4f51fe051c5"}, + {file = "regex-2023.10.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:3ccf2716add72f80714b9a63899b67fa711b654be3fcdd34fa391d2d274ce767"}, + {file = "regex-2023.10.3-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:107ac60d1bfdc3edb53be75e2a52aff7481b92817cfdddd9b4519ccf0e54a6ff"}, + {file = "regex-2023.10.3-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:00ba3c9818e33f1fa974693fb55d24cdc8ebafcb2e4207680669d8f8d7cca79a"}, + {file = "regex-2023.10.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:f0a47efb1dbef13af9c9a54a94a0b814902e547b7f21acb29434504d18f36e3a"}, + {file = "regex-2023.10.3-cp310-cp310-win32.whl", hash = "sha256:36362386b813fa6c9146da6149a001b7bd063dabc4d49522a1f7aa65b725c7ec"}, + {file = "regex-2023.10.3-cp310-cp310-win_amd64.whl", hash = "sha256:c65a3b5330b54103e7d21cac3f6bf3900d46f6d50138d73343d9e5b2900b2353"}, + {file = "regex-2023.10.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:90a79bce019c442604662d17bf69df99090e24cdc6ad95b18b6725c2988a490e"}, + {file = "regex-2023.10.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c7964c2183c3e6cce3f497e3a9f49d182e969f2dc3aeeadfa18945ff7bdd7051"}, + {file = "regex-2023.10.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ef80829117a8061f974b2fda8ec799717242353bff55f8a29411794d635d964"}, + {file = "regex-2023.10.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5addc9d0209a9afca5fc070f93b726bf7003bd63a427f65ef797a931782e7edc"}, + {file = "regex-2023.10.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c148bec483cc4b421562b4bcedb8e28a3b84fcc8f0aa4418e10898f3c2c0eb9b"}, + {file = "regex-2023.10.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d1f21af4c1539051049796a0f50aa342f9a27cde57318f2fc41ed50b0dbc4ac"}, + {file = "regex-2023.10.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0b9ac09853b2a3e0d0082104036579809679e7715671cfbf89d83c1cb2a30f58"}, + {file = "regex-2023.10.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ebedc192abbc7fd13c5ee800e83a6df252bec691eb2c4bedc9f8b2e2903f5e2a"}, + {file = "regex-2023.10.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:d8a993c0a0ffd5f2d3bda23d0cd75e7086736f8f8268de8a82fbc4bd0ac6791e"}, + {file = "regex-2023.10.3-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:be6b7b8d42d3090b6c80793524fa66c57ad7ee3fe9722b258aec6d0672543fd0"}, + {file = "regex-2023.10.3-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4023e2efc35a30e66e938de5aef42b520c20e7eda7bb5fb12c35e5d09a4c43f6"}, + {file = "regex-2023.10.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:0d47840dc05e0ba04fe2e26f15126de7c755496d5a8aae4a08bda4dd8d646c54"}, + {file = "regex-2023.10.3-cp311-cp311-win32.whl", hash = "sha256:9145f092b5d1977ec8c0ab46e7b3381b2fd069957b9862a43bd383e5c01d18c2"}, + {file = "regex-2023.10.3-cp311-cp311-win_amd64.whl", hash = "sha256:b6104f9a46bd8743e4f738afef69b153c4b8b592d35ae46db07fc28ae3d5fb7c"}, + {file = "regex-2023.10.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:bff507ae210371d4b1fe316d03433ac099f184d570a1a611e541923f78f05037"}, + {file = "regex-2023.10.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:be5e22bbb67924dea15039c3282fa4cc6cdfbe0cbbd1c0515f9223186fc2ec5f"}, + {file = "regex-2023.10.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4a992f702c9be9c72fa46f01ca6e18d131906a7180950958f766c2aa294d4b41"}, + {file = "regex-2023.10.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7434a61b158be563c1362d9071358f8ab91b8d928728cd2882af060481244c9e"}, + {file = "regex-2023.10.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c2169b2dcabf4e608416f7f9468737583ce5f0a6e8677c4efbf795ce81109d7c"}, + {file = "regex-2023.10.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a9e908ef5889cda4de038892b9accc36d33d72fb3e12c747e2799a0e806ec841"}, + {file = "regex-2023.10.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:12bd4bc2c632742c7ce20db48e0d99afdc05e03f0b4c1af90542e05b809a03d9"}, + {file = "regex-2023.10.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:bc72c231f5449d86d6c7d9cc7cd819b6eb30134bb770b8cfdc0765e48ef9c420"}, + {file = "regex-2023.10.3-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:bce8814b076f0ce5766dc87d5a056b0e9437b8e0cd351b9a6c4e1134a7dfbda9"}, + {file = "regex-2023.10.3-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:ba7cd6dc4d585ea544c1412019921570ebd8a597fabf475acc4528210d7c4a6f"}, + {file = "regex-2023.10.3-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b0c7d2f698e83f15228ba41c135501cfe7d5740181d5903e250e47f617eb4292"}, + {file = "regex-2023.10.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:5a8f91c64f390ecee09ff793319f30a0f32492e99f5dc1c72bc361f23ccd0a9a"}, + {file = "regex-2023.10.3-cp312-cp312-win32.whl", hash = "sha256:ad08a69728ff3c79866d729b095872afe1e0557251da4abb2c5faff15a91d19a"}, + {file = "regex-2023.10.3-cp312-cp312-win_amd64.whl", hash = "sha256:39cdf8d141d6d44e8d5a12a8569d5a227f645c87df4f92179bd06e2e2705e76b"}, + {file = "regex-2023.10.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:4a3ee019a9befe84fa3e917a2dd378807e423d013377a884c1970a3c2792d293"}, + {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76066d7ff61ba6bf3cb5efe2428fc82aac91802844c022d849a1f0f53820502d"}, + {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bfe50b61bab1b1ec260fa7cd91106fa9fece57e6beba05630afe27c71259c59b"}, + {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9fd88f373cb71e6b59b7fa597e47e518282455c2734fd4306a05ca219a1991b0"}, + {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b3ab05a182c7937fb374f7e946f04fb23a0c0699c0450e9fb02ef567412d2fa3"}, + {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dac37cf08fcf2094159922edc7a2784cfcc5c70f8354469f79ed085f0328ebdf"}, + {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:e54ddd0bb8fb626aa1f9ba7b36629564544954fff9669b15da3610c22b9a0991"}, + {file = "regex-2023.10.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:3367007ad1951fde612bf65b0dffc8fd681a4ab98ac86957d16491400d661302"}, + {file = "regex-2023.10.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:16f8740eb6dbacc7113e3097b0a36065a02e37b47c936b551805d40340fb9971"}, + {file = "regex-2023.10.3-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:f4f2ca6df64cbdd27f27b34f35adb640b5d2d77264228554e68deda54456eb11"}, + {file = "regex-2023.10.3-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:39807cbcbe406efca2a233884e169d056c35aa7e9f343d4e78665246a332f597"}, + {file = "regex-2023.10.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:7eece6fbd3eae4a92d7c748ae825cbc1ee41a89bb1c3db05b5578ed3cfcfd7cb"}, + {file = "regex-2023.10.3-cp37-cp37m-win32.whl", hash = "sha256:ce615c92d90df8373d9e13acddd154152645c0dc060871abf6bd43809673d20a"}, + {file = "regex-2023.10.3-cp37-cp37m-win_amd64.whl", hash = "sha256:0f649fa32fe734c4abdfd4edbb8381c74abf5f34bc0b3271ce687b23729299ed"}, + {file = "regex-2023.10.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9b98b7681a9437262947f41c7fac567c7e1f6eddd94b0483596d320092004533"}, + {file = "regex-2023.10.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:91dc1d531f80c862441d7b66c4505cd6ea9d312f01fb2f4654f40c6fdf5cc37a"}, + {file = "regex-2023.10.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:82fcc1f1cc3ff1ab8a57ba619b149b907072e750815c5ba63e7aa2e1163384a4"}, + {file = "regex-2023.10.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7979b834ec7a33aafae34a90aad9f914c41fd6eaa8474e66953f3f6f7cbd4368"}, + {file = "regex-2023.10.3-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ef71561f82a89af6cfcbee47f0fabfdb6e63788a9258e913955d89fdd96902ab"}, + {file = "regex-2023.10.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd829712de97753367153ed84f2de752b86cd1f7a88b55a3a775eb52eafe8a94"}, + {file = "regex-2023.10.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:00e871d83a45eee2f8688d7e6849609c2ca2a04a6d48fba3dff4deef35d14f07"}, + {file = "regex-2023.10.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:706e7b739fdd17cb89e1fbf712d9dc21311fc2333f6d435eac2d4ee81985098c"}, + {file = "regex-2023.10.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:cc3f1c053b73f20c7ad88b0d1d23be7e7b3901229ce89f5000a8399746a6e039"}, + {file = "regex-2023.10.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:6f85739e80d13644b981a88f529d79c5bdf646b460ba190bffcaf6d57b2a9863"}, + {file = "regex-2023.10.3-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:741ba2f511cc9626b7561a440f87d658aabb3d6b744a86a3c025f866b4d19e7f"}, + {file = "regex-2023.10.3-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:e77c90ab5997e85901da85131fd36acd0ed2221368199b65f0d11bca44549711"}, + {file = "regex-2023.10.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:979c24cbefaf2420c4e377ecd1f165ea08cc3d1fbb44bdc51bccbbf7c66a2cb4"}, + {file = "regex-2023.10.3-cp38-cp38-win32.whl", hash = "sha256:58837f9d221744d4c92d2cf7201c6acd19623b50c643b56992cbd2b745485d3d"}, + {file = "regex-2023.10.3-cp38-cp38-win_amd64.whl", hash = "sha256:c55853684fe08d4897c37dfc5faeff70607a5f1806c8be148f1695be4a63414b"}, + {file = "regex-2023.10.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:2c54e23836650bdf2c18222c87f6f840d4943944146ca479858404fedeb9f9af"}, + {file = "regex-2023.10.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:69c0771ca5653c7d4b65203cbfc5e66db9375f1078689459fe196fe08b7b4930"}, + {file = "regex-2023.10.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6ac965a998e1388e6ff2e9781f499ad1eaa41e962a40d11c7823c9952c77123e"}, + {file = "regex-2023.10.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1c0e8fae5b27caa34177bdfa5a960c46ff2f78ee2d45c6db15ae3f64ecadde14"}, + {file = "regex-2023.10.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6c56c3d47da04f921b73ff9415fbaa939f684d47293f071aa9cbb13c94afc17d"}, + {file = "regex-2023.10.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7ef1e014eed78ab650bef9a6a9cbe50b052c0aebe553fb2881e0453717573f52"}, + {file = "regex-2023.10.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d29338556a59423d9ff7b6eb0cb89ead2b0875e08fe522f3e068b955c3e7b59b"}, + {file = "regex-2023.10.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:9c6d0ced3c06d0f183b73d3c5920727268d2201aa0fe6d55c60d68c792ff3588"}, + {file = "regex-2023.10.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:994645a46c6a740ee8ce8df7911d4aee458d9b1bc5639bc968226763d07f00fa"}, + {file = "regex-2023.10.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:66e2fe786ef28da2b28e222c89502b2af984858091675044d93cb50e6f46d7af"}, + {file = "regex-2023.10.3-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:11175910f62b2b8c055f2b089e0fedd694fe2be3941b3e2633653bc51064c528"}, + {file = "regex-2023.10.3-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:06e9abc0e4c9ab4779c74ad99c3fc10d3967d03114449acc2c2762ad4472b8ca"}, + {file = "regex-2023.10.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:fb02e4257376ae25c6dd95a5aec377f9b18c09be6ebdefa7ad209b9137b73d48"}, + {file = "regex-2023.10.3-cp39-cp39-win32.whl", hash = "sha256:3b2c3502603fab52d7619b882c25a6850b766ebd1b18de3df23b2f939360e1bd"}, + {file = "regex-2023.10.3-cp39-cp39-win_amd64.whl", hash = "sha256:adbccd17dcaff65704c856bd29951c58a1bd4b2b0f8ad6b826dbd543fe740988"}, + {file = "regex-2023.10.3.tar.gz", hash = "sha256:3fef4f844d2290ee0ba57addcec17eec9e3df73f10a2748485dfd6a3a188cc0f"}, ] [[package]] @@ -2455,17 +2499,17 @@ devenv = ["black", "check-manifest", "flake8", "pyroma", "pytest (>=4.3)", "pyte [[package]] name = "urllib3" -version = "1.26.16" +version = "1.26.17" description = "HTTP library with thread-safe connection pooling, file post, and more." optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" files = [ - {file = "urllib3-1.26.16-py2.py3-none-any.whl", hash = "sha256:8d36afa7616d8ab714608411b4a3b13e58f463aee519024578e062e141dce20f"}, - {file = "urllib3-1.26.16.tar.gz", hash = "sha256:8f135f6502756bde6b2a9b28989df5fbe87c9970cecaa69041edcce7f0589b14"}, + {file = "urllib3-1.26.17-py2.py3-none-any.whl", hash = "sha256:94a757d178c9be92ef5539b8840d48dc9cf1b2709c9d6b588232a055c524458b"}, + {file = "urllib3-1.26.17.tar.gz", hash = "sha256:24d6a242c28d29af46c3fae832c36db3bbebcc533dd1bb549172cd739c82df21"}, ] [package.extras] -brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)", "brotlipy (>=0.6.0)"] +brotli = ["brotli (==1.0.9)", "brotli (>=1.0.9)", "brotlicffi (>=0.8.0)", "brotlipy (>=0.6.0)"] secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "ipaddress", "pyOpenSSL (>=0.14)", "urllib3-secure-extra"] socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] @@ -2491,13 +2535,13 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [[package]] name = "web3" -version = "6.9.0" +version = "6.10.0" description = "web3.py" optional = false python-versions = ">=3.7.2" files = [ - {file = "web3-6.9.0-py3-none-any.whl", hash = "sha256:3bc95043ee9fc6ee0b13a4766d4975b9f7cae069db136430a3799ed18743e608"}, - {file = "web3-6.9.0.tar.gz", hash = "sha256:cb454d0180e63ba1d83143dccf7c623581ba58e222edb006f48252d8a7b948e0"}, + {file = "web3-6.10.0-py3-none-any.whl", hash = "sha256:070625a0da4f0fcac090fa95186e0b865a1bbc43efb78fd2ee805f7bf9cd8986"}, + {file = "web3-6.10.0.tar.gz", hash = "sha256:ea89f8a6ee74b74c3ff21954eafe00ec914365adb904c6c374f559bc46d4a61c"}, ] [package.dependencies] diff --git a/pyproject.toml b/pyproject.toml index 87a82423..af6e4e6c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "0.10.dev" +version = "0.10.dev1" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" From 4c5d090083159ead538fbb5df95f33ede84cb647 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 4 Oct 2023 09:43:58 -0300 Subject: [PATCH 11/83] (fix) Updated CHANGELOG file --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ced86f4..c0830a85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -## [0.10.0] - 2023-09-27 +## [0.10.0] - 2023-10-04 ### Added - New chain stream support From 87b0af7a511be773ac0c441c2885196aecd36dcf Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 6 Oct 2023 12:53:14 -0300 Subject: [PATCH 12/83] (feat) Added example for liquidable positions request. Also removed sentry nodes from network config --- .../23_LiquidablePositions.py | 30 +++++++++++++++++++ pyinjective/core/network.py | 13 +------- 2 files changed, 31 insertions(+), 12 deletions(-) create mode 100644 examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py diff --git a/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py b/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py new file mode 100644 index 00000000..e87f67b1 --- /dev/null +++ b/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py @@ -0,0 +1,30 @@ +import asyncio + +from google.protobuf import json_format + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" + skip = 10 + limit = 3 + positions = await client.get_derivative_liquidable_positions( + market_id=market_id, + skip=skip, + limit=limit, + ) + print( + json_format.MessageToJson( + message=positions, + including_default_value_fields=True, + preserving_proto_field_name=True, + ) + ) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/core/network.py b/pyinjective/core/network.py index 39c4af65..9131329a 100644 --- a/pyinjective/core/network.py +++ b/pyinjective/core/network.py @@ -244,9 +244,6 @@ def mainnet(cls, node="lb"): nodes = [ "lb", # us, asia, prod "lb_k8s", - "sentry0", # ca, prod - "sentry1", # ca, prod - "sentry3", # us, prod ] if node not in nodes: raise ValueError("Must be one of {}".format(nodes)) @@ -259,7 +256,7 @@ def mainnet(cls, node="lb"): grpc_explorer_endpoint = "sentry.explorer.grpc.injective.network:443" cookie_assistant = BareMetalLoadBalancedCookieAssistant() use_secure_connection = True - elif node == "lb_k8s": + else: lcd_endpoint = "https://k8s.global.mainnet.lcd.injective.network:443" tm_websocket_endpoint = "wss://k8s.global.mainnet.tm.injective.network:443/websocket" grpc_endpoint = "k8s.global.mainnet.chain.grpc.injective.network:443" @@ -267,14 +264,6 @@ def mainnet(cls, node="lb"): grpc_explorer_endpoint = "k8s.global.mainnet.explorer.grpc.injective.network:443" cookie_assistant = KubernetesLoadBalancedCookieAssistant() use_secure_connection = True - else: - lcd_endpoint = f"http://{node}.injective.network:10337" - tm_websocket_endpoint = f"ws://{node}.injective.network:26657/websocket" - grpc_endpoint = f"{node}.injective.network:9900" - grpc_exchange_endpoint = f"{node}.injective.network:9910" - grpc_explorer_endpoint = f"{node}.injective.network:9911" - cookie_assistant = DisabledCookieAssistant() - use_secure_connection = False return cls( lcd_endpoint=lcd_endpoint, From b70150b718784405b9585d20f99b0bad288e8e8e Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 9 Oct 2023 17:29:05 -0300 Subject: [PATCH 13/83] (feat) Updated proto files requirements from the latest injective-core dev branch --- pyinjective/proto/amino/amino_pb2.py | 6 - .../proto/capability/v1/capability_pb2.py | 1 - .../proto/capability/v1/genesis_pb2.py | 1 - .../cosmos/app/runtime/v1alpha1/module_pb2.py | 1 - .../proto/cosmos/app/v1alpha1/config_pb2.py | 1 - .../proto/cosmos/app/v1alpha1/module_pb2.py | 2 - .../proto/cosmos/app/v1alpha1/query_pb2.py | 1 - .../proto/cosmos/auth/module/v1/module_pb2.py | 1 - .../proto/cosmos/auth/v1beta1/auth_pb2.py | 1 - .../proto/cosmos/auth/v1beta1/genesis_pb2.py | 1 - .../proto/cosmos/auth/v1beta1/query_pb2.py | 1 - .../proto/cosmos/auth/v1beta1/tx_pb2.py | 1 - .../cosmos/authz/module/v1/module_pb2.py | 1 - .../proto/cosmos/authz/v1beta1/authz_pb2.py | 1 - .../proto/cosmos/authz/v1beta1/event_pb2.py | 1 - .../proto/cosmos/authz/v1beta1/genesis_pb2.py | 1 - .../proto/cosmos/authz/v1beta1/query_pb2.py | 1 - .../proto/cosmos/authz/v1beta1/tx_pb2.py | 1 - .../proto/cosmos/autocli/v1/options_pb2.py | 1 - .../proto/cosmos/autocli/v1/query_pb2.py | 1 - .../proto/cosmos/bank/module/v1/module_pb2.py | 1 - .../proto/cosmos/bank/v1beta1/authz_pb2.py | 1 - .../proto/cosmos/bank/v1beta1/bank_pb2.py | 1 - .../proto/cosmos/bank/v1beta1/genesis_pb2.py | 1 - .../proto/cosmos/bank/v1beta1/query_pb2.py | 1 - .../proto/cosmos/bank/v1beta1/tx_pb2.py | 1 - .../cosmos/base/abci/v1beta1/abci_pb2.py | 1 - .../proto/cosmos/base/kv/v1beta1/kv_pb2.py | 1 - .../cosmos/base/node/v1beta1/query_pb2.py | 1 - .../base/query/v1beta1/pagination_pb2.py | 1 - .../base/reflection/v1beta1/reflection_pb2.py | 1 - .../reflection/v2alpha1/reflection_pb2.py | 1 - .../base/snapshots/v1beta1/snapshot_pb2.py | 1 - .../base/tendermint/v1beta1/query_pb2.py | 1 - .../base/tendermint/v1beta1/types_pb2.py | 1 - .../proto/cosmos/base/v1beta1/coin_pb2.py | 1 - .../cosmos/capability/module/v1/module_pb2.py | 1 - .../capability/v1beta1/capability_pb2.py | 1 - .../cosmos/capability/v1beta1/genesis_pb2.py | 1 - .../cosmos/consensus/module/v1/module_pb2.py | 1 - .../proto/cosmos/consensus/v1/query_pb2.py | 1 - .../proto/cosmos/consensus/v1/tx_pb2.py | 1 - .../cosmos/crisis/module/v1/module_pb2.py | 1 - .../cosmos/crisis/v1beta1/genesis_pb2.py | 1 - .../proto/cosmos/crisis/v1beta1/tx_pb2.py | 1 - .../proto/cosmos/crypto/ed25519/keys_pb2.py | 1 - .../proto/cosmos/crypto/hd/v1/hd_pb2.py | 1 - .../cosmos/crypto/keyring/v1/record_pb2.py | 1 - .../proto/cosmos/crypto/multisig/keys_pb2.py | 1 - .../crypto/multisig/v1beta1/multisig_pb2.py | 1 - .../proto/cosmos/crypto/secp256k1/keys_pb2.py | 1 - .../proto/cosmos/crypto/secp256r1/keys_pb2.py | 1 - .../distribution/module/v1/module_pb2.py | 1 - .../distribution/v1beta1/distribution_pb2.py | 1 - .../distribution/v1beta1/genesis_pb2.py | 1 - .../cosmos/distribution/v1beta1/query_pb2.py | 1 - .../cosmos/distribution/v1beta1/tx_pb2.py | 1 - .../cosmos/evidence/module/v1/module_pb2.py | 1 - .../cosmos/evidence/v1beta1/evidence_pb2.py | 1 - .../cosmos/evidence/v1beta1/genesis_pb2.py | 1 - .../cosmos/evidence/v1beta1/query_pb2.py | 1 - .../proto/cosmos/evidence/v1beta1/tx_pb2.py | 1 - .../cosmos/feegrant/module/v1/module_pb2.py | 1 - .../cosmos/feegrant/v1beta1/feegrant_pb2.py | 1 - .../cosmos/feegrant/v1beta1/genesis_pb2.py | 1 - .../cosmos/feegrant/v1beta1/query_pb2.py | 1 - .../proto/cosmos/feegrant/v1beta1/tx_pb2.py | 1 - .../cosmos/genutil/module/v1/module_pb2.py | 1 - .../cosmos/genutil/v1beta1/genesis_pb2.py | 1 - .../proto/cosmos/gov/module/v1/module_pb2.py | 1 - .../proto/cosmos/gov/v1/genesis_pb2.py | 1 - pyinjective/proto/cosmos/gov/v1/gov_pb2.py | 1 - pyinjective/proto/cosmos/gov/v1/query_pb2.py | 1 - pyinjective/proto/cosmos/gov/v1/tx_pb2.py | 1 - .../proto/cosmos/gov/v1beta1/genesis_pb2.py | 1 - .../proto/cosmos/gov/v1beta1/gov_pb2.py | 1 - .../proto/cosmos/gov/v1beta1/query_pb2.py | 1 - .../proto/cosmos/gov/v1beta1/tx_pb2.py | 1 - .../cosmos/group/module/v1/module_pb2.py | 1 - .../proto/cosmos/group/v1/events_pb2.py | 1 - .../proto/cosmos/group/v1/genesis_pb2.py | 1 - .../proto/cosmos/group/v1/query_pb2.py | 1 - pyinjective/proto/cosmos/group/v1/tx_pb2.py | 1 - .../proto/cosmos/group/v1/types_pb2.py | 1 - .../proto/cosmos/ics23/v1/proofs_pb2.py | 1 - .../proto/cosmos/mint/module/v1/module_pb2.py | 1 - .../proto/cosmos/mint/v1beta1/genesis_pb2.py | 1 - .../proto/cosmos/mint/v1beta1/mint_pb2.py | 1 - .../proto/cosmos/mint/v1beta1/query_pb2.py | 1 - .../proto/cosmos/mint/v1beta1/tx_pb2.py | 1 - pyinjective/proto/cosmos/msg/v1/msg_pb2.py | 3 - .../proto/cosmos/nft/module/v1/module_pb2.py | 1 - .../proto/cosmos/nft/v1beta1/event_pb2.py | 1 - .../proto/cosmos/nft/v1beta1/genesis_pb2.py | 1 - .../proto/cosmos/nft/v1beta1/nft_pb2.py | 1 - .../proto/cosmos/nft/v1beta1/query_pb2.py | 1 - .../proto/cosmos/nft/v1beta1/tx_pb2.py | 1 - .../cosmos/orm/module/v1alpha1/module_pb2.py | 1 - .../cosmos/orm/query/v1alpha1/query_pb2.py | 1 - pyinjective/proto/cosmos/orm/v1/orm_pb2.py | 3 - .../proto/cosmos/orm/v1alpha1/schema_pb2.py | 2 - .../cosmos/params/module/v1/module_pb2.py | 1 - .../proto/cosmos/params/v1beta1/params_pb2.py | 1 - .../proto/cosmos/params/v1beta1/query_pb2.py | 1 - .../proto/cosmos/query/v1/query_pb2.py | 2 - .../cosmos/reflection/v1/reflection_pb2.py | 1 - .../cosmos/slashing/module/v1/module_pb2.py | 1 - .../cosmos/slashing/v1beta1/genesis_pb2.py | 1 - .../cosmos/slashing/v1beta1/query_pb2.py | 1 - .../cosmos/slashing/v1beta1/slashing_pb2.py | 1 - .../proto/cosmos/slashing/v1beta1/tx_pb2.py | 1 - .../cosmos/staking/module/v1/module_pb2.py | 1 - .../proto/cosmos/staking/v1beta1/authz_pb2.py | 1 - .../cosmos/staking/v1beta1/genesis_pb2.py | 1 - .../proto/cosmos/staking/v1beta1/query_pb2.py | 1 - .../cosmos/staking/v1beta1/staking_pb2.py | 1 - .../proto/cosmos/staking/v1beta1/tx_pb2.py | 1 - .../proto/cosmos/tx/config/v1/config_pb2.py | 1 - .../cosmos/tx/signing/v1beta1/signing_pb2.py | 1 - .../proto/cosmos/tx/v1beta1/service_pb2.py | 1 - pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py | 1 - .../cosmos/upgrade/module/v1/module_pb2.py | 1 - .../proto/cosmos/upgrade/v1beta1/query_pb2.py | 1 - .../proto/cosmos/upgrade/v1beta1/tx_pb2.py | 1 - .../cosmos/upgrade/v1beta1/upgrade_pb2.py | 1 - .../cosmos/vesting/module/v1/module_pb2.py | 1 - .../proto/cosmos/vesting/v1beta1/tx_pb2.py | 1 - .../cosmos/vesting/v1beta1/vesting_pb2.py | 1 - pyinjective/proto/cosmos_proto/cosmos_pb2.py | 6 - .../proto/cosmwasm/wasm/v1/authz_pb2.py | 1 - .../proto/cosmwasm/wasm/v1/genesis_pb2.py | 1 - pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py | 1 - .../proto/cosmwasm/wasm/v1/proposal_pb2.py | 150 --------- .../cosmwasm/wasm/v1/proposal_pb2_grpc.py | 4 - .../proto/cosmwasm/wasm/v1/query_pb2.py | 1 - pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 93 +++--- .../proto/cosmwasm/wasm/v1/types_pb2.py | 1 - .../proto/exchange/event_provider_api_pb2.py | 55 +--- .../exchange/event_provider_api_pb2_grpc.py | 34 --- .../exchange/injective_accounts_rpc_pb2.py | 67 ++-- .../injective_accounts_rpc_pb2_grpc.py | 18 +- .../exchange/injective_auction_rpc_pb2.py | 43 ++- .../injective_auction_rpc_pb2_grpc.py | 12 +- .../injective_derivative_exchange_rpc_pb2.py | 273 +++++++++-------- ...ective_derivative_exchange_rpc_pb2_grpc.py | 104 ++++++- .../exchange/injective_exchange_rpc_pb2.py | 1 - .../exchange/injective_explorer_rpc_pb2.py | 289 +++++++++--------- .../injective_explorer_rpc_pb2_grpc.py | 34 --- .../exchange/injective_insurance_rpc_pb2.py | 1 - .../proto/exchange/injective_meta_rpc_pb2.py | 13 +- .../exchange/injective_meta_rpc_pb2_grpc.py | 34 --- .../exchange/injective_oracle_rpc_pb2.py | 11 +- .../exchange/injective_oracle_rpc_pb2_grpc.py | 34 --- .../exchange/injective_portfolio_rpc_pb2.py | 27 +- .../injective_portfolio_rpc_pb2_grpc.py | 34 --- .../injective_spot_exchange_rpc_pb2.py | 193 ++++++------ .../injective_spot_exchange_rpc_pb2_grpc.py | 136 ++++++--- .../exchange/injective_trading_rpc_pb2.py | 35 --- .../injective_trading_rpc_pb2_grpc.py | 73 ----- pyinjective/proto/gogoproto/gogo_pb2.py | 78 ----- .../proto/google/api/annotations_pb2.py | 2 - pyinjective/proto/google/api/http_pb2.py | 1 - .../proto/ibc/applications/fee/v1/ack_pb2.py | 1 - .../proto/ibc/applications/fee/v1/fee_pb2.py | 1 - .../ibc/applications/fee/v1/genesis_pb2.py | 1 - .../ibc/applications/fee/v1/metadata_pb2.py | 1 - .../ibc/applications/fee/v1/query_pb2.py | 1 - .../proto/ibc/applications/fee/v1/tx_pb2.py | 1 - .../controller/v1/controller_pb2.py | 1 - .../controller/v1/query_pb2.py | 1 - .../controller/v1/tx_pb2.py | 1 - .../genesis/v1/genesis_pb2.py | 1 - .../interchain_accounts/host/v1/host_pb2.py | 1 - .../interchain_accounts/host/v1/query_pb2.py | 1 - .../interchain_accounts/host/v1/tx_pb2.py | 1 - .../interchain_accounts/v1/account_pb2.py | 1 - .../interchain_accounts/v1/metadata_pb2.py | 1 - .../interchain_accounts/v1/packet_pb2.py | 1 - .../ibc/applications/transfer/v1/authz_pb2.py | 1 - .../applications/transfer/v1/genesis_pb2.py | 1 - .../ibc/applications/transfer/v1/query_pb2.py | 1 - .../applications/transfer/v1/transfer_pb2.py | 1 - .../ibc/applications/transfer/v1/tx_pb2.py | 1 - .../applications/transfer/v2/packet_pb2.py | 1 - .../proto/ibc/core/channel/v1/channel_pb2.py | 1 - .../proto/ibc/core/channel/v1/genesis_pb2.py | 1 - .../proto/ibc/core/channel/v1/query_pb2.py | 1 - .../proto/ibc/core/channel/v1/tx_pb2.py | 1 - .../proto/ibc/core/client/v1/client_pb2.py | 1 - .../proto/ibc/core/client/v1/genesis_pb2.py | 1 - .../proto/ibc/core/client/v1/query_pb2.py | 1 - .../proto/ibc/core/client/v1/tx_pb2.py | 1 - .../ibc/core/commitment/v1/commitment_pb2.py | 1 - .../ibc/core/connection/v1/connection_pb2.py | 1 - .../ibc/core/connection/v1/genesis_pb2.py | 1 - .../proto/ibc/core/connection/v1/query_pb2.py | 1 - .../proto/ibc/core/connection/v1/tx_pb2.py | 1 - .../proto/ibc/core/types/v1/genesis_pb2.py | 1 - .../localhost/v2/localhost_pb2.py | 1 - .../solomachine/v2/solomachine_pb2.py | 1 - .../solomachine/v3/solomachine_pb2.py | 1 - .../tendermint/v1/tendermint_pb2.py | 1 - .../injective/auction/v1beta1/auction_pb2.py | 1 - .../injective/auction/v1beta1/genesis_pb2.py | 1 - .../injective/auction/v1beta1/query_pb2.py | 1 - .../proto/injective/auction/v1beta1/tx_pb2.py | 1 - .../crypto/v1beta1/ethsecp256k1/keys_pb2.py | 1 - .../injective/exchange/v1beta1/authz_pb2.py | 1 - .../injective/exchange/v1beta1/events_pb2.py | 1 - .../exchange/v1beta1/exchange_pb2.py | 1 - .../injective/exchange/v1beta1/genesis_pb2.py | 1 - .../injective/exchange/v1beta1/query_pb2.py | 1 - .../injective/exchange/v1beta1/tx_pb2.py | 1 - .../insurance/v1beta1/genesis_pb2.py | 1 - .../insurance/v1beta1/insurance_pb2.py | 1 - .../injective/insurance/v1beta1/query_pb2.py | 1 - .../injective/insurance/v1beta1/tx_pb2.py | 1 - .../injective/ocr/v1beta1/genesis_pb2.py | 1 - .../proto/injective/ocr/v1beta1/ocr_pb2.py | 1 - .../proto/injective/ocr/v1beta1/query_pb2.py | 1 - .../proto/injective/ocr/v1beta1/tx_pb2.py | 1 - .../injective/oracle/v1beta1/events_pb2.py | 1 - .../injective/oracle/v1beta1/genesis_pb2.py | 1 - .../injective/oracle/v1beta1/oracle_pb2.py | 1 - .../injective/oracle/v1beta1/proposal_pb2.py | 1 - .../injective/oracle/v1beta1/query_pb2.py | 1 - .../proto/injective/oracle/v1beta1/tx_pb2.py | 1 - .../injective/peggy/v1/attestation_pb2.py | 1 - .../proto/injective/peggy/v1/batch_pb2.py | 1 - .../injective/peggy/v1/ethereum_signer_pb2.py | 1 - .../proto/injective/peggy/v1/events_pb2.py | 1 - .../proto/injective/peggy/v1/genesis_pb2.py | 1 - .../proto/injective/peggy/v1/msgs_pb2.py | 1 - .../proto/injective/peggy/v1/params_pb2.py | 1 - .../proto/injective/peggy/v1/pool_pb2.py | 1 - .../proto/injective/peggy/v1/proposal_pb2.py | 1 - .../proto/injective/peggy/v1/query_pb2.py | 1 - .../proto/injective/peggy/v1/types_pb2.py | 1 - .../injective/stream/v1beta1/query_pb2.py | 1 - .../v1beta1/authorityMetadata_pb2.py | 1 - .../tokenfactory/v1beta1/events_pb2.py | 1 - .../tokenfactory/v1beta1/genesis_pb2.py | 1 - .../tokenfactory/v1beta1/params_pb2.py | 1 - .../tokenfactory/v1beta1/query_pb2.py | 1 - .../injective/tokenfactory/v1beta1/tx_pb2.py | 1 - .../injective/types/v1beta1/account_pb2.py | 1 - .../injective/types/v1beta1/tx_ext_pb2.py | 1 - .../types/v1beta1/tx_response_pb2.py | 1 - .../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 | 56 ---- .../injective/wasmx/v1/proposal_pb2_grpc.py | 4 - .../proto/injective/wasmx/v1/query_pb2.py | 51 ---- .../injective/wasmx/v1/query_pb2_grpc.py | 138 --------- .../proto/injective/wasmx/v1/tx_pb2.py | 77 ----- .../proto/injective/wasmx/v1/tx_pb2_grpc.py | 234 -------------- .../proto/injective/wasmx/v1/wasmx_pb2.py | 41 --- .../injective/wasmx/v1/wasmx_pb2_grpc.py | 4 - .../proto/tendermint/abci/types_pb2.py | 1 - .../proto/tendermint/blocksync/types_pb2.py | 1 - .../proto/tendermint/consensus/types_pb2.py | 1 - .../proto/tendermint/consensus/wal_pb2.py | 1 - .../proto/tendermint/crypto/keys_pb2.py | 1 - .../proto/tendermint/crypto/proof_pb2.py | 1 - .../proto/tendermint/libs/bits/types_pb2.py | 1 - .../proto/tendermint/mempool/types_pb2.py | 1 - pyinjective/proto/tendermint/p2p/conn_pb2.py | 1 - pyinjective/proto/tendermint/p2p/pex_pb2.py | 1 - pyinjective/proto/tendermint/p2p/types_pb2.py | 1 - .../proto/tendermint/privval/types_pb2.py | 1 - .../tendermint/services/block/v1/block_pb2.py | 1 - .../services/block/v1/block_service_pb2.py | 1 - .../block_results/v1/block_results_pb2.py | 1 - .../v1/block_results_service_pb2.py | 1 - .../services/pruning/v1/pruning_pb2.py | 1 - .../services/pruning/v1/service_pb2.py | 1 - .../services/version/v1/version_pb2.py | 1 - .../version/v1/version_service_pb2.py | 1 - .../proto/tendermint/state/types_pb2.py | 1 - .../proto/tendermint/statesync/types_pb2.py | 1 - .../proto/tendermint/store/types_pb2.py | 1 - .../proto/tendermint/types/block_pb2.py | 1 - .../proto/tendermint/types/canonical_pb2.py | 1 - .../proto/tendermint/types/events_pb2.py | 1 - .../proto/tendermint/types/evidence_pb2.py | 1 - .../proto/tendermint/types/params_pb2.py | 1 - .../proto/tendermint/types/types_pb2.py | 1 - .../proto/tendermint/types/validator_pb2.py | 1 - .../proto/tendermint/version/types_pb2.py | 1 - 291 files changed, 737 insertions(+), 2062 deletions(-) delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/proposal_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 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 diff --git a/pyinjective/proto/amino/amino_pb2.py b/pyinjective/proto/amino/amino_pb2.py index ab4184ad..7372f449 100644 --- a/pyinjective/proto/amino/amino_pb2.py +++ b/pyinjective/proto/amino/amino_pb2.py @@ -20,12 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'amino.amino_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(name) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(message_encoding) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(encoding) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(field_name) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(dont_omitempty) - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z+github.com/cosmos/cosmos-sdk/types/tx/amino' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/capability_pb2.py b/pyinjective/proto/capability/v1/capability_pb2.py index 128ef745..b6e20f5e 100644 --- a/pyinjective/proto/capability/v1/capability_pb2.py +++ b/pyinjective/proto/capability/v1/capability_pb2.py @@ -21,7 +21,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.capability_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z1github.com/cosmos/ibc-go/modules/capability/types' _CAPABILITY._options = None diff --git a/pyinjective/proto/capability/v1/genesis_pb2.py b/pyinjective/proto/capability/v1/genesis_pb2.py index 8b0b5a50..4da120e1 100644 --- a/pyinjective/proto/capability/v1/genesis_pb2.py +++ b/pyinjective/proto/capability/v1/genesis_pb2.py @@ -22,7 +22,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z1github.com/cosmos/ibc-go/modules/capability/types' _GENESISOWNERS.fields_by_name['index_owners']._options = None diff --git a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py index 5e4f4dc1..7bb522e5 100644 --- a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.runtime.v1alpha1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001=\n$github.com/cosmos/cosmos-sdk/runtime\022\025\n\023cosmos.app.v1alpha1' diff --git a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py index d4dd4e19..21aa59a7 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.config_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None _globals['_CONFIG']._serialized_start=84 _globals['_CONFIG']._serialized_end=205 diff --git a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py index e140d41a..5013c5b5 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py @@ -20,8 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(module) - DESCRIPTOR._options = None _globals['_MODULEDESCRIPTOR']._serialized_start=92 _globals['_MODULEDESCRIPTOR']._serialized_end=253 diff --git a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py index 473038eb..ae557ab7 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None _globals['_QUERYCONFIGREQUEST']._serialized_start=90 _globals['_QUERYCONFIGREQUEST']._serialized_end=110 diff --git a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py index d11ca11d..51e1d246 100644 --- a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/auth' diff --git a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py index 40d67acb..d81cbd93 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py @@ -23,7 +23,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.auth_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/auth/types' _BASEACCOUNT.fields_by_name['address']._options = None diff --git a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py index a9612c49..518fd877 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py @@ -23,7 +23,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/auth/types' _GENESISSTATE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py index 80af3e26..ee2d098f 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py @@ -26,7 +26,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/auth/types' _QUERYACCOUNTSRESPONSE.fields_by_name['accounts']._options = None diff --git a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py index b3b031a7..27a89ebd 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py @@ -24,7 +24,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/auth/types' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None diff --git a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py index 33ae40c2..ac393c8d 100644 --- a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/authz' diff --git a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py index 7c2b9f6d..acce5185 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py @@ -24,7 +24,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz\310\341\036\000' _GENERICAUTHORIZATION._options = None diff --git a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py index b0aea779..5c7bbbc9 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.event_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz' _EVENTGRANT.fields_by_name['granter']._options = None diff --git a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py index 879e7452..60e4b9d4 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py @@ -22,7 +22,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz' _GENESISSTATE.fields_by_name['authorization']._options = None diff --git a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py index 1a1aa732..2df5fbe1 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py @@ -23,7 +23,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz' _QUERYGRANTSREQUEST.fields_by_name['granter']._options = None diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py index 43fe867b..154cd8b5 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py @@ -25,7 +25,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz\310\341\036\000' _MSGGRANT.fields_by_name['granter']._options = None diff --git a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py index 68000211..78a558de 100644 --- a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py +++ b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.options_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1' _SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY._options = None diff --git a/pyinjective/proto/cosmos/autocli/v1/query_pb2.py b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py index 8519a94c..7b6300b5 100644 --- a/pyinjective/proto/cosmos/autocli/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py @@ -21,7 +21,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1' _APPOPTIONSRESPONSE_MODULEOPTIONSENTRY._options = None diff --git a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py index 57d1eb74..55e23729 100644 --- a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/bank' diff --git a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py index 79baf82d..285a34df 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py @@ -23,7 +23,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' _SENDAUTHORIZATION.fields_by_name['spend_limit']._options = None diff --git a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py index 760bfbfa..d58135e6 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py @@ -24,7 +24,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.bank_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' _PARAMS.fields_by_name['send_enabled']._options = None diff --git a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py index bafaa68e..9c910a5b 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py @@ -24,7 +24,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' _GENESISSTATE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py index f1c7d726..88dda39d 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py @@ -27,7 +27,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' _QUERYBALANCEREQUEST.fields_by_name['address']._options = None diff --git a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py index 64ec0800..3da74f42 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py @@ -25,7 +25,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' _MSGSEND.fields_by_name['from_address']._options = None diff --git a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py index 66bfb3d0..db201625 100644 --- a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py +++ b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py @@ -22,7 +22,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.abci.v1beta1.abci_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\"github.com/cosmos/cosmos-sdk/types\330\341\036\000' _TXRESPONSE.fields_by_name['txhash']._options = None diff --git a/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py b/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py index d47908b3..fea89475 100644 --- a/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py +++ b/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.kv.v1beta1.kv_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z%github.com/cosmos/cosmos-sdk/types/kv' _PAIRS.fields_by_name['pairs']._options = None diff --git a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py index a415d342..4ba613c5 100644 --- a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.node.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z-github.com/cosmos/cosmos-sdk/client/grpc/node' _SERVICE.methods_by_name['Config']._options = None diff --git a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py index f961950d..743d9091 100644 --- a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py +++ b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.query.v1beta1.pagination_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z(github.com/cosmos/cosmos-sdk/types/query' _globals['_PAGEREQUEST']._serialized_start=73 diff --git a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py index 021ea02a..e7b7b01f 100644 --- a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.reflection.v1beta1.reflection_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection' _REFLECTIONSERVICE.methods_by_name['ListAllInterfaces']._options = None diff --git a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py index e0854c3e..05586e6e 100644 --- a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.reflection.v2alpha1.reflection_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x08 \x01(\x08\x12\x0e\n\x06source\x18\t \x01(\t\x12\x0f\n\x07\x62uilder\x18\n \x01(\t\x12\x11\n\tcode_hash\x18\x0b \x01(\x0c:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\x8d\x03\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\xae\x03\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\t \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\n \x01(\x08:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xee\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x06 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xcb\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xdc\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\xe5\x01\n\x13UpdateAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12?\n\tnew_admin\x18\x03 \x01(\tB,\xf2\xde\x1f\x10yaml:\"new_admin\"\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\xa2\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xa4\x01\n\x10PinCodesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xa8\x01\n\x12UnpinCodesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x02\n\x1fUpdateInstantiateConfigProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12N\n\x15\x61\x63\x63\x65ss_config_updates\x18\x03 \x03(\x0b\x32$.cosmwasm.wasm.v1.AccessConfigUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\x98\x04\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x06 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x07 \x01(\t\x12\r\n\x05label\x18\x08 \x01(\t\x12#\n\x03msg\x18\t \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0c \x01(\t\x12\x11\n\tcode_hash\x18\r \x01(\x0c:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB4Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\330\341\036\000\250\342\036\001' - _STORECODEPROPOSAL.fields_by_name['run_as']._options = None - _STORECODEPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._options = None - _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _STORECODEPROPOSAL._options = None - _STORECODEPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['admin']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _INSTANTIATECONTRACTPROPOSAL._options = None - _INSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['run_as']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['admin']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _INSTANTIATECONTRACT2PROPOSAL._options = None - _INSTANTIATECONTRACT2PROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' - _MIGRATECONTRACTPROPOSAL.fields_by_name['contract']._options = None - _MIGRATECONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None - _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _MIGRATECONTRACTPROPOSAL._options = None - _MIGRATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' - _SUDOCONTRACTPROPOSAL.fields_by_name['contract']._options = None - _SUDOCONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._options = None - _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _SUDOCONTRACTPROPOSAL._options = None - _SUDOCONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' - _EXECUTECONTRACTPROPOSAL.fields_by_name['run_as']._options = None - _EXECUTECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _EXECUTECONTRACTPROPOSAL.fields_by_name['contract']._options = None - _EXECUTECONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _EXECUTECONTRACTPROPOSAL._options = None - _EXECUTECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' - _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._options = None - _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"\322\264-\024cosmos.AddressString' - _UPDATEADMINPROPOSAL.fields_by_name['contract']._options = None - _UPDATEADMINPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _UPDATEADMINPROPOSAL._options = None - _UPDATEADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' - _CLEARADMINPROPOSAL.fields_by_name['contract']._options = None - _CLEARADMINPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _CLEARADMINPROPOSAL._options = None - _CLEARADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' - _PINCODESPROPOSAL.fields_by_name['code_ids']._options = None - _PINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _PINCODESPROPOSAL._options = None - _PINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' - _UNPINCODESPROPOSAL.fields_by_name['code_ids']._options = None - _UNPINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _UNPINCODESPROPOSAL._options = None - _UNPINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' - _ACCESSCONFIGUPDATE.fields_by_name['code_id']._options = None - _ACCESSCONFIGUPDATE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._options = None - _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _UPDATEINSTANTIATECONFIGPROPOSAL._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _STOREANDINSTANTIATECONTRACTPROPOSAL._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' - _globals['_STORECODEPROPOSAL']._serialized_start=184 - _globals['_STORECODEPROPOSAL']._serialized_end=532 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=535 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=932 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=935 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1365 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1368 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1606 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1609 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=1812 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=1815 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=2163 - _globals['_UPDATEADMINPROPOSAL']._serialized_start=2166 - _globals['_UPDATEADMINPROPOSAL']._serialized_end=2395 - _globals['_CLEARADMINPROPOSAL']._serialized_start=2398 - _globals['_CLEARADMINPROPOSAL']._serialized_end=2560 - _globals['_PINCODESPROPOSAL']._serialized_start=2563 - _globals['_PINCODESPROPOSAL']._serialized_end=2727 - _globals['_UNPINCODESPROPOSAL']._serialized_start=2730 - _globals['_UNPINCODESPROPOSAL']._serialized_end=2898 - _globals['_ACCESSCONFIGUPDATE']._serialized_start=2900 - _globals['_ACCESSCONFIGUPDATE']._serialized_end=3024 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=3027 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3293 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=3296 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=3832 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmwasm/wasm/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/cosmwasm/wasm/v1/query_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py index eba7447c..8a69e159 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py @@ -25,7 +25,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\250\342\036\000' _QUERYCONTRACTINFOREQUEST.fields_by_name['address']._options = None diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py index 661c797e..f1663dd8 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py @@ -19,13 +19,12 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xd1\x01\n\x0cMsgStoreCode\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\xca\x02\n\x16MsgInstantiateContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"Y\n\x1eMsgInstantiateContractResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xeb\x02\n\x17MsgInstantiateContract2\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"Z\n\x1fMsgInstantiateContract2Response\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\x99\x02\n\x12MsgExecuteContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xd5\x01\n\x12MsgMigrateContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xb8\x01\n\x0eMsgUpdateAdmin\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\tnew_admin\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"\x89\x01\n\rMsgClearAdmin\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\xd8\x01\n\x1aMsgUpdateInstantiateConfig\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xb8\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xf5\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\'\n\x05\x61\x64min\x18\x06 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"a\n&MsgStoreAndInstantiateContractResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb0\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xb6\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse\"\x9e\x02\n\x1aMsgStoreAndMigrateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract\"a\n\"MsgStoreAndMigrateContractResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\xae\x01\n\x16MsgUpdateContractLabel\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x11\n\tnew_label\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgUpdateContractLabel\" \n\x1eMsgUpdateContractLabelResponse2\xd5\x0e\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponse\x12\x95\x01\n\x1fRemoveCodeUploadParamsAddresses\x12\x34.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses\x1a<.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse\x12\x8c\x01\n\x1c\x41\x64\x64\x43odeUploadParamsAddresses\x12\x31.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses\x1a\x39.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponse\x12}\n\x17StoreAndMigrateContract\x12,.cosmwasm.wasm.v1.MsgStoreAndMigrateContract\x1a\x34.cosmwasm.wasm.v1.MsgStoreAndMigrateContractResponse\x12q\n\x13UpdateContractLabel\x12(.cosmwasm.wasm.v1.MsgUpdateContractLabel\x1a\x30.cosmwasm.wasm.v1.MsgUpdateContractLabelResponse\x1a\x05\x80\xe7\xb0*\x01\x42,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xd1\x01\n\x0cMsgStoreCode\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\xca\x02\n\x16MsgInstantiateContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"Y\n\x1eMsgInstantiateContractResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xeb\x02\n\x17MsgInstantiateContract2\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"Z\n\x1fMsgInstantiateContract2Response\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\x99\x02\n\x12MsgExecuteContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xd5\x01\n\x12MsgMigrateContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xb8\x01\n\x0eMsgUpdateAdmin\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\tnew_admin\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"\x89\x01\n\rMsgClearAdmin\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xd8\x01\n\x1aMsgUpdateInstantiateConfig\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xb8\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xf5\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\'\n\x05\x61\x64min\x18\x06 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"a\n&MsgStoreAndInstantiateContractResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb0\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xb6\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse\"\x9e\x02\n\x1aMsgStoreAndMigrateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract\"a\n\"MsgStoreAndMigrateContractResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\xae\x01\n\x16MsgUpdateContractLabel\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x11\n\tnew_label\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgUpdateContractLabel\" \n\x1eMsgUpdateContractLabelResponse2\xd5\x0e\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponse\x12\x95\x01\n\x1fRemoveCodeUploadParamsAddresses\x12\x34.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses\x1a<.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse\x12\x8c\x01\n\x1c\x41\x64\x64\x43odeUploadParamsAddresses\x12\x31.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses\x1a\x39.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponse\x12}\n\x17StoreAndMigrateContract\x12,.cosmwasm.wasm.v1.MsgStoreAndMigrateContract\x1a\x34.cosmwasm.wasm.v1.MsgStoreAndMigrateContractResponse\x12q\n\x13UpdateContractLabel\x12(.cosmwasm.wasm.v1.MsgUpdateContractLabel\x1a\x30.cosmwasm.wasm.v1.MsgUpdateContractLabelResponse\x1a\x05\x80\xe7\xb0*\x01\x42,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000' _MSGSTORECODE.fields_by_name['sender']._options = None @@ -98,6 +97,10 @@ _MSGCLEARADMIN.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGCLEARADMIN._options = None _MSGCLEARADMIN._serialized_options = b'\202\347\260*\006sender\212\347\260*\022wasm/MsgClearAdmin' + _ACCESSCONFIGUPDATE.fields_by_name['code_id']._options = None + _ACCESSCONFIGUPDATE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._options = None + _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGUPDATEINSTANTIATECONFIG.fields_by_name['sender']._options = None _MSGUPDATEINSTANTIATECONFIG.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEINSTANTIATECONFIG.fields_by_name['code_id']._options = None @@ -202,46 +205,48 @@ _globals['_MSGCLEARADMIN']._serialized_end=2306 _globals['_MSGCLEARADMINRESPONSE']._serialized_start=2308 _globals['_MSGCLEARADMINRESPONSE']._serialized_end=2331 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=2334 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=2550 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=2552 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=2588 - _globals['_MSGUPDATEPARAMS']._serialized_start=2591 - _globals['_MSGUPDATEPARAMS']._serialized_end=2747 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2749 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2774 - _globals['_MSGSUDOCONTRACT']._serialized_start=2777 - _globals['_MSGSUDOCONTRACT']._serialized_end=2961 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=2963 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=3002 - _globals['_MSGPINCODES']._serialized_start=3005 - _globals['_MSGPINCODES']._serialized_end=3150 - _globals['_MSGPINCODESRESPONSE']._serialized_start=3152 - _globals['_MSGPINCODESRESPONSE']._serialized_end=3173 - _globals['_MSGUNPINCODES']._serialized_start=3176 - _globals['_MSGUNPINCODES']._serialized_end=3325 - _globals['_MSGUNPINCODESRESPONSE']._serialized_start=3327 - _globals['_MSGUNPINCODESRESPONSE']._serialized_end=3350 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=3353 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3854 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3856 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=3953 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=3956 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=4132 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4134 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4175 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=4178 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=4360 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4362 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4406 - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=4409 - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=4695 - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=4697 - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=4794 - _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=4797 - _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=4971 - _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=4973 - _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=5005 - _globals['_MSG']._serialized_start=5008 - _globals['_MSG']._serialized_end=6885 + _globals['_ACCESSCONFIGUPDATE']._serialized_start=2333 + _globals['_ACCESSCONFIGUPDATE']._serialized_end=2457 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=2460 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=2676 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=2678 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=2714 + _globals['_MSGUPDATEPARAMS']._serialized_start=2717 + _globals['_MSGUPDATEPARAMS']._serialized_end=2873 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2875 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2900 + _globals['_MSGSUDOCONTRACT']._serialized_start=2903 + _globals['_MSGSUDOCONTRACT']._serialized_end=3087 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=3089 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=3128 + _globals['_MSGPINCODES']._serialized_start=3131 + _globals['_MSGPINCODES']._serialized_end=3276 + _globals['_MSGPINCODESRESPONSE']._serialized_start=3278 + _globals['_MSGPINCODESRESPONSE']._serialized_end=3299 + _globals['_MSGUNPINCODES']._serialized_start=3302 + _globals['_MSGUNPINCODES']._serialized_end=3451 + _globals['_MSGUNPINCODESRESPONSE']._serialized_start=3453 + _globals['_MSGUNPINCODESRESPONSE']._serialized_end=3476 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=3479 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3980 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3982 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=4079 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=4082 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=4258 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4260 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4301 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=4304 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=4486 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4488 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4532 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=4535 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=4821 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=4823 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=4920 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=4923 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=5097 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=5099 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=5131 + _globals['_MSG']._serialized_start=5134 + _globals['_MSG']._serialized_end=7011 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py index e726472e..1a89982e 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py @@ -23,7 +23,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\250\342\036\001' _ACCESSTYPE._options = None diff --git a/pyinjective/proto/exchange/event_provider_api_pb2.py b/pyinjective/proto/exchange/event_provider_api_pb2.py index c0879dc4..eb857209 100644 --- a/pyinjective/proto/exchange/event_provider_api_pb2.py +++ b/pyinjective/proto/exchange/event_provider_api_pb2.py @@ -13,53 +13,30 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!exchange/event_provider_api.proto\x12\x12\x65vent_provider_api\"\x18\n\x16GetLatestHeightRequest\"o\n\x17GetLatestHeightResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x33\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32%.event_provider_api.LatestBlockHeight\"#\n\x11LatestBlockHeight\x12\x0e\n\x06height\x18\x01 \x01(\x04\";\n\x18StreamBlockEventsRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"F\n\x19StreamBlockEventsResponse\x12)\n\x06\x62locks\x18\x01 \x03(\x0b\x32\x19.event_provider_api.Block\"\x8d\x02\n\x05\x42lock\x12\x0e\n\x06height\x18\x01 \x01(\x12\x12\x0f\n\x07version\x18\x02 \x01(\t\x12.\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x1e.event_provider_api.BlockEvent\x12\x0f\n\x07in_sync\x18\x04 \x01(\x08\x12H\n\x11tx_hash_to_orders\x18\x05 \x03(\x0b\x32-.event_provider_api.Block.TxHashToOrdersEntry\x1aX\n\x13TxHashToOrdersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.event_provider_api.ArrayOfString:\x02\x38\x01\">\n\nBlockEvent\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x0f\n\x07tx_hash\x18\x03 \x01(\x0c\"\x1e\n\rArrayOfString\x12\r\n\x05\x66ield\x18\x01 \x03(\t\";\n\x18GetBlockEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"n\n\x19GetBlockEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC\"\xc5\x02\n\x0e\x42lockEventsRPC\x12\r\n\x05types\x18\x01 \x03(\t\x12\x0e\n\x06\x65vents\x18\x02 \x03(\x0c\x12\x43\n\ttx_hashes\x18\x03 \x03(\x0b\x32\x30.event_provider_api.BlockEventsRPC.TxHashesEntry\x12H\n\x0ctx_to_orders\x18\x04 \x03(\x0b\x32\x32.event_provider_api.BlockEventsRPC.TxToOrdersEntry\x1a/\n\rTxHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x11\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1aT\n\x0fTxToOrdersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.event_provider_api.ArrayOfString:\x02\x38\x01\"L\n\x19GetCustomEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\x12\x0e\n\x06\x65vents\x18\x03 \x01(\t\"o\n\x1aGetCustomEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC2\xd9\x03\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.GetCustomEventsRPCResponseB\x17Z\x15/event_provider_apipbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!exchange/event_provider_api.proto\x12\x12\x65vent_provider_api\"\x18\n\x16GetLatestHeightRequest\"i\n\x17GetLatestHeightResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x33\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32%.event_provider_api.LatestBlockHeight\"#\n\x11LatestBlockHeight\x12\x0e\n\x06height\x18\x01 \x01(\x04\";\n\x18GetBlockEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"h\n\x19GetBlockEventsRPCResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC\"/\n\x0e\x42lockEventsRPC\x12\r\n\x05types\x18\x01 \x03(\t\x12\x0e\n\x06\x65vents\x18\x02 \x03(\x0c\"L\n\x19GetCustomEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\x12\x0e\n\x06\x65vents\x18\x03 \x01(\t\"i\n\x1aGetCustomEventsRPCResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC2\xe5\x02\n\x10\x45ventProviderAPI\x12j\n\x0fGetLatestHeight\x12*.event_provider_api.GetLatestHeightRequest\x1a+.event_provider_api.GetLatestHeightResponse\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.GetCustomEventsRPCResponseB\x17Z\x15/event_provider_apipbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.event_provider_api_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\025/event_provider_apipb' - _BLOCK_TXHASHTOORDERSENTRY._options = None - _BLOCK_TXHASHTOORDERSENTRY._serialized_options = b'8\001' - _BLOCKEVENTSRPC_TXHASHESENTRY._options = None - _BLOCKEVENTSRPC_TXHASHESENTRY._serialized_options = b'8\001' - _BLOCKEVENTSRPC_TXTOORDERSENTRY._options = None - _BLOCKEVENTSRPC_TXTOORDERSENTRY._serialized_options = b'8\001' _globals['_GETLATESTHEIGHTREQUEST']._serialized_start=57 _globals['_GETLATESTHEIGHTREQUEST']._serialized_end=81 _globals['_GETLATESTHEIGHTRESPONSE']._serialized_start=83 - _globals['_GETLATESTHEIGHTRESPONSE']._serialized_end=194 - _globals['_LATESTBLOCKHEIGHT']._serialized_start=196 - _globals['_LATESTBLOCKHEIGHT']._serialized_end=231 - _globals['_STREAMBLOCKEVENTSREQUEST']._serialized_start=233 - _globals['_STREAMBLOCKEVENTSREQUEST']._serialized_end=292 - _globals['_STREAMBLOCKEVENTSRESPONSE']._serialized_start=294 - _globals['_STREAMBLOCKEVENTSRESPONSE']._serialized_end=364 - _globals['_BLOCK']._serialized_start=367 - _globals['_BLOCK']._serialized_end=636 - _globals['_BLOCK_TXHASHTOORDERSENTRY']._serialized_start=548 - _globals['_BLOCK_TXHASHTOORDERSENTRY']._serialized_end=636 - _globals['_BLOCKEVENT']._serialized_start=638 - _globals['_BLOCKEVENT']._serialized_end=700 - _globals['_ARRAYOFSTRING']._serialized_start=702 - _globals['_ARRAYOFSTRING']._serialized_end=732 - _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_start=734 - _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_end=793 - _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_start=795 - _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_end=905 - _globals['_BLOCKEVENTSRPC']._serialized_start=908 - _globals['_BLOCKEVENTSRPC']._serialized_end=1233 - _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_start=1100 - _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_end=1147 - _globals['_BLOCKEVENTSRPC_TXTOORDERSENTRY']._serialized_start=1149 - _globals['_BLOCKEVENTSRPC_TXTOORDERSENTRY']._serialized_end=1233 - _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_start=1235 - _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_end=1311 - _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_start=1313 - _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_end=1424 - _globals['_EVENTPROVIDERAPI']._serialized_start=1427 - _globals['_EVENTPROVIDERAPI']._serialized_end=1900 + _globals['_GETLATESTHEIGHTRESPONSE']._serialized_end=188 + _globals['_LATESTBLOCKHEIGHT']._serialized_start=190 + _globals['_LATESTBLOCKHEIGHT']._serialized_end=225 + _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_start=227 + _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_end=286 + _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_start=288 + _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_end=392 + _globals['_BLOCKEVENTSRPC']._serialized_start=394 + _globals['_BLOCKEVENTSRPC']._serialized_end=441 + _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_start=443 + _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_end=519 + _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_start=521 + _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_end=626 + _globals['_EVENTPROVIDERAPI']._serialized_start=629 + _globals['_EVENTPROVIDERAPI']._serialized_end=986 # @@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 index 75e5a946..01f63ec9 100644 --- a/pyinjective/proto/exchange/event_provider_api_pb2_grpc.py +++ b/pyinjective/proto/exchange/event_provider_api_pb2_grpc.py @@ -20,11 +20,6 @@ def __init__(self, channel): request_serializer=exchange_dot_event__provider__api__pb2.GetLatestHeightRequest.SerializeToString, response_deserializer=exchange_dot_event__provider__api__pb2.GetLatestHeightResponse.FromString, ) - 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, - ) self.GetBlockEventsRPC = channel.unary_unary( '/event_provider_api.EventProviderAPI/GetBlockEventsRPC', request_serializer=exchange_dot_event__provider__api__pb2.GetBlockEventsRPCRequest.SerializeToString, @@ -48,13 +43,6 @@ def GetLatestHeight(self, request, context): 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 """ @@ -77,11 +65,6 @@ def add_EventProviderAPIServicer_to_server(servicer, server): 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, @@ -120,23 +103,6 @@ def GetLatestHeight(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @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) - @staticmethod def GetBlockEventsRPC(request, target, diff --git a/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py b/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py index 2ec5ce74..c756382c 100644 --- a/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py @@ -13,13 +13,12 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_accounts_rpc.proto\x12\x16injective_accounts_rpc\"+\n\x10PortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"P\n\x11PortfolioResponse\x12;\n\tportfolio\x18\x01 \x01(\x0b\x32(.injective_accounts_rpc.AccountPortfolio\"\xb8\x01\n\x10\x41\x63\x63ountPortfolio\x12\x17\n\x0fportfolio_value\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\x12@\n\x0bsubaccounts\x18\x05 \x03(\x0b\x32+.injective_accounts_rpc.SubaccountPortfolio\"w\n\x13SubaccountPortfolio\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\"P\n\x12OrderStatesRequest\x12\x19\n\x11spot_order_hashes\x18\x01 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x02 \x03(\t\"\xa5\x01\n\x13OrderStatesResponse\x12\x43\n\x11spot_order_states\x18\x01 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\x12I\n\x17\x64\x65rivative_order_states\x18\x02 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\"\xe4\x01\n\x10OrderStateRecord\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x12\n\norder_type\x18\x04 \x01(\t\x12\x12\n\norder_side\x18\x05 \x01(\t\x12\r\n\x05state\x18\x06 \x01(\t\x12\x17\n\x0fquantity_filled\x18\x07 \x01(\t\x12\x1a\n\x12quantity_remaining\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\x12\x12\x12\n\nupdated_at\x18\n \x01(\x12\"1\n\x16SubaccountsListRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\".\n\x17SubaccountsListResponse\x12\x13\n\x0bsubaccounts\x18\x01 \x03(\t\"F\n\x1dSubaccountBalancesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"]\n\x1eSubaccountBalancesListResponse\x12;\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"\x8e\x01\n\x11SubaccountBalance\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x03 \x01(\t\x12:\n\x07\x64\x65posit\x18\x04 \x01(\x0b\x32).injective_accounts_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"H\n SubaccountBalanceEndpointRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"_\n!SubaccountBalanceEndpointResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"G\n\x1eStreamSubaccountBalanceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"p\n\x1fStreamSubaccountBalanceResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\x87\x01\n\x18SubaccountHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x16\n\x0etransfer_types\x18\x03 \x03(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\"\x91\x01\n\x19SubaccountHistoryResponse\x12\x44\n\ttransfers\x18\x01 \x03(\x0b\x32\x31.injective_accounts_rpc.SubaccountBalanceTransfer\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_accounts_rpc.Paging\"\xeb\x01\n\x19SubaccountBalanceTransfer\x12\x15\n\rtransfer_type\x18\x01 \x01(\t\x12\x19\n\x11src_subaccount_id\x18\x02 \x01(\t\x12\x1b\n\x13src_account_address\x18\x03 \x01(\t\x12\x19\n\x11\x64st_subaccount_id\x18\x04 \x01(\t\x12\x1b\n\x13\x64st_account_address\x18\x05 \x01(\t\x12\x32\n\x06\x61mount\x18\x06 \x01(\x0b\x32\".injective_accounts_rpc.CosmosCoin\x12\x13\n\x0b\x65xecuted_at\x18\x07 \x01(\x12\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"b\n\x1dSubaccountOrderSummaryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0forder_direction\x18\x03 \x01(\t\"\\\n\x1eSubaccountOrderSummaryResponse\x12\x19\n\x11spot_orders_total\x18\x01 \x01(\x12\x12\x1f\n\x17\x64\x65rivative_orders_total\x18\x02 \x01(\x12\"8\n\x0eRewardsRequest\x12\r\n\x05\x65poch\x18\x01 \x01(\x12\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"B\n\x0fRewardsResponse\x12/\n\x07rewards\x18\x01 \x03(\x0b\x32\x1e.injective_accounts_rpc.Reward\"h\n\x06Reward\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12-\n\x07rewards\x18\x02 \x03(\x0b\x32\x1c.injective_accounts_rpc.Coin\x12\x16\n\x0e\x64istributed_at\x18\x03 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xe0\x08\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.RewardsResponseB\x1bZ\x19/injective_accounts_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_accounts_rpc.proto\x12\x16injective_accounts_rpc\"+\n\x10PortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"P\n\x11PortfolioResponse\x12;\n\tportfolio\x18\x01 \x01(\x0b\x32(.injective_accounts_rpc.AccountPortfolio\"\xb8\x01\n\x10\x41\x63\x63ountPortfolio\x12\x17\n\x0fportfolio_value\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\x12@\n\x0bsubaccounts\x18\x05 \x03(\x0b\x32+.injective_accounts_rpc.SubaccountPortfolio\"w\n\x13SubaccountPortfolio\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\"P\n\x12OrderStatesRequest\x12\x19\n\x11spot_order_hashes\x18\x01 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x02 \x03(\t\"\xa5\x01\n\x13OrderStatesResponse\x12\x43\n\x11spot_order_states\x18\x01 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\x12I\n\x17\x64\x65rivative_order_states\x18\x02 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\"\xe4\x01\n\x10OrderStateRecord\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x12\n\norder_type\x18\x04 \x01(\t\x12\x12\n\norder_side\x18\x05 \x01(\t\x12\r\n\x05state\x18\x06 \x01(\t\x12\x17\n\x0fquantity_filled\x18\x07 \x01(\t\x12\x1a\n\x12quantity_remaining\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\x12\x12\x12\n\nupdated_at\x18\n \x01(\x12\"1\n\x16SubaccountsListRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\".\n\x17SubaccountsListResponse\x12\x13\n\x0bsubaccounts\x18\x01 \x03(\t\"F\n\x1dSubaccountBalancesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"]\n\x1eSubaccountBalancesListResponse\x12;\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"\x8e\x01\n\x11SubaccountBalance\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x03 \x01(\t\x12:\n\x07\x64\x65posit\x18\x04 \x01(\x0b\x32).injective_accounts_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"@\n\x18SubaccountBalanceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"W\n\x19SubaccountBalanceResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"G\n\x1eStreamSubaccountBalanceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"p\n\x1fStreamSubaccountBalanceResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\x87\x01\n\x18SubaccountHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x16\n\x0etransfer_types\x18\x03 \x03(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\"\x91\x01\n\x19SubaccountHistoryResponse\x12\x44\n\ttransfers\x18\x01 \x03(\x0b\x32\x31.injective_accounts_rpc.SubaccountBalanceTransfer\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_accounts_rpc.Paging\"\xeb\x01\n\x19SubaccountBalanceTransfer\x12\x15\n\rtransfer_type\x18\x01 \x01(\t\x12\x19\n\x11src_subaccount_id\x18\x02 \x01(\t\x12\x1b\n\x13src_account_address\x18\x03 \x01(\t\x12\x19\n\x11\x64st_subaccount_id\x18\x04 \x01(\t\x12\x1b\n\x13\x64st_account_address\x18\x05 \x01(\t\x12\x32\n\x06\x61mount\x18\x06 \x01(\x0b\x32\".injective_accounts_rpc.CosmosCoin\x12\x13\n\x0b\x65xecuted_at\x18\x07 \x01(\x12\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"b\n\x1dSubaccountOrderSummaryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0forder_direction\x18\x03 \x01(\t\"\\\n\x1eSubaccountOrderSummaryResponse\x12\x19\n\x11spot_orders_total\x18\x01 \x01(\x12\x12\x1f\n\x17\x64\x65rivative_orders_total\x18\x02 \x01(\x12\"8\n\x0eRewardsRequest\x12\r\n\x05\x65poch\x18\x01 \x01(\x12\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"B\n\x0fRewardsResponse\x12/\n\x07rewards\x18\x01 \x03(\x0b\x32\x1e.injective_accounts_rpc.Reward\"h\n\x06Reward\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12-\n\x07rewards\x18\x02 \x03(\x0b\x32\x1c.injective_accounts_rpc.Coin\x12\x16\n\x0e\x64istributed_at\x18\x03 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xd0\x08\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\x80\x01\n\x19SubaccountBalanceEndpoint\x12\x30.injective_accounts_rpc.SubaccountBalanceRequest\x1a\x31.injective_accounts_rpc.SubaccountBalanceResponse\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.RewardsResponseB\x1bZ\x19/injective_accounts_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_accounts_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\031/injective_accounts_rpcpb' _globals['_PORTFOLIOREQUEST']._serialized_start=65 @@ -48,36 +47,36 @@ _globals['_SUBACCOUNTBALANCE']._serialized_end=1390 _globals['_SUBACCOUNTDEPOSIT']._serialized_start=1392 _globals['_SUBACCOUNTDEPOSIT']._serialized_end=1461 - _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_start=1463 - _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_end=1535 - _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_start=1537 - _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_end=1632 - _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_start=1634 - _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_end=1705 - _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_start=1707 - _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_end=1819 - _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_start=1822 - _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_end=1957 - _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_start=1960 - _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_end=2105 - _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_start=2108 - _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_end=2343 - _globals['_COSMOSCOIN']._serialized_start=2345 - _globals['_COSMOSCOIN']._serialized_end=2388 - _globals['_PAGING']._serialized_start=2390 - _globals['_PAGING']._serialized_end=2482 - _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_start=2484 - _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_end=2582 - _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_start=2584 - _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_end=2676 - _globals['_REWARDSREQUEST']._serialized_start=2678 - _globals['_REWARDSREQUEST']._serialized_end=2734 - _globals['_REWARDSRESPONSE']._serialized_start=2736 - _globals['_REWARDSRESPONSE']._serialized_end=2802 - _globals['_REWARD']._serialized_start=2804 - _globals['_REWARD']._serialized_end=2908 - _globals['_COIN']._serialized_start=2910 - _globals['_COIN']._serialized_end=2947 - _globals['_INJECTIVEACCOUNTSRPC']._serialized_start=2950 - _globals['_INJECTIVEACCOUNTSRPC']._serialized_end=4070 + _globals['_SUBACCOUNTBALANCEREQUEST']._serialized_start=1463 + _globals['_SUBACCOUNTBALANCEREQUEST']._serialized_end=1527 + _globals['_SUBACCOUNTBALANCERESPONSE']._serialized_start=1529 + _globals['_SUBACCOUNTBALANCERESPONSE']._serialized_end=1616 + _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_start=1618 + _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_end=1689 + _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_start=1691 + _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_end=1803 + _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_start=1806 + _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_end=1941 + _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_start=1944 + _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_end=2089 + _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_start=2092 + _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_end=2327 + _globals['_COSMOSCOIN']._serialized_start=2329 + _globals['_COSMOSCOIN']._serialized_end=2372 + _globals['_PAGING']._serialized_start=2374 + _globals['_PAGING']._serialized_end=2452 + _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_start=2454 + _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_end=2552 + _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_start=2554 + _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_end=2646 + _globals['_REWARDSREQUEST']._serialized_start=2648 + _globals['_REWARDSREQUEST']._serialized_end=2704 + _globals['_REWARDSRESPONSE']._serialized_start=2706 + _globals['_REWARDSRESPONSE']._serialized_end=2772 + _globals['_REWARD']._serialized_start=2774 + _globals['_REWARD']._serialized_end=2878 + _globals['_COIN']._serialized_start=2880 + _globals['_COIN']._serialized_end=2917 + _globals['_INJECTIVEACCOUNTSRPC']._serialized_start=2920 + _globals['_INJECTIVEACCOUNTSRPC']._serialized_end=4024 # @@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 index 7c74ed6f..dd72a511 100644 --- a/pyinjective/proto/exchange/injective_accounts_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_accounts_rpc_pb2_grpc.py @@ -6,7 +6,7 @@ class InjectiveAccountsRPCStub(object): - """InjectiveAccountsRPC defines API of Exchange Accounts provider. + """InjectiveAccountsRPC defines gRPC API of Exchange Accounts provider. """ def __init__(self, channel): @@ -37,8 +37,8 @@ def __init__(self, channel): ) 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, + request_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceRequest.SerializeToString, + response_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceResponse.FromString, ) self.StreamSubaccountBalance = channel.unary_stream( '/injective_accounts_rpc.InjectiveAccountsRPC/StreamSubaccountBalance', @@ -63,7 +63,7 @@ def __init__(self, channel): class InjectiveAccountsRPCServicer(object): - """InjectiveAccountsRPC defines API of Exchange Accounts provider. + """InjectiveAccountsRPC defines gRPC API of Exchange Accounts provider. """ def Portfolio(self, request, context): @@ -156,8 +156,8 @@ def add_InjectiveAccountsRPCServicer_to_server(servicer, server): ), '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, + request_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceRequest.FromString, + response_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceResponse.SerializeToString, ), 'StreamSubaccountBalance': grpc.unary_stream_rpc_method_handler( servicer.StreamSubaccountBalance, @@ -187,7 +187,7 @@ def add_InjectiveAccountsRPCServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class InjectiveAccountsRPC(object): - """InjectiveAccountsRPC defines API of Exchange Accounts provider. + """InjectiveAccountsRPC defines gRPC API of Exchange Accounts provider. """ @staticmethod @@ -270,8 +270,8 @@ def SubaccountBalanceEndpoint(request, 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, + exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceRequest.SerializeToString, + exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/exchange/injective_auction_rpc_pb2.py b/pyinjective/proto/exchange/injective_auction_rpc_pb2.py index 6b89271a..c77b5803 100644 --- a/pyinjective/proto/exchange/injective_auction_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_auction_rpc_pb2.py @@ -13,33 +13,32 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_auction_rpc.proto\x12\x15injective_auction_rpc\"\'\n\x16\x41uctionEndpointRequest\x12\r\n\x05round\x18\x01 \x01(\x12\"t\n\x17\x41uctionEndpointResponse\x12/\n\x07\x61uction\x18\x01 \x01(\x0b\x32\x1e.injective_auction_rpc.Auction\x12(\n\x04\x62ids\x18\x02 \x03(\x0b\x32\x1a.injective_auction_rpc.Bid\"\x9c\x01\n\x07\x41uction\x12\x0e\n\x06winner\x18\x01 \x01(\t\x12+\n\x06\x62\x61sket\x18\x02 \x03(\x0b\x32\x1b.injective_auction_rpc.Coin\x12\x1a\n\x12winning_bid_amount\x18\x03 \x01(\t\x12\r\n\x05round\x18\x04 \x01(\x04\x12\x15\n\rend_timestamp\x18\x05 \x01(\x12\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"8\n\x03\x42id\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x11\n\x0f\x41uctionsRequest\"D\n\x10\x41uctionsResponse\x12\x30\n\x08\x61uctions\x18\x01 \x03(\x0b\x32\x1e.injective_auction_rpc.Auction\"\x13\n\x11StreamBidsRequest\"Z\n\x12StreamBidsResponse\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12\x12\n\nbid_amount\x18\x02 \x01(\t\x12\r\n\x05round\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\x32\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\x1aZ\x18/injective_auction_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_auction_rpc.proto\x12\x15injective_auction_rpc\"\x1f\n\x0e\x41uctionRequest\x12\r\n\x05round\x18\x01 \x01(\x12\"l\n\x0f\x41uctionResponse\x12/\n\x07\x61uction\x18\x01 \x01(\x0b\x32\x1e.injective_auction_rpc.Auction\x12(\n\x04\x62ids\x18\x02 \x03(\x0b\x32\x1a.injective_auction_rpc.Bid\"\x9c\x01\n\x07\x41uction\x12\x0e\n\x06winner\x18\x01 \x01(\t\x12+\n\x06\x62\x61sket\x18\x02 \x03(\x0b\x32\x1b.injective_auction_rpc.Coin\x12\x1a\n\x12winning_bid_amount\x18\x03 \x01(\t\x12\r\n\x05round\x18\x04 \x01(\x04\x12\x15\n\rend_timestamp\x18\x05 \x01(\x12\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"8\n\x03\x42id\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x11\n\x0f\x41uctionsRequest\"D\n\x10\x41uctionsResponse\x12\x30\n\x08\x61uctions\x18\x01 \x03(\x0b\x32\x1e.injective_auction_rpc.Auction\"\x13\n\x11StreamBidsRequest\"Z\n\x12StreamBidsResponse\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12\x12\n\nbid_amount\x18\x02 \x01(\t\x12\r\n\x05round\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\x32\xb9\x02\n\x13InjectiveAuctionRPC\x12`\n\x0f\x41uctionEndpoint\x12%.injective_auction_rpc.AuctionRequest\x1a&.injective_auction_rpc.AuctionResponse\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\x1aZ\x18/injective_auction_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_auction_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\030/injective_auction_rpcpb' - _globals['_AUCTIONENDPOINTREQUEST']._serialized_start=63 - _globals['_AUCTIONENDPOINTREQUEST']._serialized_end=102 - _globals['_AUCTIONENDPOINTRESPONSE']._serialized_start=104 - _globals['_AUCTIONENDPOINTRESPONSE']._serialized_end=220 - _globals['_AUCTION']._serialized_start=223 - _globals['_AUCTION']._serialized_end=379 - _globals['_COIN']._serialized_start=381 - _globals['_COIN']._serialized_end=418 - _globals['_BID']._serialized_start=420 - _globals['_BID']._serialized_end=476 - _globals['_AUCTIONSREQUEST']._serialized_start=478 - _globals['_AUCTIONSREQUEST']._serialized_end=495 - _globals['_AUCTIONSRESPONSE']._serialized_start=497 - _globals['_AUCTIONSRESPONSE']._serialized_end=565 - _globals['_STREAMBIDSREQUEST']._serialized_start=567 - _globals['_STREAMBIDSREQUEST']._serialized_end=586 - _globals['_STREAMBIDSRESPONSE']._serialized_start=588 - _globals['_STREAMBIDSRESPONSE']._serialized_end=678 - _globals['_INJECTIVEAUCTIONRPC']._serialized_start=681 - _globals['_INJECTIVEAUCTIONRPC']._serialized_end=1010 + _globals['_AUCTIONREQUEST']._serialized_start=63 + _globals['_AUCTIONREQUEST']._serialized_end=94 + _globals['_AUCTIONRESPONSE']._serialized_start=96 + _globals['_AUCTIONRESPONSE']._serialized_end=204 + _globals['_AUCTION']._serialized_start=207 + _globals['_AUCTION']._serialized_end=363 + _globals['_COIN']._serialized_start=365 + _globals['_COIN']._serialized_end=402 + _globals['_BID']._serialized_start=404 + _globals['_BID']._serialized_end=460 + _globals['_AUCTIONSREQUEST']._serialized_start=462 + _globals['_AUCTIONSREQUEST']._serialized_end=479 + _globals['_AUCTIONSRESPONSE']._serialized_start=481 + _globals['_AUCTIONSRESPONSE']._serialized_end=549 + _globals['_STREAMBIDSREQUEST']._serialized_start=551 + _globals['_STREAMBIDSREQUEST']._serialized_end=570 + _globals['_STREAMBIDSRESPONSE']._serialized_start=572 + _globals['_STREAMBIDSRESPONSE']._serialized_end=662 + _globals['_INJECTIVEAUCTIONRPC']._serialized_start=665 + _globals['_INJECTIVEAUCTIONRPC']._serialized_end=978 # @@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 index b1ca37e3..72308a06 100644 --- a/pyinjective/proto/exchange/injective_auction_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_auction_rpc_pb2_grpc.py @@ -17,8 +17,8 @@ def __init__(self, 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, + request_serializer=exchange_dot_injective__auction__rpc__pb2.AuctionRequest.SerializeToString, + response_deserializer=exchange_dot_injective__auction__rpc__pb2.AuctionResponse.FromString, ) self.Auctions = channel.unary_unary( '/injective_auction_rpc.InjectiveAuctionRPC/Auctions', @@ -62,8 +62,8 @@ 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, + request_deserializer=exchange_dot_injective__auction__rpc__pb2.AuctionRequest.FromString, + response_serializer=exchange_dot_injective__auction__rpc__pb2.AuctionResponse.SerializeToString, ), 'Auctions': grpc.unary_unary_rpc_method_handler( servicer.Auctions, @@ -98,8 +98,8 @@ def AuctionEndpoint(request, 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, + exchange_dot_injective__auction__rpc__pb2.AuctionRequest.SerializeToString, + exchange_dot_injective__auction__rpc__pb2.AuctionResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py index c5f6caf2..37a3554a 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py @@ -13,141 +13,156 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\x9d\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcb\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xa3\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xc2\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xc2\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xb0\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\x17\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"<\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"%\n\x10OrderbookRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"c\n\x11OrderbookResponse\x12N\n\torderbook\x18\x01 \x01(\x0b\x32;.injective_derivative_exchange_rpc.DerivativeLimitOrderbook\"\x95\x01\n\x18\x44\x65rivativeLimitOrderbook\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xa9\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"\'\n\x11OrderbooksRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"k\n\x12OrderbooksResponse\x12U\n\norderbooks\x18\x01 \x03(\x0b\x32\x41.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbook\"\x83\x01\n\x1eSingleDerivativeLimitOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12N\n\torderbook\x18\x02 \x01(\x0b\x32;.injective_derivative_exchange_rpc.DerivativeLimitOrderbook\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\",\n\x16StreamOrderbookRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xa7\x01\n\x17StreamOrderbookResponse\x12N\n\torderbook\x18\x01 \x01(\x0b\x32;.injective_derivative_exchange_rpc.DerivativeLimitOrderbook\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\x8b\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xba\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\x91\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xec\x01\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xc2\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\xf2\x01\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xff\x01\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x9f\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\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\x12v\n\tOrderbook\x12\x33.injective_derivative_exchange_rpc.OrderbookRequest\x1a\x34.injective_derivative_exchange_rpc.OrderbookResponse\x12|\n\x0bOrderbookV2\x12\x35.injective_derivative_exchange_rpc.OrderbookV2Request\x1a\x36.injective_derivative_exchange_rpc.OrderbookV2Response\x12y\n\nOrderbooks\x12\x34.injective_derivative_exchange_rpc.OrderbooksRequest\x1a\x35.injective_derivative_exchange_rpc.OrderbooksResponse\x12\x7f\n\x0cOrderbooksV2\x12\x36.injective_derivative_exchange_rpc.OrderbooksV2Request\x1a\x37.injective_derivative_exchange_rpc.OrderbooksV2Response\x12\x8a\x01\n\x0fStreamOrderbook\x12\x39.injective_derivative_exchange_rpc.StreamOrderbookRequest\x1a:.injective_derivative_exchange_rpc.StreamOrderbookResponse0\x01\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_derivative_exchange_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$/injective_derivative_exchange_rpcpb' _globals['_MARKETSREQUEST']._serialized_start=87 - _globals['_MARKETSREQUEST']._serialized_end=172 - _globals['_MARKETSRESPONSE']._serialized_start=174 - _globals['_MARKETSRESPONSE']._serialized_end=265 - _globals['_DERIVATIVEMARKETINFO']._serialized_start=268 - _globals['_DERIVATIVEMARKETINFO']._serialized_end=1035 - _globals['_TOKENMETA']._serialized_start=1037 - _globals['_TOKENMETA']._serialized_end=1147 - _globals['_PERPETUALMARKETINFO']._serialized_start=1150 - _globals['_PERPETUALMARKETINFO']._serialized_end=1292 - _globals['_PERPETUALMARKETFUNDING']._serialized_start=1294 - _globals['_PERPETUALMARKETFUNDING']._serialized_end=1396 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=1398 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=1479 - _globals['_MARKETREQUEST']._serialized_start=1481 - _globals['_MARKETREQUEST']._serialized_end=1515 - _globals['_MARKETRESPONSE']._serialized_start=1517 - _globals['_MARKETRESPONSE']._serialized_end=1606 - _globals['_STREAMMARKETREQUEST']._serialized_start=1608 - _globals['_STREAMMARKETREQUEST']._serialized_end=1649 - _globals['_STREAMMARKETRESPONSE']._serialized_start=1652 - _globals['_STREAMMARKETRESPONSE']._serialized_end=1790 - _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_start=1792 - _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_end=1894 - _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_start=1897 - _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_end=2063 - _globals['_BINARYOPTIONSMARKETINFO']._serialized_start=2066 - _globals['_BINARYOPTIONSMARKETINFO']._serialized_end=2565 - _globals['_PAGING']._serialized_start=2567 - _globals['_PAGING']._serialized_end=2659 - _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_start=2661 - _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_end=2708 - _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_start=2710 - _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_end=2815 - _globals['_ORDERBOOKV2REQUEST']._serialized_start=2817 - _globals['_ORDERBOOKV2REQUEST']._serialized_end=2856 - _globals['_ORDERBOOKV2RESPONSE']._serialized_start=2858 - _globals['_ORDERBOOKV2RESPONSE']._serialized_end=2961 - _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_start=2964 - _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_end=3152 - _globals['_PRICELEVEL']._serialized_start=3154 - _globals['_PRICELEVEL']._serialized_end=3218 - _globals['_ORDERBOOKSV2REQUEST']._serialized_start=3220 - _globals['_ORDERBOOKSV2REQUEST']._serialized_end=3261 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=3263 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=3374 - _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_start=3377 - _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_end=3512 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=3514 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=3560 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=3563 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=3734 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=3736 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=3786 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=3789 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=3973 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=3976 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=4191 - _globals['_PRICELEVELUPDATE']._serialized_start=4193 - _globals['_PRICELEVELUPDATE']._serialized_end=4282 - _globals['_ORDERSREQUEST']._serialized_start=4285 - _globals['_ORDERSREQUEST']._serialized_end=4570 - _globals['_ORDERSRESPONSE']._serialized_start=4573 - _globals['_ORDERSRESPONSE']._serialized_end=4721 - _globals['_DERIVATIVELIMITORDER']._serialized_start=4724 - _globals['_DERIVATIVELIMITORDER']._serialized_end=5183 - _globals['_POSITIONSREQUEST']._serialized_start=5186 - _globals['_POSITIONSREQUEST']._serialized_end=5388 - _globals['_POSITIONSRESPONSE']._serialized_start=5391 - _globals['_POSITIONSRESPONSE']._serialized_end=5543 - _globals['_DERIVATIVEPOSITION']._serialized_start=5546 - _globals['_DERIVATIVEPOSITION']._serialized_end=5825 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=5827 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=5903 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=5905 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6008 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6011 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6144 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6147 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6300 - _globals['_FUNDINGPAYMENT']._serialized_start=6302 - _globals['_FUNDINGPAYMENT']._serialized_end=6395 - _globals['_FUNDINGRATESREQUEST']._serialized_start=6397 - _globals['_FUNDINGRATESREQUEST']._serialized_end=6484 - _globals['_FUNDINGRATESRESPONSE']._serialized_start=6487 - _globals['_FUNDINGRATESRESPONSE']._serialized_end=6639 - _globals['_FUNDINGRATE']._serialized_start=6641 - _globals['_FUNDINGRATE']._serialized_end=6706 - _globals['_STREAMPOSITIONSREQUEST']._serialized_start=6708 - _globals['_STREAMPOSITIONSREQUEST']._serialized_end=6818 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=6820 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=6937 - _globals['_STREAMORDERSREQUEST']._serialized_start=6940 - _globals['_STREAMORDERSREQUEST']._serialized_end=7231 - _globals['_STREAMORDERSRESPONSE']._serialized_start=7234 - _globals['_STREAMORDERSRESPONSE']._serialized_end=7371 - _globals['_TRADESREQUEST']._serialized_start=7374 - _globals['_TRADESREQUEST']._serialized_end=7653 - _globals['_TRADESRESPONSE']._serialized_start=7656 - _globals['_TRADESRESPONSE']._serialized_end=7799 - _globals['_DERIVATIVETRADE']._serialized_start=7802 - _globals['_DERIVATIVETRADE']._serialized_end=8124 - _globals['_POSITIONDELTA']._serialized_start=8126 - _globals['_POSITIONDELTA']._serialized_end=8245 - _globals['_STREAMTRADESREQUEST']._serialized_start=8248 - _globals['_STREAMTRADESREQUEST']._serialized_end=8533 - _globals['_STREAMTRADESRESPONSE']._serialized_start=8536 - _globals['_STREAMTRADESRESPONSE']._serialized_end=8668 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=8670 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=8770 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=8773 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=8935 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=8938 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9081 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9083 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9181 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=9184 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=9506 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=9509 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=9666 - _globals['_DERIVATIVEORDERHISTORY']._serialized_start=9669 - _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10101 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10104 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10254 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10257 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10403 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10406 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=13421 + _globals['_MARKETSREQUEST']._serialized_end=147 + _globals['_MARKETSRESPONSE']._serialized_start=149 + _globals['_MARKETSRESPONSE']._serialized_end=240 + _globals['_DERIVATIVEMARKETINFO']._serialized_start=243 + _globals['_DERIVATIVEMARKETINFO']._serialized_end=1010 + _globals['_TOKENMETA']._serialized_start=1012 + _globals['_TOKENMETA']._serialized_end=1122 + _globals['_PERPETUALMARKETINFO']._serialized_start=1125 + _globals['_PERPETUALMARKETINFO']._serialized_end=1267 + _globals['_PERPETUALMARKETFUNDING']._serialized_start=1269 + _globals['_PERPETUALMARKETFUNDING']._serialized_end=1371 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=1373 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=1454 + _globals['_MARKETREQUEST']._serialized_start=1456 + _globals['_MARKETREQUEST']._serialized_end=1490 + _globals['_MARKETRESPONSE']._serialized_start=1492 + _globals['_MARKETRESPONSE']._serialized_end=1581 + _globals['_STREAMMARKETREQUEST']._serialized_start=1583 + _globals['_STREAMMARKETREQUEST']._serialized_end=1624 + _globals['_STREAMMARKETRESPONSE']._serialized_start=1627 + _globals['_STREAMMARKETRESPONSE']._serialized_end=1765 + _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_start=1767 + _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_end=1869 + _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_start=1872 + _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_end=2038 + _globals['_BINARYOPTIONSMARKETINFO']._serialized_start=2041 + _globals['_BINARYOPTIONSMARKETINFO']._serialized_end=2540 + _globals['_PAGING']._serialized_start=2542 + _globals['_PAGING']._serialized_end=2620 + _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_start=2622 + _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_end=2669 + _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_start=2671 + _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_end=2776 + _globals['_ORDERBOOKREQUEST']._serialized_start=2778 + _globals['_ORDERBOOKREQUEST']._serialized_end=2815 + _globals['_ORDERBOOKRESPONSE']._serialized_start=2817 + _globals['_ORDERBOOKRESPONSE']._serialized_end=2916 + _globals['_DERIVATIVELIMITORDERBOOK']._serialized_start=2919 + _globals['_DERIVATIVELIMITORDERBOOK']._serialized_end=3068 + _globals['_PRICELEVEL']._serialized_start=3070 + _globals['_PRICELEVEL']._serialized_end=3134 + _globals['_ORDERBOOKV2REQUEST']._serialized_start=3136 + _globals['_ORDERBOOKV2REQUEST']._serialized_end=3175 + _globals['_ORDERBOOKV2RESPONSE']._serialized_start=3177 + _globals['_ORDERBOOKV2RESPONSE']._serialized_end=3280 + _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_start=3283 + _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_end=3452 + _globals['_ORDERBOOKSREQUEST']._serialized_start=3454 + _globals['_ORDERBOOKSREQUEST']._serialized_end=3493 + _globals['_ORDERBOOKSRESPONSE']._serialized_start=3495 + _globals['_ORDERBOOKSRESPONSE']._serialized_end=3602 + _globals['_SINGLEDERIVATIVELIMITORDERBOOK']._serialized_start=3605 + _globals['_SINGLEDERIVATIVELIMITORDERBOOK']._serialized_end=3736 + _globals['_ORDERBOOKSV2REQUEST']._serialized_start=3738 + _globals['_ORDERBOOKSV2REQUEST']._serialized_end=3779 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=3781 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=3892 + _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_start=3895 + _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_end=4030 + _globals['_STREAMORDERBOOKREQUEST']._serialized_start=4032 + _globals['_STREAMORDERBOOKREQUEST']._serialized_end=4076 + _globals['_STREAMORDERBOOKRESPONSE']._serialized_start=4079 + _globals['_STREAMORDERBOOKRESPONSE']._serialized_end=4246 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=4248 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=4294 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=4297 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=4468 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=4470 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=4520 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=4523 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=4707 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=4710 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=4925 + _globals['_PRICELEVELUPDATE']._serialized_start=4927 + _globals['_PRICELEVELUPDATE']._serialized_end=5016 + _globals['_ORDERSREQUEST']._serialized_start=5019 + _globals['_ORDERSREQUEST']._serialized_end=5286 + _globals['_ORDERSRESPONSE']._serialized_start=5289 + _globals['_ORDERSRESPONSE']._serialized_end=5437 + _globals['_DERIVATIVELIMITORDER']._serialized_start=5440 + _globals['_DERIVATIVELIMITORDER']._serialized_end=5882 + _globals['_POSITIONSREQUEST']._serialized_start=5885 + _globals['_POSITIONSREQUEST']._serialized_end=6087 + _globals['_POSITIONSRESPONSE']._serialized_start=6090 + _globals['_POSITIONSRESPONSE']._serialized_end=6242 + _globals['_DERIVATIVEPOSITION']._serialized_start=6245 + _globals['_DERIVATIVEPOSITION']._serialized_end=6524 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=6526 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=6602 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=6604 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6707 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6710 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6843 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6846 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6999 + _globals['_FUNDINGPAYMENT']._serialized_start=7001 + _globals['_FUNDINGPAYMENT']._serialized_end=7094 + _globals['_FUNDINGRATESREQUEST']._serialized_start=7096 + _globals['_FUNDINGRATESREQUEST']._serialized_end=7183 + _globals['_FUNDINGRATESRESPONSE']._serialized_start=7186 + _globals['_FUNDINGRATESRESPONSE']._serialized_end=7338 + _globals['_FUNDINGRATE']._serialized_start=7340 + _globals['_FUNDINGRATE']._serialized_end=7405 + _globals['_STREAMPOSITIONSREQUEST']._serialized_start=7407 + _globals['_STREAMPOSITIONSREQUEST']._serialized_end=7517 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=7519 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=7636 + _globals['_STREAMORDERSREQUEST']._serialized_start=7639 + _globals['_STREAMORDERSREQUEST']._serialized_end=7912 + _globals['_STREAMORDERSRESPONSE']._serialized_start=7915 + _globals['_STREAMORDERSRESPONSE']._serialized_end=8052 + _globals['_TRADESREQUEST']._serialized_start=8055 + _globals['_TRADESREQUEST']._serialized_end=8291 + _globals['_TRADESRESPONSE']._serialized_start=8294 + _globals['_TRADESRESPONSE']._serialized_end=8437 + _globals['_DERIVATIVETRADE']._serialized_start=8440 + _globals['_DERIVATIVETRADE']._serialized_end=8762 + _globals['_POSITIONDELTA']._serialized_start=8764 + _globals['_POSITIONDELTA']._serialized_end=8883 + _globals['_STREAMTRADESREQUEST']._serialized_start=8886 + _globals['_STREAMTRADESREQUEST']._serialized_end=9128 + _globals['_STREAMTRADESRESPONSE']._serialized_start=9131 + _globals['_STREAMTRADESRESPONSE']._serialized_end=9263 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=9265 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=9365 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=9368 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=9530 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=9533 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9676 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9678 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9776 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=9779 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=10034 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=10037 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=10194 + _globals['_DERIVATIVEORDERHISTORY']._serialized_start=10197 + _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10612 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10615 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10765 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10768 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10914 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10917 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=14316 # @@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 index e0099516..ccb2e00c 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py @@ -41,16 +41,31 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketRequest.SerializeToString, response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketResponse.FromString, ) + self.Orderbook = channel.unary_unary( + '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbook', + request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookRequest.SerializeToString, + response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookResponse.FromString, + ) 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, ) + self.Orderbooks = channel.unary_unary( + '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbooks', + request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksRequest.SerializeToString, + response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksResponse.FromString, + ) 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, ) + self.StreamOrderbook = channel.unary_stream( + '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbook', + request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookRequest.SerializeToString, + response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookResponse.FromString, + ) self.StreamOrderbookV2 = channel.unary_stream( '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookV2', request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookV2Request.SerializeToString, @@ -168,6 +183,13 @@ def BinaryOptionsMarket(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def Orderbook(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 OrderbookV2(self, request, context): """Orderbook gets the Orderbook of a Derivative Market """ @@ -175,6 +197,13 @@ def OrderbookV2(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def Orderbooks(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 OrderbooksV2(self, request, context): """Orderbooks gets the Orderbooks of requested derivative markets """ @@ -182,6 +211,13 @@ def OrderbooksV2(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def StreamOrderbook(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 StreamOrderbookV2(self, request, context): """Stream live snapshot updates of selected derivative market orderbook """ @@ -197,7 +233,7 @@ def StreamOrderbookUpdate(self, request, context): raise NotImplementedError('Method not implemented!') def Orders(self, request, context): - """DerivativeLimitOrders gets the limit orders of a derivative Market. + """DerivativeLimitOrders gets the limit orders of a Derivative Market. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -316,16 +352,31 @@ def add_InjectiveDerivativeExchangeRPCServicer_to_server(servicer, server): request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketRequest.FromString, response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketResponse.SerializeToString, ), + 'Orderbook': grpc.unary_unary_rpc_method_handler( + servicer.Orderbook, + request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookRequest.FromString, + response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookResponse.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, ), + 'Orderbooks': grpc.unary_unary_rpc_method_handler( + servicer.Orderbooks, + request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksRequest.FromString, + response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksResponse.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, ), + 'StreamOrderbook': grpc.unary_stream_rpc_method_handler( + servicer.StreamOrderbook, + request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookRequest.FromString, + response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookResponse.SerializeToString, + ), 'StreamOrderbookV2': grpc.unary_stream_rpc_method_handler( servicer.StreamOrderbookV2, request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookV2Request.FromString, @@ -498,6 +549,23 @@ def BinaryOptionsMarket(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def Orderbook(request, + target, + options=(), + channel_credentials=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/Orderbook', + exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookRequest.SerializeToString, + exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def OrderbookV2(request, target, @@ -515,6 +583,23 @@ def OrderbookV2(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def Orderbooks(request, + target, + options=(), + channel_credentials=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/Orderbooks', + exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksRequest.SerializeToString, + exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def OrderbooksV2(request, target, @@ -532,6 +617,23 @@ def OrderbooksV2(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def StreamOrderbook(request, + 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/StreamOrderbook', + exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookRequest.SerializeToString, + exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def StreamOrderbookV2(request, target, diff --git a/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py index 8734282d..eea299f7 100644 --- a/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_exchange_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\031/injective_exchange_rpcpb' _globals['_GETTXREQUEST']._serialized_start=65 diff --git a/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py b/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py index 6e29c3de..047a633e 100644 --- a/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py @@ -13,163 +13,154 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_explorer_rpc.proto\x12\x16injective_explorer_rpc\"\xdf\x01\n\x14GetAccountTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0e\n\x06\x62\x65\x66ore\x18\x02 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\x0c\n\x04type\x18\x06 \x01(\t\x12\x0e\n\x06module\x18\x07 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x08 \x01(\x12\x12\x11\n\tto_number\x18\t \x01(\x12\x12\x12\n\nstart_time\x18\n \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x0b \x01(\x12\x12\x0e\n\x06status\x18\x0c \x01(\t\"{\n\x15GetAccountTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\xe7\x03\n\x0cTxDetailData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x05 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0c\n\x04info\x18\x08 \x01(\t\x12\x12\n\ngas_wanted\x18\t \x01(\x12\x12\x10\n\x08gas_used\x18\n \x01(\x12\x12/\n\x07gas_fee\x18\x0b \x01(\x0b\x32\x1e.injective_explorer_rpc.GasFee\x12\x11\n\tcodespace\x18\x0c \x01(\t\x12-\n\x06\x65vents\x18\r \x03(\x0b\x32\x1d.injective_explorer_rpc.Event\x12\x0f\n\x07tx_type\x18\x0e \x01(\t\x12\x10\n\x08messages\x18\x0f \x01(\x0c\x12\x35\n\nsignatures\x18\x10 \x03(\x0b\x32!.injective_explorer_rpc.Signature\x12\x0c\n\x04memo\x18\x11 \x01(\t\x12\x11\n\ttx_number\x18\x12 \x01(\x04\x12\x1c\n\x14\x62lock_unix_timestamp\x18\x13 \x01(\x04\x12\x11\n\terror_log\x18\x14 \x01(\t\x12\x0c\n\x04logs\x18\x15 \x01(\x0c\x12\x11\n\tclaim_ids\x18\x16 \x03(\x12\"o\n\x06GasFee\x12\x32\n\x06\x61mount\x18\x01 \x03(\x0b\x32\".injective_explorer_rpc.CosmosCoin\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\r\n\x05payer\x18\x03 \x01(\t\x12\x0f\n\x07granter\x18\x04 \x01(\t\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8b\x01\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x41\n\nattributes\x18\x02 \x03(\x0b\x32-.injective_explorer_rpc.Event.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\tSignature\x12\x0e\n\x06pubkey\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\tsignature\x18\x04 \x01(\t\"m\n\x15GetContractTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\x13\n\x0b\x66rom_number\x18\x04 \x01(\x12\x12\x11\n\tto_number\x18\x05 \x01(\x12\"|\n\x16GetContractTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"@\n\x10GetBlocksRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"t\n\x11GetBlocksResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12/\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32!.injective_explorer_rpc.BlockInfo\"\xd4\x01\n\tBlockInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t\"\xc0\x01\n\tTxDataRPC\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\x12\x11\n\tclaim_ids\x18\n \x03(\x12\"\x1d\n\x0fGetBlockRequest\x12\n\n\x02id\x18\x01 \x01(\t\"d\n\x10GetBlockResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\'.injective_explorer_rpc.BlockDetailInfo\"\xea\x01\n\x0f\x42lockDetailInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12\x11\n\ttotal_txs\x18\x08 \x01(\x12\x12+\n\x03txs\x18\t \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\x12\x11\n\ttimestamp\x18\n \x01(\t\"\xe1\x01\n\x06TxData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\x0c\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\x12\x14\n\x0ctx_msg_types\x18\n \x01(\x0c\x12\x0c\n\x04logs\x18\x0b \x01(\x0c\x12\x11\n\tclaim_ids\x18\x0c \x03(\x12\"\x16\n\x14GetValidatorsRequest\"c\n\x15GetValidatorsResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32!.injective_explorer_rpc.Validator\"\x83\x05\n\tValidator\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07moniker\x18\x02 \x01(\t\x12\x18\n\x10operator_address\x18\x03 \x01(\t\x12\x19\n\x11\x63onsensus_address\x18\x04 \x01(\t\x12\x0e\n\x06jailed\x18\x05 \x01(\x08\x12\x0e\n\x06status\x18\x06 \x01(\x11\x12\x0e\n\x06tokens\x18\x07 \x01(\t\x12\x18\n\x10\x64\x65legator_shares\x18\x08 \x01(\t\x12\x41\n\x0b\x64\x65scription\x18\t \x01(\x0b\x32,.injective_explorer_rpc.ValidatorDescription\x12\x18\n\x10unbonding_height\x18\n \x01(\x12\x12\x16\n\x0eunbonding_time\x18\x0b \x01(\t\x12\x17\n\x0f\x63ommission_rate\x18\x0c \x01(\t\x12\x1b\n\x13\x63ommission_max_rate\x18\r \x01(\t\x12\"\n\x1a\x63ommission_max_change_rate\x18\x0e \x01(\t\x12\x1e\n\x16\x63ommission_update_time\x18\x0f \x01(\t\x12\x10\n\x08proposed\x18\x10 \x01(\x04\x12\x0e\n\x06signed\x18\x11 \x01(\x04\x12\x0e\n\x06missed\x18\x12 \x01(\x04\x12\x11\n\ttimestamp\x18\x13 \x01(\t\x12\x38\n\x07uptimes\x18\x14 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\x12>\n\x0fslashing_events\x18\x15 \x03(\x0b\x32%.injective_explorer_rpc.SlashingEvent\x12\x19\n\x11uptime_percentage\x18\x16 \x01(\x01\x12\x11\n\timage_url\x18\x17 \x01(\t\"\x88\x01\n\x14ValidatorDescription\x12\x0f\n\x07moniker\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0f\n\x07website\x18\x03 \x01(\t\x12\x18\n\x10security_contact\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x05 \x01(\t\x12\x11\n\timage_url\x18\x06 \x01(\t\"7\n\x0fValidatorUptime\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x0e\n\x06status\x18\x02 \x01(\t\"\x95\x01\n\rSlashingEvent\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\r\n\x05power\x18\x04 \x01(\x04\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x0e\n\x06jailed\x18\x06 \x01(\t\x12\x15\n\rmissed_blocks\x18\x07 \x01(\x04\"&\n\x13GetValidatorRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"b\n\x14GetValidatorResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32!.injective_explorer_rpc.Validator\",\n\x19GetValidatorUptimeRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"n\n\x1aGetValidatorUptimeResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\"\xc7\x01\n\rGetTxsRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\x0c\n\x04type\x18\x05 \x01(\t\x12\x0e\n\x06module\x18\x06 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x07 \x01(\x12\x12\x11\n\tto_number\x18\x08 \x01(\x12\x12\x12\n\nstart_time\x18\t \x01(\x12\x12\x10\n\x08\x65nd_time\x18\n \x01(\x12\x12\x0e\n\x06status\x18\x0b \x01(\t\"n\n\x0eGetTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12,\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\"$\n\x14GetTxByTxHashRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"f\n\x15GetTxByTxHashResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x32\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32$.injective_explorer_rpc.TxDetailData\"Z\n\x19GetPeggyDepositTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"S\n\x1aGetPeggyDepositTxsResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.PeggyDepositTx\"\xf8\x01\n\x0ePeggyDepositTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\x03 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x04 \x01(\x04\x12\x0e\n\x06\x61mount\x18\x05 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x06 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x07 \x01(\t\x12\r\n\x05state\x18\x08 \x01(\t\x12\x12\n\nclaim_type\x18\t \x01(\x11\x12\x11\n\ttx_hashes\x18\n \x03(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\t\"]\n\x1cGetPeggyWithdrawalTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"Y\n\x1dGetPeggyWithdrawalTxsResponse\x12\x38\n\x05\x66ield\x18\x01 \x03(\x0b\x32).injective_explorer_rpc.PeggyWithdrawalTx\"\xd3\x02\n\x11PeggyWithdrawalTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x04 \x01(\t\x12\x12\n\nbridge_fee\x18\x05 \x01(\t\x12\x16\n\x0eoutgoing_tx_id\x18\x06 \x01(\x04\x12\x15\n\rbatch_timeout\x18\x07 \x01(\x04\x12\x13\n\x0b\x62\x61tch_nonce\x18\x08 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\t \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\n \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x0b \x01(\x04\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\nclaim_type\x18\r \x01(\x11\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"\xa9\x01\n\x18GetIBCTransferTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsrc_channel\x18\x03 \x01(\t\x12\x10\n\x08src_port\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65st_channel\x18\x05 \x01(\t\x12\x11\n\tdest_port\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"Q\n\x19GetIBCTransferTxsResponse\x12\x34\n\x05\x66ield\x18\x01 \x03(\x0b\x32%.injective_explorer_rpc.IBCTransferTx\"\xdc\x02\n\rIBCTransferTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsource_port\x18\x03 \x01(\t\x12\x16\n\x0esource_channel\x18\x04 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x05 \x01(\t\x12\x1b\n\x13\x64\x65stination_channel\x18\x06 \x01(\t\x12\x0e\n\x06\x61mount\x18\x07 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x08 \x01(\t\x12\x16\n\x0etimeout_height\x18\t \x01(\t\x12\x19\n\x11timeout_timestamp\x18\n \x01(\x04\x12\x17\n\x0fpacket_sequence\x18\x0b \x01(\x04\x12\x10\n\x08\x64\x61ta_hex\x18\x0c \x01(\x0c\x12\r\n\x05state\x18\r \x01(\t\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"L\n\x13GetWasmCodesRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x02 \x01(\x12\x12\x11\n\tto_number\x18\x03 \x01(\x12\"v\n\x14GetWasmCodesResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12.\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective_explorer_rpc.WasmCode\"\xd5\x02\n\x08WasmCode\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"+\n\x08\x43hecksum\x12\x11\n\talgorithm\x18\x01 \x01(\t\x12\x0c\n\x04hash\x18\x02 \x01(\t\":\n\x12\x43ontractPermission\x12\x13\n\x0b\x61\x63\x63\x65ss_type\x18\x01 \x01(\x11\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\")\n\x16GetWasmCodeByIDRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x12\"\xe4\x02\n\x17GetWasmCodeByIDResponse\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"\x93\x01\n\x17GetWasmContractsRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x0f\n\x07\x63ode_id\x18\x02 \x01(\x12\x12\x13\n\x0b\x66rom_number\x18\x03 \x01(\x12\x12\x11\n\tto_number\x18\x04 \x01(\x12\x12\x13\n\x0b\x61ssets_only\x18\x05 \x01(\x08\x12\x0c\n\x04skip\x18\x06 \x01(\x12\x12\r\n\x05label\x18\x07 \x01(\t\"~\n\x18GetWasmContractsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.WasmContract\"\xab\x03\n\x0cWasmContract\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"-\n\x0c\x43ontractFund\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8c\x01\n\x0c\x43w20Metadata\x12\x39\n\ntoken_info\x18\x01 \x01(\x0b\x32%.injective_explorer_rpc.Cw20TokenInfo\x12\x41\n\x0emarketing_info\x18\x02 \x01(\x0b\x32).injective_explorer_rpc.Cw20MarketingInfo\"U\n\rCw20TokenInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x03 \x01(\x12\x12\x14\n\x0ctotal_supply\x18\x04 \x01(\t\"Z\n\x11\x43w20MarketingInfo\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04logo\x18\x03 \x01(\t\x12\x11\n\tmarketing\x18\x04 \x01(\x0c\";\n\x1fGetWasmContractByAddressRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"\xbf\x03\n GetWasmContractByAddressResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"7\n\x15GetCw20BalanceRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\"P\n\x16GetCw20BalanceResponse\x12\x36\n\x05\x66ield\x18\x01 \x03(\x0b\x32\'.injective_explorer_rpc.WasmCw20Balance\"\x9e\x01\n\x0fWasmCw20Balance\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x03 \x01(\t\x12\x12\n\nupdated_at\x18\x04 \x01(\x12\x12;\n\rcw20_metadata\x18\x05 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\"&\n\x0fRelayersRequest\x12\x13\n\x0bmarket_i_ds\x18\x01 \x03(\t\"I\n\x10RelayersResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.RelayerMarkets\"V\n\x0eRelayerMarkets\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x31\n\x08relayers\x18\x02 \x03(\x0b\x32\x1f.injective_explorer_rpc.Relayer\"$\n\x07Relayer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x63ta\x18\x02 \x01(\t\"\xd6\x01\n\x17GetBankTransfersRequest\x12\x0f\n\x07senders\x18\x01 \x03(\t\x12\x12\n\nrecipients\x18\x02 \x03(\t\x12!\n\x19is_community_pool_related\x18\x03 \x01(\x08\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x0f\n\x07\x61\x64\x64ress\x18\x08 \x03(\t\x12\x10\n\x08per_page\x18\t \x01(\x11\x12\r\n\x05token\x18\n \x01(\t\"~\n\x18GetBankTransfersResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.BankTransfer\"\x8f\x01\n\x0c\x42\x61nkTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\trecipient\x18\x02 \x01(\t\x12-\n\x07\x61mounts\x18\x03 \x03(\x0b\x32\x1c.injective_explorer_rpc.Coin\x12\x14\n\x0c\x62lock_number\x18\x04 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x05 \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x12\n\x10StreamTxsRequest\"\xc8\x01\n\x11StreamTxsResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\x12\x11\n\tclaim_ids\x18\n \x03(\x12\"\x15\n\x13StreamBlocksRequest\"\xdf\x01\n\x14StreamBlocksResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t2\xcf\x12\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\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\x1bZ\x19/injective_explorer_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_explorer_rpc.proto\x12\x16injective_explorer_rpc\"\xa9\x01\n\x14GetAccountTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0e\n\x06\x62\x65\x66ore\x18\x02 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\x0c\n\x04type\x18\x06 \x01(\t\x12\x0e\n\x06module\x18\x07 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x08 \x01(\x12\x12\x11\n\tto_number\x18\t \x01(\x12\"{\n\x15GetAccountTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"\xc6\x03\n\x0cTxDetailData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x05 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0c\n\x04info\x18\x08 \x01(\t\x12\x12\n\ngas_wanted\x18\t \x01(\x12\x12\x10\n\x08gas_used\x18\n \x01(\x12\x12/\n\x07gas_fee\x18\x0b \x01(\x0b\x32\x1e.injective_explorer_rpc.GasFee\x12\x11\n\tcodespace\x18\x0c \x01(\t\x12-\n\x06\x65vents\x18\r \x03(\x0b\x32\x1d.injective_explorer_rpc.Event\x12\x0f\n\x07tx_type\x18\x0e \x01(\t\x12\x10\n\x08messages\x18\x0f \x01(\x0c\x12\x35\n\nsignatures\x18\x10 \x03(\x0b\x32!.injective_explorer_rpc.Signature\x12\x0c\n\x04memo\x18\x11 \x01(\t\x12\x11\n\ttx_number\x18\x12 \x01(\x04\x12\x1c\n\x14\x62lock_unix_timestamp\x18\x13 \x01(\x04\x12\x11\n\terror_log\x18\x14 \x01(\t\"o\n\x06GasFee\x12\x32\n\x06\x61mount\x18\x01 \x03(\x0b\x32\".injective_explorer_rpc.CosmosCoin\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\r\n\x05payer\x18\x03 \x01(\t\x12\x0f\n\x07granter\x18\x04 \x01(\t\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8b\x01\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x41\n\nattributes\x18\x02 \x03(\x0b\x32-.injective_explorer_rpc.Event.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\tSignature\x12\x0e\n\x06pubkey\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\tsignature\x18\x04 \x01(\t\"m\n\x15GetContractTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\x13\n\x0b\x66rom_number\x18\x04 \x01(\x12\x12\x11\n\tto_number\x18\x05 \x01(\x12\"|\n\x16GetContractTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"@\n\x10GetBlocksRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"t\n\x11GetBlocksResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12/\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32!.injective_explorer_rpc.BlockInfo\"\xd4\x01\n\tBlockInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t\"\xad\x01\n\tTxDataRPC\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\"\x1d\n\x0fGetBlockRequest\x12\n\n\x02id\x18\x01 \x01(\t\"d\n\x10GetBlockResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\'.injective_explorer_rpc.BlockDetailInfo\"\xea\x01\n\x0f\x42lockDetailInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12\x11\n\ttotal_txs\x18\x08 \x01(\x12\x12+\n\x03txs\x18\t \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\x12\x11\n\ttimestamp\x18\n \x01(\t\"\xaa\x01\n\x06TxData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\x0c\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\"\x16\n\x14GetValidatorsRequest\"c\n\x15GetValidatorsResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32!.injective_explorer_rpc.Validator\"\xf0\x04\n\tValidator\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07moniker\x18\x02 \x01(\t\x12\x18\n\x10operator_address\x18\x03 \x01(\t\x12\x19\n\x11\x63onsensus_address\x18\x04 \x01(\t\x12\x0e\n\x06jailed\x18\x05 \x01(\x08\x12\x0e\n\x06status\x18\x06 \x01(\x11\x12\x0e\n\x06tokens\x18\x07 \x01(\t\x12\x18\n\x10\x64\x65legator_shares\x18\x08 \x01(\t\x12\x41\n\x0b\x64\x65scription\x18\t \x01(\x0b\x32,.injective_explorer_rpc.ValidatorDescription\x12\x18\n\x10unbonding_height\x18\n \x01(\x12\x12\x16\n\x0eunbonding_time\x18\x0b \x01(\t\x12\x17\n\x0f\x63ommission_rate\x18\x0c \x01(\t\x12\x1b\n\x13\x63ommission_max_rate\x18\r \x01(\t\x12\"\n\x1a\x63ommission_max_change_rate\x18\x0e \x01(\t\x12\x1e\n\x16\x63ommission_update_time\x18\x0f \x01(\t\x12\x10\n\x08proposed\x18\x10 \x01(\x04\x12\x0e\n\x06signed\x18\x11 \x01(\x04\x12\x0e\n\x06missed\x18\x12 \x01(\x04\x12\x11\n\ttimestamp\x18\x13 \x01(\t\x12\x38\n\x07uptimes\x18\x14 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\x12>\n\x0fslashing_events\x18\x15 \x03(\x0b\x32%.injective_explorer_rpc.SlashingEvent\x12\x19\n\x11uptime_percentage\x18\x16 \x01(\x01\"u\n\x14ValidatorDescription\x12\x0f\n\x07moniker\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0f\n\x07website\x18\x03 \x01(\t\x12\x18\n\x10security_contact\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x05 \x01(\t\"7\n\x0fValidatorUptime\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x0e\n\x06status\x18\x02 \x01(\t\"\x95\x01\n\rSlashingEvent\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\r\n\x05power\x18\x04 \x01(\x04\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x0e\n\x06jailed\x18\x06 \x01(\t\x12\x15\n\rmissed_blocks\x18\x07 \x01(\x04\"&\n\x13GetValidatorRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"b\n\x14GetValidatorResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32!.injective_explorer_rpc.Validator\",\n\x19GetValidatorUptimeRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"n\n\x1aGetValidatorUptimeResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\"\x91\x01\n\rGetTxsRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\x0c\n\x04type\x18\x05 \x01(\t\x12\x0e\n\x06module\x18\x06 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x07 \x01(\x12\x12\x11\n\tto_number\x18\x08 \x01(\x12\"n\n\x0eGetTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12,\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\"$\n\x14GetTxByTxHashRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"f\n\x15GetTxByTxHashResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x32\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32$.injective_explorer_rpc.TxDetailData\"Z\n\x19GetPeggyDepositTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"S\n\x1aGetPeggyDepositTxsResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.PeggyDepositTx\"\xf8\x01\n\x0ePeggyDepositTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\x03 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x04 \x01(\x04\x12\x0e\n\x06\x61mount\x18\x05 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x06 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x07 \x01(\t\x12\r\n\x05state\x18\x08 \x01(\t\x12\x12\n\nclaim_type\x18\t \x01(\x11\x12\x11\n\ttx_hashes\x18\n \x03(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\t\"]\n\x1cGetPeggyWithdrawalTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"Y\n\x1dGetPeggyWithdrawalTxsResponse\x12\x38\n\x05\x66ield\x18\x01 \x03(\x0b\x32).injective_explorer_rpc.PeggyWithdrawalTx\"\xd3\x02\n\x11PeggyWithdrawalTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x04 \x01(\t\x12\x12\n\nbridge_fee\x18\x05 \x01(\t\x12\x16\n\x0eoutgoing_tx_id\x18\x06 \x01(\x04\x12\x15\n\rbatch_timeout\x18\x07 \x01(\x04\x12\x13\n\x0b\x62\x61tch_nonce\x18\x08 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\t \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\n \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x0b \x01(\x04\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\nclaim_type\x18\r \x01(\x11\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"\xa9\x01\n\x18GetIBCTransferTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsrc_channel\x18\x03 \x01(\t\x12\x10\n\x08src_port\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65st_channel\x18\x05 \x01(\t\x12\x11\n\tdest_port\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"Q\n\x19GetIBCTransferTxsResponse\x12\x34\n\x05\x66ield\x18\x01 \x03(\x0b\x32%.injective_explorer_rpc.IBCTransferTx\"\xdc\x02\n\rIBCTransferTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsource_port\x18\x03 \x01(\t\x12\x16\n\x0esource_channel\x18\x04 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x05 \x01(\t\x12\x1b\n\x13\x64\x65stination_channel\x18\x06 \x01(\t\x12\x0e\n\x06\x61mount\x18\x07 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x08 \x01(\t\x12\x16\n\x0etimeout_height\x18\t \x01(\t\x12\x19\n\x11timeout_timestamp\x18\n \x01(\x04\x12\x17\n\x0fpacket_sequence\x18\x0b \x01(\x04\x12\x10\n\x08\x64\x61ta_hex\x18\x0c \x01(\x0c\x12\r\n\x05state\x18\r \x01(\t\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"L\n\x13GetWasmCodesRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x02 \x01(\x12\x12\x11\n\tto_number\x18\x03 \x01(\x12\"v\n\x14GetWasmCodesResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12.\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective_explorer_rpc.WasmCode\"\xd5\x02\n\x08WasmCode\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"+\n\x08\x43hecksum\x12\x11\n\talgorithm\x18\x01 \x01(\t\x12\x0c\n\x04hash\x18\x02 \x01(\t\":\n\x12\x43ontractPermission\x12\x13\n\x0b\x61\x63\x63\x65ss_type\x18\x01 \x01(\x11\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\")\n\x16GetWasmCodeByIDRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x12\"\xe4\x02\n\x17GetWasmCodeByIDResponse\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"\x84\x01\n\x17GetWasmContractsRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x0f\n\x07\x63ode_id\x18\x02 \x01(\x12\x12\x13\n\x0b\x66rom_number\x18\x03 \x01(\x12\x12\x11\n\tto_number\x18\x04 \x01(\x12\x12\x13\n\x0b\x61ssets_only\x18\x05 \x01(\x08\x12\x0c\n\x04skip\x18\x06 \x01(\x12\"~\n\x18GetWasmContractsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.WasmContract\"\xab\x03\n\x0cWasmContract\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"-\n\x0c\x43ontractFund\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8c\x01\n\x0c\x43w20Metadata\x12\x39\n\ntoken_info\x18\x01 \x01(\x0b\x32%.injective_explorer_rpc.Cw20TokenInfo\x12\x41\n\x0emarketing_info\x18\x02 \x01(\x0b\x32).injective_explorer_rpc.Cw20MarketingInfo\"U\n\rCw20TokenInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x03 \x01(\x12\x12\x14\n\x0ctotal_supply\x18\x04 \x01(\t\"Z\n\x11\x43w20MarketingInfo\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04logo\x18\x03 \x01(\t\x12\x11\n\tmarketing\x18\x04 \x01(\x0c\";\n\x1fGetWasmContractByAddressRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"\xbf\x03\n GetWasmContractByAddressResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"7\n\x15GetCw20BalanceRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\"P\n\x16GetCw20BalanceResponse\x12\x36\n\x05\x66ield\x18\x01 \x03(\x0b\x32\'.injective_explorer_rpc.WasmCw20Balance\"\x9e\x01\n\x0fWasmCw20Balance\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x03 \x01(\t\x12\x12\n\nupdated_at\x18\x04 \x01(\x12\x12;\n\rcw20_metadata\x18\x05 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\"&\n\x0fRelayersRequest\x12\x13\n\x0bmarket_i_ds\x18\x01 \x03(\t\"I\n\x10RelayersResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.RelayerMarkets\"V\n\x0eRelayerMarkets\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x31\n\x08relayers\x18\x02 \x03(\x0b\x32\x1f.injective_explorer_rpc.Relayer\"$\n\x07Relayer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x63ta\x18\x02 \x01(\t\"\x12\n\x10StreamTxsRequest\"\xb5\x01\n\x11StreamTxsResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\"\x15\n\x13StreamBlocksRequest\"\xdf\x01\n\x14StreamBlocksResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t2\xd8\x11\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\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\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\x1bZ\x19/injective_explorer_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_explorer_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\031/injective_explorer_rpcpb' _EVENT_ATTRIBUTESENTRY._options = None _EVENT_ATTRIBUTESENTRY._serialized_options = b'8\001' _globals['_GETACCOUNTTXSREQUEST']._serialized_start=66 - _globals['_GETACCOUNTTXSREQUEST']._serialized_end=289 - _globals['_GETACCOUNTTXSRESPONSE']._serialized_start=291 - _globals['_GETACCOUNTTXSRESPONSE']._serialized_end=414 - _globals['_PAGING']._serialized_start=416 - _globals['_PAGING']._serialized_end=508 - _globals['_TXDETAILDATA']._serialized_start=511 - _globals['_TXDETAILDATA']._serialized_end=998 - _globals['_GASFEE']._serialized_start=1000 - _globals['_GASFEE']._serialized_end=1111 - _globals['_COSMOSCOIN']._serialized_start=1113 - _globals['_COSMOSCOIN']._serialized_end=1156 - _globals['_EVENT']._serialized_start=1159 - _globals['_EVENT']._serialized_end=1298 - _globals['_EVENT_ATTRIBUTESENTRY']._serialized_start=1249 - _globals['_EVENT_ATTRIBUTESENTRY']._serialized_end=1298 - _globals['_SIGNATURE']._serialized_start=1300 - _globals['_SIGNATURE']._serialized_end=1381 - _globals['_GETCONTRACTTXSREQUEST']._serialized_start=1383 - _globals['_GETCONTRACTTXSREQUEST']._serialized_end=1492 - _globals['_GETCONTRACTTXSRESPONSE']._serialized_start=1494 - _globals['_GETCONTRACTTXSRESPONSE']._serialized_end=1618 - _globals['_GETBLOCKSREQUEST']._serialized_start=1620 - _globals['_GETBLOCKSREQUEST']._serialized_end=1684 - _globals['_GETBLOCKSRESPONSE']._serialized_start=1686 - _globals['_GETBLOCKSRESPONSE']._serialized_end=1802 - _globals['_BLOCKINFO']._serialized_start=1805 - _globals['_BLOCKINFO']._serialized_end=2017 - _globals['_TXDATARPC']._serialized_start=2020 - _globals['_TXDATARPC']._serialized_end=2212 - _globals['_GETBLOCKREQUEST']._serialized_start=2214 - _globals['_GETBLOCKREQUEST']._serialized_end=2243 - _globals['_GETBLOCKRESPONSE']._serialized_start=2245 - _globals['_GETBLOCKRESPONSE']._serialized_end=2345 - _globals['_BLOCKDETAILINFO']._serialized_start=2348 - _globals['_BLOCKDETAILINFO']._serialized_end=2582 - _globals['_TXDATA']._serialized_start=2585 - _globals['_TXDATA']._serialized_end=2810 - _globals['_GETVALIDATORSREQUEST']._serialized_start=2812 - _globals['_GETVALIDATORSREQUEST']._serialized_end=2834 - _globals['_GETVALIDATORSRESPONSE']._serialized_start=2836 - _globals['_GETVALIDATORSRESPONSE']._serialized_end=2935 - _globals['_VALIDATOR']._serialized_start=2938 - _globals['_VALIDATOR']._serialized_end=3581 - _globals['_VALIDATORDESCRIPTION']._serialized_start=3584 - _globals['_VALIDATORDESCRIPTION']._serialized_end=3720 - _globals['_VALIDATORUPTIME']._serialized_start=3722 - _globals['_VALIDATORUPTIME']._serialized_end=3777 - _globals['_SLASHINGEVENT']._serialized_start=3780 - _globals['_SLASHINGEVENT']._serialized_end=3929 - _globals['_GETVALIDATORREQUEST']._serialized_start=3931 - _globals['_GETVALIDATORREQUEST']._serialized_end=3969 - _globals['_GETVALIDATORRESPONSE']._serialized_start=3971 - _globals['_GETVALIDATORRESPONSE']._serialized_end=4069 - _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_start=4071 - _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_end=4115 - _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_start=4117 - _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_end=4227 - _globals['_GETTXSREQUEST']._serialized_start=4230 - _globals['_GETTXSREQUEST']._serialized_end=4429 - _globals['_GETTXSRESPONSE']._serialized_start=4431 - _globals['_GETTXSRESPONSE']._serialized_end=4541 - _globals['_GETTXBYTXHASHREQUEST']._serialized_start=4543 - _globals['_GETTXBYTXHASHREQUEST']._serialized_end=4579 - _globals['_GETTXBYTXHASHRESPONSE']._serialized_start=4581 - _globals['_GETTXBYTXHASHRESPONSE']._serialized_end=4683 - _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_start=4685 - _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_end=4775 - _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_start=4777 - _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_end=4860 - _globals['_PEGGYDEPOSITTX']._serialized_start=4863 - _globals['_PEGGYDEPOSITTX']._serialized_end=5111 - _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_start=5113 - _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_end=5206 - _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_start=5208 - _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_end=5297 - _globals['_PEGGYWITHDRAWALTX']._serialized_start=5300 - _globals['_PEGGYWITHDRAWALTX']._serialized_end=5639 - _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_start=5642 - _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_end=5811 - _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_start=5813 - _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_end=5894 - _globals['_IBCTRANSFERTX']._serialized_start=5897 - _globals['_IBCTRANSFERTX']._serialized_end=6245 - _globals['_GETWASMCODESREQUEST']._serialized_start=6247 - _globals['_GETWASMCODESREQUEST']._serialized_end=6323 - _globals['_GETWASMCODESRESPONSE']._serialized_start=6325 - _globals['_GETWASMCODESRESPONSE']._serialized_end=6443 - _globals['_WASMCODE']._serialized_start=6446 - _globals['_WASMCODE']._serialized_end=6787 - _globals['_CHECKSUM']._serialized_start=6789 - _globals['_CHECKSUM']._serialized_end=6832 - _globals['_CONTRACTPERMISSION']._serialized_start=6834 - _globals['_CONTRACTPERMISSION']._serialized_end=6892 - _globals['_GETWASMCODEBYIDREQUEST']._serialized_start=6894 - _globals['_GETWASMCODEBYIDREQUEST']._serialized_end=6935 - _globals['_GETWASMCODEBYIDRESPONSE']._serialized_start=6938 - _globals['_GETWASMCODEBYIDRESPONSE']._serialized_end=7294 - _globals['_GETWASMCONTRACTSREQUEST']._serialized_start=7297 - _globals['_GETWASMCONTRACTSREQUEST']._serialized_end=7444 - _globals['_GETWASMCONTRACTSRESPONSE']._serialized_start=7446 - _globals['_GETWASMCONTRACTSRESPONSE']._serialized_end=7572 - _globals['_WASMCONTRACT']._serialized_start=7575 - _globals['_WASMCONTRACT']._serialized_end=8002 - _globals['_CONTRACTFUND']._serialized_start=8004 - _globals['_CONTRACTFUND']._serialized_end=8049 - _globals['_CW20METADATA']._serialized_start=8052 - _globals['_CW20METADATA']._serialized_end=8192 - _globals['_CW20TOKENINFO']._serialized_start=8194 - _globals['_CW20TOKENINFO']._serialized_end=8279 - _globals['_CW20MARKETINGINFO']._serialized_start=8281 - _globals['_CW20MARKETINGINFO']._serialized_end=8371 - _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_start=8373 - _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_end=8432 - _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_start=8435 - _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_end=8882 - _globals['_GETCW20BALANCEREQUEST']._serialized_start=8884 - _globals['_GETCW20BALANCEREQUEST']._serialized_end=8939 - _globals['_GETCW20BALANCERESPONSE']._serialized_start=8941 - _globals['_GETCW20BALANCERESPONSE']._serialized_end=9021 - _globals['_WASMCW20BALANCE']._serialized_start=9024 - _globals['_WASMCW20BALANCE']._serialized_end=9182 - _globals['_RELAYERSREQUEST']._serialized_start=9184 - _globals['_RELAYERSREQUEST']._serialized_end=9222 - _globals['_RELAYERSRESPONSE']._serialized_start=9224 - _globals['_RELAYERSRESPONSE']._serialized_end=9297 - _globals['_RELAYERMARKETS']._serialized_start=9299 - _globals['_RELAYERMARKETS']._serialized_end=9385 - _globals['_RELAYER']._serialized_start=9387 - _globals['_RELAYER']._serialized_end=9423 - _globals['_GETBANKTRANSFERSREQUEST']._serialized_start=9426 - _globals['_GETBANKTRANSFERSREQUEST']._serialized_end=9640 - _globals['_GETBANKTRANSFERSRESPONSE']._serialized_start=9642 - _globals['_GETBANKTRANSFERSRESPONSE']._serialized_end=9768 - _globals['_BANKTRANSFER']._serialized_start=9771 - _globals['_BANKTRANSFER']._serialized_end=9914 - _globals['_COIN']._serialized_start=9916 - _globals['_COIN']._serialized_end=9953 - _globals['_STREAMTXSREQUEST']._serialized_start=9955 - _globals['_STREAMTXSREQUEST']._serialized_end=9973 - _globals['_STREAMTXSRESPONSE']._serialized_start=9976 - _globals['_STREAMTXSRESPONSE']._serialized_end=10176 - _globals['_STREAMBLOCKSREQUEST']._serialized_start=10178 - _globals['_STREAMBLOCKSREQUEST']._serialized_end=10199 - _globals['_STREAMBLOCKSRESPONSE']._serialized_start=10202 - _globals['_STREAMBLOCKSRESPONSE']._serialized_end=10425 - _globals['_INJECTIVEEXPLORERRPC']._serialized_start=10428 - _globals['_INJECTIVEEXPLORERRPC']._serialized_end=12811 + _globals['_GETACCOUNTTXSREQUEST']._serialized_end=235 + _globals['_GETACCOUNTTXSRESPONSE']._serialized_start=237 + _globals['_GETACCOUNTTXSRESPONSE']._serialized_end=360 + _globals['_PAGING']._serialized_start=362 + _globals['_PAGING']._serialized_end=440 + _globals['_TXDETAILDATA']._serialized_start=443 + _globals['_TXDETAILDATA']._serialized_end=897 + _globals['_GASFEE']._serialized_start=899 + _globals['_GASFEE']._serialized_end=1010 + _globals['_COSMOSCOIN']._serialized_start=1012 + _globals['_COSMOSCOIN']._serialized_end=1055 + _globals['_EVENT']._serialized_start=1058 + _globals['_EVENT']._serialized_end=1197 + _globals['_EVENT_ATTRIBUTESENTRY']._serialized_start=1148 + _globals['_EVENT_ATTRIBUTESENTRY']._serialized_end=1197 + _globals['_SIGNATURE']._serialized_start=1199 + _globals['_SIGNATURE']._serialized_end=1280 + _globals['_GETCONTRACTTXSREQUEST']._serialized_start=1282 + _globals['_GETCONTRACTTXSREQUEST']._serialized_end=1391 + _globals['_GETCONTRACTTXSRESPONSE']._serialized_start=1393 + _globals['_GETCONTRACTTXSRESPONSE']._serialized_end=1517 + _globals['_GETBLOCKSREQUEST']._serialized_start=1519 + _globals['_GETBLOCKSREQUEST']._serialized_end=1583 + _globals['_GETBLOCKSRESPONSE']._serialized_start=1585 + _globals['_GETBLOCKSRESPONSE']._serialized_end=1701 + _globals['_BLOCKINFO']._serialized_start=1704 + _globals['_BLOCKINFO']._serialized_end=1916 + _globals['_TXDATARPC']._serialized_start=1919 + _globals['_TXDATARPC']._serialized_end=2092 + _globals['_GETBLOCKREQUEST']._serialized_start=2094 + _globals['_GETBLOCKREQUEST']._serialized_end=2123 + _globals['_GETBLOCKRESPONSE']._serialized_start=2125 + _globals['_GETBLOCKRESPONSE']._serialized_end=2225 + _globals['_BLOCKDETAILINFO']._serialized_start=2228 + _globals['_BLOCKDETAILINFO']._serialized_end=2462 + _globals['_TXDATA']._serialized_start=2465 + _globals['_TXDATA']._serialized_end=2635 + _globals['_GETVALIDATORSREQUEST']._serialized_start=2637 + _globals['_GETVALIDATORSREQUEST']._serialized_end=2659 + _globals['_GETVALIDATORSRESPONSE']._serialized_start=2661 + _globals['_GETVALIDATORSRESPONSE']._serialized_end=2760 + _globals['_VALIDATOR']._serialized_start=2763 + _globals['_VALIDATOR']._serialized_end=3387 + _globals['_VALIDATORDESCRIPTION']._serialized_start=3389 + _globals['_VALIDATORDESCRIPTION']._serialized_end=3506 + _globals['_VALIDATORUPTIME']._serialized_start=3508 + _globals['_VALIDATORUPTIME']._serialized_end=3563 + _globals['_SLASHINGEVENT']._serialized_start=3566 + _globals['_SLASHINGEVENT']._serialized_end=3715 + _globals['_GETVALIDATORREQUEST']._serialized_start=3717 + _globals['_GETVALIDATORREQUEST']._serialized_end=3755 + _globals['_GETVALIDATORRESPONSE']._serialized_start=3757 + _globals['_GETVALIDATORRESPONSE']._serialized_end=3855 + _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_start=3857 + _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_end=3901 + _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_start=3903 + _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_end=4013 + _globals['_GETTXSREQUEST']._serialized_start=4016 + _globals['_GETTXSREQUEST']._serialized_end=4161 + _globals['_GETTXSRESPONSE']._serialized_start=4163 + _globals['_GETTXSRESPONSE']._serialized_end=4273 + _globals['_GETTXBYTXHASHREQUEST']._serialized_start=4275 + _globals['_GETTXBYTXHASHREQUEST']._serialized_end=4311 + _globals['_GETTXBYTXHASHRESPONSE']._serialized_start=4313 + _globals['_GETTXBYTXHASHRESPONSE']._serialized_end=4415 + _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_start=4417 + _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_end=4507 + _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_start=4509 + _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_end=4592 + _globals['_PEGGYDEPOSITTX']._serialized_start=4595 + _globals['_PEGGYDEPOSITTX']._serialized_end=4843 + _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_start=4845 + _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_end=4938 + _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_start=4940 + _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_end=5029 + _globals['_PEGGYWITHDRAWALTX']._serialized_start=5032 + _globals['_PEGGYWITHDRAWALTX']._serialized_end=5371 + _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_start=5374 + _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_end=5543 + _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_start=5545 + _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_end=5626 + _globals['_IBCTRANSFERTX']._serialized_start=5629 + _globals['_IBCTRANSFERTX']._serialized_end=5977 + _globals['_GETWASMCODESREQUEST']._serialized_start=5979 + _globals['_GETWASMCODESREQUEST']._serialized_end=6055 + _globals['_GETWASMCODESRESPONSE']._serialized_start=6057 + _globals['_GETWASMCODESRESPONSE']._serialized_end=6175 + _globals['_WASMCODE']._serialized_start=6178 + _globals['_WASMCODE']._serialized_end=6519 + _globals['_CHECKSUM']._serialized_start=6521 + _globals['_CHECKSUM']._serialized_end=6564 + _globals['_CONTRACTPERMISSION']._serialized_start=6566 + _globals['_CONTRACTPERMISSION']._serialized_end=6624 + _globals['_GETWASMCODEBYIDREQUEST']._serialized_start=6626 + _globals['_GETWASMCODEBYIDREQUEST']._serialized_end=6667 + _globals['_GETWASMCODEBYIDRESPONSE']._serialized_start=6670 + _globals['_GETWASMCODEBYIDRESPONSE']._serialized_end=7026 + _globals['_GETWASMCONTRACTSREQUEST']._serialized_start=7029 + _globals['_GETWASMCONTRACTSREQUEST']._serialized_end=7161 + _globals['_GETWASMCONTRACTSRESPONSE']._serialized_start=7163 + _globals['_GETWASMCONTRACTSRESPONSE']._serialized_end=7289 + _globals['_WASMCONTRACT']._serialized_start=7292 + _globals['_WASMCONTRACT']._serialized_end=7719 + _globals['_CONTRACTFUND']._serialized_start=7721 + _globals['_CONTRACTFUND']._serialized_end=7766 + _globals['_CW20METADATA']._serialized_start=7769 + _globals['_CW20METADATA']._serialized_end=7909 + _globals['_CW20TOKENINFO']._serialized_start=7911 + _globals['_CW20TOKENINFO']._serialized_end=7996 + _globals['_CW20MARKETINGINFO']._serialized_start=7998 + _globals['_CW20MARKETINGINFO']._serialized_end=8088 + _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_start=8090 + _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_end=8149 + _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_start=8152 + _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_end=8599 + _globals['_GETCW20BALANCEREQUEST']._serialized_start=8601 + _globals['_GETCW20BALANCEREQUEST']._serialized_end=8656 + _globals['_GETCW20BALANCERESPONSE']._serialized_start=8658 + _globals['_GETCW20BALANCERESPONSE']._serialized_end=8738 + _globals['_WASMCW20BALANCE']._serialized_start=8741 + _globals['_WASMCW20BALANCE']._serialized_end=8899 + _globals['_RELAYERSREQUEST']._serialized_start=8901 + _globals['_RELAYERSREQUEST']._serialized_end=8939 + _globals['_RELAYERSRESPONSE']._serialized_start=8941 + _globals['_RELAYERSRESPONSE']._serialized_end=9014 + _globals['_RELAYERMARKETS']._serialized_start=9016 + _globals['_RELAYERMARKETS']._serialized_end=9102 + _globals['_RELAYER']._serialized_start=9104 + _globals['_RELAYER']._serialized_end=9140 + _globals['_STREAMTXSREQUEST']._serialized_start=9142 + _globals['_STREAMTXSREQUEST']._serialized_end=9160 + _globals['_STREAMTXSRESPONSE']._serialized_start=9163 + _globals['_STREAMTXSRESPONSE']._serialized_end=9344 + _globals['_STREAMBLOCKSREQUEST']._serialized_start=9346 + _globals['_STREAMBLOCKSREQUEST']._serialized_end=9367 + _globals['_STREAMBLOCKSRESPONSE']._serialized_start=9370 + _globals['_STREAMBLOCKSRESPONSE']._serialized_end=9593 + _globals['_INJECTIVEEXPLORERRPC']._serialized_start=9596 + _globals['_INJECTIVEEXPLORERRPC']._serialized_end=11860 # @@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 index 7c969b8c..655cf39b 100644 --- a/pyinjective/proto/exchange/injective_explorer_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_explorer_rpc_pb2_grpc.py @@ -105,11 +105,6 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__explorer__rpc__pb2.RelayersRequest.SerializeToString, response_deserializer=exchange_dot_injective__explorer__rpc__pb2.RelayersResponse.FromString, ) - 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, - ) self.StreamTxs = channel.unary_stream( '/injective_explorer_rpc.InjectiveExplorerRPC/StreamTxs', request_serializer=exchange_dot_injective__explorer__rpc__pb2.StreamTxsRequest.SerializeToString, @@ -256,13 +251,6 @@ def Relayers(self, request, context): 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 """ @@ -370,11 +358,6 @@ def add_InjectiveExplorerRPCServicer_to_server(servicer, server): 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, @@ -702,23 +685,6 @@ def Relayers(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @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) - @staticmethod def StreamTxs(request, target, diff --git a/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py b/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py index 335512f7..013ded19 100644 --- a/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_insurance_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\032/injective_insurance_rpcpb' _globals['_FUNDSREQUEST']._serialized_start=67 diff --git a/pyinjective/proto/exchange/injective_meta_rpc_pb2.py b/pyinjective/proto/exchange/injective_meta_rpc_pb2.py index 1d0fb240..4005d0c2 100644 --- a/pyinjective/proto/exchange/injective_meta_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_meta_rpc_pb2.py @@ -13,13 +13,12 @@ -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\"\x8f\x01\n\x0fVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12=\n\x05\x62uild\x18\x02 \x03(\x0b\x32..injective_meta_rpc.VersionResponse.BuildEntry\x1a,\n\nBuildEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\" \n\x0bInfoRequest\x12\x11\n\ttimestamp\x18\x01 \x01(\x12\"\xc1\x01\n\x0cInfoResponse\x12\x11\n\ttimestamp\x18\x01 \x01(\x12\x12\x13\n\x0bserver_time\x18\x02 \x01(\x12\x12\x0f\n\x07version\x18\x03 \x01(\t\x12:\n\x05\x62uild\x18\x04 \x03(\x0b\x32+.injective_meta_rpc.InfoResponse.BuildEntry\x12\x0e\n\x06region\x18\x05 \x01(\t\x1a,\n\nBuildEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x18\n\x16StreamKeepaliveRequest\"Q\n\x17StreamKeepaliveResponse\x12\r\n\x05\x65vent\x18\x01 \x01(\t\x12\x14\n\x0cnew_endpoint\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"&\n\x14TokenMetadataRequest\x12\x0e\n\x06\x64\x65noms\x18\x01 \x03(\t\"Q\n\x15TokenMetadataResponse\x12\x38\n\x06tokens\x18\x01 \x03(\x0b\x32(.injective_meta_rpc.TokenMetadataElement\"\x93\x01\n\x14TokenMetadataElement\x12\x18\n\x10\x65thereum_address\x18\x01 \x01(\t\x12\x14\n\x0c\x63oingecko_id\x18\x02 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x0e\n\x06symbol\x18\x05 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x06 \x01(\x11\x12\x0c\n\x04logo\x18\x07 \x01(\t2\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\x17Z\x15/injective_meta_rpcpbb\x06proto3') +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\"\x8f\x01\n\x0fVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12=\n\x05\x62uild\x18\x02 \x03(\x0b\x32..injective_meta_rpc.VersionResponse.BuildEntry\x1a,\n\nBuildEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\" \n\x0bInfoRequest\x12\x11\n\ttimestamp\x18\x01 \x01(\x12\"\xc1\x01\n\x0cInfoResponse\x12\x11\n\ttimestamp\x18\x01 \x01(\x12\x12\x13\n\x0bserver_time\x18\x02 \x01(\x12\x12\x0f\n\x07version\x18\x03 \x01(\t\x12:\n\x05\x62uild\x18\x04 \x03(\x0b\x32+.injective_meta_rpc.InfoResponse.BuildEntry\x12\x0e\n\x06region\x18\x05 \x01(\t\x1a,\n\nBuildEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x18\n\x16StreamKeepaliveRequest\"Q\n\x17StreamKeepaliveResponse\x12\r\n\x05\x65vent\x18\x01 \x01(\t\x12\x14\n\x0cnew_endpoint\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xea\x02\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\x42\x17Z\x15/injective_meta_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_meta_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\025/injective_meta_rpcpb' _VERSIONRESPONSE_BUILDENTRY._options = None @@ -46,12 +45,6 @@ _globals['_STREAMKEEPALIVEREQUEST']._serialized_end=506 _globals['_STREAMKEEPALIVERESPONSE']._serialized_start=508 _globals['_STREAMKEEPALIVERESPONSE']._serialized_end=589 - _globals['_TOKENMETADATAREQUEST']._serialized_start=591 - _globals['_TOKENMETADATAREQUEST']._serialized_end=629 - _globals['_TOKENMETADATARESPONSE']._serialized_start=631 - _globals['_TOKENMETADATARESPONSE']._serialized_end=712 - _globals['_TOKENMETADATAELEMENT']._serialized_start=715 - _globals['_TOKENMETADATAELEMENT']._serialized_end=862 - _globals['_INJECTIVEMETARPC']._serialized_start=865 - _globals['_INJECTIVEMETARPC']._serialized_end=1329 + _globals['_INJECTIVEMETARPC']._serialized_start=592 + _globals['_INJECTIVEMETARPC']._serialized_end=954 # @@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 index 53adfe00..43d37e72 100644 --- a/pyinjective/proto/exchange/injective_meta_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_meta_rpc_pb2_grpc.py @@ -35,11 +35,6 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveRequest.SerializeToString, response_deserializer=exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveResponse.FromString, ) - 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, - ) class InjectiveMetaRPCServicer(object): @@ -75,13 +70,6 @@ def StreamKeepalive(self, request, context): 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 = { @@ -105,11 +93,6 @@ def add_InjectiveMetaRPCServicer_to_server(servicer, server): 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) @@ -188,20 +171,3 @@ def StreamKeepalive(request, exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @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) diff --git a/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py b/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py index 89b39ea9..c053864f 100644 --- a/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py @@ -13,13 +13,12 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#exchange/injective_oracle_rpc.proto\x12\x14injective_oracle_rpc\"\x13\n\x11OracleListRequest\"C\n\x12OracleListResponse\x12-\n\x07oracles\x18\x01 \x03(\x0b\x32\x1c.injective_oracle_rpc.Oracle\"g\n\x06Oracle\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x13\n\x0b\x62\x61se_symbol\x18\x02 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x03 \x01(\t\x12\x13\n\x0boracle_type\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\"k\n\x0cPriceRequest\x12\x13\n\x0b\x62\x61se_symbol\x18\x01 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x02 \x01(\t\x12\x13\n\x0boracle_type\x18\x03 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x04 \x01(\r\"\x1e\n\rPriceResponse\x12\r\n\x05price\x18\x01 \x01(\t\"U\n\x13StreamPricesRequest\x12\x13\n\x0b\x62\x61se_symbol\x18\x01 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x02 \x01(\t\x12\x13\n\x0boracle_type\x18\x03 \x01(\t\"8\n\x14StreamPricesResponse\x12\r\n\x05price\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"2\n\x1cStreamPricesByMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"T\n\x1dStreamPricesByMarketsResponse\x12\r\n\x05price\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\x12\x11\n\tmarket_id\x18\x03 \x01(\t2\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\x19Z\x17/injective_oracle_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#exchange/injective_oracle_rpc.proto\x12\x14injective_oracle_rpc\"\x13\n\x11OracleListRequest\"C\n\x12OracleListResponse\x12-\n\x07oracles\x18\x01 \x03(\x0b\x32\x1c.injective_oracle_rpc.Oracle\"g\n\x06Oracle\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x13\n\x0b\x62\x61se_symbol\x18\x02 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x03 \x01(\t\x12\x13\n\x0boracle_type\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\"k\n\x0cPriceRequest\x12\x13\n\x0b\x62\x61se_symbol\x18\x01 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x02 \x01(\t\x12\x13\n\x0boracle_type\x18\x03 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x04 \x01(\r\"\x1e\n\rPriceResponse\x12\r\n\x05price\x18\x01 \x01(\t\"U\n\x13StreamPricesRequest\x12\x13\n\x0b\x62\x61se_symbol\x18\x01 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x02 \x01(\t\x12\x13\n\x0boracle_type\x18\x03 \x01(\t\"8\n\x14StreamPricesResponse\x12\r\n\x05price\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\x32\xb0\x02\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\x42\x19Z\x17/injective_oracle_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_oracle_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\027/injective_oracle_rpcpb' _globals['_ORACLELISTREQUEST']._serialized_start=61 @@ -36,10 +35,6 @@ _globals['_STREAMPRICESREQUEST']._serialized_end=482 _globals['_STREAMPRICESRESPONSE']._serialized_start=484 _globals['_STREAMPRICESRESPONSE']._serialized_end=540 - _globals['_STREAMPRICESBYMARKETSREQUEST']._serialized_start=542 - _globals['_STREAMPRICESBYMARKETSREQUEST']._serialized_end=592 - _globals['_STREAMPRICESBYMARKETSRESPONSE']._serialized_start=594 - _globals['_STREAMPRICESBYMARKETSRESPONSE']._serialized_end=678 - _globals['_INJECTIVEORACLERPC']._serialized_start=681 - _globals['_INJECTIVEORACLERPC']._serialized_end=1118 + _globals['_INJECTIVEORACLERPC']._serialized_start=543 + _globals['_INJECTIVEORACLERPC']._serialized_end=847 # @@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 index 387ce865..10050f14 100644 --- a/pyinjective/proto/exchange/injective_oracle_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_oracle_rpc_pb2_grpc.py @@ -30,11 +30,6 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesRequest.SerializeToString, response_deserializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesResponse.FromString, ) - 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, - ) class InjectiveOracleRPCServicer(object): @@ -63,13 +58,6 @@ def StreamPrices(self, request, context): 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 = { @@ -88,11 +76,6 @@ def add_InjectiveOracleRPCServicer_to_server(servicer, server): 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) @@ -154,20 +137,3 @@ def StreamPrices(request, exchange_dot_injective__oracle__rpc__pb2.StreamPricesResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @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) diff --git a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py index 9d765df5..f60f7d57 100644 --- a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py @@ -13,13 +13,12 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&exchange/injective_portfolio_rpc.proto\x12\x17injective_portfolio_rpc\"2\n\x17\x41\x63\x63ountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"Q\n\x18\x41\x63\x63ountPortfolioResponse\x12\x35\n\tportfolio\x18\x01 \x01(\x0b\x32\".injective_portfolio_rpc.Portfolio\"\xe6\x01\n\tPortfolio\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x34\n\rbank_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x41\n\x0bsubaccounts\x18\x03 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2\x12G\n\x13positions_with_upnl\x18\x04 \x03(\x0b\x32*.injective_portfolio_rpc.PositionsWithUPNL\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"x\n\x13SubaccountBalanceV2\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12;\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32*.injective_portfolio_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"j\n\x11PositionsWithUPNL\x12=\n\x08position\x18\x01 \x01(\x0b\x32+.injective_portfolio_rpc.DerivativePosition\x12\x16\n\x0eunrealized_pnl\x18\x02 \x01(\t\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"]\n\x1dStreamAccountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"w\n\x1eStreamAccountPortfolioResponse\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x11\n\ttimestamp\x18\x05 \x01(\x12\x32\x9e\x02\n\x15InjectivePortfolioRPC\x12w\n\x10\x41\x63\x63ountPortfolio\x12\x30.injective_portfolio_rpc.AccountPortfolioRequest\x1a\x31.injective_portfolio_rpc.AccountPortfolioResponse\x12\x8b\x01\n\x16StreamAccountPortfolio\x12\x36.injective_portfolio_rpc.StreamAccountPortfolioRequest\x1a\x37.injective_portfolio_rpc.StreamAccountPortfolioResponse0\x01\x42\x1cZ\x1a/injective_portfolio_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&exchange/injective_portfolio_rpc.proto\x12\x17injective_portfolio_rpc\"2\n\x17\x41\x63\x63ountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"Q\n\x18\x41\x63\x63ountPortfolioResponse\x12\x35\n\tportfolio\x18\x01 \x01(\x0b\x32\".injective_portfolio_rpc.Portfolio\"\xb4\x01\n\tPortfolio\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x34\n\rbank_balances\x18\x03 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12I\n\x13subaccount_balances\x18\x04 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\xd2\x01\n\x13SubaccountBalanceV2\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x39\n\x12\x61vailable_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x32\n\x0bmargin_hold\x18\x03 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x35\n\x0eunrealized_pnl\x18\x04 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin2\x90\x01\n\x15InjectivePortfolioRPC\x12w\n\x10\x41\x63\x63ountPortfolio\x12\x30.injective_portfolio_rpc.AccountPortfolioRequest\x1a\x31.injective_portfolio_rpc.AccountPortfolioResponseB\x1cZ\x1a/injective_portfolio_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_portfolio_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\032/injective_portfolio_rpcpb' _globals['_ACCOUNTPORTFOLIOREQUEST']._serialized_start=67 @@ -27,21 +26,11 @@ _globals['_ACCOUNTPORTFOLIORESPONSE']._serialized_start=119 _globals['_ACCOUNTPORTFOLIORESPONSE']._serialized_end=200 _globals['_PORTFOLIO']._serialized_start=203 - _globals['_PORTFOLIO']._serialized_end=433 - _globals['_COIN']._serialized_start=435 - _globals['_COIN']._serialized_end=472 - _globals['_SUBACCOUNTBALANCEV2']._serialized_start=474 - _globals['_SUBACCOUNTBALANCEV2']._serialized_end=594 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=596 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=665 - _globals['_POSITIONSWITHUPNL']._serialized_start=667 - _globals['_POSITIONSWITHUPNL']._serialized_end=773 - _globals['_DERIVATIVEPOSITION']._serialized_start=776 - _globals['_DERIVATIVEPOSITION']._serialized_end=1055 - _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_start=1057 - _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_end=1150 - _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_start=1152 - _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_end=1271 - _globals['_INJECTIVEPORTFOLIORPC']._serialized_start=1274 - _globals['_INJECTIVEPORTFOLIORPC']._serialized_end=1560 + _globals['_PORTFOLIO']._serialized_end=383 + _globals['_COIN']._serialized_start=385 + _globals['_COIN']._serialized_end=422 + _globals['_SUBACCOUNTBALANCEV2']._serialized_start=425 + _globals['_SUBACCOUNTBALANCEV2']._serialized_end=635 + _globals['_INJECTIVEPORTFOLIORPC']._serialized_start=638 + _globals['_INJECTIVEPORTFOLIORPC']._serialized_end=782 # @@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 index 2e875c38..d4cf4bc4 100644 --- a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2_grpc.py @@ -20,11 +20,6 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioRequest.SerializeToString, response_deserializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioResponse.FromString, ) - 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, - ) class InjectivePortfolioRPCServicer(object): @@ -38,13 +33,6 @@ def AccountPortfolio(self, request, context): 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 = { @@ -53,11 +41,6 @@ def add_InjectivePortfolioRPCServicer_to_server(servicer, server): request_deserializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioRequest.FromString, response_serializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioResponse.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) @@ -85,20 +68,3 @@ def AccountPortfolio(request, exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @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) diff --git a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py index e0ca7343..d09b297e 100644 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py @@ -13,105 +13,112 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"i\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x04 \x03(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xf1\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x94\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\xf7\x01\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x9b\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\x96\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xbb\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x8a\x01\n\x18\x41tomicSwapHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x05 \x01(\x11\x12\x11\n\tto_number\x18\x06 \x01(\x11\"\x87\x01\n\x19\x41tomicSwapHistoryResponse\x12\x33\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwap\"\xdc\x02\n\nAtomicSwap\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05route\x18\x02 \x01(\t\x12\x36\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x34\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12/\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x18\n\x10\x63ontract_address\x18\x06 \x01(\t\x12\x17\n\x0findex_by_sender\x18\x07 \x01(\x11\x12 \n\x18index_by_sender_contract\x18\x08 \x01(\x11\x12\x0f\n\x07tx_hash\x18\t \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\n \x01(\x12\x12\x15\n\rrefund_amount\x18\x0b \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xb8\x0f\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\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 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"P\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"%\n\x10OrderbookRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"W\n\x11OrderbookResponse\x12\x42\n\torderbook\x18\x01 \x01(\x0b\x32/.injective_spot_exchange_rpc.SpotLimitOrderbook\"\x83\x01\n\x12SpotLimitOrderbook\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\x97\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"\'\n\x11OrderbooksRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"_\n\x12OrderbooksResponse\x12I\n\norderbooks\x18\x01 \x03(\x0b\x32\x35.injective_spot_exchange_rpc.SingleSpotLimitOrderbook\"q\n\x18SingleSpotLimitOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x42\n\torderbook\x18\x02 \x01(\x0b\x32/.injective_spot_exchange_rpc.SpotLimitOrderbook\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\",\n\x16StreamOrderbookRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9b\x01\n\x17StreamOrderbookResponse\x12\x42\n\torderbook\x18\x01 \x01(\x0b\x32/.injective_spot_exchange_rpc.SpotLimitOrderbook\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xdf\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x83\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"\xe5\x01\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xec\x01\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x9b\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\"\xf2\x01\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\xd3\x01\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xaa\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\x8e\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\x12j\n\tOrderbook\x12-.injective_spot_exchange_rpc.OrderbookRequest\x1a..injective_spot_exchange_rpc.OrderbookResponse\x12p\n\x0bOrderbookV2\x12/.injective_spot_exchange_rpc.OrderbookV2Request\x1a\x30.injective_spot_exchange_rpc.OrderbookV2Response\x12m\n\nOrderbooks\x12..injective_spot_exchange_rpc.OrderbooksRequest\x1a/.injective_spot_exchange_rpc.OrderbooksResponse\x12s\n\x0cOrderbooksV2\x12\x30.injective_spot_exchange_rpc.OrderbooksV2Request\x1a\x31.injective_spot_exchange_rpc.OrderbooksV2Response\x12~\n\x0fStreamOrderbook\x12\x33.injective_spot_exchange_rpc.StreamOrderbookRequest\x1a\x34.injective_spot_exchange_rpc.StreamOrderbookResponse0\x01\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\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\x42 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_spot_exchange_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\036/injective_spot_exchange_rpcpb' _globals['_MARKETSREQUEST']._serialized_start=75 - _globals['_MARKETSREQUEST']._serialized_end=180 - _globals['_MARKETSRESPONSE']._serialized_start=182 - _globals['_MARKETSRESPONSE']._serialized_end=261 - _globals['_SPOTMARKETINFO']._serialized_start=264 - _globals['_SPOTMARKETINFO']._serialized_end=649 - _globals['_TOKENMETA']._serialized_start=651 - _globals['_TOKENMETA']._serialized_end=761 - _globals['_MARKETREQUEST']._serialized_start=763 - _globals['_MARKETREQUEST']._serialized_end=797 - _globals['_MARKETRESPONSE']._serialized_start=799 - _globals['_MARKETRESPONSE']._serialized_end=876 - _globals['_STREAMMARKETSREQUEST']._serialized_start=878 - _globals['_STREAMMARKETSREQUEST']._serialized_end=920 - _globals['_STREAMMARKETSRESPONSE']._serialized_start=922 - _globals['_STREAMMARKETSRESPONSE']._serialized_end=1049 - _globals['_ORDERBOOKV2REQUEST']._serialized_start=1051 - _globals['_ORDERBOOKV2REQUEST']._serialized_end=1090 - _globals['_ORDERBOOKV2RESPONSE']._serialized_start=1092 - _globals['_ORDERBOOKV2RESPONSE']._serialized_end=1183 - _globals['_SPOTLIMITORDERBOOKV2']._serialized_start=1186 - _globals['_SPOTLIMITORDERBOOKV2']._serialized_end=1356 - _globals['_PRICELEVEL']._serialized_start=1358 - _globals['_PRICELEVEL']._serialized_end=1422 - _globals['_ORDERBOOKSV2REQUEST']._serialized_start=1424 - _globals['_ORDERBOOKSV2REQUEST']._serialized_end=1465 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=1467 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=1566 - _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_start=1568 - _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_end=1685 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=1687 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=1733 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=1736 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=1895 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=1897 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=1947 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=1950 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=2128 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=2131 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=2334 - _globals['_PRICELEVELUPDATE']._serialized_start=2336 - _globals['_PRICELEVELUPDATE']._serialized_end=2425 - _globals['_ORDERSREQUEST']._serialized_start=2428 - _globals['_ORDERSREQUEST']._serialized_end=2669 - _globals['_ORDERSRESPONSE']._serialized_start=2672 - _globals['_ORDERSRESPONSE']._serialized_end=2802 - _globals['_SPOTLIMITORDER']._serialized_start=2805 - _globals['_SPOTLIMITORDER']._serialized_end=3081 - _globals['_PAGING']._serialized_start=3083 - _globals['_PAGING']._serialized_end=3175 - _globals['_STREAMORDERSREQUEST']._serialized_start=3178 - _globals['_STREAMORDERSREQUEST']._serialized_end=3425 - _globals['_STREAMORDERSRESPONSE']._serialized_start=3427 - _globals['_STREAMORDERSRESPONSE']._serialized_end=3552 - _globals['_TRADESREQUEST']._serialized_start=3555 - _globals['_TRADESREQUEST']._serialized_end=3834 - _globals['_TRADESRESPONSE']._serialized_start=3836 - _globals['_TRADESRESPONSE']._serialized_end=3961 - _globals['_SPOTTRADE']._serialized_start=3964 - _globals['_SPOTTRADE']._serialized_end=4247 - _globals['_STREAMTRADESREQUEST']._serialized_start=4250 - _globals['_STREAMTRADESREQUEST']._serialized_end=4535 - _globals['_STREAMTRADESRESPONSE']._serialized_start=4537 - _globals['_STREAMTRADESRESPONSE']._serialized_end=4657 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=4659 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=4759 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=4762 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=4906 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=4909 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5052 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5054 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5140 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=5143 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=5421 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5424 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=5563 - _globals['_SPOTORDERHISTORY']._serialized_start=5566 - _globals['_SPOTORDERHISTORY']._serialized_end=5881 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=5884 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6034 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6037 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6171 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=6174 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=6312 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=6315 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=6450 - _globals['_ATOMICSWAP']._serialized_start=6453 - _globals['_ATOMICSWAP']._serialized_end=6801 - _globals['_COIN']._serialized_start=6803 - _globals['_COIN']._serialized_end=6840 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6843 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8819 + _globals['_MARKETSREQUEST']._serialized_end=155 + _globals['_MARKETSRESPONSE']._serialized_start=157 + _globals['_MARKETSRESPONSE']._serialized_end=236 + _globals['_SPOTMARKETINFO']._serialized_start=239 + _globals['_SPOTMARKETINFO']._serialized_end=624 + _globals['_TOKENMETA']._serialized_start=626 + _globals['_TOKENMETA']._serialized_end=736 + _globals['_MARKETREQUEST']._serialized_start=738 + _globals['_MARKETREQUEST']._serialized_end=772 + _globals['_MARKETRESPONSE']._serialized_start=774 + _globals['_MARKETRESPONSE']._serialized_end=851 + _globals['_STREAMMARKETSREQUEST']._serialized_start=853 + _globals['_STREAMMARKETSREQUEST']._serialized_end=895 + _globals['_STREAMMARKETSRESPONSE']._serialized_start=897 + _globals['_STREAMMARKETSRESPONSE']._serialized_end=1024 + _globals['_ORDERBOOKREQUEST']._serialized_start=1026 + _globals['_ORDERBOOKREQUEST']._serialized_end=1063 + _globals['_ORDERBOOKRESPONSE']._serialized_start=1065 + _globals['_ORDERBOOKRESPONSE']._serialized_end=1152 + _globals['_SPOTLIMITORDERBOOK']._serialized_start=1155 + _globals['_SPOTLIMITORDERBOOK']._serialized_end=1286 + _globals['_PRICELEVEL']._serialized_start=1288 + _globals['_PRICELEVEL']._serialized_end=1352 + _globals['_ORDERBOOKV2REQUEST']._serialized_start=1354 + _globals['_ORDERBOOKV2REQUEST']._serialized_end=1393 + _globals['_ORDERBOOKV2RESPONSE']._serialized_start=1395 + _globals['_ORDERBOOKV2RESPONSE']._serialized_end=1486 + _globals['_SPOTLIMITORDERBOOKV2']._serialized_start=1489 + _globals['_SPOTLIMITORDERBOOKV2']._serialized_end=1640 + _globals['_ORDERBOOKSREQUEST']._serialized_start=1642 + _globals['_ORDERBOOKSREQUEST']._serialized_end=1681 + _globals['_ORDERBOOKSRESPONSE']._serialized_start=1683 + _globals['_ORDERBOOKSRESPONSE']._serialized_end=1778 + _globals['_SINGLESPOTLIMITORDERBOOK']._serialized_start=1780 + _globals['_SINGLESPOTLIMITORDERBOOK']._serialized_end=1893 + _globals['_ORDERBOOKSV2REQUEST']._serialized_start=1895 + _globals['_ORDERBOOKSV2REQUEST']._serialized_end=1936 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=1938 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=2037 + _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_start=2039 + _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_end=2156 + _globals['_STREAMORDERBOOKREQUEST']._serialized_start=2158 + _globals['_STREAMORDERBOOKREQUEST']._serialized_end=2202 + _globals['_STREAMORDERBOOKRESPONSE']._serialized_start=2205 + _globals['_STREAMORDERBOOKRESPONSE']._serialized_end=2360 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=2362 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=2408 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=2411 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=2570 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=2572 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=2622 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=2625 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=2803 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=2806 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=3009 + _globals['_PRICELEVELUPDATE']._serialized_start=3011 + _globals['_PRICELEVELUPDATE']._serialized_end=3100 + _globals['_ORDERSREQUEST']._serialized_start=3103 + _globals['_ORDERSREQUEST']._serialized_end=3326 + _globals['_ORDERSRESPONSE']._serialized_start=3329 + _globals['_ORDERSRESPONSE']._serialized_end=3459 + _globals['_SPOTLIMITORDER']._serialized_start=3462 + _globals['_SPOTLIMITORDER']._serialized_end=3721 + _globals['_PAGING']._serialized_start=3723 + _globals['_PAGING']._serialized_end=3801 + _globals['_STREAMORDERSREQUEST']._serialized_start=3804 + _globals['_STREAMORDERSREQUEST']._serialized_end=4033 + _globals['_STREAMORDERSRESPONSE']._serialized_start=4035 + _globals['_STREAMORDERSRESPONSE']._serialized_end=4160 + _globals['_TRADESREQUEST']._serialized_start=4163 + _globals['_TRADESREQUEST']._serialized_end=4399 + _globals['_TRADESRESPONSE']._serialized_start=4401 + _globals['_TRADESRESPONSE']._serialized_end=4526 + _globals['_SPOTTRADE']._serialized_start=4529 + _globals['_SPOTTRADE']._serialized_end=4812 + _globals['_STREAMTRADESREQUEST']._serialized_start=4815 + _globals['_STREAMTRADESREQUEST']._serialized_end=5057 + _globals['_STREAMTRADESRESPONSE']._serialized_start=5059 + _globals['_STREAMTRADESRESPONSE']._serialized_end=5179 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=5181 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=5281 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=5284 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=5428 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=5431 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5574 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5576 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5662 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=5665 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=5876 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5879 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=6018 + _globals['_SPOTORDERHISTORY']._serialized_start=6021 + _globals['_SPOTORDERHISTORY']._serialized_end=6319 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=6322 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6472 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6475 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6609 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6612 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8802 # @@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 index 3328c587..2ba568f1 100644 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py @@ -30,16 +30,31 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsRequest.SerializeToString, response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsResponse.FromString, ) + self.Orderbook = channel.unary_unary( + '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbook', + request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookRequest.SerializeToString, + response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookResponse.FromString, + ) 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, ) + self.Orderbooks = channel.unary_unary( + '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbooks', + request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksRequest.SerializeToString, + response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksResponse.FromString, + ) 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, ) + self.StreamOrderbook = channel.unary_stream( + '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbook', + request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookRequest.SerializeToString, + response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookResponse.FromString, + ) self.StreamOrderbookV2 = channel.unary_stream( '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookV2', request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookV2Request.SerializeToString, @@ -90,11 +105,6 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryRequest.SerializeToString, response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryResponse.FromString, ) - 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, - ) class InjectiveSpotExchangeRPCServicer(object): @@ -122,6 +132,13 @@ def StreamMarkets(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def Orderbook(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 OrderbookV2(self, request, context): """Orderbook of a Spot Market """ @@ -129,6 +146,13 @@ def OrderbookV2(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def Orderbooks(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 OrderbooksV2(self, request, context): """Orderbook of Spot Markets """ @@ -136,6 +160,13 @@ def OrderbooksV2(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def StreamOrderbook(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 StreamOrderbookV2(self, request, context): """Stream live snapshot updates of selected spot market orderbook """ @@ -206,13 +237,6 @@ def StreamOrdersHistory(self, request, context): 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 = { @@ -231,16 +255,31 @@ def add_InjectiveSpotExchangeRPCServicer_to_server(servicer, server): request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsRequest.FromString, response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsResponse.SerializeToString, ), + 'Orderbook': grpc.unary_unary_rpc_method_handler( + servicer.Orderbook, + request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookRequest.FromString, + response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookResponse.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, ), + 'Orderbooks': grpc.unary_unary_rpc_method_handler( + servicer.Orderbooks, + request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksRequest.FromString, + response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksResponse.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, ), + 'StreamOrderbook': grpc.unary_stream_rpc_method_handler( + servicer.StreamOrderbook, + request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookRequest.FromString, + response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookResponse.SerializeToString, + ), 'StreamOrderbookV2': grpc.unary_stream_rpc_method_handler( servicer.StreamOrderbookV2, request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookV2Request.FromString, @@ -291,11 +330,6 @@ def add_InjectiveSpotExchangeRPCServicer_to_server(servicer, server): 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) @@ -358,6 +392,23 @@ def StreamMarkets(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def Orderbook(request, + target, + options=(), + channel_credentials=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/Orderbook', + exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookRequest.SerializeToString, + exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def OrderbookV2(request, target, @@ -375,6 +426,23 @@ def OrderbookV2(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def Orderbooks(request, + target, + options=(), + channel_credentials=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/Orderbooks', + exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksRequest.SerializeToString, + exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def OrderbooksV2(request, target, @@ -392,6 +460,23 @@ def OrderbooksV2(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def StreamOrderbook(request, + 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/StreamOrderbook', + exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookRequest.SerializeToString, + exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def StreamOrderbookV2(request, target, @@ -561,20 +646,3 @@ def StreamOrdersHistory(request, exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @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) 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 4c2d1fdc..00000000 --- a/pyinjective/proto/exchange/injective_trading_rpc_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_trading_rpc.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_trading_rpc.proto\x12\x15injective_trading_rpc\"\xb3\x01\n\x1cListTradingStrategiesRequest\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"\x8a\x01\n\x1dListTradingStrategiesResponse\x12:\n\nstrategies\x18\x01 \x03(\x0b\x32&.injective_trading_rpc.TradingStrategy\x12-\n\x06paging\x18\x02 \x01(\x0b\x32\x1d.injective_trading_rpc.Paging\"\xb0\x03\n\x0fTradingStrategy\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x06 \x01(\t\x12\x15\n\rbase_quantity\x18\x07 \x01(\t\x12\x13\n\x0blower_bound\x18\x08 \x01(\t\x12\x13\n\x0bupper_bound\x18\t \x01(\t\x12\x11\n\tstop_loss\x18\n \x01(\t\x12\x13\n\x0btake_profit\x18\x0b \x01(\t\x12\x10\n\x08swap_fee\x18\x0c \x01(\t\x12\x14\n\x0c\x62\x61se_deposit\x18\x11 \x01(\t\x12\x15\n\rquote_deposit\x18\x12 \x01(\t\x12\x18\n\x10market_mid_price\x18\x13 \x01(\t\x12\x16\n\x0e\x63reated_height\x18\r \x01(\x12\x12\x16\n\x0eremoved_height\x18\x0e \x01(\x12\x12\x12\n\ncreated_at\x18\x0f \x01(\x12\x12\x12\n\nupdated_at\x18\x10 \x01(\x12\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t2\x9a\x01\n\x13InjectiveTradingRPC\x12\x82\x01\n\x15ListTradingStrategies\x12\x33.injective_trading_rpc.ListTradingStrategiesRequest\x1a\x34.injective_trading_rpc.ListTradingStrategiesResponseB\x1aZ\x18/injective_trading_rpcpbb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_trading_rpc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z\030/injective_trading_rpcpb' - _globals['_LISTTRADINGSTRATEGIESREQUEST']._serialized_start=64 - _globals['_LISTTRADINGSTRATEGIESREQUEST']._serialized_end=243 - _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_start=246 - _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_end=384 - _globals['_TRADINGSTRATEGY']._serialized_start=387 - _globals['_TRADINGSTRATEGY']._serialized_end=819 - _globals['_PAGING']._serialized_start=821 - _globals['_PAGING']._serialized_end=913 - _globals['_INJECTIVETRADINGRPC']._serialized_start=916 - _globals['_INJECTIVETRADINGRPC']._serialized_end=1070 -# @@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 c9d845f0..00000000 --- a/pyinjective/proto/exchange/injective_trading_rpc_pb2_grpc.py +++ /dev/null @@ -1,73 +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 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, - ) - - -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,)) - - - # 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) diff --git a/pyinjective/proto/gogoproto/gogo_pb2.py b/pyinjective/proto/gogoproto/gogo_pb2.py index eb4574ea..48f4ad3a 100644 --- a/pyinjective/proto/gogoproto/gogo_pb2.py +++ b/pyinjective/proto/gogoproto/gogo_pb2.py @@ -20,84 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gogoproto.gogo_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(goproto_enum_prefix) - google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(goproto_enum_stringer) - google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enum_stringer) - google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enum_customname) - google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enumdecl) - google_dot_protobuf_dot_descriptor__pb2.EnumValueOptions.RegisterExtension(enumvalue_customname) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_getters_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_enum_prefix_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_stringer_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(verbose_equal_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(face_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(gostring_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(populate_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(stringer_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(onlyone_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(equal_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(description_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(testgen_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(benchgen_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(marshaler_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(unmarshaler_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(stable_marshaler_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(sizer_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_enum_stringer_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(enum_stringer_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(unsafe_marshaler_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(unsafe_unmarshaler_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_extensions_map_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_unrecognized_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(gogoproto_import) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(protosizer_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(compare_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(typedecl_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(enumdecl_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_registration) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(messagename_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_sizecache_all) - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_unkeyed_all) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_getters) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_stringer) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(verbose_equal) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(face) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(gostring) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(populate) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(stringer) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(onlyone) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(equal) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(description) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(testgen) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(benchgen) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(marshaler) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(unmarshaler) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(stable_marshaler) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(sizer) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(unsafe_marshaler) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(unsafe_unmarshaler) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_extensions_map) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_unrecognized) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(protosizer) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(compare) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(typedecl) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(messagename) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_sizecache) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_unkeyed) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(nullable) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(embed) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(customtype) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(customname) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(jsontag) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(moretags) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(casttype) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(castkey) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(castvalue) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(stdtime) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(stdduration) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(wktpointer) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(castrepeated) - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\023com.google.protobufB\nGoGoProtosZ%github.com/cosmos/gogoproto/gogoproto' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/api/annotations_pb2.py b/pyinjective/proto/google/api/annotations_pb2.py index c0c049c9..590f14a6 100644 --- a/pyinjective/proto/google/api/annotations_pb2.py +++ b/pyinjective/proto/google/api/annotations_pb2.py @@ -21,8 +21,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.annotations_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(http) - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/api/http_pb2.py b/pyinjective/proto/google/api/http_pb2.py index 7ed5439f..f7aae440 100644 --- a/pyinjective/proto/google/api/http_pb2.py +++ b/pyinjective/proto/google/api/http_pb2.py @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.http_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\016com.google.apiB\tHttpProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\370\001\001\242\002\004GAPI' _globals['_HTTP']._serialized_start=37 diff --git a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py index a7f891f5..3ad21faf 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.ack_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_start=62 diff --git a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py index 0ebc93b5..fe6c7d00 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py @@ -24,7 +24,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.fee_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _FEE.fields_by_name['recv_fee']._options = None diff --git a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py index 410e05a0..d89f0e30 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py @@ -22,7 +22,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _GENESISSTATE.fields_by_name['identified_fees']._options = None diff --git a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py index de02ff7f..d07b7c64 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.metadata_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _globals['_METADATA']._serialized_start=67 diff --git a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py index b8b5b67b..42fade44 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py @@ -26,7 +26,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _QUERYINCENTIVIZEDPACKETSRESPONSE.fields_by_name['incentivized_packets']._options = None diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py index 2113deac..bc0a8f02 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py @@ -24,7 +24,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _MSGREGISTERPAYEE._options = None diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py index b6fbb7bb..d408f914 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 @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.controller_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' _globals['_PARAMS']._serialized_start=123 diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py index e4fc336e..be7fb052 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 @@ -21,7 +21,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' _QUERY.methods_by_name['InterchainAccount']._options = None diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py index 9abeeb7b..90f66d07 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 @@ -23,7 +23,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' _MSGREGISTERINTERCHAINACCOUNT._options = None diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py index 792e89b2..5c8216a7 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 @@ -22,7 +22,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.genesis.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types' _GENESISSTATE.fields_by_name['controller_genesis_state']._options = None diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py index 795968ac..e1d68d4e 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 @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.host_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' _globals['_PARAMS']._serialized_start=105 diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py index 700142a4..1e3571cc 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 @@ -21,7 +21,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' _QUERY.methods_by_name['Params']._options = None 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 83486198..75a4d183 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 @@ -22,7 +22,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' _MSGUPDATEPARAMS.fields_by_name['params']._options = None diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py index 3878bf25..1dc6e9d0 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py @@ -22,7 +22,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.account_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' _INTERCHAINACCOUNT.fields_by_name['base_account']._options = None diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py index 9d4fd546..9e0d9e94 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.metadata_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' _globals['_METADATA']._serialized_start=100 diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py index 9558a2e3..60789356 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py @@ -21,7 +21,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.packet_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' _TYPE._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py index 4a179837..35c3ace2 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py @@ -22,7 +22,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _ALLOCATION.fields_by_name['spend_limit']._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py index 2fd299b8..92747d5a 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py @@ -22,7 +22,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _GENESISSTATE.fields_by_name['denom_traces']._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py index 93917afa..b3b3620f 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py @@ -24,7 +24,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _QUERYDENOMTRACESRESPONSE.fields_by_name['denom_traces']._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py index 05953191..5532823f 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.transfer_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _globals['_DENOMTRACE']._serialized_start=77 diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py index cdccbedc..4b707dfd 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py @@ -25,7 +25,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _MSGTRANSFER.fields_by_name['token']._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py index 945c0432..b2f12461 100644 --- a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py @@ -19,7 +19,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v2.packet_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _globals['_FUNGIBLETOKENPACKETDATA']._serialized_start=75 diff --git a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py index 5a3245de..715990f3 100644 --- a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py @@ -21,7 +21,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.channel_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _STATE._options = None diff --git a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py index d02b8e20..a9954ba1 100644 --- a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py @@ -21,7 +21,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _GENESISSTATE.fields_by_name['channels']._options = None diff --git a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py index 2fea022d..970a9063 100644 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py @@ -25,7 +25,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _QUERYCHANNELRESPONSE.fields_by_name['proof_height']._options = None diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py index 6f14197e..790e6cd3 100644 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py @@ -23,7 +23,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _RESPONSERESULTTYPE._options = None diff --git a/pyinjective/proto/ibc/core/client/v1/client_pb2.py b/pyinjective/proto/ibc/core/client/v1/client_pb2.py index e6e836cd..e7cdbeda 100644 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/client_pb2.py @@ -23,7 +23,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.client_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _CONSENSUSSTATEWITHHEIGHT.fields_by_name['height']._options = None diff --git a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py index 26f63a9e..67a66364 100644 --- a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py @@ -21,7 +21,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _GENESISSTATE.fields_by_name['clients']._options = None diff --git a/pyinjective/proto/ibc/core/client/v1/query_pb2.py b/pyinjective/proto/ibc/core/client/v1/query_pb2.py index 942dbf5b..62f40af2 100644 --- a/pyinjective/proto/ibc/core/client/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/query_pb2.py @@ -24,7 +24,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _QUERYCLIENTSTATERESPONSE.fields_by_name['proof_height']._options = None diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py index 50fb6af7..16c13ecb 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py @@ -24,7 +24,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _MSGCREATECLIENT._options = None diff --git a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py index ed3dd692..2ae6f880 100644 --- a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py +++ b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py @@ -21,7 +21,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.commitment.v1.commitment_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z Date: Wed, 11 Oct 2023 14:34:08 -0300 Subject: [PATCH 14/83] (fix) Addressed comment made during PR review --- examples/chain_client/49_ChainStream.py | 2 +- pyinjective/core/network.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/chain_client/49_ChainStream.py b/examples/chain_client/49_ChainStream.py index 369d54cc..b4c60213 100644 --- a/examples/chain_client/49_ChainStream.py +++ b/examples/chain_client/49_ChainStream.py @@ -8,7 +8,7 @@ async def main() -> None: - network = Network.devnet() + network = Network.testnet() client = AsyncClient(network) composer = Composer(network=network.string()) diff --git a/pyinjective/core/network.py b/pyinjective/core/network.py index b57544e3..5dc59ef1 100644 --- a/pyinjective/core/network.py +++ b/pyinjective/core/network.py @@ -227,7 +227,7 @@ def testnet(cls, node="lb"): 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" + chain_stream_endpoint = "testnet.chain.stream.injective.network:443" cookie_assistant = DisabledCookieAssistant() use_secure_connection = True From fc0e683707f3fda6b1347c1e191384965037a9ed Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 6 Oct 2023 12:53:14 -0300 Subject: [PATCH 15/83] (feat) Added example for liquidable positions request. Also removed sentry nodes from network config --- .../23_LiquidablePositions.py | 30 +++++++++++++++++++ pyinjective/core/network.py | 13 +------- 2 files changed, 31 insertions(+), 12 deletions(-) create mode 100644 examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py diff --git a/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py b/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py new file mode 100644 index 00000000..e87f67b1 --- /dev/null +++ b/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py @@ -0,0 +1,30 @@ +import asyncio + +from google.protobuf import json_format + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" + skip = 10 + limit = 3 + positions = await client.get_derivative_liquidable_positions( + market_id=market_id, + skip=skip, + limit=limit, + ) + print( + json_format.MessageToJson( + message=positions, + including_default_value_fields=True, + preserving_proto_field_name=True, + ) + ) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/core/network.py b/pyinjective/core/network.py index 39c4af65..9131329a 100644 --- a/pyinjective/core/network.py +++ b/pyinjective/core/network.py @@ -244,9 +244,6 @@ def mainnet(cls, node="lb"): nodes = [ "lb", # us, asia, prod "lb_k8s", - "sentry0", # ca, prod - "sentry1", # ca, prod - "sentry3", # us, prod ] if node not in nodes: raise ValueError("Must be one of {}".format(nodes)) @@ -259,7 +256,7 @@ def mainnet(cls, node="lb"): grpc_explorer_endpoint = "sentry.explorer.grpc.injective.network:443" cookie_assistant = BareMetalLoadBalancedCookieAssistant() use_secure_connection = True - elif node == "lb_k8s": + else: lcd_endpoint = "https://k8s.global.mainnet.lcd.injective.network:443" tm_websocket_endpoint = "wss://k8s.global.mainnet.tm.injective.network:443/websocket" grpc_endpoint = "k8s.global.mainnet.chain.grpc.injective.network:443" @@ -267,14 +264,6 @@ def mainnet(cls, node="lb"): grpc_explorer_endpoint = "k8s.global.mainnet.explorer.grpc.injective.network:443" cookie_assistant = KubernetesLoadBalancedCookieAssistant() use_secure_connection = True - else: - lcd_endpoint = f"http://{node}.injective.network:10337" - tm_websocket_endpoint = f"ws://{node}.injective.network:26657/websocket" - grpc_endpoint = f"{node}.injective.network:9900" - grpc_exchange_endpoint = f"{node}.injective.network:9910" - grpc_explorer_endpoint = f"{node}.injective.network:9911" - cookie_assistant = DisabledCookieAssistant() - use_secure_connection = False return cls( lcd_endpoint=lcd_endpoint, From a5040cddc8602c8a44ebc3b6ff408b1732346cf0 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 21 Jun 2023 12:46:25 -0300 Subject: [PATCH 16/83] (feat) Created the API component for the auction module (with the unit tests) --- pyinjective/client/__init__.py | 0 pyinjective/client/chain/__init__.py | 0 pyinjective/client/chain/grpc/__init__.py | 0 .../chain/grpc/chain_grpc_auction_api.py | 66 +++++++++ tests/client/__init__.py | 0 tests/client/chain/__init__.py | 0 tests/client/chain/grpc/__init__.py | 0 .../configurable_auction_query_servicer.py | 24 ++++ .../chain/grpc/test_chain_grpc_auction_api.py | 131 ++++++++++++++++++ 9 files changed, 221 insertions(+) create mode 100644 pyinjective/client/__init__.py create mode 100644 pyinjective/client/chain/__init__.py create mode 100644 pyinjective/client/chain/grpc/__init__.py create mode 100644 pyinjective/client/chain/grpc/chain_grpc_auction_api.py create mode 100644 tests/client/__init__.py create mode 100644 tests/client/chain/__init__.py create mode 100644 tests/client/chain/grpc/__init__.py create mode 100644 tests/client/chain/grpc/configurable_auction_query_servicer.py create mode 100644 tests/client/chain/grpc/test_chain_grpc_auction_api.py diff --git a/pyinjective/client/__init__.py b/pyinjective/client/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/chain/__init__.py b/pyinjective/client/chain/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/chain/grpc/__init__.py b/pyinjective/client/chain/grpc/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/chain/grpc/chain_grpc_auction_api.py b/pyinjective/client/chain/grpc/chain_grpc_auction_api.py new file mode 100644 index 00000000..1e54cc27 --- /dev/null +++ b/pyinjective/client/chain/grpc/chain_grpc_auction_api.py @@ -0,0 +1,66 @@ +from typing import Dict, Any + +from grpc.aio import Channel + +from pyinjective.proto.injective.auction.v1beta1 import ( + query_pb2_grpc as auction_query_grpc, + query_pb2 as auction_query_pb, +) + + +class ChainGrpcAuctionApi: + + def __init__(self, channel: Channel): + self._stub = auction_query_grpc.QueryStub(channel) + + async def fetch_module_params(self) -> Dict[str, Any]: + request = auction_query_pb.QueryAuctionParamsRequest() + response = await self._stub.AuctionParams(request) + + module_params = { + "auction_period": response.params.auction_period, + "min_next_bid_increment_rate": response.params.min_next_bid_increment_rate, + } + + return module_params + + async def fetch_module_state(self) -> Dict[str, Any]: + request = auction_query_pb.QueryModuleStateRequest() + response = await self._stub.AuctionModuleState(request) + + if response.state.highest_bid is None: + highest_bid = { + "bidder": "", + "amount": "", + } + else: + highest_bid = { + "bidder": response.state.highest_bid.bidder, + "amount": response.state.highest_bid.amount, + } + + module_state = { + "params": { + "auction_period": response.state.params.auction_period, + "min_next_bid_increment_rate": response.state.params.min_next_bid_increment_rate, + }, + "auction_round": response.state.auction_round, + "highest_bid": highest_bid, + "auction_ending_timestamp": response.state.auction_ending_timestamp, + } + + return module_state + + async def fetch_current_basket(self) -> Dict[str, Any]: + request = auction_query_pb.QueryCurrentAuctionBasketRequest() + response = await self._stub.CurrentAuctionBasket(request) + + current_basket = { + "amount_list": [{"amount": coin.amount, "denom": coin.denom} for coin in response.amount], + "auction_round": response.auctionRound, + "auction_closing_time": response.auctionClosingTime, + "highest_bidder": response.highestBidder, + "highest_bid_amount": response.highestBidAmount, + } + + return current_basket diff --git a/tests/client/__init__.py b/tests/client/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/client/chain/__init__.py b/tests/client/chain/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/client/chain/grpc/__init__.py b/tests/client/chain/grpc/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/client/chain/grpc/configurable_auction_query_servicer.py b/tests/client/chain/grpc/configurable_auction_query_servicer.py new file mode 100644 index 00000000..aa7ba51a --- /dev/null +++ b/tests/client/chain/grpc/configurable_auction_query_servicer.py @@ -0,0 +1,24 @@ +from collections import deque + +from pyinjective.proto.injective.auction.v1beta1 import ( + query_pb2_grpc as auction_query_grpc, + query_pb2 as auction_query_pb, +) + + +class ConfigurableAuctionQueryServicer(auction_query_grpc.QueryServicer): + + def __init__(self): + super().__init__() + self.auction_params = deque() + self.module_states = deque() + self.current_baskets = deque() + + async def AuctionParams(self, request: auction_query_pb.QueryAuctionParamsRequest, context=None): + return self.auction_params.pop() + + async def AuctionModuleState(self, request: auction_query_pb.QueryModuleStateRequest, context=None): + return self.module_states.pop() + + async def CurrentAuctionBasket(self, request: auction_query_pb.QueryCurrentAuctionBasketRequest, context=None): + return self.current_baskets.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_auction_api.py b/tests/client/chain/grpc/test_chain_grpc_auction_api.py new file mode 100644 index 00000000..39912c0f --- /dev/null +++ b/tests/client/chain/grpc/test_chain_grpc_auction_api.py @@ -0,0 +1,131 @@ +import grpc +import pytest + +from pyinjective.client.chain.grpc.chain_grpc_auction_api import ChainGrpcAuctionApi +from pyinjective.constant import Network +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb +from pyinjective.proto.injective.auction.v1beta1 import ( + auction_pb2 as auction_pb, + genesis_pb2 as genesis_pb, + query_pb2 as auction_query_pb, +) +from tests.client.chain.grpc.configurable_auction_query_servicer import ConfigurableAuctionQueryServicer + + +@pytest.fixture +def auction_servicer(): + return ConfigurableAuctionQueryServicer() + + +class TestChainGrpcAuctionApi: + + @pytest.mark.asyncio + async def test_fetch_module_params( + self, + auction_servicer, + ): + params = auction_pb.Params( + auction_period=604800, + min_next_bid_increment_rate="2500000000000000" + ) + auction_servicer.auction_params.append(auction_query_pb.QueryAuctionParamsResponse( + params=params + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuctionApi(channel=channel) + api._stub = auction_servicer + + module_params = await api.fetch_module_params() + expected_params = { + "auction_period": 604800, + "min_next_bid_increment_rate": "2500000000000000", + } + + assert (expected_params == module_params) + + @pytest.mark.asyncio + async def test_fetch_module_state( + self, + auction_servicer, + ): + params = auction_pb.Params( + auction_period=604800, + min_next_bid_increment_rate="2500000000000000" + ) + highest_bid = auction_pb.Bid( + bidder="inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", + amount="\n\003inj\022\0232347518723906280000", + ) + state = genesis_pb.GenesisState( + params=params, + auction_round=50, + highest_bid=highest_bid, + auction_ending_timestamp=1687504387, + ) + auction_servicer.module_states.append(auction_query_pb.QueryModuleStateResponse( + state=state + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuctionApi(channel=channel) + api._stub = auction_servicer + + module_state = await api.fetch_module_state() + expected_state = { + "params": { + "auction_period": 604800, + "min_next_bid_increment_rate": "2500000000000000", + }, + "auction_round": 50, + "highest_bid": { + "bidder": "inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", + "amount": "\n\003inj\022\0232347518723906280000", + }, + "auction_ending_timestamp": 1687504387, + } + + assert (expected_state == module_state) + + @pytest.mark.asyncio + async def test_fetch_current_basket( + self, + auction_servicer, + ): + first_amount = coin_pb.Coin( + amount="15059786755", + denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", + ) + second_amount = coin_pb.Coin( + amount="200000", + denom="peggy0xf9152067989BDc8783fF586624124C05A529A5D1", + ) + + auction_servicer.current_baskets.append(auction_query_pb.QueryCurrentAuctionBasketResponse( + amount=[first_amount, second_amount], + auctionRound=50, + auctionClosingTime=1687504387, + highestBidder="inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", + highestBidAmount="2347518723906280000", + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuctionApi(channel=channel) + api._stub = auction_servicer + + current_basket = await api.fetch_current_basket() + expected_basket = { + "amount_list": [{"amount": coin.amount, "denom": coin.denom} for coin in [first_amount, second_amount]], + "auction_round": 50, + "auction_closing_time": 1687504387, + "highest_bidder": "inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", + "highest_bid_amount": "2347518723906280000", + } + + assert (expected_basket == current_basket) From df4436d098c29caf965e16b7c9b5b5b92bfd3e5c Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 21 Jun 2023 23:58:22 -0300 Subject: [PATCH 17/83] (feat) Created the API class for the bank module (with its unit tests) --- pyinjective/async_client.py | 7 +- .../client/chain/grpc/chain_grpc_bank_api.py | 58 ++++++ .../grpc/configurable_bank_query_servicer.py | 28 +++ .../chain/grpc/test_chain_grpc_auction_api.py | 40 ++++ .../chain/grpc/test_chain_grpc_bank_api.py | 179 ++++++++++++++++++ 5 files changed, 309 insertions(+), 3 deletions(-) create mode 100644 pyinjective/client/chain/grpc/chain_grpc_bank_api.py create mode 100644 tests/client/chain/grpc/configurable_bank_query_servicer.py create mode 100644 tests/client/chain/grpc/test_chain_grpc_bank_api.py diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index f279b45f..7b0b7a59 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -10,6 +10,7 @@ from pyinjective.composer import Composer from . import constant +from .client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi from .core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from .core.network import Network from .core.token import Token @@ -77,7 +78,7 @@ def __init__( self.stubCosmosTendermint = tendermint_query_grpc.ServiceStub(self.chain_channel) self.stubAuth = auth_query_grpc.QueryStub(self.chain_channel) self.stubAuthz = authz_query_grpc.QueryStub(self.chain_channel) - self.stubBank = bank_query_grpc.QueryStub(self.chain_channel) + self.bank_api = ChainGrpcBankApi(channel=self.chain_channel) self.stubTx = tx_service_grpc.ServiceStub(self.chain_channel) self.exchange_cookie = "" @@ -256,10 +257,10 @@ async def get_grants(self, granter: str, grantee: str, **kwargs): ) async def get_bank_balances(self, address: str): - return await self.stubBank.AllBalances(bank_query.QueryAllBalancesRequest(address=address)) + return await self.bank_api.fetch_balances(account_address=address) async def get_bank_balance(self, address: str, denom: str): - return await self.stubBank.Balance(bank_query.QueryBalanceRequest(address=address, denom=denom)) + return await self.bank_api.fetch_balance(account_address=address, denom=denom) # Injective Exchange client methods diff --git a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py new file mode 100644 index 00000000..7e916fba --- /dev/null +++ b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py @@ -0,0 +1,58 @@ +from typing import Dict, Any + +from grpc.aio import Channel + +from pyinjective.proto.cosmos.bank.v1beta1 import ( + query_pb2_grpc as bank_query_grpc, + query_pb2 as bank_query_pb, +) + +class ChainGrpcBankApi: + + def __init__(self, channel: Channel): + self._stub = bank_query_grpc.QueryStub(channel) + + async def fetch_module_params(self) -> Dict[str, Any]: + request = bank_query_pb.QueryParamsRequest() + response = await self._stub.Params(request) + + module_params = { + "default_send_enabled": response.params.default_send_enabled, + } + + return module_params + + async def fetch_balance(self, account_address: str, denom: str) -> Dict[str, Any]: + request = bank_query_pb.QueryBalanceRequest(address=account_address, denom=denom) + response = await self._stub.Balance(request) + + bank_balance = { + "amount": response.balance.amount, + "denom": response.balance.denom, + } + + return bank_balance + + async def fetch_balances(self, account_address: str) -> Dict[str, Any]: + request = bank_query_pb.QueryAllBalancesRequest(address=account_address) + response = await self._stub.AllBalances(request) + + bank_balances = { + "balances": [{"amount": coin.amount, "denom": coin.denom} for coin in response.balances], + "pagination": {"total": response.pagination.total}} + + return bank_balances + + async def fetch_total_supply(self) -> Dict[str, Any]: + request = bank_query_pb.QueryTotalSupplyRequest() + response = await self._stub.TotalSupply(request) + + total_supply = { + "supply": [{"amount": coin.amount, "denom": coin.denom} for coin in response.supply], + "pagination": { + "next": response.pagination.next_key, + "total": response.pagination.total + } + } + + return total_supply diff --git a/tests/client/chain/grpc/configurable_bank_query_servicer.py b/tests/client/chain/grpc/configurable_bank_query_servicer.py new file mode 100644 index 00000000..c9c27968 --- /dev/null +++ b/tests/client/chain/grpc/configurable_bank_query_servicer.py @@ -0,0 +1,28 @@ +from collections import deque + +from pyinjective.proto.cosmos.bank.v1beta1 import ( + query_pb2_grpc as bank_query_grpc, + query_pb2 as bank_query_pb, +) + + +class ConfigurableBankQueryServicer(bank_query_grpc.QueryServicer): + + def __init__(self): + super().__init__() + self.bank_params = deque() + self.balance_responses = deque() + self.balances_responses = deque() + self.total_supply_responses = deque() + + async def Params(self, request: bank_query_pb.QueryParamsRequest, context=None): + return self.bank_params.pop() + + async def Balance(self, request: bank_query_pb.QueryBalanceRequest, context=None): + return self.balance_responses.pop() + + async def AllBalances(self, request: bank_query_pb.QueryAllBalancesRequest, context=None): + return self.balances_responses.pop() + + async def TotalSupply(self, request: bank_query_pb.QueryTotalSupplyRequest, context=None): + return self.total_supply_responses.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_auction_api.py b/tests/client/chain/grpc/test_chain_grpc_auction_api.py index 39912c0f..3e55b3cf 100644 --- a/tests/client/chain/grpc/test_chain_grpc_auction_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_auction_api.py @@ -91,6 +91,46 @@ async def test_fetch_module_state( assert (expected_state == module_state) + @pytest.mark.asyncio + async def test_fetch_module_state_when_no_highest_bid_present( + self, + auction_servicer, + ): + params = auction_pb.Params( + auction_period=604800, + min_next_bid_increment_rate="2500000000000000" + ) + state = genesis_pb.GenesisState( + params=params, + auction_round=50, + auction_ending_timestamp=1687504387, + ) + auction_servicer.module_states.append(auction_query_pb.QueryModuleStateResponse( + state=state + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuctionApi(channel=channel) + api._stub = auction_servicer + + module_state = await api.fetch_module_state() + expected_state = { + "params": { + "auction_period": 604800, + "min_next_bid_increment_rate": "2500000000000000", + }, + "auction_round": 50, + "highest_bid": { + "bidder": "", + "amount": "", + }, + "auction_ending_timestamp": 1687504387, + } + + assert (expected_state == module_state) + @pytest.mark.asyncio async def test_fetch_current_basket( self, diff --git a/tests/client/chain/grpc/test_chain_grpc_bank_api.py b/tests/client/chain/grpc/test_chain_grpc_bank_api.py new file mode 100644 index 00000000..b628916b --- /dev/null +++ b/tests/client/chain/grpc/test_chain_grpc_bank_api.py @@ -0,0 +1,179 @@ +import grpc +import pytest + +from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi +from pyinjective.constant import Network +from pyinjective.proto.cosmos.bank.v1beta1 import ( + bank_pb2 as bank_pb, + query_pb2_grpc as bank_query_grpc, + query_pb2 as bank_query_pb, +) +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb +from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer + + +@pytest.fixture +def bank_servicer(): + return ConfigurableBankQueryServicer() + + +class TestChainGrpcBankApi: + + @pytest.mark.asyncio + async def test_fetch_module_params( + self, + bank_servicer, + ): + params = bank_pb.Params(default_send_enabled=True) + bank_servicer.bank_params.append(bank_query_pb.QueryParamsResponse( + params=params + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel) + api._stub = bank_servicer + + module_params = await api.fetch_module_params() + expected_params = { + "default_send_enabled": True, + } + + assert (expected_params == module_params) + + @pytest.mark.asyncio + async def test_fetch_balance( + self, + bank_servicer, + ): + balance = coin_pb.Coin( + denom="inj", + amount="988987297011197594664" + ) + bank_servicer.balance_responses.append(bank_query_pb.QueryBalanceResponse( + balance=balance + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel) + api._stub = bank_servicer + + bank_balance = await api.fetch_balance( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + denom="inj" + ) + expected_balance = { + "denom": "inj", + "amount": "988987297011197594664" + } + + assert (expected_balance == bank_balance) + + @pytest.mark.asyncio + async def test_fetch_balance( + self, + bank_servicer, + ): + balance = coin_pb.Coin( + denom="inj", + amount="988987297011197594664" + ) + bank_servicer.balance_responses.append(bank_query_pb.QueryBalanceResponse( + balance=balance + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel) + api._stub = bank_servicer + + bank_balance = await api.fetch_balance( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + denom="inj" + ) + expected_balance = { + "denom": "inj", + "amount": "988987297011197594664" + } + + assert (expected_balance == bank_balance) + + @pytest.mark.asyncio + async def test_fetch_balances( + self, + bank_servicer, + ): + first_balance = coin_pb.Coin( + denom="inj", + amount="988987297011197594664" + ) + second_balance = coin_pb.Coin( + denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", + amount="54497408" + ) + pagination = pagination_pb.PageResponse(total=2) + + bank_servicer.balances_responses.append(bank_query_pb.QueryAllBalancesResponse( + balances=[first_balance, second_balance], + pagination=pagination, + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel) + api._stub = bank_servicer + + bank_balances = await api.fetch_balances( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + ) + expected_balances = { + "balances": [{"denom": coin.denom, "amount": coin.amount} for coin in [first_balance, second_balance]], + "pagination": {"total": 2}, + } + + assert (expected_balances == bank_balances) + + @pytest.mark.asyncio + async def test_fetch_total_supply( + self, + bank_servicer, + ): + first_supply = coin_pb.Coin( + denom="factory/inj108t3mlej0dph8er6ca2lq5cs9pdgzva5mqsn5p/position", + amount="5556700000000000000" + ) + second_supply = coin_pb.Coin( + denom="factory/inj10uycavvkc4uqr8tns3599r0t2xux4rz3y8apym/1684002313InjUsdt1d110C", + amount="1123456789111100000" + ) + pagination = pagination_pb.PageResponse( + next_key="factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja".encode(), + total=179 + ) + + bank_servicer.total_supply_responses.append(bank_query_pb.QueryTotalSupplyResponse( + supply=[first_supply, second_supply], + pagination=pagination, + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel) + api._stub = bank_servicer + + total_supply = await api.fetch_total_supply() + expected_supply = { + "supply": [{"denom": coin.denom, "amount": coin.amount} for coin in [first_supply, second_supply]], + "pagination": { + "next": "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja".encode(), + "total": 179}, + } + + assert (expected_supply == total_supply) From 42c3cb4949b0a6b4a622a6a8ca61dfad93707bdd Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 23 Jun 2023 00:27:19 -0300 Subject: [PATCH 18/83] (feat) Created the API component for the auth module. Created also the required classes to handle pagination options and results pagination information. --- pyinjective/async_client.py | 21 +-- .../client/chain/grpc/chain_grpc_auth_api.py | 44 +++++ pyinjective/client/chain/model/__init__.py | 0 pyinjective/client/chain/model/account.py | 42 +++++ pyinjective/client/chain/model/auth_params.py | 31 ++++ pyinjective/client/model/__init__.py | 0 pyinjective/client/model/pagination.py | 62 +++++++ .../grpc/configurable_auth_query_serciver.py | 24 +++ .../chain/grpc/test_chain_grpc_auth_api.py | 159 ++++++++++++++++++ .../chain/grpc/test_chain_grpc_bank_api.py | 1 - 10 files changed, 369 insertions(+), 15 deletions(-) create mode 100644 pyinjective/client/chain/grpc/chain_grpc_auth_api.py create mode 100644 pyinjective/client/chain/model/__init__.py create mode 100644 pyinjective/client/chain/model/account.py create mode 100644 pyinjective/client/chain/model/auth_params.py create mode 100644 pyinjective/client/model/__init__.py create mode 100644 pyinjective/client/model/pagination.py create mode 100644 tests/client/chain/grpc/configurable_auth_query_serciver.py create mode 100644 tests/client/chain/grpc/test_chain_grpc_auth_api.py diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 7b0b7a59..1aa86805 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -10,17 +10,14 @@ from pyinjective.composer import Composer from . import constant +from .client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi from .client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi from .core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from .core.network import Network from .core.token import Token from .exceptions import NotFoundError -from .proto.cosmos.auth.v1beta1 import query_pb2 as auth_query -from .proto.cosmos.auth.v1beta1 import query_pb2_grpc as auth_query_grpc from .proto.cosmos.authz.v1beta1 import query_pb2 as authz_query from .proto.cosmos.authz.v1beta1 import query_pb2_grpc as authz_query_grpc -from .proto.cosmos.bank.v1beta1 import query_pb2 as bank_query -from .proto.cosmos.bank.v1beta1 import query_pb2_grpc as bank_query_grpc from .proto.cosmos.base.abci.v1beta1 import abci_pb2 as abci_type from .proto.cosmos.base.tendermint.v1beta1 import query_pb2 as tendermint_query from .proto.cosmos.base.tendermint.v1beta1 import query_pb2_grpc as tendermint_query_grpc @@ -76,9 +73,7 @@ def __init__( ) self.stubCosmosTendermint = tendermint_query_grpc.ServiceStub(self.chain_channel) - self.stubAuth = auth_query_grpc.QueryStub(self.chain_channel) self.stubAuthz = authz_query_grpc.QueryStub(self.chain_channel) - self.bank_api = ChainGrpcBankApi(channel=self.chain_channel) self.stubTx = tx_service_grpc.ServiceStub(self.chain_channel) self.exchange_cookie = "" @@ -123,6 +118,9 @@ def __init__( self._derivative_markets: Optional[Dict[str, DerivativeMarket]] = None self._binary_option_markets: Optional[Dict[str, BinaryOptionMarket]] = None + self.bank_api = ChainGrpcBankApi(channel=self.chain_channel) + self.auth_api = ChainGrpcAuthApi(channel=self.chain_channel) + async def all_tokens(self) -> Dict[str, Token]: if self._tokens is None: async with self._tokens_and_markets_initialization_lock: @@ -188,14 +186,9 @@ async def get_latest_block(self) -> tendermint_query.GetLatestBlockResponse: async def get_account(self, address: str) -> Optional[account_pb2.EthAccount]: try: metadata = await self.network.chain_metadata(metadata_query_provider=self._chain_cookie_metadata_requestor) - account_any = ( - await self.stubAuth.Account(auth_query.QueryAccountRequest(address=address), metadata=metadata) - ).account - account = account_pb2.EthAccount() - if account_any.Is(account.DESCRIPTOR): - account_any.Unpack(account) - self.number = int(account.base_account.account_number) - self.sequence = int(account.base_account.sequence) + account = await self.auth_api.fetch_account(address=address) + self.number = account.account_number + self.sequence = account.sequence except Exception as e: LoggerProvider().logger_for_class(logging_class=self.__class__).debug( f"error while fetching sequence and number {e}" diff --git a/pyinjective/client/chain/grpc/chain_grpc_auth_api.py b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py new file mode 100644 index 00000000..c9265029 --- /dev/null +++ b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py @@ -0,0 +1,44 @@ +from typing import List, Tuple + +from grpc.aio import Channel + +from pyinjective.client.chain.model.account import Account +from pyinjective.client.chain.model.auth_params import AuthParams +from pyinjective.client.model.pagination import PaginationOption + +from pyinjective.client.model.pagination import Pagination +from pyinjective.proto.cosmos.auth.v1beta1 import ( + query_pb2_grpc as auth_query_grpc, + query_pb2 as auth_query_pb, +) + + +class ChainGrpcAuthApi: + + def __init__(self, channel: Channel): + self._stub = auth_query_grpc.QueryStub(channel) + + async def fetch_module_params(self) -> AuthParams: + request = auth_query_pb.QueryParamsRequest() + response = await self._stub.Params(request) + + module_params = AuthParams.from_proto_response(response=response) + + return module_params + + async def fetch_account(self, address: str) -> Account: + request = auth_query_pb.QueryAccountRequest(address=address) + response = await self._stub.Account(request) + + account = Account.from_proto(proto_account=response.account) + + return account + + async def fetch_accounts(self, pagination_option: PaginationOption) -> Tuple[List[Account], PaginationOption]: + request = auth_query_pb.QueryAccountsRequest(pagination=pagination_option.create_pagination_request()) + response = await self._stub.Accounts(request) + + accounts = [Account.from_proto(proto_account=proto_account) for proto_account in response.accounts] + response_pagination = Pagination.from_proto(proto_pagination=response.pagination) + + return accounts, response_pagination \ No newline at end of file diff --git a/pyinjective/client/chain/model/__init__.py b/pyinjective/client/chain/model/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/chain/model/account.py b/pyinjective/client/chain/model/account.py new file mode 100644 index 00000000..da497464 --- /dev/null +++ b/pyinjective/client/chain/model/account.py @@ -0,0 +1,42 @@ +from google.protobuf import any_pb2 + +from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb + +class Account: + + def __init__( + self, + address: str, + pub_key_type_url: str, + pub_key_value: bytes, + account_number: int, + sequence: int, + code_hash: str, + ): + super().__init__() + self.address = address + self.pub_key_type_url = pub_key_type_url + self.pub_key_value = pub_key_value + self.account_number = account_number + self.sequence = sequence + self.code_hash = code_hash + + @classmethod + def from_proto(cls, proto_account: any_pb2.Any): + eth_account = account_pb.EthAccount() + proto_account.Unpack(eth_account) + pub_key_type_url = None + pub_key_value = None + + if eth_account.base_account.pub_key is not None: + pub_key_type_url = eth_account.base_account.pub_key.type_url + pub_key_value = eth_account.base_account.pub_key.value + + return cls( + address=eth_account.base_account.address, + pub_key_type_url=pub_key_type_url, + pub_key_value=pub_key_value, + account_number=eth_account.base_account.account_number, + sequence=eth_account.base_account.sequence, + code_hash=f"0x{eth_account.code_hash.hex()}", + ) diff --git a/pyinjective/client/chain/model/auth_params.py b/pyinjective/client/chain/model/auth_params.py new file mode 100644 index 00000000..a19d92c6 --- /dev/null +++ b/pyinjective/client/chain/model/auth_params.py @@ -0,0 +1,31 @@ +from pyinjective.proto.cosmos.auth.v1beta1 import ( + query_pb2_grpc as auth_query_grpc, + query_pb2 as auth_query_pb, +) + +class AuthParams: + + def __init__( + self, + max_memo_characters: int, + tx_sig_limit: int, + tx_size_cost_per_byte: int, + sig_verify_cost_ed25519: int, + sig_verify_cost_secp256k1: int, + ): + super().__init__() + self.max_memo_characters = max_memo_characters + self.tx_sig_limit = tx_sig_limit + self.tx_size_cost_per_byte = tx_size_cost_per_byte + self.sig_verify_cost_ed25519 = sig_verify_cost_ed25519 + self.sig_verify_cost_secp256k1 = sig_verify_cost_secp256k1 + + @classmethod + def from_proto_response(cls, response: auth_query_pb.QueryParamsResponse): + return cls( + max_memo_characters=response.params.max_memo_characters, + tx_sig_limit=response.params.tx_sig_limit, + tx_size_cost_per_byte=response.params.tx_size_cost_per_byte, + sig_verify_cost_ed25519=response.params.sig_verify_cost_ed25519, + sig_verify_cost_secp256k1=response.params.sig_verify_cost_secp256k1 + ) \ No newline at end of file diff --git a/pyinjective/client/model/__init__.py b/pyinjective/client/model/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/model/pagination.py b/pyinjective/client/model/pagination.py new file mode 100644 index 00000000..c425b173 --- /dev/null +++ b/pyinjective/client/model/pagination.py @@ -0,0 +1,62 @@ +from typing import Optional + +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb + + +class PaginationOption: + + def __init__( + self, + key: Optional[str], + offset: Optional[int], + limit: Optional[int], + reverse: Optional[bool], + count_total: Optional[bool], + ): + super().__init__() + self.key = key + self.offset = offset + self.limit = limit + self.reverse = reverse + self.count_total = count_total + + def create_pagination_request(self) -> pagination_pb.PageRequest: + page_request = pagination_pb.PageRequest() + + if self.key is not None: + page_request.key = bytes.fromhex(self.key) + if self.offset is not None: + page_request.offset = self.offset + 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, + ) \ No newline at end of file diff --git a/tests/client/chain/grpc/configurable_auth_query_serciver.py b/tests/client/chain/grpc/configurable_auth_query_serciver.py new file mode 100644 index 00000000..7e856af9 --- /dev/null +++ b/tests/client/chain/grpc/configurable_auth_query_serciver.py @@ -0,0 +1,24 @@ +from collections import deque + +from pyinjective.proto.cosmos.auth.v1beta1 import ( + query_pb2_grpc as auth_query_grpc, + query_pb2 as auth_query_pb, +) + + +class ConfigurableAuthQueryServicer(auth_query_grpc.QueryServicer): + + def __init__(self): + super().__init__() + self.auth_params = deque() + self.account_responses = deque() + self.accounts_responses = deque() + + async def Params(self, request: auth_query_pb.QueryParamsRequest, context=None): + return self.auth_params.pop() + + async def Account(self, request: auth_query_pb.QueryAccountRequest, context=None): + return self.account_responses.pop() + + async def Accounts(self, request: auth_query_pb.QueryAccountsRequest, context=None): + return self.accounts_responses.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_auth_api.py b/tests/client/chain/grpc/test_chain_grpc_auth_api.py new file mode 100644 index 00000000..71436e59 --- /dev/null +++ b/tests/client/chain/grpc/test_chain_grpc_auth_api.py @@ -0,0 +1,159 @@ +import grpc +import pytest +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.constant import 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 +from pyinjective.proto.injective.crypto.v1beta1.ethsecp256k1 import keys_pb2 as keys_pb +from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb +from tests.client.chain.grpc.configurable_auth_query_serciver import ConfigurableAuthQueryServicer + +@pytest.fixture +def auth_servicer(): + return ConfigurableAuthQueryServicer() + + +class TestChainGrpcAuthApi: + + @pytest.mark.asyncio + async def test_fetch_module_params( + self, + auth_servicer, + ): + params = auth_pb.Params( + max_memo_characters=256, + tx_sig_limit=7, + tx_size_cost_per_byte=10, + sig_verify_cost_ed25519=590, + sig_verify_cost_secp256k1=1000, + ) + auth_servicer.auth_params.append(auth_query_pb.QueryParamsResponse( + params=params + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuthApi(channel=channel) + api._stub = auth_servicer + + module_params = await api.fetch_module_params() + + assert (params.max_memo_characters == module_params.max_memo_characters) + assert (params.tx_sig_limit == module_params.tx_sig_limit) + assert (params.tx_size_cost_per_byte == module_params.tx_size_cost_per_byte) + assert (params.sig_verify_cost_ed25519 == module_params.sig_verify_cost_ed25519) + assert (params.sig_verify_cost_secp256k1 == module_params.sig_verify_cost_secp256k1) + + @pytest.mark.asyncio + async def test_fetch_account( + self, + auth_servicer, + ): + pub_key = keys_pb.PubKey( + key=b"\002\200T< /\340\341IC\260n\372\373\314&\3751A\034HfMk\255[ai\334\3303t\375" + ) + any_pub_key = any_pb2.Any() + any_pub_key.Pack(pub_key, type_url_prefix="") + + base_account = auth_pb.BaseAccount( + address="inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr", + pub_key=any_pub_key, + account_number=39, + sequence=697457, + ) + account = account_pb.EthAccount( + base_account=base_account, + code_hash=b"\305\322F\001\206\367#<\222~}\262\334\307\003\300\345\000\266S\312\202\';{\372\330\004]\205\244p" + ) + + any_account = any_pb2.Any() + any_account.Pack(account, type_url_prefix="") + auth_servicer.account_responses.append(auth_query_pb.QueryAccountResponse( + account=any_account + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuthApi(channel=channel) + api._stub = auth_servicer + + response_account = await api.fetch_account(address="inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr") + + assert (f"0x{account.code_hash.hex()}" == response_account.code_hash) + assert (base_account.address == response_account.address) + assert (any_pub_key.type_url == response_account.pub_key_type_url) + assert (any_pub_key.value == response_account.pub_key_value) + assert (base_account.account_number == response_account.account_number) + assert (base_account.sequence == response_account.sequence) + + @pytest.mark.asyncio + async def test_fetch_accounts( + self, + auth_servicer, + ): + pub_key = keys_pb.PubKey( + key=b"\002\200T< /\340\341IC\260n\372\373\314&\3751A\034HfMk\255[ai\334\3303t\375" + ) + any_pub_key = any_pb2.Any() + any_pub_key.Pack(pub_key, type_url_prefix="") + + base_account = auth_pb.BaseAccount( + address="inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr", + pub_key=any_pub_key, + account_number=39, + sequence=697457, + ) + account = account_pb.EthAccount( + base_account=base_account, + code_hash=b"\305\322F\001\206\367#<\222~}\262\334\307\003\300\345\000\266S\312\202\';{\372\330\004]\205\244p" + ) + + result_pagination = pagination_pb.PageResponse( + next_key=b"\001\032\264\007Z\224$]\377s8\343\004-\265\267\314?B\341", + total=16036, + ) + + any_account = any_pb2.Any() + any_account.Pack(account, type_url_prefix="") + auth_servicer.accounts_responses.append(auth_query_pb.QueryAccountsResponse( + accounts=[any_account], + pagination=result_pagination, + )) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuthApi(channel=channel) + api._stub = auth_servicer + + pagination_option = PaginationOption( + key="011ab4075a94245dff7338e3042db5b7cc3f42e1", + offset=10, + limit=30, + reverse=False, + count_total=True, + ) + + response_accounts, response_pagination = await api.fetch_accounts(pagination_option=pagination_option) + + assert (1 == len(response_accounts)) + + response_account = response_accounts[0] + + assert (f"0x{account.code_hash.hex()}" == response_account.code_hash) + assert (base_account.address == response_account.address) + assert (any_pub_key.type_url == response_account.pub_key_type_url) + assert (any_pub_key.value == response_account.pub_key_value) + assert (base_account.account_number == response_account.account_number) + assert (base_account.sequence == response_account.sequence) + + assert (f"0x{result_pagination.next_key.hex()}" == response_pagination.next) + assert (result_pagination.total == response_pagination.total) \ No newline at end of file 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 b628916b..3e27e69c 100644 --- a/tests/client/chain/grpc/test_chain_grpc_bank_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_bank_api.py @@ -5,7 +5,6 @@ from pyinjective.constant import Network from pyinjective.proto.cosmos.bank.v1beta1 import ( bank_pb2 as bank_pb, - query_pb2_grpc as bank_query_grpc, query_pb2 as bank_query_pb, ) from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb From d4b51d128de3abffedf8893113890fb1400d2772 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 11 Oct 2023 18:35:36 -0300 Subject: [PATCH 19/83] (fix) Fix Network imports in tests after synchronizing the refactoring branch with `dev`. Updated isort configuration to combine as imports --- pyinjective/async_client.py | 47 ++++--- .../chain/grpc/chain_grpc_auction_api.py | 5 +- .../client/chain/grpc/chain_grpc_auth_api.py | 12 +- .../client/chain/grpc/chain_grpc_bank_api.py | 17 +-- pyinjective/client/chain/model/account.py | 16 +-- pyinjective/client/chain/model/auth_params.py | 23 ++-- pyinjective/client/model/pagination.py | 22 ++- pyinjective/composer.py | 6 +- pyproject.toml | 7 +- .../configurable_auction_query_servicer.py | 3 +- .../grpc/configurable_auth_query_serciver.py | 6 +- .../grpc/configurable_bank_query_servicer.py | 6 +- .../chain/grpc/test_chain_grpc_auction_api.py | 70 ++++------ .../chain/grpc/test_chain_grpc_auth_api.py | 93 ++++++------- .../chain/grpc/test_chain_grpc_bank_api.py | 126 ++++++++---------- 15 files changed, 196 insertions(+), 263 deletions(-) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 8f1a7194..d666c1e7 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -16,31 +16,30 @@ from .core.network import Network from .core.token import Token from .exceptions import NotFoundError -from .proto.cosmos.authz.v1beta1 import query_pb2 as authz_query -from .proto.cosmos.authz.v1beta1 import query_pb2_grpc as authz_query_grpc +from .proto.cosmos.authz.v1beta1 import query_pb2 as authz_query, query_pb2_grpc as authz_query_grpc from .proto.cosmos.base.abci.v1beta1 import abci_pb2 as abci_type -from .proto.cosmos.base.tendermint.v1beta1 import query_pb2 as tendermint_query -from .proto.cosmos.base.tendermint.v1beta1 import query_pb2_grpc as tendermint_query_grpc -from .proto.cosmos.tx.v1beta1 import service_pb2 as tx_service -from .proto.cosmos.tx.v1beta1 import service_pb2_grpc as tx_service_grpc -from .proto.exchange import injective_accounts_rpc_pb2 as exchange_accounts_rpc_pb -from .proto.exchange import injective_accounts_rpc_pb2_grpc as exchange_accounts_rpc_grpc -from .proto.exchange import injective_auction_rpc_pb2 as auction_rpc_pb -from .proto.exchange import injective_auction_rpc_pb2_grpc as auction_rpc_grpc -from .proto.exchange import injective_derivative_exchange_rpc_pb2 as derivative_exchange_rpc_pb -from .proto.exchange import injective_derivative_exchange_rpc_pb2_grpc as derivative_exchange_rpc_grpc -from .proto.exchange import injective_explorer_rpc_pb2 as explorer_rpc_pb -from .proto.exchange import injective_explorer_rpc_pb2_grpc as explorer_rpc_grpc -from .proto.exchange import injective_insurance_rpc_pb2 as insurance_rpc_pb -from .proto.exchange import injective_insurance_rpc_pb2_grpc as insurance_rpc_grpc -from .proto.exchange import injective_meta_rpc_pb2 as exchange_meta_rpc_pb -from .proto.exchange import injective_meta_rpc_pb2_grpc as exchange_meta_rpc_grpc -from .proto.exchange import injective_oracle_rpc_pb2 as oracle_rpc_pb -from .proto.exchange import injective_oracle_rpc_pb2_grpc as oracle_rpc_grpc -from .proto.exchange import injective_portfolio_rpc_pb2 as portfolio_rpc_pb -from .proto.exchange import injective_portfolio_rpc_pb2_grpc as portfolio_rpc_grpc -from .proto.exchange import injective_spot_exchange_rpc_pb2 as spot_exchange_rpc_pb -from .proto.exchange import injective_spot_exchange_rpc_pb2_grpc as spot_exchange_rpc_grpc +from .proto.cosmos.base.tendermint.v1beta1 import query_pb2 as tendermint_query, query_pb2_grpc as tendermint_query_grpc +from .proto.cosmos.tx.v1beta1 import service_pb2 as tx_service, service_pb2_grpc as tx_service_grpc +from .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 .proto.injective.types.v1beta1 import account_pb2 from .utils.logger import LoggerProvider diff --git a/pyinjective/client/chain/grpc/chain_grpc_auction_api.py b/pyinjective/client/chain/grpc/chain_grpc_auction_api.py index 1e54cc27..d1fd6e89 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_auction_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_auction_api.py @@ -1,15 +1,14 @@ -from typing import Dict, Any +from typing import Any, Dict from grpc.aio import Channel from pyinjective.proto.injective.auction.v1beta1 import ( - query_pb2_grpc as auction_query_grpc, query_pb2 as auction_query_pb, + query_pb2_grpc as auction_query_grpc, ) class ChainGrpcAuctionApi: - def __init__(self, channel: Channel): self._stub = auction_query_grpc.QueryStub(channel) diff --git a/pyinjective/client/chain/grpc/chain_grpc_auth_api.py b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py index c9265029..45039288 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_auth_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py @@ -4,17 +4,11 @@ from pyinjective.client.chain.model.account import Account from pyinjective.client.chain.model.auth_params import AuthParams -from pyinjective.client.model.pagination import PaginationOption - -from pyinjective.client.model.pagination import Pagination -from pyinjective.proto.cosmos.auth.v1beta1 import ( - query_pb2_grpc as auth_query_grpc, - query_pb2 as auth_query_pb, -) +from pyinjective.client.model.pagination import Pagination, PaginationOption +from pyinjective.proto.cosmos.auth.v1beta1 import query_pb2 as auth_query_pb, query_pb2_grpc as auth_query_grpc class ChainGrpcAuthApi: - def __init__(self, channel: Channel): self._stub = auth_query_grpc.QueryStub(channel) @@ -41,4 +35,4 @@ async def fetch_accounts(self, pagination_option: PaginationOption) -> Tuple[Lis accounts = [Account.from_proto(proto_account=proto_account) for proto_account in response.accounts] response_pagination = Pagination.from_proto(proto_pagination=response.pagination) - return accounts, response_pagination \ No newline at end of file + return accounts, response_pagination diff --git a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py index 7e916fba..5e42917e 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py @@ -1,14 +1,11 @@ -from typing import Dict, Any +from typing import Any, Dict from grpc.aio import Channel -from pyinjective.proto.cosmos.bank.v1beta1 import ( - query_pb2_grpc as bank_query_grpc, - query_pb2 as bank_query_pb, -) +from pyinjective.proto.cosmos.bank.v1beta1 import query_pb2 as bank_query_pb, query_pb2_grpc as bank_query_grpc -class ChainGrpcBankApi: +class ChainGrpcBankApi: def __init__(self, channel: Channel): self._stub = bank_query_grpc.QueryStub(channel) @@ -39,7 +36,8 @@ async def fetch_balances(self, account_address: str) -> Dict[str, Any]: bank_balances = { "balances": [{"amount": coin.amount, "denom": coin.denom} for coin in response.balances], - "pagination": {"total": response.pagination.total}} + "pagination": {"total": response.pagination.total}, + } return bank_balances @@ -49,10 +47,7 @@ async def fetch_total_supply(self) -> Dict[str, Any]: total_supply = { "supply": [{"amount": coin.amount, "denom": coin.denom} for coin in response.supply], - "pagination": { - "next": response.pagination.next_key, - "total": response.pagination.total - } + "pagination": {"next": response.pagination.next_key, "total": response.pagination.total}, } return total_supply diff --git a/pyinjective/client/chain/model/account.py b/pyinjective/client/chain/model/account.py index da497464..5aa401c3 100644 --- a/pyinjective/client/chain/model/account.py +++ b/pyinjective/client/chain/model/account.py @@ -2,16 +2,16 @@ from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb -class Account: +class Account: def __init__( - self, - address: str, - pub_key_type_url: str, - pub_key_value: bytes, - account_number: int, - sequence: int, - code_hash: str, + self, + address: str, + pub_key_type_url: str, + pub_key_value: bytes, + account_number: int, + sequence: int, + code_hash: str, ): super().__init__() self.address = address diff --git a/pyinjective/client/chain/model/auth_params.py b/pyinjective/client/chain/model/auth_params.py index a19d92c6..4d238cff 100644 --- a/pyinjective/client/chain/model/auth_params.py +++ b/pyinjective/client/chain/model/auth_params.py @@ -1,17 +1,14 @@ -from pyinjective.proto.cosmos.auth.v1beta1 import ( - query_pb2_grpc as auth_query_grpc, - query_pb2 as auth_query_pb, -) +from pyinjective.proto.cosmos.auth.v1beta1 import query_pb2 as auth_query_pb -class AuthParams: +class AuthParams: def __init__( - self, - max_memo_characters: int, - tx_sig_limit: int, - tx_size_cost_per_byte: int, - sig_verify_cost_ed25519: int, - sig_verify_cost_secp256k1: int, + self, + max_memo_characters: int, + tx_sig_limit: int, + tx_size_cost_per_byte: int, + sig_verify_cost_ed25519: int, + sig_verify_cost_secp256k1: int, ): super().__init__() self.max_memo_characters = max_memo_characters @@ -27,5 +24,5 @@ def from_proto_response(cls, response: auth_query_pb.QueryParamsResponse): tx_sig_limit=response.params.tx_sig_limit, tx_size_cost_per_byte=response.params.tx_size_cost_per_byte, sig_verify_cost_ed25519=response.params.sig_verify_cost_ed25519, - sig_verify_cost_secp256k1=response.params.sig_verify_cost_secp256k1 - ) \ No newline at end of file + sig_verify_cost_secp256k1=response.params.sig_verify_cost_secp256k1, + ) diff --git a/pyinjective/client/model/pagination.py b/pyinjective/client/model/pagination.py index c425b173..9a2d9ba8 100644 --- a/pyinjective/client/model/pagination.py +++ b/pyinjective/client/model/pagination.py @@ -4,14 +4,13 @@ class PaginationOption: - def __init__( - self, - key: Optional[str], - offset: Optional[int], - limit: Optional[int], - reverse: Optional[bool], - count_total: Optional[bool], + self, + key: Optional[str], + offset: Optional[int], + limit: Optional[int], + reverse: Optional[bool], + count_total: Optional[bool], ): super().__init__() self.key = key @@ -38,11 +37,10 @@ def create_pagination_request(self) -> pagination_pb.PageRequest: class Pagination: - def __init__( - self, - next: Optional[str] = None, - total: Optional[int] = None, + self, + next: Optional[str] = None, + total: Optional[int] = None, ): super().__init__() self.next = next @@ -59,4 +57,4 @@ def from_proto(cls, proto_pagination: pagination_pb.PageResponse): return cls( next=next, total=total, - ) \ No newline at end of file + ) diff --git a/pyinjective/composer.py b/pyinjective/composer.py index b543b077..009fd1e9 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -15,16 +15,14 @@ from .constant import ADDITIONAL_CHAIN_FORMAT_DECIMALS, INJ_DENOM from .core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from .core.token import Token -from .proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_authz_pb -from .proto.cosmos.authz.v1beta1 import tx_pb2 as cosmos_authz_tx_pb +from .proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_authz_pb, tx_pb2 as cosmos_authz_tx_pb from .proto.cosmos.bank.v1beta1 import tx_pb2 as cosmos_bank_tx_pb from .proto.cosmos.distribution.v1beta1 import tx_pb2 as cosmos_distribution_tx_pb from .proto.cosmos.gov.v1beta1 import tx_pb2 as cosmos_gov_tx_pb from .proto.cosmos.staking.v1beta1 import tx_pb2 as cosmos_staking_tx_pb from .proto.cosmwasm.wasm.v1 import tx_pb2 as wasm_tx_pb from .proto.injective.auction.v1beta1 import tx_pb2 as injective_auction_tx_pb -from .proto.injective.exchange.v1beta1 import authz_pb2 as injective_authz_pb -from .proto.injective.exchange.v1beta1 import tx_pb2 as injective_exchange_tx_pb +from .proto.injective.exchange.v1beta1 import authz_pb2 as injective_authz_pb, tx_pb2 as injective_exchange_tx_pb from .proto.injective.insurance.v1beta1 import tx_pb2 as injective_insurance_tx_pb from .proto.injective.oracle.v1beta1 import tx_pb2 as injective_oracle_tx_pb from .proto.injective.peggy.v1 import msgs_pb2 as injective_peggy_tx_pb diff --git a/pyproject.toml b/pyproject.toml index 737dbd6a..9660cf8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,8 +71,13 @@ pyflakes = ["-F811"] # disable a plugin [tool.isort] -profile = "black" line_length = 120 +multi_line_output = 3 +combine_as_imports = true +include_trailing_comma = true +force_grid_wrap = 0 +use_parentheses = true +ensure_newline_before_comments = true skip_glob = ["pyinjective/proto/*", ".idea/*"] diff --git a/tests/client/chain/grpc/configurable_auction_query_servicer.py b/tests/client/chain/grpc/configurable_auction_query_servicer.py index aa7ba51a..c3879d59 100644 --- a/tests/client/chain/grpc/configurable_auction_query_servicer.py +++ b/tests/client/chain/grpc/configurable_auction_query_servicer.py @@ -1,13 +1,12 @@ from collections import deque from pyinjective.proto.injective.auction.v1beta1 import ( - query_pb2_grpc as auction_query_grpc, query_pb2 as auction_query_pb, + query_pb2_grpc as auction_query_grpc, ) class ConfigurableAuctionQueryServicer(auction_query_grpc.QueryServicer): - def __init__(self): super().__init__() self.auction_params = deque() diff --git a/tests/client/chain/grpc/configurable_auth_query_serciver.py b/tests/client/chain/grpc/configurable_auth_query_serciver.py index 7e856af9..52b7c560 100644 --- a/tests/client/chain/grpc/configurable_auth_query_serciver.py +++ b/tests/client/chain/grpc/configurable_auth_query_serciver.py @@ -1,13 +1,9 @@ from collections import deque -from pyinjective.proto.cosmos.auth.v1beta1 import ( - query_pb2_grpc as auth_query_grpc, - query_pb2 as auth_query_pb, -) +from pyinjective.proto.cosmos.auth.v1beta1 import query_pb2 as auth_query_pb, query_pb2_grpc as auth_query_grpc class ConfigurableAuthQueryServicer(auth_query_grpc.QueryServicer): - def __init__(self): super().__init__() self.auth_params = deque() diff --git a/tests/client/chain/grpc/configurable_bank_query_servicer.py b/tests/client/chain/grpc/configurable_bank_query_servicer.py index c9c27968..0f127763 100644 --- a/tests/client/chain/grpc/configurable_bank_query_servicer.py +++ b/tests/client/chain/grpc/configurable_bank_query_servicer.py @@ -1,13 +1,9 @@ from collections import deque -from pyinjective.proto.cosmos.bank.v1beta1 import ( - query_pb2_grpc as bank_query_grpc, - query_pb2 as bank_query_pb, -) +from pyinjective.proto.cosmos.bank.v1beta1 import query_pb2 as bank_query_pb, query_pb2_grpc as bank_query_grpc class ConfigurableBankQueryServicer(bank_query_grpc.QueryServicer): - def __init__(self): super().__init__() self.bank_params = deque() diff --git a/tests/client/chain/grpc/test_chain_grpc_auction_api.py b/tests/client/chain/grpc/test_chain_grpc_auction_api.py index 3e55b3cf..8f99f1ce 100644 --- a/tests/client/chain/grpc/test_chain_grpc_auction_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_auction_api.py @@ -2,7 +2,7 @@ import pytest from pyinjective.client.chain.grpc.chain_grpc_auction_api import ChainGrpcAuctionApi -from pyinjective.constant import Network +from pyinjective.core.network import Network from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb from pyinjective.proto.injective.auction.v1beta1 import ( auction_pb2 as auction_pb, @@ -18,19 +18,13 @@ def auction_servicer(): class TestChainGrpcAuctionApi: - @pytest.mark.asyncio async def test_fetch_module_params( - self, - auction_servicer, + self, + auction_servicer, ): - params = auction_pb.Params( - auction_period=604800, - min_next_bid_increment_rate="2500000000000000" - ) - auction_servicer.auction_params.append(auction_query_pb.QueryAuctionParamsResponse( - params=params - )) + params = auction_pb.Params(auction_period=604800, min_next_bid_increment_rate="2500000000000000") + auction_servicer.auction_params.append(auction_query_pb.QueryAuctionParamsResponse(params=params)) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -44,17 +38,14 @@ async def test_fetch_module_params( "min_next_bid_increment_rate": "2500000000000000", } - assert (expected_params == module_params) + assert expected_params == module_params @pytest.mark.asyncio async def test_fetch_module_state( - self, - auction_servicer, + self, + auction_servicer, ): - params = auction_pb.Params( - auction_period=604800, - min_next_bid_increment_rate="2500000000000000" - ) + params = auction_pb.Params(auction_period=604800, min_next_bid_increment_rate="2500000000000000") highest_bid = auction_pb.Bid( bidder="inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", amount="\n\003inj\022\0232347518723906280000", @@ -65,9 +56,7 @@ async def test_fetch_module_state( highest_bid=highest_bid, auction_ending_timestamp=1687504387, ) - auction_servicer.module_states.append(auction_query_pb.QueryModuleStateResponse( - state=state - )) + auction_servicer.module_states.append(auction_query_pb.QueryModuleStateResponse(state=state)) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -89,25 +78,20 @@ async def test_fetch_module_state( "auction_ending_timestamp": 1687504387, } - assert (expected_state == module_state) + assert expected_state == module_state @pytest.mark.asyncio async def test_fetch_module_state_when_no_highest_bid_present( - self, - auction_servicer, + self, + auction_servicer, ): - params = auction_pb.Params( - auction_period=604800, - min_next_bid_increment_rate="2500000000000000" - ) + params = auction_pb.Params(auction_period=604800, min_next_bid_increment_rate="2500000000000000") state = genesis_pb.GenesisState( params=params, auction_round=50, auction_ending_timestamp=1687504387, ) - auction_servicer.module_states.append(auction_query_pb.QueryModuleStateResponse( - state=state - )) + auction_servicer.module_states.append(auction_query_pb.QueryModuleStateResponse(state=state)) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -129,12 +113,12 @@ async def test_fetch_module_state_when_no_highest_bid_present( "auction_ending_timestamp": 1687504387, } - assert (expected_state == module_state) + assert expected_state == module_state @pytest.mark.asyncio async def test_fetch_current_basket( - self, - auction_servicer, + self, + auction_servicer, ): first_amount = coin_pb.Coin( amount="15059786755", @@ -145,13 +129,15 @@ async def test_fetch_current_basket( denom="peggy0xf9152067989BDc8783fF586624124C05A529A5D1", ) - auction_servicer.current_baskets.append(auction_query_pb.QueryCurrentAuctionBasketResponse( - amount=[first_amount, second_amount], - auctionRound=50, - auctionClosingTime=1687504387, - highestBidder="inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", - highestBidAmount="2347518723906280000", - )) + auction_servicer.current_baskets.append( + auction_query_pb.QueryCurrentAuctionBasketResponse( + amount=[first_amount, second_amount], + auctionRound=50, + auctionClosingTime=1687504387, + highestBidder="inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", + highestBidAmount="2347518723906280000", + ) + ) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -168,4 +154,4 @@ async def test_fetch_current_basket( "highest_bid_amount": "2347518723906280000", } - assert (expected_basket == current_basket) + assert expected_basket == current_basket 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 71436e59..32e44d74 100644 --- a/tests/client/chain/grpc/test_chain_grpc_auth_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_auth_api.py @@ -4,27 +4,24 @@ from pyinjective.client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi from pyinjective.client.model.pagination import PaginationOption -from pyinjective.constant import Network -from pyinjective.proto.cosmos.auth.v1beta1 import ( - auth_pb2 as auth_pb, - query_pb2 as auth_query_pb, -) +from pyinjective.core.network import 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 from pyinjective.proto.injective.crypto.v1beta1.ethsecp256k1 import keys_pb2 as keys_pb from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb from tests.client.chain.grpc.configurable_auth_query_serciver import ConfigurableAuthQueryServicer + @pytest.fixture def auth_servicer(): return ConfigurableAuthQueryServicer() class TestChainGrpcAuthApi: - @pytest.mark.asyncio async def test_fetch_module_params( - self, - auth_servicer, + self, + auth_servicer, ): params = auth_pb.Params( max_memo_characters=256, @@ -33,9 +30,7 @@ async def test_fetch_module_params( sig_verify_cost_ed25519=590, sig_verify_cost_secp256k1=1000, ) - auth_servicer.auth_params.append(auth_query_pb.QueryParamsResponse( - params=params - )) + auth_servicer.auth_params.append(auth_query_pb.QueryParamsResponse(params=params)) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -45,20 +40,18 @@ async def test_fetch_module_params( module_params = await api.fetch_module_params() - assert (params.max_memo_characters == module_params.max_memo_characters) - assert (params.tx_sig_limit == module_params.tx_sig_limit) - assert (params.tx_size_cost_per_byte == module_params.tx_size_cost_per_byte) - assert (params.sig_verify_cost_ed25519 == module_params.sig_verify_cost_ed25519) - assert (params.sig_verify_cost_secp256k1 == module_params.sig_verify_cost_secp256k1) + assert params.max_memo_characters == module_params.max_memo_characters + assert params.tx_sig_limit == module_params.tx_sig_limit + assert params.tx_size_cost_per_byte == module_params.tx_size_cost_per_byte + assert params.sig_verify_cost_ed25519 == module_params.sig_verify_cost_ed25519 + assert params.sig_verify_cost_secp256k1 == module_params.sig_verify_cost_secp256k1 @pytest.mark.asyncio async def test_fetch_account( - self, - auth_servicer, + self, + auth_servicer, ): - pub_key = keys_pb.PubKey( - key=b"\002\200T< /\340\341IC\260n\372\373\314&\3751A\034HfMk\255[ai\334\3303t\375" - ) + pub_key = keys_pb.PubKey(key=b"\002\200T< /\340\341IC\260n\372\373\314&\3751A\034HfMk\255[ai\334\3303t\375") any_pub_key = any_pb2.Any() any_pub_key.Pack(pub_key, type_url_prefix="") @@ -70,14 +63,13 @@ async def test_fetch_account( ) account = account_pb.EthAccount( base_account=base_account, - code_hash=b"\305\322F\001\206\367#<\222~}\262\334\307\003\300\345\000\266S\312\202\';{\372\330\004]\205\244p" + code_hash=b"\305\322F\001\206\367#<\222~}\262\334\307\003\300\345\000\266S\312\202';{" + b"\372\330\004]\205\244p", ) any_account = any_pb2.Any() any_account.Pack(account, type_url_prefix="") - auth_servicer.account_responses.append(auth_query_pb.QueryAccountResponse( - account=any_account - )) + auth_servicer.account_responses.append(auth_query_pb.QueryAccountResponse(account=any_account)) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -87,21 +79,19 @@ async def test_fetch_account( response_account = await api.fetch_account(address="inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr") - assert (f"0x{account.code_hash.hex()}" == response_account.code_hash) - assert (base_account.address == response_account.address) - assert (any_pub_key.type_url == response_account.pub_key_type_url) - assert (any_pub_key.value == response_account.pub_key_value) - assert (base_account.account_number == response_account.account_number) - assert (base_account.sequence == response_account.sequence) + assert f"0x{account.code_hash.hex()}" == response_account.code_hash + assert base_account.address == response_account.address + assert any_pub_key.type_url == response_account.pub_key_type_url + assert any_pub_key.value == response_account.pub_key_value + assert base_account.account_number == response_account.account_number + assert base_account.sequence == response_account.sequence @pytest.mark.asyncio async def test_fetch_accounts( - self, - auth_servicer, + self, + auth_servicer, ): - pub_key = keys_pb.PubKey( - key=b"\002\200T< /\340\341IC\260n\372\373\314&\3751A\034HfMk\255[ai\334\3303t\375" - ) + pub_key = keys_pb.PubKey(key=b"\002\200T< /\340\341IC\260n\372\373\314&\3751A\034HfMk\255[ai\334\3303t\375") any_pub_key = any_pb2.Any() any_pub_key.Pack(pub_key, type_url_prefix="") @@ -113,7 +103,8 @@ async def test_fetch_accounts( ) account = account_pb.EthAccount( base_account=base_account, - code_hash=b"\305\322F\001\206\367#<\222~}\262\334\307\003\300\345\000\266S\312\202\';{\372\330\004]\205\244p" + code_hash=b"\305\322F\001\206\367#<\222~}\262\334\307\003\300\345\000\266S\312\202';{" + b"\372\330\004]\205\244p", ) result_pagination = pagination_pb.PageResponse( @@ -123,10 +114,12 @@ async def test_fetch_accounts( any_account = any_pb2.Any() any_account.Pack(account, type_url_prefix="") - auth_servicer.accounts_responses.append(auth_query_pb.QueryAccountsResponse( - accounts=[any_account], - pagination=result_pagination, - )) + auth_servicer.accounts_responses.append( + auth_query_pb.QueryAccountsResponse( + accounts=[any_account], + pagination=result_pagination, + ) + ) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -144,16 +137,16 @@ async def test_fetch_accounts( response_accounts, response_pagination = await api.fetch_accounts(pagination_option=pagination_option) - assert (1 == len(response_accounts)) + assert 1 == len(response_accounts) response_account = response_accounts[0] - assert (f"0x{account.code_hash.hex()}" == response_account.code_hash) - assert (base_account.address == response_account.address) - assert (any_pub_key.type_url == response_account.pub_key_type_url) - assert (any_pub_key.value == response_account.pub_key_value) - assert (base_account.account_number == response_account.account_number) - assert (base_account.sequence == response_account.sequence) + assert f"0x{account.code_hash.hex()}" == response_account.code_hash + assert base_account.address == response_account.address + assert any_pub_key.type_url == response_account.pub_key_type_url + assert any_pub_key.value == response_account.pub_key_value + assert base_account.account_number == response_account.account_number + assert base_account.sequence == response_account.sequence - assert (f"0x{result_pagination.next_key.hex()}" == response_pagination.next) - assert (result_pagination.total == response_pagination.total) \ No newline at end of file + assert f"0x{result_pagination.next_key.hex()}" == response_pagination.next + assert result_pagination.total == response_pagination.total 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 3e27e69c..e08c15ee 100644 --- a/tests/client/chain/grpc/test_chain_grpc_bank_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_bank_api.py @@ -2,13 +2,10 @@ import pytest from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi -from pyinjective.constant import Network -from pyinjective.proto.cosmos.bank.v1beta1 import ( - bank_pb2 as bank_pb, - query_pb2 as bank_query_pb, -) -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb +from pyinjective.core.network import 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 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer @@ -18,16 +15,13 @@ def bank_servicer(): class TestChainGrpcBankApi: - @pytest.mark.asyncio async def test_fetch_module_params( - self, - bank_servicer, + self, + bank_servicer, ): params = bank_pb.Params(default_send_enabled=True) - bank_servicer.bank_params.append(bank_query_pb.QueryParamsResponse( - params=params - )) + bank_servicer.bank_params.append(bank_query_pb.QueryParamsResponse(params=params)) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -40,20 +34,15 @@ async def test_fetch_module_params( "default_send_enabled": True, } - assert (expected_params == module_params) + assert expected_params == module_params @pytest.mark.asyncio async def test_fetch_balance( - self, - bank_servicer, + self, + bank_servicer, ): - balance = coin_pb.Coin( - denom="inj", - amount="988987297011197594664" - ) - bank_servicer.balance_responses.append(bank_query_pb.QueryBalanceResponse( - balance=balance - )) + balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + bank_servicer.balance_responses.append(bank_query_pb.QueryBalanceResponse(balance=balance)) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -62,28 +51,19 @@ async def test_fetch_balance( api._stub = bank_servicer bank_balance = await api.fetch_balance( - account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", - denom="inj" + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", denom="inj" ) - expected_balance = { - "denom": "inj", - "amount": "988987297011197594664" - } + expected_balance = {"denom": "inj", "amount": "988987297011197594664"} - assert (expected_balance == bank_balance) + assert expected_balance == bank_balance @pytest.mark.asyncio async def test_fetch_balance( - self, - bank_servicer, + self, + bank_servicer, ): - balance = coin_pb.Coin( - denom="inj", - amount="988987297011197594664" - ) - bank_servicer.balance_responses.append(bank_query_pb.QueryBalanceResponse( - balance=balance - )) + balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + bank_servicer.balance_responses.append(bank_query_pb.QueryBalanceResponse(balance=balance)) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -92,35 +72,27 @@ async def test_fetch_balance( api._stub = bank_servicer bank_balance = await api.fetch_balance( - account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", - denom="inj" + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", denom="inj" ) - expected_balance = { - "denom": "inj", - "amount": "988987297011197594664" - } + expected_balance = {"denom": "inj", "amount": "988987297011197594664"} - assert (expected_balance == bank_balance) + assert expected_balance == bank_balance @pytest.mark.asyncio async def test_fetch_balances( - self, - bank_servicer, + self, + bank_servicer, ): - first_balance = coin_pb.Coin( - denom="inj", - amount="988987297011197594664" - ) - second_balance = coin_pb.Coin( - denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - amount="54497408" - ) + first_balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + second_balance = coin_pb.Coin(denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", amount="54497408") pagination = pagination_pb.PageResponse(total=2) - bank_servicer.balances_responses.append(bank_query_pb.QueryAllBalancesResponse( - balances=[first_balance, second_balance], - pagination=pagination, - )) + bank_servicer.balances_responses.append( + bank_query_pb.QueryAllBalancesResponse( + balances=[first_balance, second_balance], + pagination=pagination, + ) + ) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -136,30 +108,33 @@ async def test_fetch_balances( "pagination": {"total": 2}, } - assert (expected_balances == bank_balances) + assert expected_balances == bank_balances @pytest.mark.asyncio async def test_fetch_total_supply( - self, - bank_servicer, + self, + bank_servicer, ): first_supply = coin_pb.Coin( - denom="factory/inj108t3mlej0dph8er6ca2lq5cs9pdgzva5mqsn5p/position", - amount="5556700000000000000" + denom="factory/inj108t3mlej0dph8er6ca2lq5cs9pdgzva5mqsn5p/position", amount="5556700000000000000" ) second_supply = coin_pb.Coin( denom="factory/inj10uycavvkc4uqr8tns3599r0t2xux4rz3y8apym/1684002313InjUsdt1d110C", - amount="1123456789111100000" + amount="1123456789111100000", ) pagination = pagination_pb.PageResponse( - next_key="factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja".encode(), - total=179 + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, ) - bank_servicer.total_supply_responses.append(bank_query_pb.QueryTotalSupplyResponse( - supply=[first_supply, second_supply], - pagination=pagination, - )) + bank_servicer.total_supply_responses.append( + bank_query_pb.QueryTotalSupplyResponse( + supply=[first_supply, second_supply], + pagination=pagination, + ) + ) network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) @@ -171,8 +146,11 @@ async def test_fetch_total_supply( expected_supply = { "supply": [{"denom": coin.denom, "amount": coin.amount} for coin in [first_supply, second_supply]], "pagination": { - "next": "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja".encode(), - "total": 179}, + "next": ( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + "total": 179, + }, } - assert (expected_supply == total_supply) + assert expected_supply == total_supply From 76687cdf61159212e04e851474fbed329704a787 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 16 Oct 2023 11:03:18 -0300 Subject: [PATCH 20/83] (fix) Fixed issue in the logic that creates subaccount deposits filter for chain streams --- pyinjective/composer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyinjective/composer.py b/pyinjective/composer.py index c728d083..e7a241d6 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -867,7 +867,7 @@ def chain_stream_subaccount_deposits_filter( self, subaccount_ids: Optional[List[str]] = None, ) -> chain_stream_query.SubaccountDepositsFilter: - subaccount_ids = ["*"] + subaccount_ids = subaccount_ids or ["*"] return chain_stream_query.SubaccountDepositsFilter(subaccount_ids=subaccount_ids) def chain_stream_trades_filter( From 20c966b9a652cac4e7057b604cf0787cf3057b7d Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 6 Oct 2023 12:53:14 -0300 Subject: [PATCH 21/83] (feat) Added example for liquidable positions request. Also removed sentry nodes from network config --- .../23_LiquidablePositions.py | 30 +++++++++++++++++++ pyinjective/core/network.py | 13 +------- 2 files changed, 31 insertions(+), 12 deletions(-) create mode 100644 examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py diff --git a/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py b/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py new file mode 100644 index 00000000..e87f67b1 --- /dev/null +++ b/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py @@ -0,0 +1,30 @@ +import asyncio + +from google.protobuf import json_format + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" + skip = 10 + limit = 3 + positions = await client.get_derivative_liquidable_positions( + market_id=market_id, + skip=skip, + limit=limit, + ) + print( + json_format.MessageToJson( + message=positions, + including_default_value_fields=True, + preserving_proto_field_name=True, + ) + ) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/core/network.py b/pyinjective/core/network.py index 39c4af65..9131329a 100644 --- a/pyinjective/core/network.py +++ b/pyinjective/core/network.py @@ -244,9 +244,6 @@ def mainnet(cls, node="lb"): nodes = [ "lb", # us, asia, prod "lb_k8s", - "sentry0", # ca, prod - "sentry1", # ca, prod - "sentry3", # us, prod ] if node not in nodes: raise ValueError("Must be one of {}".format(nodes)) @@ -259,7 +256,7 @@ def mainnet(cls, node="lb"): grpc_explorer_endpoint = "sentry.explorer.grpc.injective.network:443" cookie_assistant = BareMetalLoadBalancedCookieAssistant() use_secure_connection = True - elif node == "lb_k8s": + else: lcd_endpoint = "https://k8s.global.mainnet.lcd.injective.network:443" tm_websocket_endpoint = "wss://k8s.global.mainnet.tm.injective.network:443/websocket" grpc_endpoint = "k8s.global.mainnet.chain.grpc.injective.network:443" @@ -267,14 +264,6 @@ def mainnet(cls, node="lb"): grpc_explorer_endpoint = "k8s.global.mainnet.explorer.grpc.injective.network:443" cookie_assistant = KubernetesLoadBalancedCookieAssistant() use_secure_connection = True - else: - lcd_endpoint = f"http://{node}.injective.network:10337" - tm_websocket_endpoint = f"ws://{node}.injective.network:26657/websocket" - grpc_endpoint = f"{node}.injective.network:9900" - grpc_exchange_endpoint = f"{node}.injective.network:9910" - grpc_explorer_endpoint = f"{node}.injective.network:9911" - cookie_assistant = DisabledCookieAssistant() - use_secure_connection = False return cls( lcd_endpoint=lcd_endpoint, From 33e4b01194bec6eefa396185bde2fc987be61e71 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 16 Oct 2023 15:37:38 -0300 Subject: [PATCH 22/83] (feat) Remove aiocron dependency. Use pure asyncio task to update the timeout height --- .github/workflows/run-tests.yml | 2 +- README.md | 3 + poetry.lock | 104 +++----------------------------- pyinjective/async_client.py | 28 ++++++--- pyproject.toml | 3 +- 5 files changed, 32 insertions(+), 108 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ccde1d03..95fa937f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,7 +8,7 @@ jobs: run-tests: strategy: matrix: - python: ["3.9", "3.10", "3.11"] + python: ["3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} env: diff --git a/README.md b/README.md index e094c565..4d9e67ed 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,9 @@ poetry run pytest -v ``` ### Changelogs +**0.10** +* Remove `aiocron` dependency. Use plain asyncio tasks to solve the timeout height synchronization + **0.9.3** * Updated TIA/USDT-30NOV2023 market id in denoms_mainnet.ini file diff --git a/poetry.lock b/poetry.lock index 33a290a5..d4adc5dd 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,23 +1,5 @@ # This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. -[[package]] -name = "aiocron" -version = "1.8" -description = "Crontabs for asyncio" -optional = false -python-versions = "*" -files = [ - {file = "aiocron-1.8-py3-none-any.whl", hash = "sha256:b6313214c311b62aa2220e872b94139b648631b3103d062ef29e5d3230ddce6d"}, - {file = "aiocron-1.8.tar.gz", hash = "sha256:48546513faf2eb7901e65a64eba7b653c80106ed00ed9ca3419c3d10b6555a01"}, -] - -[package.dependencies] -croniter = "*" -tzlocal = "*" - -[package.extras] -test = ["coverage"] - [[package]] name = "aiohttp" version = "3.8.6" @@ -742,21 +724,6 @@ tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.1 [package.extras] toml = ["tomli"] -[[package]] -name = "croniter" -version = "2.0.1" -description = "croniter provides iteration for datetime object with cron like format" -optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -files = [ - {file = "croniter-2.0.1-py2.py3-none-any.whl", hash = "sha256:4cb064ce2d8f695b3b078be36ff50115cf8ac306c10a7e8653ee2a5b534673d7"}, - {file = "croniter-2.0.1.tar.gz", hash = "sha256:d199b2ec3ea5e82988d1f72022433c5f9302b3b3ea9e6bfd6a1518f6ea5e700a"}, -] - -[package.dependencies] -python-dateutil = "*" -pytz = ">2021.1" - [[package]] name = "cytoolz" version = "0.12.2" @@ -1806,13 +1773,13 @@ testing = ["pytest", "pytest-benchmark"] [[package]] name = "pre-commit" -version = "3.4.0" +version = "3.5.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." optional = false python-versions = ">=3.8" files = [ - {file = "pre_commit-3.4.0-py2.py3-none-any.whl", hash = "sha256:96d529a951f8b677f730a7212442027e8ba53f9b04d217c4c67dc56c393ad945"}, - {file = "pre_commit-3.4.0.tar.gz", hash = "sha256:6bbd5129a64cad4c0dfaeeb12cd8f7ea7e15b77028d985341478c8af3c759522"}, + {file = "pre_commit-3.5.0-py2.py3-none-any.whl", hash = "sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660"}, + {file = "pre_commit-3.5.0.tar.gz", hash = "sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32"}, ] [package.dependencies] @@ -2004,31 +1971,6 @@ files = [ [package.dependencies] pytest = ">=3.6.0" -[[package]] -name = "python-dateutil" -version = "2.8.2" -description = "Extensions to the standard Python datetime module" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" -files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, -] - -[package.dependencies] -six = ">=1.5" - -[[package]] -name = "pytz" -version = "2023.3.post1" -description = "World timezone definitions, modern and historical" -optional = false -python-versions = "*" -files = [ - {file = "pytz-2023.3.post1-py2.py3-none-any.whl", hash = "sha256:ce42d816b81b68506614c11e8937d3aa9e41007ceb50bfdcb0749b921bf646c7"}, - {file = "pytz-2023.3.post1.tar.gz", hash = "sha256:7b4fddbeb94a1eba4b557da24f19fdf9db575192544270a9101d8509f9f43d7b"}, -] - [[package]] name = "pyunormalize" version = "15.0.0" @@ -2483,34 +2425,6 @@ files = [ {file = "typing_extensions-4.8.0.tar.gz", hash = "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef"}, ] -[[package]] -name = "tzdata" -version = "2023.3" -description = "Provider of IANA time zone data" -optional = false -python-versions = ">=2" -files = [ - {file = "tzdata-2023.3-py2.py3-none-any.whl", hash = "sha256:7e65763eef3120314099b6939b5546db7adce1e7d6f2e179e3df563c70511eda"}, - {file = "tzdata-2023.3.tar.gz", hash = "sha256:11ef1e08e54acb0d4f95bdb1be05da659673de4acbd21bf9c69e94cc5e907a3a"}, -] - -[[package]] -name = "tzlocal" -version = "5.1" -description = "tzinfo object for the local timezone" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tzlocal-5.1-py3-none-any.whl", hash = "sha256:2938498395d5f6a898ab8009555cb37a4d360913ad375d4747ef16826b03ef23"}, - {file = "tzlocal-5.1.tar.gz", hash = "sha256:a5ccb2365b295ed964e0a98ad076fe10c495591e75505d34f154d60a7f1ed722"}, -] - -[package.dependencies] -tzdata = {version = "*", markers = "platform_system == \"Windows\""} - -[package.extras] -devenv = ["black", "check-manifest", "flake8", "pyroma", "pytest (>=4.3)", "pytest-cov", "pytest-mock (>=3.3)", "zest.releaser"] - [[package]] name = "urllib3" version = "1.26.17" @@ -2549,13 +2463,13 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [[package]] name = "web3" -version = "6.10.0" +version = "6.11.0" description = "web3.py" optional = false python-versions = ">=3.7.2" files = [ - {file = "web3-6.10.0-py3-none-any.whl", hash = "sha256:070625a0da4f0fcac090fa95186e0b865a1bbc43efb78fd2ee805f7bf9cd8986"}, - {file = "web3-6.10.0.tar.gz", hash = "sha256:ea89f8a6ee74b74c3ff21954eafe00ec914365adb904c6c374f559bc46d4a61c"}, + {file = "web3-6.11.0-py3-none-any.whl", hash = "sha256:44e79da6a4765eacf137f2f388e37aa0c1e24a93bdfb462cffe9441d1be3d509"}, + {file = "web3-6.11.0.tar.gz", hash = "sha256:050dea52ae73d787272e7ecba7249f096595938c90cce1a384c20375c6b0f720"}, ] [package.dependencies] @@ -2576,10 +2490,10 @@ typing-extensions = ">=4.0.1" websockets = ">=10.0.0" [package.extras] -dev = ["black (>=22.1.0)", "build (>=0.9.0)", "bumpversion", "eth-tester[py-evm] (==v0.9.1-b.1)", "flake8 (==3.8.3)", "flaky (>=3.7.0)", "hypothesis (>=3.31.2)", "importlib-metadata (<5.0)", "ipfshttpclient (==0.8.0a2)", "isort (>=5.11.0)", "mypy (>=1.0.0)", "py-geth (>=3.11.0)", "pytest (>=7.0.0)", "pytest-asyncio (>=0.18.1)", "pytest-mock (>=1.10)", "pytest-watch (>=4.2)", "pytest-xdist (>=1.29)", "setuptools (>=38.6.0)", "sphinx (>=5.3.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=3.18.0)", "tqdm (>4.32)", "twine (>=1.13)", "types-protobuf (==3.19.13)", "types-requests (>=2.26.1)", "types-setuptools (>=57.4.4)", "when-changed (>=0.3.0)"] +dev = ["black (>=22.1.0)", "build (>=0.9.0)", "bumpversion", "eth-tester[py-evm] (==v0.9.1-b.1)", "flake8 (==3.8.3)", "flaky (>=3.7.0)", "hypothesis (>=3.31.2)", "importlib-metadata (<5.0)", "ipfshttpclient (==0.8.0a2)", "isort (>=5.11.0)", "mypy (==1.4.1)", "py-geth (>=3.11.0)", "pytest (>=7.0.0)", "pytest-asyncio (>=0.18.1)", "pytest-mock (>=1.10)", "pytest-watch (>=4.2)", "pytest-xdist (>=1.29)", "setuptools (>=38.6.0)", "sphinx (>=5.3.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=3.18.0)", "tqdm (>4.32)", "twine (>=1.13)", "types-protobuf (==3.19.13)", "types-requests (>=2.26.1)", "types-setuptools (>=57.4.4)", "when-changed (>=0.3.0)"] docs = ["sphinx (>=5.3.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)"] ipfs = ["ipfshttpclient (==0.8.0a2)"] -linter = ["black (>=22.1.0)", "flake8 (==3.8.3)", "isort (>=5.11.0)", "mypy (>=1.0.0)", "types-protobuf (==3.19.13)", "types-requests (>=2.26.1)", "types-setuptools (>=57.4.4)"] +linter = ["black (>=22.1.0)", "flake8 (==3.8.3)", "isort (>=5.11.0)", "mypy (==1.4.1)", "types-protobuf (==3.19.13)", "types-requests (>=2.26.1)", "types-setuptools (>=57.4.4)"] tester = ["eth-tester[py-evm] (==v0.9.1-b.1)", "py-geth (>=3.11.0)"] [[package]] @@ -2751,4 +2665,4 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "1c74ebf70d3cc8987fe3218c68cb29aa1a11121e1bd854af44dd2886413b5541" +content-hash = "3f60f1e4f2c0c5fe4f53f91d5320395e7063c477dd50524accd5fd3f9677bcf0" diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index f279b45f..b32bbec4 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -4,7 +4,6 @@ from decimal import Decimal from typing import Coroutine, Dict, List, Optional, Tuple, Union -import aiocron import grpc from pyinjective.composer import Composer @@ -108,13 +107,8 @@ def __init__( ) self.stubExplorer = explorer_rpc_grpc.InjectiveExplorerRPCStub(self.explorer_channel) - # timeout height update routine - self.cron = aiocron.crontab( - "* * * * * */{}".format(DEFAULT_TIMEOUTHEIGHT_SYNC_INTERVAL), - func=self.sync_timeout_height, - args=(), - start=True, - ) + self._timeout_height_sync_task = None + self._initialize_timeout_height_sync_task() self._tokens_and_markets_initialization_lock = asyncio.Lock() self._tokens: Optional[Dict[str, Token]] = None @@ -163,11 +157,11 @@ async def get_tx(self, tx_hash): async def close_exchange_channel(self): await self.exchange_channel.close() - self.cron.stop() + self._cancel_timeout_height_sync_task() async def close_chain_channel(self): await self.chain_channel.close() - self.cron.stop() + self._cancel_timeout_height_sync_task() async def sync_timeout_height(self): try: @@ -1009,3 +1003,17 @@ def _chain_cookie_metadata_requestor(self) -> Coroutine: def _exchange_cookie_metadata_requestor(self) -> Coroutine: request = exchange_meta_rpc_pb.VersionRequest() return self.stubMeta.Version(request).initial_metadata() + + def _initialize_timeout_height_sync_task(self): + self._cancel_timeout_height_sync_task() + self._timeout_height_sync_task = asyncio.create_task(self._timeout_height_sync_process()) + + async def _timeout_height_sync_process(self): + while True: + await self.sync_timeout_height() + await asyncio.sleep(DEFAULT_TIMEOUTHEIGHT_SYNC_INTERVAL) + + def _cancel_timeout_height_sync_task(self): + if self._timeout_height_sync_task is not None: + self._timeout_height_sync_task.cancel() + self._timeout_height_sync_task = None diff --git a/pyproject.toml b/pyproject.toml index 07bbadb2..6e72c508 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "0.9.3" +version = "0.10dev" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" @@ -22,7 +22,6 @@ include = [ [tool.poetry.dependencies] python = "^3.9" -aiocron = "*" aiohttp = "*" asyncio = "*" bech32 = "*" From a9f6842d0b804770ff6937b759d75540b0c9e1fd Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 16 Oct 2023 15:47:27 -0300 Subject: [PATCH 23/83] (fix) Undo inclusion of Python 3.12 to tests execution GitHub workflow --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 95fa937f..ccde1d03 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,7 +8,7 @@ jobs: run-tests: strategy: matrix: - python: ["3.9", "3.10", "3.11", "3.12"] + python: ["3.9", "3.10", "3.11"] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} env: From aa0fc44d9986ed8004981e5d05c9afa60f41dd59 Mon Sep 17 00:00:00 2001 From: Achilleas Kalantzis Date: Tue, 17 Oct 2023 19:46:27 +0300 Subject: [PATCH 24/83] chore: remove example --- .../23_LiquidablePositions.py | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py diff --git a/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py b/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py deleted file mode 100644 index e87f67b1..00000000 --- a/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py +++ /dev/null @@ -1,30 +0,0 @@ -import asyncio - -from google.protobuf import json_format - -from pyinjective.async_client import AsyncClient -from pyinjective.core.network import Network - - -async def main() -> None: - network = Network.testnet() - client = AsyncClient(network) - market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" - skip = 10 - limit = 3 - positions = await client.get_derivative_liquidable_positions( - market_id=market_id, - skip=skip, - limit=limit, - ) - print( - json_format.MessageToJson( - message=positions, - including_default_value_fields=True, - preserving_proto_field_name=True, - ) - ) - - -if __name__ == "__main__": - asyncio.get_event_loop().run_until_complete(main()) From ba7c0ab8f7577afc4c00beb221023a771c843808 Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 20 Oct 2023 11:25:19 -0300 Subject: [PATCH 25/83] (feat) Implemented Indexer Account low level API component. Created new functions in AsyncClient to use the new component and marked the old ones as deprecated (to be removed in the future) --- examples/chain_client/0_LocalOrderHash.py | 2 +- .../13_MsgIncreasePositionMargin.py | 2 +- examples/chain_client/15_MsgWithdraw.py | 2 +- .../chain_client/16_MsgSubaccountTransfer.py | 2 +- .../chain_client/17_MsgBatchUpdateOrders.py | 2 +- examples/chain_client/18_MsgBid.py | 2 +- examples/chain_client/19_MsgGrant.py | 2 +- examples/chain_client/1_MsgSend.py | 2 +- examples/chain_client/20_MsgExec.py | 2 +- examples/chain_client/21_MsgRevoke.py | 2 +- examples/chain_client/22_MsgSendToEth.py | 2 +- .../chain_client/23_MsgRelayPriceFeedPrice.py | 2 +- examples/chain_client/24_MsgRewardsOptOut.py | 2 +- examples/chain_client/25_MsgDelegate.py | 2 +- .../26_MsgWithdrawDelegatorReward.py | 2 +- examples/chain_client/28_BankBalances.py | 2 +- examples/chain_client/29_BankBalance.py | 2 +- examples/chain_client/2_MsgDeposit.py | 2 +- examples/chain_client/30_ExternalTransfer.py | 2 +- .../31_MsgCreateBinaryOptionsLimitOrder.py | 2 +- .../32_MsgCreateBinaryOptionsMarketOrder.py | 2 +- .../33_MsgCancelBinaryOptionsOrder.py | 2 +- .../34_MsgAdminUpdateBinaryOptionsMarket.py | 2 +- .../35_MsgInstantBinaryOptionsMarketLaunch.py | 2 +- .../chain_client/36_MsgRelayProviderPrices.py | 2 +- examples/chain_client/39_Account.py | 2 +- .../chain_client/3_MsgCreateSpotLimitOrder.py | 2 +- .../chain_client/40_MsgExecuteContract.py | 2 +- .../chain_client/41_MsgCreateInsuranceFund.py | 2 +- examples/chain_client/42_MsgUnderwrite.py | 2 +- .../chain_client/43_MsgRequestRedemption.py | 2 +- ...8_WithdrawValidatorCommissionAndRewards.py | 2 +- .../4_MsgCreateSpotMarketOrder.py | 2 +- examples/chain_client/5_MsgCancelSpotOrder.py | 2 +- .../6_MsgCreateDerivativeLimitOrder.py | 2 +- .../7_MsgCreateDerivativeMarketOrder.py | 2 +- .../8_MsgCancelDerivativeOrder.py | 2 +- .../accounts_rpc/1_StreamSubaccountBalance.py | 31 +- .../accounts_rpc/2_SubaccountBalance.py | 2 +- .../accounts_rpc/3_SubaccountsList.py | 2 +- .../accounts_rpc/5_SubaccountHistory.py | 2 +- .../accounts_rpc/6_SubaccountOrderSummary.py | 2 +- .../accounts_rpc/7_OrderStates.py | 2 +- .../accounts_rpc/8_Portfolio.py | 2 +- .../exchange_client/accounts_rpc/9_Rewards.py | 7 +- poetry.lock | 16 +- pyinjective/async_client.py | 234 ++++++++-- .../chain/grpc/chain_grpc_auction_api.py | 53 +-- .../client/chain/grpc/chain_grpc_auth_api.py | 36 +- .../client/chain/grpc/chain_grpc_bank_api.py | 42 +- pyinjective/client/indexer/__init__.py | 0 pyinjective/client/indexer/grpc/__init__.py | 0 .../indexer/grpc/indexer_grpc_account_api.py | 107 +++++ .../client/indexer/grpc_stream/__init__.py | 0 .../indexer_grpc_account_stream.py | 55 +++ pyinjective/core/broadcaster.py | 2 +- .../utils/grpc_api_request_assistant.py | 20 + pyproject.toml | 2 +- .../configurable_auction_query_servicer.py | 8 +- .../grpc/configurable_auth_query_serciver.py | 6 +- .../grpc/configurable_bank_query_servicer.py | 8 +- .../chain/grpc/test_chain_grpc_auction_api.py | 75 ++-- .../chain/grpc/test_chain_grpc_auth_api.py | 72 ++-- .../chain/grpc/test_chain_grpc_bank_api.py | 36 +- tests/client/indexer/__init__.py | 0 .../configurable_account_query_servicer.py | 58 +++ tests/client/indexer/grpc/__init__.py | 0 .../grpc/test_indexer_grpc_account_api.py | 398 ++++++++++++++++++ tests/client/indexer/stream_grpc/__init__.py | 0 .../test_indexer_grpc_account_stream.py | 78 ++++ tests/test_async_client.py | 2 +- .../test_async_client_deprecation_warnings.py | 265 ++++++++++++ 72 files changed, 1441 insertions(+), 256 deletions(-) create mode 100644 pyinjective/client/indexer/__init__.py create mode 100644 pyinjective/client/indexer/grpc/__init__.py create mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_account_api.py create mode 100644 pyinjective/client/indexer/grpc_stream/__init__.py create mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py create mode 100644 pyinjective/utils/grpc_api_request_assistant.py create mode 100644 tests/client/indexer/__init__.py create mode 100644 tests/client/indexer/configurable_account_query_servicer.py create mode 100644 tests/client/indexer/grpc/__init__.py create mode 100644 tests/client/indexer/grpc/test_indexer_grpc_account_api.py create mode 100644 tests/client/indexer/stream_grpc/__init__.py create mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_account_stream.py create mode 100644 tests/test_async_client_deprecation_warnings.py diff --git a/examples/chain_client/0_LocalOrderHash.py b/examples/chain_client/0_LocalOrderHash.py index e25d695c..5015fbad 100644 --- a/examples/chain_client/0_LocalOrderHash.py +++ b/examples/chain_client/0_LocalOrderHash.py @@ -20,7 +20,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) subaccount_id_2 = address.get_subaccount_id(index=1) diff --git a/examples/chain_client/13_MsgIncreasePositionMargin.py b/examples/chain_client/13_MsgIncreasePositionMargin.py index a2556f78..772a607f 100644 --- a/examples/chain_client/13_MsgIncreasePositionMargin.py +++ b/examples/chain_client/13_MsgIncreasePositionMargin.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare trade info diff --git a/examples/chain_client/15_MsgWithdraw.py b/examples/chain_client/15_MsgWithdraw.py index 437d0037..e48ee668 100644 --- a/examples/chain_client/15_MsgWithdraw.py +++ b/examples/chain_client/15_MsgWithdraw.py @@ -33,7 +33,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare tx msg diff --git a/examples/chain_client/16_MsgSubaccountTransfer.py b/examples/chain_client/16_MsgSubaccountTransfer.py index bc2e5baf..a9719ce5 100644 --- a/examples/chain_client/16_MsgSubaccountTransfer.py +++ b/examples/chain_client/16_MsgSubaccountTransfer.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) dest_subaccount_id = address.get_subaccount_id(index=1) diff --git a/examples/chain_client/17_MsgBatchUpdateOrders.py b/examples/chain_client/17_MsgBatchUpdateOrders.py index 3b3e7f77..64f5bded 100644 --- a/examples/chain_client/17_MsgBatchUpdateOrders.py +++ b/examples/chain_client/17_MsgBatchUpdateOrders.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare trade info diff --git a/examples/chain_client/18_MsgBid.py b/examples/chain_client/18_MsgBid.py index 5a23f172..ad4df010 100644 --- a/examples/chain_client/18_MsgBid.py +++ b/examples/chain_client/18_MsgBid.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare tx msg msg = composer.MsgBid(sender=address.to_acc_bech32(), round=16250, bid_amount=1) diff --git a/examples/chain_client/19_MsgGrant.py b/examples/chain_client/19_MsgGrant.py index 548af1a5..8c93a9f7 100644 --- a/examples/chain_client/19_MsgGrant.py +++ b/examples/chain_client/19_MsgGrant.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # subaccount_id = address.get_subaccount_id(index=0) # market_ids = ["0x0511ddc4e6586f3bfe1acb2dd905f8b8a82c97e1edaef654b12ca7e6031ca0fa"] diff --git a/examples/chain_client/1_MsgSend.py b/examples/chain_client/1_MsgSend.py index 1d3c28a6..ec1a29cf 100644 --- a/examples/chain_client/1_MsgSend.py +++ b/examples/chain_client/1_MsgSend.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare tx msg msg = composer.MsgSend( diff --git a/examples/chain_client/20_MsgExec.py b/examples/chain_client/20_MsgExec.py index c940523c..84790203 100644 --- a/examples/chain_client/20_MsgExec.py +++ b/examples/chain_client/20_MsgExec.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare tx msg market_id = "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" diff --git a/examples/chain_client/21_MsgRevoke.py b/examples/chain_client/21_MsgRevoke.py index 7c040810..a046aace 100644 --- a/examples/chain_client/21_MsgRevoke.py +++ b/examples/chain_client/21_MsgRevoke.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare tx msg msg = composer.MsgRevoke( diff --git a/examples/chain_client/22_MsgSendToEth.py b/examples/chain_client/22_MsgSendToEth.py index 96f6e435..71348b20 100644 --- a/examples/chain_client/22_MsgSendToEth.py +++ b/examples/chain_client/22_MsgSendToEth.py @@ -21,7 +21,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare msg asset = "injective-protocol" diff --git a/examples/chain_client/23_MsgRelayPriceFeedPrice.py b/examples/chain_client/23_MsgRelayPriceFeedPrice.py index f55c8c72..008e9e9a 100644 --- a/examples/chain_client/23_MsgRelayPriceFeedPrice.py +++ b/examples/chain_client/23_MsgRelayPriceFeedPrice.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) price = 100 price_to_send = [str(int(price * 10**18))] diff --git a/examples/chain_client/24_MsgRewardsOptOut.py b/examples/chain_client/24_MsgRewardsOptOut.py index abf63829..81f2f60b 100644 --- a/examples/chain_client/24_MsgRewardsOptOut.py +++ b/examples/chain_client/24_MsgRewardsOptOut.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare tx msg msg = composer.MsgRewardsOptOut(sender=address.to_acc_bech32()) diff --git a/examples/chain_client/25_MsgDelegate.py b/examples/chain_client/25_MsgDelegate.py index 9243b6d4..b16e1c2d 100644 --- a/examples/chain_client/25_MsgDelegate.py +++ b/examples/chain_client/25_MsgDelegate.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare tx msg validator_address = "injvaloper1ultw9r29l8nxy5u6thcgusjn95vsy2caw722q5" diff --git a/examples/chain_client/26_MsgWithdrawDelegatorReward.py b/examples/chain_client/26_MsgWithdrawDelegatorReward.py index 61b9fbef..c8c4f8a4 100644 --- a/examples/chain_client/26_MsgWithdrawDelegatorReward.py +++ b/examples/chain_client/26_MsgWithdrawDelegatorReward.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare tx msg validator_address = "injvaloper1ultw9r29l8nxy5u6thcgusjn95vsy2caw722q5" diff --git a/examples/chain_client/28_BankBalances.py b/examples/chain_client/28_BankBalances.py index 4e6ec895..6ead7b13 100644 --- a/examples/chain_client/28_BankBalances.py +++ b/examples/chain_client/28_BankBalances.py @@ -8,7 +8,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) address = "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r" - all_bank_balances = await client.get_bank_balances(address=address) + all_bank_balances = await client.fetch_bank_balances(address=address) print(all_bank_balances) diff --git a/examples/chain_client/29_BankBalance.py b/examples/chain_client/29_BankBalance.py index 959d1c72..af17dfac 100644 --- a/examples/chain_client/29_BankBalance.py +++ b/examples/chain_client/29_BankBalance.py @@ -9,7 +9,7 @@ async def main() -> None: client = AsyncClient(network) address = "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r" denom = "inj" - bank_balance = await client.get_bank_balance(address=address, denom=denom) + bank_balance = await client.fetch_bank_balance(address=address, denom=denom) print(bank_balance) diff --git a/examples/chain_client/2_MsgDeposit.py b/examples/chain_client/2_MsgDeposit.py index 13febc04..26d78ff3 100644 --- a/examples/chain_client/2_MsgDeposit.py +++ b/examples/chain_client/2_MsgDeposit.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare tx msg diff --git a/examples/chain_client/30_ExternalTransfer.py b/examples/chain_client/30_ExternalTransfer.py index c5dbcc53..de656150 100644 --- a/examples/chain_client/30_ExternalTransfer.py +++ b/examples/chain_client/30_ExternalTransfer.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) dest_subaccount_id = "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000" diff --git a/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py b/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py index fb2a9d24..d68457aa 100644 --- a/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py +++ b/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py @@ -20,7 +20,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare trade info diff --git a/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py b/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py index 2408b865..8fe799e9 100644 --- a/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py +++ b/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare trade info diff --git a/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py b/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py index 9daaf419..7c7a3f64 100644 --- a/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py +++ b/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare trade info diff --git a/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py b/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py index da3966e0..c0b4aacd 100644 --- a/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py +++ b/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare trade info market_id = "0xfafec40a7b93331c1fc89c23f66d11fbb48f38dfdd78f7f4fc4031fad90f6896" diff --git a/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py b/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py index 1116a669..35e96b4a 100644 --- a/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py +++ b/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare tx msg msg = composer.MsgInstantBinaryOptionsMarketLaunch( diff --git a/examples/chain_client/36_MsgRelayProviderPrices.py b/examples/chain_client/36_MsgRelayProviderPrices.py index 2068c572..ad12bc3a 100644 --- a/examples/chain_client/36_MsgRelayProviderPrices.py +++ b/examples/chain_client/36_MsgRelayProviderPrices.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) provider = "ufc" symbols = ["KHABIB-TKO-05/30/2023", "KHABIB-TKO-05/26/2023"] diff --git a/examples/chain_client/39_Account.py b/examples/chain_client/39_Account.py index 43692ba2..ed193834 100644 --- a/examples/chain_client/39_Account.py +++ b/examples/chain_client/39_Account.py @@ -8,7 +8,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) address = "inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr" - acc = await client.get_account(address=address) + acc = await client.fetch_account(address=address) print(acc) diff --git a/examples/chain_client/3_MsgCreateSpotLimitOrder.py b/examples/chain_client/3_MsgCreateSpotLimitOrder.py index a480e817..e392ce9b 100644 --- a/examples/chain_client/3_MsgCreateSpotLimitOrder.py +++ b/examples/chain_client/3_MsgCreateSpotLimitOrder.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare trade info diff --git a/examples/chain_client/40_MsgExecuteContract.py b/examples/chain_client/40_MsgExecuteContract.py index 3d92b825..3a349c51 100644 --- a/examples/chain_client/40_MsgExecuteContract.py +++ b/examples/chain_client/40_MsgExecuteContract.py @@ -20,7 +20,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare tx msg # NOTE: COIN MUST BE SORTED IN ALPHABETICAL ORDER BY DENOMS diff --git a/examples/chain_client/41_MsgCreateInsuranceFund.py b/examples/chain_client/41_MsgCreateInsuranceFund.py index 86f7b0b6..73a8a7ac 100644 --- a/examples/chain_client/41_MsgCreateInsuranceFund.py +++ b/examples/chain_client/41_MsgCreateInsuranceFund.py @@ -20,7 +20,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) msg = composer.MsgCreateInsuranceFund( sender=address.to_acc_bech32(), diff --git a/examples/chain_client/42_MsgUnderwrite.py b/examples/chain_client/42_MsgUnderwrite.py index 087aae33..2a8dd764 100644 --- a/examples/chain_client/42_MsgUnderwrite.py +++ b/examples/chain_client/42_MsgUnderwrite.py @@ -20,7 +20,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) msg = composer.MsgUnderwrite( sender=address.to_acc_bech32(), diff --git a/examples/chain_client/43_MsgRequestRedemption.py b/examples/chain_client/43_MsgRequestRedemption.py index 7379f055..e932b6e9 100644 --- a/examples/chain_client/43_MsgRequestRedemption.py +++ b/examples/chain_client/43_MsgRequestRedemption.py @@ -20,7 +20,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) msg = composer.MsgRequestRedemption( sender=address.to_acc_bech32(), diff --git a/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py b/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py index 4ab89394..9a584c1a 100644 --- a/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py +++ b/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py @@ -22,7 +22,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) # prepare tx msg validator_address = "injvaloper1ultw9r29l8nxy5u6thcgusjn95vsy2caw722q5" diff --git a/examples/chain_client/4_MsgCreateSpotMarketOrder.py b/examples/chain_client/4_MsgCreateSpotMarketOrder.py index 293b5145..23fff9c7 100644 --- a/examples/chain_client/4_MsgCreateSpotMarketOrder.py +++ b/examples/chain_client/4_MsgCreateSpotMarketOrder.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare trade info diff --git a/examples/chain_client/5_MsgCancelSpotOrder.py b/examples/chain_client/5_MsgCancelSpotOrder.py index f94638bd..e9358b91 100644 --- a/examples/chain_client/5_MsgCancelSpotOrder.py +++ b/examples/chain_client/5_MsgCancelSpotOrder.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare trade info diff --git a/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py b/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py index 865400b4..e8e729a6 100644 --- a/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py +++ b/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare trade info diff --git a/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py b/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py index db69d7c1..cc1895f9 100644 --- a/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py +++ b/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare trade info diff --git a/examples/chain_client/8_MsgCancelDerivativeOrder.py b/examples/chain_client/8_MsgCancelDerivativeOrder.py index f2cda909..67abca22 100644 --- a/examples/chain_client/8_MsgCancelDerivativeOrder.py +++ b/examples/chain_client/8_MsgCancelDerivativeOrder.py @@ -19,7 +19,7 @@ async def main() -> None: priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") pub_key = priv_key.to_public_key() address = pub_key.to_address() - await client.get_account(address.to_acc_bech32()) + await client.fetch_account(address.to_acc_bech32()) subaccount_id = address.get_subaccount_id(index=0) # prepare trade info diff --git a/examples/exchange_client/accounts_rpc/1_StreamSubaccountBalance.py b/examples/exchange_client/accounts_rpc/1_StreamSubaccountBalance.py index 9a0364eb..2a9e9c23 100644 --- a/examples/exchange_client/accounts_rpc/1_StreamSubaccountBalance.py +++ b/examples/exchange_client/accounts_rpc/1_StreamSubaccountBalance.py @@ -1,18 +1,41 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def balance_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to balance updates ({exception})") + + +def stream_closed_processor(): + print("The balance updates stream has been closed") + + async def main() -> None: network = Network.testnet() client = AsyncClient(network) subaccount_id = "0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001" denoms = ["inj", "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5"] - subaccount = await client.stream_subaccount_balance(subaccount_id=subaccount_id, denoms=denoms) - async for balance in subaccount: - print("Subaccount balance Update:\n") - print(balance) + task = asyncio.get_event_loop().create_task( + client.listen_subaccount_balance_updates( + subaccount_id=subaccount_id, + callback=balance_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + denoms=denoms, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/examples/exchange_client/accounts_rpc/2_SubaccountBalance.py b/examples/exchange_client/accounts_rpc/2_SubaccountBalance.py index dd48b9f3..ecec1061 100644 --- a/examples/exchange_client/accounts_rpc/2_SubaccountBalance.py +++ b/examples/exchange_client/accounts_rpc/2_SubaccountBalance.py @@ -9,7 +9,7 @@ async def main() -> None: client = AsyncClient(network) subaccount_id = "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000" denom = "inj" - balance = await client.get_subaccount_balance(subaccount_id=subaccount_id, denom=denom) + balance = await client.fetch_subaccount_balance(subaccount_id=subaccount_id, denom=denom) print(balance) diff --git a/examples/exchange_client/accounts_rpc/3_SubaccountsList.py b/examples/exchange_client/accounts_rpc/3_SubaccountsList.py index af523e2d..c7243509 100644 --- a/examples/exchange_client/accounts_rpc/3_SubaccountsList.py +++ b/examples/exchange_client/accounts_rpc/3_SubaccountsList.py @@ -8,7 +8,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) account_address = "inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt" - subacc_list = await client.get_subaccount_list(account_address) + subacc_list = await client.fetch_subaccounts_list(account_address) print(subacc_list) diff --git a/examples/exchange_client/accounts_rpc/5_SubaccountHistory.py b/examples/exchange_client/accounts_rpc/5_SubaccountHistory.py index e67d2ab6..610b0723 100644 --- a/examples/exchange_client/accounts_rpc/5_SubaccountHistory.py +++ b/examples/exchange_client/accounts_rpc/5_SubaccountHistory.py @@ -13,7 +13,7 @@ async def main() -> None: skip = 1 limit = 15 end_time = 1665118340224 - subacc_history = await client.get_subaccount_history( + subacc_history = await client.fetch_subaccount_history( subaccount_id=subaccount, denom=denom, transfer_types=transfer_types, skip=skip, limit=limit, end_time=end_time ) print(subacc_history) diff --git a/examples/exchange_client/accounts_rpc/6_SubaccountOrderSummary.py b/examples/exchange_client/accounts_rpc/6_SubaccountOrderSummary.py index 9026e4e1..a150cd22 100644 --- a/examples/exchange_client/accounts_rpc/6_SubaccountOrderSummary.py +++ b/examples/exchange_client/accounts_rpc/6_SubaccountOrderSummary.py @@ -10,7 +10,7 @@ async def main() -> None: subaccount = "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000" order_direction = "buy" market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" - subacc_order_summary = await client.get_subaccount_order_summary( + subacc_order_summary = await client.fetch_subaccount_order_summary( subaccount_id=subaccount, order_direction=order_direction, market_id=market_id ) print(subacc_order_summary) diff --git a/examples/exchange_client/accounts_rpc/7_OrderStates.py b/examples/exchange_client/accounts_rpc/7_OrderStates.py index e78dc842..038d42d5 100644 --- a/examples/exchange_client/accounts_rpc/7_OrderStates.py +++ b/examples/exchange_client/accounts_rpc/7_OrderStates.py @@ -15,7 +15,7 @@ async def main() -> None: "0x82113f3998999bdc3892feaab2c4e53ba06c5fe887a2d5f9763397240f24da50", "0xbb1f036001378cecb5fff1cc69303919985b5bf058c32f37d5aaf9b804c07a06", ] - orders = await client.get_order_states( + orders = await client.fetch_order_states( spot_order_hashes=spot_order_hashes, derivative_order_hashes=derivative_order_hashes ) print(orders) diff --git a/examples/exchange_client/accounts_rpc/8_Portfolio.py b/examples/exchange_client/accounts_rpc/8_Portfolio.py index 0a922054..90cd9565 100644 --- a/examples/exchange_client/accounts_rpc/8_Portfolio.py +++ b/examples/exchange_client/accounts_rpc/8_Portfolio.py @@ -8,7 +8,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) account_address = "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku" - portfolio = await client.get_portfolio(account_address=account_address) + portfolio = await client.fetch_portfolio(account_address=account_address) print(portfolio) diff --git a/examples/exchange_client/accounts_rpc/9_Rewards.py b/examples/exchange_client/accounts_rpc/9_Rewards.py index b3a486cf..10012c2a 100644 --- a/examples/exchange_client/accounts_rpc/9_Rewards.py +++ b/examples/exchange_client/accounts_rpc/9_Rewards.py @@ -7,12 +7,9 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) - # account_address = "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku" + account_address = "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku" epoch = -1 - rewards = await client.get_rewards( - # account_address=account_address, - epoch=epoch - ) + rewards = await client.fetch_rewards(account_address=account_address, epoch=epoch) print(rewards) diff --git a/poetry.lock b/poetry.lock index 33a290a5..5247b2e3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1806,13 +1806,13 @@ testing = ["pytest", "pytest-benchmark"] [[package]] name = "pre-commit" -version = "3.4.0" +version = "3.5.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." optional = false python-versions = ">=3.8" files = [ - {file = "pre_commit-3.4.0-py2.py3-none-any.whl", hash = "sha256:96d529a951f8b677f730a7212442027e8ba53f9b04d217c4c67dc56c393ad945"}, - {file = "pre_commit-3.4.0.tar.gz", hash = "sha256:6bbd5129a64cad4c0dfaeeb12cd8f7ea7e15b77028d985341478c8af3c759522"}, + {file = "pre_commit-3.5.0-py2.py3-none-any.whl", hash = "sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660"}, + {file = "pre_commit-3.5.0.tar.gz", hash = "sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32"}, ] [package.dependencies] @@ -2549,13 +2549,13 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [[package]] name = "web3" -version = "6.10.0" +version = "6.11.0" description = "web3.py" optional = false python-versions = ">=3.7.2" files = [ - {file = "web3-6.10.0-py3-none-any.whl", hash = "sha256:070625a0da4f0fcac090fa95186e0b865a1bbc43efb78fd2ee805f7bf9cd8986"}, - {file = "web3-6.10.0.tar.gz", hash = "sha256:ea89f8a6ee74b74c3ff21954eafe00ec914365adb904c6c374f559bc46d4a61c"}, + {file = "web3-6.11.0-py3-none-any.whl", hash = "sha256:44e79da6a4765eacf137f2f388e37aa0c1e24a93bdfb462cffe9441d1be3d509"}, + {file = "web3-6.11.0.tar.gz", hash = "sha256:050dea52ae73d787272e7ecba7249f096595938c90cce1a384c20375c6b0f720"}, ] [package.dependencies] @@ -2576,10 +2576,10 @@ typing-extensions = ">=4.0.1" websockets = ">=10.0.0" [package.extras] -dev = ["black (>=22.1.0)", "build (>=0.9.0)", "bumpversion", "eth-tester[py-evm] (==v0.9.1-b.1)", "flake8 (==3.8.3)", "flaky (>=3.7.0)", "hypothesis (>=3.31.2)", "importlib-metadata (<5.0)", "ipfshttpclient (==0.8.0a2)", "isort (>=5.11.0)", "mypy (>=1.0.0)", "py-geth (>=3.11.0)", "pytest (>=7.0.0)", "pytest-asyncio (>=0.18.1)", "pytest-mock (>=1.10)", "pytest-watch (>=4.2)", "pytest-xdist (>=1.29)", "setuptools (>=38.6.0)", "sphinx (>=5.3.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=3.18.0)", "tqdm (>4.32)", "twine (>=1.13)", "types-protobuf (==3.19.13)", "types-requests (>=2.26.1)", "types-setuptools (>=57.4.4)", "when-changed (>=0.3.0)"] +dev = ["black (>=22.1.0)", "build (>=0.9.0)", "bumpversion", "eth-tester[py-evm] (==v0.9.1-b.1)", "flake8 (==3.8.3)", "flaky (>=3.7.0)", "hypothesis (>=3.31.2)", "importlib-metadata (<5.0)", "ipfshttpclient (==0.8.0a2)", "isort (>=5.11.0)", "mypy (==1.4.1)", "py-geth (>=3.11.0)", "pytest (>=7.0.0)", "pytest-asyncio (>=0.18.1)", "pytest-mock (>=1.10)", "pytest-watch (>=4.2)", "pytest-xdist (>=1.29)", "setuptools (>=38.6.0)", "sphinx (>=5.3.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=3.18.0)", "tqdm (>4.32)", "twine (>=1.13)", "types-protobuf (==3.19.13)", "types-requests (>=2.26.1)", "types-setuptools (>=57.4.4)", "when-changed (>=0.3.0)"] docs = ["sphinx (>=5.3.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)"] ipfs = ["ipfshttpclient (==0.8.0a2)"] -linter = ["black (>=22.1.0)", "flake8 (==3.8.3)", "isort (>=5.11.0)", "mypy (>=1.0.0)", "types-protobuf (==3.19.13)", "types-requests (>=2.26.1)", "types-setuptools (>=57.4.4)"] +linter = ["black (>=22.1.0)", "flake8 (==3.8.3)", "isort (>=5.11.0)", "mypy (==1.4.1)", "types-protobuf (==3.19.13)", "types-requests (>=2.26.1)", "types-setuptools (>=57.4.4)"] tester = ["eth-tester[py-evm] (==v0.9.1-b.1)", "py-geth (>=3.11.0)"] [[package]] diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index d666c1e7..0848f218 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -2,25 +2,33 @@ import time from copy import deepcopy from decimal import Decimal -from typing import Coroutine, Dict, List, Optional, Tuple, Union +from typing import Any, Callable, Coroutine, Dict, List, Optional, Tuple, Union +from warnings import warn import aiocron import grpc +from google.protobuf import json_format +from pyinjective import constant +from pyinjective.client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi +from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi +from pyinjective.client.indexer.grpc.indexer_grpc_account_api import IndexerGrpcAccountApi +from pyinjective.client.indexer.grpc_stream.indexer_grpc_account_stream import IndexerGrpcAccountStream from pyinjective.composer import Composer - -from . import constant -from .client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi -from .client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi -from .core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket -from .core.network import Network -from .core.token import Token -from .exceptions import NotFoundError -from .proto.cosmos.authz.v1beta1 import query_pb2 as authz_query, query_pb2_grpc as authz_query_grpc -from .proto.cosmos.base.abci.v1beta1 import abci_pb2 as abci_type -from .proto.cosmos.base.tendermint.v1beta1 import query_pb2 as tendermint_query, query_pb2_grpc as tendermint_query_grpc -from .proto.cosmos.tx.v1beta1 import service_pb2 as tx_service, service_pb2_grpc as tx_service_grpc -from .proto.exchange import ( +from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket +from pyinjective.core.network import Network +from pyinjective.core.token import Token +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 +from pyinjective.proto.cosmos.bank.v1beta1 import query_pb2 as bank_query, query_pb2_grpc as bank_query_grpc +from pyinjective.proto.cosmos.base.abci.v1beta1 import abci_pb2 as abci_type +from pyinjective.proto.cosmos.base.tendermint.v1beta1 import ( + query_pb2 as tendermint_query, + query_pb2_grpc as tendermint_query_grpc, +) +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, @@ -40,8 +48,8 @@ injective_spot_exchange_rpc_pb2 as spot_exchange_rpc_pb, injective_spot_exchange_rpc_pb2_grpc as spot_exchange_rpc_grpc, ) -from .proto.injective.types.v1beta1 import account_pb2 -from .utils.logger import LoggerProvider +from pyinjective.proto.injective.types.v1beta1 import account_pb2 +from pyinjective.utils.logger import LoggerProvider DEFAULT_TIMEOUTHEIGHT_SYNC_INTERVAL = 20 # seconds DEFAULT_TIMEOUTHEIGHT = 30 # blocks @@ -72,7 +80,9 @@ def __init__( ) self.stubCosmosTendermint = tendermint_query_grpc.ServiceStub(self.chain_channel) + self.stubAuth = auth_query_grpc.QueryStub(self.chain_channel) self.stubAuthz = authz_query_grpc.QueryStub(self.chain_channel) + self.stubBank = bank_query_grpc.QueryStub(self.chain_channel) self.stubTx = tx_service_grpc.ServiceStub(self.chain_channel) self.exchange_cookie = "" @@ -117,8 +127,31 @@ def __init__( self._derivative_markets: Optional[Dict[str, DerivativeMarket]] = None self._binary_option_markets: Optional[Dict[str, BinaryOptionMarket]] = None - self.bank_api = ChainGrpcBankApi(channel=self.chain_channel) - self.auth_api = ChainGrpcAuthApi(channel=self.chain_channel) + self.bank_api = ChainGrpcBankApi( + channel=self.chain_channel, + metadata_provider=self.network.chain_metadata( + metadata_query_provider=self._chain_cookie_metadata_requestor + ), + ) + self.auth_api = ChainGrpcAuthApi( + channel=self.chain_channel, + metadata_provider=self.network.chain_metadata( + metadata_query_provider=self._chain_cookie_metadata_requestor + ), + ) + + self.exchange_account_api = IndexerGrpcAccountApi( + channel=self.exchange_channel, + metadata_provider=self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) + self.exchange_account_stream_api = IndexerGrpcAccountStream( + channel=self.exchange_channel, + metadata_provider=self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) async def all_tokens(self) -> Dict[str, Token]: if self._tokens is None: @@ -183,19 +216,44 @@ async def get_latest_block(self) -> tendermint_query.GetLatestBlockResponse: return await self.stubCosmosTendermint.GetLatestBlock(req) async def get_account(self, address: str) -> Optional[account_pb2.EthAccount]: + """ + This method is deprecated and will be removed soon. Please use `fetch_account` instead + """ + warn("This method is deprecated. Use fetch_account instead", DeprecationWarning, stacklevel=2) + try: - # metadata = await self.network.chain_metadata( - # metadata_query_provider=self._chain_cookie_metadata_requestor - # ) - account = await self.auth_api.fetch_account(address=address) - self.number = account.account_number - self.sequence = account.sequence + metadata = await self.network.chain_metadata(metadata_query_provider=self._chain_cookie_metadata_requestor) + account_any = ( + await self.stubAuth.Account(auth_query.QueryAccountRequest(address=address), metadata=metadata) + ).account + account = account_pb2.EthAccount() + if account_any.Is(account.DESCRIPTOR): + account_any.Unpack(account) + self.number = int(account.base_account.account_number) + self.sequence = int(account.base_account.sequence) except Exception as e: LoggerProvider().logger_for_class(logging_class=self.__class__).debug( f"error while fetching sequence and number {e}" ) return None + async def fetch_account(self, address: str) -> Optional[account_pb2.EthAccount]: + result_account = None + try: + account = await self.auth_api.fetch_account(address=address) + parsed_account = account_pb2.EthAccount() + if parsed_account.DESCRIPTOR.full_name in account["account"]["@type"]: + json_format.ParseDict(js_dict=account["account"], message=parsed_account, ignore_unknown_fields=True) + self.number = parsed_account.base_account.account_number + self.sequence = parsed_account.base_account.sequence + result_account = parsed_account + except Exception as e: + LoggerProvider().logger_for_class(logging_class=self.__class__).debug( + f"error while fetching sequence and number {e}" + ) + + return result_account + async def get_request_id_by_tx_hash(self, tx_hash: bytes) -> List[int]: tx = await self.stubTx.GetTx(tx_service.GetTxRequest(hash=tx_hash)) request_ids = [] @@ -251,9 +309,23 @@ async def get_grants(self, granter: str, grantee: str, **kwargs): ) async def get_bank_balances(self, address: str): + """ + This method is deprecated and will be removed soon. Please use `fetch_balances` instead + """ + warn("This method is deprecated. Use fetch_bank_balances instead", DeprecationWarning, stacklevel=2) + return await self.stubBank.AllBalances(bank_query.QueryAllBalancesRequest(address=address)) + + async def fetch_bank_balances(self, address: str) -> Dict[str, Any]: return await self.bank_api.fetch_balances(account_address=address) async def get_bank_balance(self, address: str, denom: str): + """ + This method is deprecated and will be removed soon. Please use `fetch_bank_balance` instead + """ + warn("This method is deprecated. Use fetch_bank_balance instead", DeprecationWarning, stacklevel=2) + return await self.stubBank.Balance(bank_query.QueryBalanceRequest(address=address, denom=denom)) + + async def fetch_bank_balance(self, address: str, denom: str) -> Dict[str, Any]: return await self.bank_api.fetch_balance(account_address=address, denom=denom) # Injective Exchange client methods @@ -375,26 +447,77 @@ async def get_ibc_transfers(self, **kwargs): # 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, + ) + 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"), @@ -405,7 +528,29 @@ async def get_subaccount_history(self, subaccount_id: str, **kwargs): ) 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, + skip: Optional[int] = None, + limit: Optional[int] = None, + end_time: Optional[int] = None, + ) -> Dict[str, Any]: + return await self.exchange_account_api.fetch_subaccount_history( + subaccount_id=subaccount_id, + denom=denom, + transfer_types=transfer_types, + skip=skip, + limit=limit, + end_time=end_time, + ) + 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"), @@ -413,23 +558,64 @@ async def get_subaccount_order_summary(self, subaccount_id: str, **kwargs): ) 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): diff --git a/pyinjective/client/chain/grpc/chain_grpc_auction_api.py b/pyinjective/client/chain/grpc/chain_grpc_auction_api.py index d1fd6e89..5af660b7 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_auction_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_auction_api.py @@ -1,4 +1,4 @@ -from typing import Any, Dict +from typing import Any, Callable, Coroutine, Dict from grpc.aio import Channel @@ -6,60 +6,31 @@ query_pb2 as auction_query_pb, query_pb2_grpc as auction_query_grpc, ) +from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant class ChainGrpcAuctionApi: - def __init__(self, channel: Channel): + def __init__(self, channel: Channel, metadata_provider: Coroutine): self._stub = auction_query_grpc.QueryStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) async def fetch_module_params(self) -> Dict[str, Any]: request = auction_query_pb.QueryAuctionParamsRequest() - response = await self._stub.AuctionParams(request) + response = await self._execute_call(call=self._stub.AuctionParams, request=request) - module_params = { - "auction_period": response.params.auction_period, - "min_next_bid_increment_rate": response.params.min_next_bid_increment_rate, - } - - return module_params + return response async def fetch_module_state(self) -> Dict[str, Any]: request = auction_query_pb.QueryModuleStateRequest() - response = await self._stub.AuctionModuleState(request) - - if response.state.highest_bid is None: - highest_bid = { - "bidder": "", - "amount": "", - } - else: - highest_bid = { - "bidder": response.state.highest_bid.bidder, - "amount": response.state.highest_bid.amount, - } - - module_state = { - "params": { - "auction_period": response.state.params.auction_period, - "min_next_bid_increment_rate": response.state.params.min_next_bid_increment_rate, - }, - "auction_round": response.state.auction_round, - "highest_bid": highest_bid, - "auction_ending_timestamp": response.state.auction_ending_timestamp, - } + response = await self._execute_call(call=self._stub.AuctionModuleState, request=request) - return module_state + return response async def fetch_current_basket(self) -> Dict[str, Any]: request = auction_query_pb.QueryCurrentAuctionBasketRequest() - response = await self._stub.CurrentAuctionBasket(request) + response = await self._execute_call(call=self._stub.CurrentAuctionBasket, request=request) - current_basket = { - "amount_list": [{"amount": coin.amount, "denom": coin.denom} for coin in response.amount], - "auction_round": response.auctionRound, - "auction_closing_time": response.auctionClosingTime, - "highest_bidder": response.highestBidder, - "highest_bid_amount": response.highestBidAmount, - } + return response - return current_basket + 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/chain/grpc/chain_grpc_auth_api.py b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py index 45039288..42f2389e 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_auth_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py @@ -1,38 +1,34 @@ -from typing import List, Tuple +from typing import Any, Callable, Coroutine, Dict from grpc.aio import Channel -from pyinjective.client.chain.model.account import Account -from pyinjective.client.chain.model.auth_params import AuthParams -from pyinjective.client.model.pagination import Pagination, PaginationOption +from pyinjective.client.model.pagination import PaginationOption 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 class ChainGrpcAuthApi: - def __init__(self, channel: Channel): + def __init__(self, channel: Channel, metadata_provider: Coroutine): self._stub = auth_query_grpc.QueryStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) - async def fetch_module_params(self) -> AuthParams: + async def fetch_module_params(self) -> Dict[str, Any]: request = auth_query_pb.QueryParamsRequest() - response = await self._stub.Params(request) + response = await self._execute_call(call=self._stub.Params, request=request) - module_params = AuthParams.from_proto_response(response=response) + return response - return module_params - - async def fetch_account(self, address: str) -> Account: + async def fetch_account(self, address: str) -> Dict[str, Any]: request = auth_query_pb.QueryAccountRequest(address=address) - response = await self._stub.Account(request) - - account = Account.from_proto(proto_account=response.account) + response = await self._execute_call(call=self._stub.Account, request=request) - return account + return response - async def fetch_accounts(self, pagination_option: PaginationOption) -> Tuple[List[Account], PaginationOption]: + async def fetch_accounts(self, pagination_option: PaginationOption) -> Dict[str, Any]: request = auth_query_pb.QueryAccountsRequest(pagination=pagination_option.create_pagination_request()) - response = await self._stub.Accounts(request) + response = await self._execute_call(call=self._stub.Accounts, request=request) - accounts = [Account.from_proto(proto_account=proto_account) for proto_account in response.accounts] - response_pagination = Pagination.from_proto(proto_pagination=response.pagination) + return response - return accounts, response_pagination + 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/chain/grpc/chain_grpc_bank_api.py b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py index 5e42917e..915aa781 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py @@ -1,53 +1,39 @@ -from typing import Any, Dict +from typing import Any, Callable, Coroutine, Dict from grpc.aio import Channel 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 class ChainGrpcBankApi: - def __init__(self, channel: Channel): + def __init__(self, channel: Channel, metadata_provider: Coroutine): self._stub = bank_query_grpc.QueryStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) async def fetch_module_params(self) -> Dict[str, Any]: request = bank_query_pb.QueryParamsRequest() - response = await self._stub.Params(request) + response = await self._execute_call(call=self._stub.Params, request=request) - module_params = { - "default_send_enabled": response.params.default_send_enabled, - } - - return module_params + return response async def fetch_balance(self, account_address: str, denom: str) -> Dict[str, Any]: request = bank_query_pb.QueryBalanceRequest(address=account_address, denom=denom) - response = await self._stub.Balance(request) - - bank_balance = { - "amount": response.balance.amount, - "denom": response.balance.denom, - } + response = await self._execute_call(call=self._stub.Balance, request=request) - return bank_balance + return response async def fetch_balances(self, account_address: str) -> Dict[str, Any]: request = bank_query_pb.QueryAllBalancesRequest(address=account_address) - response = await self._stub.AllBalances(request) - - bank_balances = { - "balances": [{"amount": coin.amount, "denom": coin.denom} for coin in response.balances], - "pagination": {"total": response.pagination.total}, - } + response = await self._execute_call(call=self._stub.AllBalances, request=request) - return bank_balances + return response async def fetch_total_supply(self) -> Dict[str, Any]: request = bank_query_pb.QueryTotalSupplyRequest() - response = await self._stub.TotalSupply(request) + response = await self._execute_call(call=self._stub.TotalSupply, request=request) - total_supply = { - "supply": [{"amount": coin.amount, "denom": coin.denom} for coin in response.supply], - "pagination": {"next": response.pagination.next_key, "total": response.pagination.total}, - } + return response - return total_supply + 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/__init__.py b/pyinjective/client/indexer/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/indexer/grpc/__init__.py b/pyinjective/client/indexer/grpc/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py new file mode 100644 index 00000000..16e7e236 --- /dev/null +++ b/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py @@ -0,0 +1,107 @@ +from typing import Any, Callable, Coroutine, Dict, List, Optional + +from grpc.aio import Channel + +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, metadata_provider: Coroutine): + self._stub = self._stub = exchange_accounts_grpc.InjectiveAccountsRPCStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + 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, + skip: Optional[int] = None, + limit: Optional[int] = None, + end_time: Optional[int] = None, + ) -> Dict[str, Any]: + request = exchange_accounts_pb.SubaccountHistoryRequest( + subaccount_id=subaccount_id, + denom=denom, + transfer_types=transfer_types, + skip=skip, + limit=limit, + end_time=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_stream/__init__.py b/pyinjective/client/indexer/grpc_stream/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py new file mode 100644 index 00000000..1ab6f0fc --- /dev/null +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py @@ -0,0 +1,55 @@ +import asyncio +from typing import Callable, Coroutine, List, Optional + +from google.protobuf import json_format +from grpc import RpcError +from grpc.aio import Channel + +from pyinjective.proto.exchange import ( + injective_accounts_rpc_pb2 as exchange_accounts_pb, + injective_accounts_rpc_pb2_grpc as exchange_accounts_grpc, +) + + +class IndexerGrpcAccountStream: + def __init__(self, channel: Channel, metadata_provider: Coroutine): + self._stub = self._stub = exchange_accounts_grpc.InjectiveAccountsRPCStub(channel) + self._metadata_provider = metadata_provider + + 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, + ) + metadata = await self._metadata_provider + stream = self._stub.StreamSubaccountBalance(request=request, metadata=metadata) + + try: + async for balance_update in stream: + update = json_format.MessageToDict( + message=balance_update, + including_default_value_fields=True, + ) + if asyncio.iscoroutinefunction(callback): + await callback(update) + else: + callback(update) + except RpcError as ex: + if on_status_callback is not None: + if asyncio.iscoroutinefunction(on_status_callback): + await on_status_callback(ex) + else: + on_status_callback(ex) + + if on_end_callback is not None: + if asyncio.iscoroutinefunction(on_end_callback): + await on_end_callback() + else: + on_end_callback() diff --git a/pyinjective/core/broadcaster.py b/pyinjective/core/broadcaster.py index a121ef22..32ad5562 100644 --- a/pyinjective/core/broadcaster.py +++ b/pyinjective/core/broadcaster.py @@ -151,7 +151,7 @@ async def broadcast(self, messages: List[any_pb2.Any]): if self._client.timeout_height == 1: await self._client.sync_timeout_height() if self._client.number == 0: - await self._client.get_account(self._account_config.trading_injective_address) + await self._client.fetch_account(self._account_config.trading_injective_address) messages_for_transaction = self._account_config.messages_prepared_for_transaction(messages=messages) diff --git a/pyinjective/utils/grpc_api_request_assistant.py b/pyinjective/utils/grpc_api_request_assistant.py new file mode 100644 index 00000000..cef27c45 --- /dev/null +++ b/pyinjective/utils/grpc_api_request_assistant.py @@ -0,0 +1,20 @@ +from typing import Any, Callable, Coroutine, Dict + +from google.protobuf import json_format + + +class GrpcApiRequestAssistant: + def __init__(self, metadata_provider: Coroutine): + super().__init__() + self._metadata_provider = metadata_provider + + async def execute_call(self, call: Callable, request) -> Dict[str, Any]: + metadata = await self._metadata_provider + response = await call(request=request, metadata=metadata) + + result = json_format.MessageToDict( + message=response, + including_default_value_fields=True, + ) + + return result diff --git a/pyproject.toml b/pyproject.toml index 9660cf8d..319171c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,7 +63,7 @@ max_line_length = 120 # list of plugins and rules for them [tool.flakeheaven.plugins] -pycodestyle = ["+*", "-W503"] +pycodestyle = ["+*", "-W503", "-E731"] pyflakes = ["+*"] [tool.flakeheaven.exceptions."tests/"] diff --git a/tests/client/chain/grpc/configurable_auction_query_servicer.py b/tests/client/chain/grpc/configurable_auction_query_servicer.py index c3879d59..66d3269b 100644 --- a/tests/client/chain/grpc/configurable_auction_query_servicer.py +++ b/tests/client/chain/grpc/configurable_auction_query_servicer.py @@ -13,11 +13,13 @@ def __init__(self): self.module_states = deque() self.current_baskets = deque() - async def AuctionParams(self, request: auction_query_pb.QueryAuctionParamsRequest, context=None): + async def AuctionParams(self, request: auction_query_pb.QueryAuctionParamsRequest, context=None, metadata=None): return self.auction_params.pop() - async def AuctionModuleState(self, request: auction_query_pb.QueryModuleStateRequest, context=None): + async def AuctionModuleState(self, request: auction_query_pb.QueryModuleStateRequest, context=None, metadata=None): return self.module_states.pop() - async def CurrentAuctionBasket(self, request: auction_query_pb.QueryCurrentAuctionBasketRequest, context=None): + async def CurrentAuctionBasket( + self, request: auction_query_pb.QueryCurrentAuctionBasketRequest, context=None, metadata=None + ): return self.current_baskets.pop() diff --git a/tests/client/chain/grpc/configurable_auth_query_serciver.py b/tests/client/chain/grpc/configurable_auth_query_serciver.py index 52b7c560..af7783e2 100644 --- a/tests/client/chain/grpc/configurable_auth_query_serciver.py +++ b/tests/client/chain/grpc/configurable_auth_query_serciver.py @@ -10,11 +10,11 @@ def __init__(self): self.account_responses = deque() self.accounts_responses = deque() - async def Params(self, request: auth_query_pb.QueryParamsRequest, context=None): + async def Params(self, request: auth_query_pb.QueryParamsRequest, context=None, metadata=None): return self.auth_params.pop() - async def Account(self, request: auth_query_pb.QueryAccountRequest, context=None): + async def Account(self, request: auth_query_pb.QueryAccountRequest, context=None, metadata=None): return self.account_responses.pop() - async def Accounts(self, request: auth_query_pb.QueryAccountsRequest, context=None): + async def Accounts(self, request: auth_query_pb.QueryAccountsRequest, context=None, metadata=None): return self.accounts_responses.pop() diff --git a/tests/client/chain/grpc/configurable_bank_query_servicer.py b/tests/client/chain/grpc/configurable_bank_query_servicer.py index 0f127763..015ce2c8 100644 --- a/tests/client/chain/grpc/configurable_bank_query_servicer.py +++ b/tests/client/chain/grpc/configurable_bank_query_servicer.py @@ -11,14 +11,14 @@ def __init__(self): self.balances_responses = deque() self.total_supply_responses = deque() - async def Params(self, request: bank_query_pb.QueryParamsRequest, context=None): + async def Params(self, request: bank_query_pb.QueryParamsRequest, context=None, metadata=None): return self.bank_params.pop() - async def Balance(self, request: bank_query_pb.QueryBalanceRequest, context=None): + async def Balance(self, request: bank_query_pb.QueryBalanceRequest, context=None, metadata=None): return self.balance_responses.pop() - async def AllBalances(self, request: bank_query_pb.QueryAllBalancesRequest, context=None): + async def AllBalances(self, request: bank_query_pb.QueryAllBalancesRequest, context=None, metadata=None): return self.balances_responses.pop() - async def TotalSupply(self, request: bank_query_pb.QueryTotalSupplyRequest, context=None): + async def TotalSupply(self, request: bank_query_pb.QueryTotalSupplyRequest, context=None, metadata=None): return self.total_supply_responses.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_auction_api.py b/tests/client/chain/grpc/test_chain_grpc_auction_api.py index 8f99f1ce..e70b7ab6 100644 --- a/tests/client/chain/grpc/test_chain_grpc_auction_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_auction_api.py @@ -29,14 +29,11 @@ async def test_fetch_module_params( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuctionApi(channel=channel) + api = ChainGrpcAuctionApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = auction_servicer module_params = await api.fetch_module_params() - expected_params = { - "auction_period": 604800, - "min_next_bid_increment_rate": "2500000000000000", - } + expected_params = {"params": {"auctionPeriod": "604800", "minNextBidIncrementRate": "2500000000000000"}} assert expected_params == module_params @@ -61,21 +58,23 @@ async def test_fetch_module_state( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuctionApi(channel=channel) + api = ChainGrpcAuctionApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = auction_servicer module_state = await api.fetch_module_state() expected_state = { - "params": { - "auction_period": 604800, - "min_next_bid_increment_rate": "2500000000000000", - }, - "auction_round": 50, - "highest_bid": { - "bidder": "inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", - "amount": "\n\003inj\022\0232347518723906280000", - }, - "auction_ending_timestamp": 1687504387, + "state": { + "auctionEndingTimestamp": "1687504387", + "auctionRound": "50", + "highestBid": { + "amount": "\n\x03inj\x12\x132347518723906280000", + "bidder": "inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", + }, + "params": { + "auctionPeriod": "604800", + "minNextBidIncrementRate": "2500000000000000", + }, + } } assert expected_state == module_state @@ -96,21 +95,19 @@ async def test_fetch_module_state_when_no_highest_bid_present( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuctionApi(channel=channel) + api = ChainGrpcAuctionApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = auction_servicer module_state = await api.fetch_module_state() expected_state = { - "params": { - "auction_period": 604800, - "min_next_bid_increment_rate": "2500000000000000", - }, - "auction_round": 50, - "highest_bid": { - "bidder": "", - "amount": "", - }, - "auction_ending_timestamp": 1687504387, + "state": { + "auctionEndingTimestamp": "1687504387", + "auctionRound": "50", + "params": { + "auctionPeriod": "604800", + "minNextBidIncrementRate": "2500000000000000", + }, + } } assert expected_state == module_state @@ -142,16 +139,28 @@ async def test_fetch_current_basket( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuctionApi(channel=channel) + api = ChainGrpcAuctionApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = auction_servicer current_basket = await api.fetch_current_basket() expected_basket = { - "amount_list": [{"amount": coin.amount, "denom": coin.denom} for coin in [first_amount, second_amount]], - "auction_round": 50, - "auction_closing_time": 1687504387, - "highest_bidder": "inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", - "highest_bid_amount": "2347518723906280000", + "amount": [ + { + "amount": "15059786755", + "denom": "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", + }, + { + "amount": "200000", + "denom": "peggy0xf9152067989BDc8783fF586624124C05A529A5D1", + }, + ], + "auctionClosingTime": "1687504387", + "auctionRound": "50", + "highestBidAmount": "2347518723906280000", + "highestBidder": "inj1pvt70tt7epjudnurkqlxu62flfgy46j2ytj7j5", } assert expected_basket == current_basket + + async def _dummy_metadata_provider(self): + return None 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 32e44d74..0b333f8c 100644 --- a/tests/client/chain/grpc/test_chain_grpc_auth_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_auth_api.py @@ -1,3 +1,5 @@ +import base64 + import grpc import pytest from google.protobuf import any_pb2 @@ -35,16 +37,21 @@ async def test_fetch_module_params( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuthApi(channel=channel) + api = ChainGrpcAuthApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = auth_servicer module_params = await api.fetch_module_params() - - assert params.max_memo_characters == module_params.max_memo_characters - assert params.tx_sig_limit == module_params.tx_sig_limit - assert params.tx_size_cost_per_byte == module_params.tx_size_cost_per_byte - assert params.sig_verify_cost_ed25519 == module_params.sig_verify_cost_ed25519 - assert params.sig_verify_cost_secp256k1 == module_params.sig_verify_cost_secp256k1 + expected_params = { + "params": { + "maxMemoCharacters": "256", + "sigVerifyCostEd25519": "590", + "sigVerifyCostSecp256k1": "1000", + "txSigLimit": "7", + "txSizeCostPerByte": "10", + } + } + + assert expected_params == module_params @pytest.mark.asyncio async def test_fetch_account( @@ -74,17 +81,27 @@ async def test_fetch_account( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuthApi(channel=channel) + api = ChainGrpcAuthApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = auth_servicer response_account = await api.fetch_account(address="inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr") - - assert f"0x{account.code_hash.hex()}" == response_account.code_hash - assert base_account.address == response_account.address - assert any_pub_key.type_url == response_account.pub_key_type_url - assert any_pub_key.value == response_account.pub_key_value - assert base_account.account_number == response_account.account_number - assert base_account.sequence == response_account.sequence + expected_account = { + "account": { + "@type": "/injective.types.v1beta1.EthAccount", + "baseAccount": { + "accountNumber": str(base_account.account_number), + "address": base_account.address, + "pubKey": { + "@type": "/injective.crypto.v1beta1.ethsecp256k1.PubKey", + "key": base64.b64encode(pub_key.key).decode(), + }, + "sequence": str(base_account.sequence), + }, + "codeHash": base64.b64encode(account.code_hash).decode(), + } + } + + assert expected_account == response_account @pytest.mark.asyncio async def test_fetch_accounts( @@ -124,7 +141,7 @@ async def test_fetch_accounts( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuthApi(channel=channel) + api = ChainGrpcAuthApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = auth_servicer pagination_option = PaginationOption( @@ -135,18 +152,23 @@ async def test_fetch_accounts( count_total=True, ) - response_accounts, response_pagination = await api.fetch_accounts(pagination_option=pagination_option) + response = await api.fetch_accounts(pagination_option=pagination_option) + response_accounts = response["accounts"] + response_pagination = response["pagination"] assert 1 == len(response_accounts) response_account = response_accounts[0] - assert f"0x{account.code_hash.hex()}" == response_account.code_hash - assert base_account.address == response_account.address - assert any_pub_key.type_url == response_account.pub_key_type_url - assert any_pub_key.value == response_account.pub_key_value - assert base_account.account_number == response_account.account_number - assert base_account.sequence == response_account.sequence + assert account.code_hash == base64.b64decode(response_account["codeHash"]) + assert base_account.address == response_account["baseAccount"]["address"] + assert any_pub_key.type_url == response_account["baseAccount"]["pubKey"]["@type"] + assert pub_key.key == base64.b64decode(response_account["baseAccount"]["pubKey"]["key"]) + assert base_account.account_number == int(response_account["baseAccount"]["accountNumber"]) + assert base_account.sequence == int(response_account["baseAccount"]["sequence"]) + + assert result_pagination.next_key == base64.b64decode(response_pagination["nextKey"]) + assert result_pagination.total == int(response_pagination["total"]) - assert f"0x{result_pagination.next_key.hex()}" == response_pagination.next - assert result_pagination.total == response_pagination.total + async def _dummy_metadata_provider(self): + return None 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 e08c15ee..8cb34e62 100644 --- a/tests/client/chain/grpc/test_chain_grpc_bank_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_bank_api.py @@ -1,3 +1,5 @@ +import base64 + import grpc import pytest @@ -26,12 +28,15 @@ async def test_fetch_module_params( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcBankApi(channel=channel) + api = ChainGrpcBankApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = bank_servicer module_params = await api.fetch_module_params() expected_params = { - "default_send_enabled": True, + "params": { + "defaultSendEnabled": True, + "sendEnabled": [], + } } assert expected_params == module_params @@ -47,7 +52,7 @@ async def test_fetch_balance( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcBankApi(channel=channel) + api = ChainGrpcBankApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = bank_servicer bank_balance = await api.fetch_balance( @@ -68,13 +73,18 @@ async def test_fetch_balance( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcBankApi(channel=channel) + api = ChainGrpcBankApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = bank_servicer bank_balance = await api.fetch_balance( account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", denom="inj" ) - expected_balance = {"denom": "inj", "amount": "988987297011197594664"} + expected_balance = { + "balance": { + "denom": "inj", + "amount": "988987297011197594664", + } + } assert expected_balance == bank_balance @@ -97,7 +107,7 @@ async def test_fetch_balances( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcBankApi(channel=channel) + api = ChainGrpcBankApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = bank_servicer bank_balances = await api.fetch_balances( @@ -105,7 +115,7 @@ async def test_fetch_balances( ) expected_balances = { "balances": [{"denom": coin.denom, "amount": coin.amount} for coin in [first_balance, second_balance]], - "pagination": {"total": 2}, + "pagination": {"nextKey": "", "total": "2"}, } assert expected_balances == bank_balances @@ -139,18 +149,20 @@ async def test_fetch_total_supply( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcBankApi(channel=channel) + api = ChainGrpcBankApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) api._stub = bank_servicer total_supply = await api.fetch_total_supply() + next_key = "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" expected_supply = { "supply": [{"denom": coin.denom, "amount": coin.amount} for coin in [first_supply, second_supply]], "pagination": { - "next": ( - "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" - ).encode(), - "total": 179, + "nextKey": base64.b64encode(next_key.encode()).decode(), + "total": "179", }, } assert expected_supply == total_supply + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/client/indexer/__init__.py b/tests/client/indexer/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/client/indexer/configurable_account_query_servicer.py b/tests/client/indexer/configurable_account_query_servicer.py new file mode 100644 index 00000000..161947c2 --- /dev/null +++ b/tests/client/indexer/configurable_account_query_servicer.py @@ -0,0 +1,58 @@ +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/grpc/__init__.py b/tests/client/indexer/grpc/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/client/indexer/grpc/test_indexer_grpc_account_api.py b/tests/client/indexer/grpc/test_indexer_grpc_account_api.py new file mode 100644 index 00000000..4de05c2e --- /dev/null +++ b/tests/client/indexer/grpc/test_indexer_grpc_account_api.py @@ -0,0 +1,398 @@ +import time + +import grpc +import pytest + +from pyinjective.client.indexer.grpc.indexer_grpc_account_api import IndexerGrpcAccountApi +from pyinjective.core.network import 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)) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = 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, + ) + account_servicer.order_states_responses.append( + exchange_accounts_pb.OrderStatesResponse(spot_order_states=[order_state]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = 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), + } + ], + "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"] + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = 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]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = 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) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = 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, + ) + setattr(paging, "from", 1) + + account_servicer.subaccount_history_responses.append( + exchange_accounts_pb.SubaccountHistoryResponse(transfers=[transfer], paging=paging) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = 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], + skip=0, + limit=5, + end_time=int(time.time() * 1e3), + ) + 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), + }, + } + + 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) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = 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])) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = 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])) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = 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 + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/client/indexer/stream_grpc/__init__.py b/tests/client/indexer/stream_grpc/__init__.py new file mode 100644 index 00000000..e69de29b 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 new file mode 100644 index 00000000..d1814f37 --- /dev/null +++ b/tests/client/indexer/stream_grpc/test_indexer_grpc_account_stream.py @@ -0,0 +1,78 @@ +import asyncio + +import grpc +import pytest + +from pyinjective.client.indexer.grpc_stream.indexer_grpc_account_stream import IndexerGrpcAccountStream +from pyinjective.core.network import 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) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAccountStream(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = 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() + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client.py b/tests/test_async_client.py index c2bc2335..ac18c6f5 100644 --- a/tests/test_async_client.py +++ b/tests/test_async_client.py @@ -60,7 +60,7 @@ async def test_get_account_logs_exception(self, caplog): ) with caplog.at_level(logging.DEBUG): - await client.get_account(address="") + await client.fetch_account(address="") expected_log_message_prefix = "error while fetching sequence and number " found_log = next( diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py new file mode 100644 index 00000000..8e0cd485 --- /dev/null +++ b/tests/test_async_client_deprecation_warnings.py @@ -0,0 +1,265 @@ +from warnings import catch_warnings + +import pytest + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network +from pyinjective.proto.cosmos.bank.v1beta1 import query_pb2 as bank_query_pb +from pyinjective.proto.exchange import injective_accounts_rpc_pb2 as exchange_accounts_pb +from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb +from tests.client.chain.grpc.configurable_auth_query_serciver import ConfigurableAuthQueryServicer +from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer +from tests.client.indexer.configurable_account_query_servicer import ConfigurableAccountQueryServicer + + +@pytest.fixture +def account_servicer(): + return ConfigurableAccountQueryServicer() + + +@pytest.fixture +def auth_servicer(): + return ConfigurableAuthQueryServicer() + + +@pytest.fixture +def bank_servicer(): + return ConfigurableBankQueryServicer() + + +class TestAsyncClientDeprecationWarnings: + @pytest.mark.asyncio + async def test_get_account_deprecation_warning( + self, + auth_servicer, + ): + client = AsyncClient( + network=Network.local(), + insecure=False, + ) + 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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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(), + insecure=False, + ) + 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") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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(), + insecure=False, + ) + 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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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(), + insecure=False, + ) + 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"]) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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(), + insecure=False, + ) + 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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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(), + insecure=False, + ) + 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=[]) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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(), + insecure=False, + ) + 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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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(), + insecure=False, + ) + 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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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(), + insecure=False, + ) + 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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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(), + insecure=False, + ) + 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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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(), + insecure=False, + ) + 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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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(), + insecure=False, + ) + 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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_warnings[0].message) == "This method is deprecated. Use listen_subaccount_balance_updates instead" + ) From 45a4b7e291f861b59f34d9761bd379d4d5d167e1 Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 20 Oct 2023 15:33:01 -0300 Subject: [PATCH 26/83] (feat) Implemented the AuthZ low level API component --- examples/chain_client/27_Grants.py | 2 +- pyinjective/async_client.py | 26 +++ .../client/chain/grpc/chain_grpc_authz_api.py | 62 ++++++ pyinjective/client/model/pagination.py | 10 +- ...py => configurable_auth_query_servicer.py} | 0 .../grpc/configurable_autz_query_servicer.py | 20 ++ .../chain/grpc/test_chain_grpc_authz_api.py | 202 ++++++++++++++++++ .../test_async_client_deprecation_warnings.py | 28 ++- 8 files changed, 343 insertions(+), 7 deletions(-) create mode 100644 pyinjective/client/chain/grpc/chain_grpc_authz_api.py rename tests/client/chain/grpc/{configurable_auth_query_serciver.py => configurable_auth_query_servicer.py} (100%) create mode 100644 tests/client/chain/grpc/configurable_autz_query_servicer.py create mode 100644 tests/client/chain/grpc/test_chain_grpc_authz_api.py diff --git a/examples/chain_client/27_Grants.py b/examples/chain_client/27_Grants.py index dca8ea42..331980af 100644 --- a/examples/chain_client/27_Grants.py +++ b/examples/chain_client/27_Grants.py @@ -10,7 +10,7 @@ async def main() -> None: granter = "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku" grantee = "inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r" msg_type_url = "/injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder" - authorizations = await client.get_grants(granter=granter, grantee=grantee, msg_type_url=msg_type_url) + authorizations = await client.fetch_grants(granter=granter, grantee=grantee, msg_type_url=msg_type_url) print(authorizations) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 0848f218..3e27f451 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -11,9 +11,11 @@ from pyinjective import constant from pyinjective.client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi +from pyinjective.client.chain.grpc.chain_grpc_authz_api import ChainGrpcAuthZApi from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi from pyinjective.client.indexer.grpc.indexer_grpc_account_api import IndexerGrpcAccountApi from pyinjective.client.indexer.grpc_stream.indexer_grpc_account_stream import IndexerGrpcAccountStream +from pyinjective.client.model.pagination import PaginationOption from pyinjective.composer import Composer from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from pyinjective.core.network import Network @@ -139,6 +141,12 @@ def __init__( metadata_query_provider=self._chain_cookie_metadata_requestor ), ) + self.authz_api = ChainGrpcAuthZApi( + channel=self.chain_channel, + metadata_provider=self.network.chain_metadata( + metadata_query_provider=self._chain_cookie_metadata_requestor + ), + ) self.exchange_account_api = IndexerGrpcAccountApi( channel=self.exchange_channel, @@ -300,6 +308,10 @@ async def get_chain_id(self) -> str: return latest_block.block.header.chain_id async def get_grants(self, granter: str, grantee: str, **kwargs): + """ + This method is deprecated and will be removed soon. Please use `fetch_grants` instead + """ + warn("This method is deprecated. Use fetch_grants instead", DeprecationWarning, stacklevel=2) return await self.stubAuthz.Grants( authz_query.QueryGrantsRequest( granter=granter, @@ -308,6 +320,20 @@ async def get_grants(self, granter: str, grantee: str, **kwargs): ) ) + async def fetch_grants( + self, + granter: str, + grantee: str, + msg_type_url: Optional[str] = None, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.authz_api.fetch_grants( + granter=granter, + grantee=grantee, + msg_type_url=msg_type_url, + pagination=pagination, + ) + async def get_bank_balances(self, address: str): """ This method is deprecated and will be removed soon. Please use `fetch_balances` instead diff --git a/pyinjective/client/chain/grpc/chain_grpc_authz_api.py b/pyinjective/client/chain/grpc/chain_grpc_authz_api.py new file mode 100644 index 00000000..7e949bc8 --- /dev/null +++ b/pyinjective/client/chain/grpc/chain_grpc_authz_api.py @@ -0,0 +1,62 @@ +from typing import Any, Callable, Coroutine, Dict, Optional + +from grpc.aio import Channel + +from pyinjective.client.model.pagination import PaginationOption +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 + + +class ChainGrpcAuthZApi: + def __init__(self, channel: Channel, metadata_provider: Coroutine): + self._stub = authz_query_grpc.QueryStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + async def fetch_grants( + self, + granter: str, + grantee: str, + msg_type_url: Optional[str] = None, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = authz_query.QueryGrantsRequest( + granter=granter, grantee=grantee, msg_type_url=msg_type_url, pagination=pagination_request + ) + + response = await self._execute_call(call=self._stub.Grants, request=request) + + return response + + async def fetch_granter_grants( + self, + granter: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = authz_query.QueryGranterGrantsRequest(granter=granter, pagination=pagination_request) + + response = await self._execute_call(call=self._stub.GranterGrants, request=request) + + return response + + async def fetch_grantee_grants( + self, + grantee: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = authz_query.QueryGranteeGrantsRequest(grantee=grantee, pagination=pagination_request) + + response = await self._execute_call(call=self._stub.GranteeGrants, 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/model/pagination.py b/pyinjective/client/model/pagination.py index 9a2d9ba8..ae37d6ec 100644 --- a/pyinjective/client/model/pagination.py +++ b/pyinjective/client/model/pagination.py @@ -6,11 +6,11 @@ class PaginationOption: def __init__( self, - key: Optional[str], - offset: Optional[int], - limit: Optional[int], - reverse: Optional[bool], - count_total: Optional[bool], + key: Optional[str] = None, + offset: Optional[int] = None, + limit: Optional[int] = None, + reverse: Optional[bool] = None, + count_total: Optional[bool] = None, ): super().__init__() self.key = key diff --git a/tests/client/chain/grpc/configurable_auth_query_serciver.py b/tests/client/chain/grpc/configurable_auth_query_servicer.py similarity index 100% rename from tests/client/chain/grpc/configurable_auth_query_serciver.py rename to tests/client/chain/grpc/configurable_auth_query_servicer.py diff --git a/tests/client/chain/grpc/configurable_autz_query_servicer.py b/tests/client/chain/grpc/configurable_autz_query_servicer.py new file mode 100644 index 00000000..550e3226 --- /dev/null +++ b/tests/client/chain/grpc/configurable_autz_query_servicer.py @@ -0,0 +1,20 @@ +from collections import deque + +from pyinjective.proto.cosmos.authz.v1beta1 import query_pb2 as authz_query, query_pb2_grpc as authz_query_grpc + + +class ConfigurableAuthZQueryServicer(authz_query_grpc.QueryServicer): + def __init__(self): + super().__init__() + self.grants_responses = deque() + self.granter_grants_responses = deque() + self.grantee_grants_responses = deque() + + async def Grants(self, request: authz_query.QueryGrantsRequest, context=None, metadata=None): + return self.grants_responses.pop() + + async def GranterGrants(self, request: authz_query.QueryGranterGrantsRequest, context=None, metadata=None): + return self.granter_grants_responses.pop() + + async def GranteeGrants(self, request: authz_query.QueryGranteeGrantsRequest, context=None, metadata=None): + return self.grantee_grants_responses.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_authz_api.py b/tests/client/chain/grpc/test_chain_grpc_authz_api.py new file mode 100644 index 00000000..8bcac406 --- /dev/null +++ b/tests/client/chain/grpc/test_chain_grpc_authz_api.py @@ -0,0 +1,202 @@ +import grpc +import pytest +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.core.network import 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 +from tests.client.chain.grpc.configurable_autz_query_servicer import ConfigurableAuthZQueryServicer + + +@pytest.fixture +def authz_servicer(): + return ConfigurableAuthZQueryServicer() + + +class TestChainGrpcAuthZApi: + @pytest.mark.asyncio + async def test_fetch_grants( + self, + authz_servicer, + ): + authorization = any_pb2.Any( + type_url="/injective.exchange.v1beta1.CreateSpotMarketOrderAuthz", + value=( + "\nB0xf5099d25e6e7e8c6584b67826127b04c9de3e554000000000000000000000000\022" + "B0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" + ).encode(), + ) + + grant = authz_pb2.Grant(authorization=authorization) + + page_response = pagination_pb.PageResponse(total=1) + + authz_servicer.grants_responses.append( + authz_query.QueryGrantsResponse( + grants=[grant], + pagination=page_response, + ) + ) + + pagination_option = PaginationOption( + offset=10, + limit=30, + reverse=False, + count_total=True, + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuthZApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = authz_servicer + + result_grants = await api.fetch_grants( + granter="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + grantee="inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", + msg_type_url="/injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder", + pagination=pagination_option, + ) + expected_grants = { + "grants": [ + { + "authorization": { + "@type": authorization.type_url, + "subaccountId": "0xf5099d25e6e7e8c6584b67826127b04c9de3e554000000000000000000000000", + "marketIds": ["0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"], + } + } + ], + "pagination": {"nextKey": "", "total": str(page_response.total)}, + } + + assert result_grants == expected_grants + + @pytest.mark.asyncio + async def test_fetch_granter_grants( + self, + authz_servicer, + ): + authorization = any_pb2.Any( + type_url="/injective.exchange.v1beta1.CreateSpotMarketOrderAuthz", + value=( + "\nB0xf5099d25e6e7e8c6584b67826127b04c9de3e554000000000000000000000000\022" + "B0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" + ).encode(), + ) + + grant_authorization = authz_pb2.GrantAuthorization( + granter="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + grantee="inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", + authorization=authorization, + ) + + page_response = pagination_pb.PageResponse(total=1) + + authz_servicer.granter_grants_responses.append( + authz_query.QueryGranterGrantsResponse( + grants=[grant_authorization], + pagination=page_response, + ) + ) + + pagination_option = PaginationOption( + offset=10, + limit=30, + reverse=False, + count_total=True, + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuthZApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = authz_servicer + + result_grants = await api.fetch_granter_grants( + granter="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + pagination=pagination_option, + ) + expected_grants = { + "grants": [ + { + "grantee": grant_authorization.grantee, + "granter": grant_authorization.granter, + "authorization": { + "@type": authorization.type_url, + "subaccountId": "0xf5099d25e6e7e8c6584b67826127b04c9de3e554000000000000000000000000", + "marketIds": ["0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"], + }, + } + ], + "pagination": {"nextKey": "", "total": str(page_response.total)}, + } + + assert result_grants == expected_grants + + @pytest.mark.asyncio + async def test_fetch_grantee_grants( + self, + authz_servicer, + ): + authorization = any_pb2.Any( + type_url="/injective.exchange.v1beta1.CreateSpotMarketOrderAuthz", + value=( + "\nB0xf5099d25e6e7e8c6584b67826127b04c9de3e554000000000000000000000000\022" + "B0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" + ).encode(), + ) + + grant_authorization = authz_pb2.GrantAuthorization( + granter="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + grantee="inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", + authorization=authorization, + ) + + page_response = pagination_pb.PageResponse(total=1) + + authz_servicer.grantee_grants_responses.append( + authz_query.QueryGranteeGrantsResponse( + grants=[grant_authorization], + pagination=page_response, + ) + ) + + pagination_option = PaginationOption( + offset=10, + limit=30, + reverse=False, + count_total=True, + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcAuthZApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = authz_servicer + + result_grants = await api.fetch_grantee_grants( + grantee="inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", + pagination=pagination_option, + ) + expected_grants = { + "grants": [ + { + "grantee": grant_authorization.grantee, + "granter": grant_authorization.granter, + "authorization": { + "@type": authorization.type_url, + "subaccountId": "0xf5099d25e6e7e8c6584b67826127b04c9de3e554000000000000000000000000", + "marketIds": ["0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"], + }, + } + ], + "pagination": {"nextKey": "", "total": str(page_response.total)}, + } + + assert result_grants == expected_grants + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 8e0cd485..36591b5d 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -4,10 +4,12 @@ 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.exchange import injective_accounts_rpc_pb2 as exchange_accounts_pb from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb -from tests.client.chain.grpc.configurable_auth_query_serciver import ConfigurableAuthQueryServicer +from tests.client.chain.grpc.configurable_auth_query_servicer import ConfigurableAuthQueryServicer +from tests.client.chain.grpc.configurable_autz_query_servicer import ConfigurableAuthZQueryServicer from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer from tests.client.indexer.configurable_account_query_servicer import ConfigurableAccountQueryServicer @@ -22,6 +24,11 @@ def auth_servicer(): return ConfigurableAuthQueryServicer() +@pytest.fixture +def authz_servicer(): + return ConfigurableAuthZQueryServicer() + + @pytest.fixture def bank_servicer(): return ConfigurableBankQueryServicer() @@ -263,3 +270,22 @@ async def test_stream_subaccount_balance_deprecation_warning( assert ( str(all_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(), + insecure=False, + ) + 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") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_grants instead" From f49d7c532677d73eec7014decbdb838fa8adfdf4 Mon Sep 17 00:00:00 2001 From: abel Date: Tue, 24 Oct 2023 12:27:15 -0300 Subject: [PATCH 27/83] (feat) Implemented low level API component for Transactions module. Added tests cases and created new functions in AsyncClient using the new component. Marked old functions as deprecated --- examples/chain_client/0_LocalOrderHash.py | 6 +- .../13_MsgIncreasePositionMargin.py | 13 +- examples/chain_client/15_MsgWithdraw.py | 13 +- .../chain_client/16_MsgSubaccountTransfer.py | 13 +- .../chain_client/17_MsgBatchUpdateOrders.py | 15 +- examples/chain_client/18_MsgBid.py | 13 +- examples/chain_client/19_MsgGrant.py | 13 +- examples/chain_client/1_MsgSend.py | 13 +- examples/chain_client/20_MsgExec.py | 21 +- examples/chain_client/21_MsgRevoke.py | 13 +- examples/chain_client/22_MsgSendToEth.py | 12 +- .../chain_client/23_MsgRelayPriceFeedPrice.py | 13 +- examples/chain_client/24_MsgRewardsOptOut.py | 13 +- examples/chain_client/25_MsgDelegate.py | 13 +- .../26_MsgWithdrawDelegatorReward.py | 13 +- examples/chain_client/2_MsgDeposit.py | 13 +- examples/chain_client/30_ExternalTransfer.py | 13 +- .../31_MsgCreateBinaryOptionsLimitOrder.py | 15 +- .../32_MsgCreateBinaryOptionsMarketOrder.py | 15 +- .../33_MsgCancelBinaryOptionsOrder.py | 15 +- .../34_MsgAdminUpdateBinaryOptionsMarket.py | 15 +- .../35_MsgInstantBinaryOptionsMarketLaunch.py | 15 +- .../chain_client/36_MsgRelayProviderPrices.py | 15 +- examples/chain_client/37_GetTx.py | 4 +- .../chain_client/3_MsgCreateSpotLimitOrder.py | 15 +- .../chain_client/40_MsgExecuteContract.py | 13 +- .../chain_client/41_MsgCreateInsuranceFund.py | 13 +- examples/chain_client/42_MsgUnderwrite.py | 13 +- .../chain_client/43_MsgRequestRedemption.py | 13 +- ...8_WithdrawValidatorCommissionAndRewards.py | 13 +- .../4_MsgCreateSpotMarketOrder.py | 15 +- examples/chain_client/5_MsgCancelSpotOrder.py | 13 +- .../6_MsgCreateDerivativeLimitOrder.py | 15 +- .../7_MsgCreateDerivativeMarketOrder.py | 15 +- .../8_MsgCancelDerivativeOrder.py | 13 +- pyinjective/async_client.py | 50 ++++- pyinjective/composer.py | 123 +++++------ pyinjective/core/broadcaster.py | 10 +- pyinjective/core/tx/__init__.py | 0 pyinjective/core/tx/grpc/__init__.py | 0 pyinjective/core/tx/grpc/tx_grpc_api.py | 33 +++ .../chain/grpc/test_chain_grpc_auth_api.py | 2 +- tests/core/tx/__init__.py | 0 tests/core/tx/grpc/__init__.py | 0 .../tx/grpc/configurable_tx_query_servicer.py | 20 ++ tests/core/tx/grpc/test_tx_grpc_api.py | 207 ++++++++++++++++++ .../test_async_client_deprecation_warnings.py | 126 +++++++++-- 47 files changed, 770 insertions(+), 269 deletions(-) create mode 100644 pyinjective/core/tx/__init__.py create mode 100644 pyinjective/core/tx/grpc/__init__.py create mode 100644 pyinjective/core/tx/grpc/tx_grpc_api.py create mode 100644 tests/core/tx/__init__.py create mode 100644 tests/core/tx/grpc/__init__.py create mode 100644 tests/core/tx/grpc/configurable_tx_query_servicer.py create mode 100644 tests/core/tx/grpc/test_tx_grpc_api.py diff --git a/examples/chain_client/0_LocalOrderHash.py b/examples/chain_client/0_LocalOrderHash.py index 5015fbad..e457bd65 100644 --- a/examples/chain_client/0_LocalOrderHash.py +++ b/examples/chain_client/0_LocalOrderHash.py @@ -112,7 +112,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) @@ -149,7 +149,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) @@ -235,7 +235,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/13_MsgIncreasePositionMargin.py b/examples/chain_client/13_MsgIncreasePositionMargin.py index 772a607f..94869aed 100644 --- a/examples/chain_client/13_MsgIncreasePositionMargin.py +++ b/examples/chain_client/13_MsgIncreasePositionMargin.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -47,14 +49,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -68,7 +71,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/15_MsgWithdraw.py b/examples/chain_client/15_MsgWithdraw.py index e48ee668..9b2aa5ed 100644 --- a/examples/chain_client/15_MsgWithdraw.py +++ b/examples/chain_client/15_MsgWithdraw.py @@ -14,6 +14,8 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -52,14 +54,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -73,7 +76,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/16_MsgSubaccountTransfer.py b/examples/chain_client/16_MsgSubaccountTransfer.py index a9719ce5..e6d349d7 100644 --- a/examples/chain_client/16_MsgSubaccountTransfer.py +++ b/examples/chain_client/16_MsgSubaccountTransfer.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -45,14 +47,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -66,7 +69,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/17_MsgBatchUpdateOrders.py b/examples/chain_client/17_MsgBatchUpdateOrders.py index 64f5bded..e1ee2210 100644 --- a/examples/chain_client/17_MsgBatchUpdateOrders.py +++ b/examples/chain_client/17_MsgBatchUpdateOrders.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -125,18 +127,19 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) + sim_res_msg = sim_res["result"]["msgResponses"] print("---Simulation Response---") print(sim_res_msg) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -150,7 +153,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print("---Transaction Response---") print(res) print("gas wanted: {}".format(gas_limit)) diff --git a/examples/chain_client/18_MsgBid.py b/examples/chain_client/18_MsgBid.py index ad4df010..37d17f2c 100644 --- a/examples/chain_client/18_MsgBid.py +++ b/examples/chain_client/18_MsgBid.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -37,14 +39,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -58,7 +61,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/19_MsgGrant.py b/examples/chain_client/19_MsgGrant.py index 8c93a9f7..6e56c83f 100644 --- a/examples/chain_client/19_MsgGrant.py +++ b/examples/chain_client/19_MsgGrant.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -56,14 +58,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -77,7 +80,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/1_MsgSend.py b/examples/chain_client/1_MsgSend.py index ec1a29cf..e08864d2 100644 --- a/examples/chain_client/1_MsgSend.py +++ b/examples/chain_client/1_MsgSend.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -42,14 +44,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -63,7 +66,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/20_MsgExec.py b/examples/chain_client/20_MsgExec.py index 84790203..71431c1c 100644 --- a/examples/chain_client/20_MsgExec.py +++ b/examples/chain_client/20_MsgExec.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -53,20 +55,23 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) - data = sim_res_msg[0] - unpacked_msg_res = composer.UnpackMsgExecResponse(msg_type=msg0.__class__.__name__, data=data) + sim_res_msgs = sim_res["result"]["msgResponses"] + data = sim_res_msgs[0] + unpacked_msg_res = composer.unpack_msg_exec_response( + underlying_msg_type=msg0.__class__.__name__, msg_exec_response=data + ) print("simulation msg response") print(unpacked_msg_res) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -80,7 +85,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/21_MsgRevoke.py b/examples/chain_client/21_MsgRevoke.py index a046aace..10c258b8 100644 --- a/examples/chain_client/21_MsgRevoke.py +++ b/examples/chain_client/21_MsgRevoke.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -41,14 +43,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -62,7 +65,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/22_MsgSendToEth.py b/examples/chain_client/22_MsgSendToEth.py index 71348b20..2eb48130 100644 --- a/examples/chain_client/22_MsgSendToEth.py +++ b/examples/chain_client/22_MsgSendToEth.py @@ -1,6 +1,7 @@ import asyncio import requests +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network @@ -52,14 +53,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -73,7 +75,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/23_MsgRelayPriceFeedPrice.py b/examples/chain_client/23_MsgRelayPriceFeedPrice.py index 008e9e9a..91e4e3cb 100644 --- a/examples/chain_client/23_MsgRelayPriceFeedPrice.py +++ b/examples/chain_client/23_MsgRelayPriceFeedPrice.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -42,14 +44,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -63,7 +66,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/24_MsgRewardsOptOut.py b/examples/chain_client/24_MsgRewardsOptOut.py index 81f2f60b..b9c4cb34 100644 --- a/examples/chain_client/24_MsgRewardsOptOut.py +++ b/examples/chain_client/24_MsgRewardsOptOut.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -37,14 +39,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -58,7 +61,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/25_MsgDelegate.py b/examples/chain_client/25_MsgDelegate.py index b16e1c2d..89072fd2 100644 --- a/examples/chain_client/25_MsgDelegate.py +++ b/examples/chain_client/25_MsgDelegate.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -42,14 +44,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -63,7 +66,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/26_MsgWithdrawDelegatorReward.py b/examples/chain_client/26_MsgWithdrawDelegatorReward.py index c8c4f8a4..903dd744 100644 --- a/examples/chain_client/26_MsgWithdrawDelegatorReward.py +++ b/examples/chain_client/26_MsgWithdrawDelegatorReward.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -41,14 +43,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -62,7 +65,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/2_MsgDeposit.py b/examples/chain_client/2_MsgDeposit.py index 26d78ff3..98443a48 100644 --- a/examples/chain_client/2_MsgDeposit.py +++ b/examples/chain_client/2_MsgDeposit.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -38,14 +40,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -59,7 +62,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/30_ExternalTransfer.py b/examples/chain_client/30_ExternalTransfer.py index de656150..31ecfbf0 100644 --- a/examples/chain_client/30_ExternalTransfer.py +++ b/examples/chain_client/30_ExternalTransfer.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -45,14 +47,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -66,7 +69,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py b/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py index d68457aa..93654ce6 100644 --- a/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py +++ b/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.constant import Denom from pyinjective.core.network import Network @@ -56,18 +58,19 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) + sim_res_msg = sim_res["result"]["msgResponses"] print("---Simulation Response---") print(sim_res_msg) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -81,7 +84,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print("---Transaction Response---") print(res) print("gas wanted: {}".format(gas_limit)) diff --git a/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py b/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py index 8fe799e9..d97c8273 100644 --- a/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py +++ b/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -50,18 +52,19 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) + sim_res_msg = sim_res["result"]["msgResponses"] print("---Simulation Response---") print(sim_res_msg) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -75,7 +78,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print("---Transaction Response---") print(res) print("gas wanted: {}".format(gas_limit)) diff --git a/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py b/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py index 7c7a3f64..c059fc05 100644 --- a/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py +++ b/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -43,18 +45,19 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) + sim_res_msg = sim_res["result"]["msgResponses"] print("---Simulation Response---") print(sim_res_msg) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -68,7 +71,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print("---Transaction Response---") print(res) print("gas wanted: {}".format(gas_limit)) diff --git a/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py b/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py index c0b4aacd..c9cf8b3a 100644 --- a/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py +++ b/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -51,18 +53,19 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) + sim_res_msg = sim_res["result"]["msgResponses"] print("---Simulation Response---") print(sim_res_msg) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -76,7 +79,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print("---Transaction Response---") print(res) print("gas wanted: {}".format(gas_limit)) diff --git a/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py b/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py index 35e96b4a..a836f79e 100644 --- a/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py +++ b/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -53,18 +55,19 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) + sim_res_msg = sim_res["result"]["msgResponses"] print("---Simulation Response---") print(sim_res_msg) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -78,7 +81,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print("---Transaction Response---") print(res) print("gas wanted: {}".format(gas_limit)) diff --git a/examples/chain_client/36_MsgRelayProviderPrices.py b/examples/chain_client/36_MsgRelayProviderPrices.py index ad12bc3a..48ee38a7 100644 --- a/examples/chain_client/36_MsgRelayProviderPrices.py +++ b/examples/chain_client/36_MsgRelayProviderPrices.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -43,18 +45,19 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) + sim_res_msg = sim_res["result"]["msgResponses"] print("---Simulation Response---") print(sim_res_msg) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -68,7 +71,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print("---Transaction Response---") print(res) print("gas wanted: {}".format(gas_limit)) diff --git a/examples/chain_client/37_GetTx.py b/examples/chain_client/37_GetTx.py index ece40b65..f645dba7 100644 --- a/examples/chain_client/37_GetTx.py +++ b/examples/chain_client/37_GetTx.py @@ -7,8 +7,8 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) - tx_hash = "7746BC12EB82B4D59D036FBFF2F67BDCA6F62A20B3DBC25661707DD61D4DC1B7" - tx_logs = await client.get_tx(tx_hash=tx_hash) + tx_hash = "D265527E3171C47D01D7EC9B839A95F8F794D4E683F26F5564025961C96EFDDA" + tx_logs = await client.fetch_tx(hash=tx_hash) print(tx_logs) diff --git a/examples/chain_client/3_MsgCreateSpotLimitOrder.py b/examples/chain_client/3_MsgCreateSpotLimitOrder.py index e392ce9b..2a9315ea 100644 --- a/examples/chain_client/3_MsgCreateSpotLimitOrder.py +++ b/examples/chain_client/3_MsgCreateSpotLimitOrder.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -51,18 +53,19 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) + sim_res_msg = sim_res["result"]["msgResponses"] print("---Simulation Response---") print(sim_res_msg) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -76,7 +79,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print("---Transaction Response---") print(res) print("gas wanted: {}".format(gas_limit)) diff --git a/examples/chain_client/40_MsgExecuteContract.py b/examples/chain_client/40_MsgExecuteContract.py index 3a349c51..44b7bbc1 100644 --- a/examples/chain_client/40_MsgExecuteContract.py +++ b/examples/chain_client/40_MsgExecuteContract.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -52,14 +54,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -73,7 +76,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/41_MsgCreateInsuranceFund.py b/examples/chain_client/41_MsgCreateInsuranceFund.py index 73a8a7ac..5c2b4b95 100644 --- a/examples/chain_client/41_MsgCreateInsuranceFund.py +++ b/examples/chain_client/41_MsgCreateInsuranceFund.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -46,14 +48,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -67,7 +70,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/42_MsgUnderwrite.py b/examples/chain_client/42_MsgUnderwrite.py index 2a8dd764..4232d599 100644 --- a/examples/chain_client/42_MsgUnderwrite.py +++ b/examples/chain_client/42_MsgUnderwrite.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -42,14 +44,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -63,7 +66,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/43_MsgRequestRedemption.py b/examples/chain_client/43_MsgRequestRedemption.py index e932b6e9..144c03e2 100644 --- a/examples/chain_client/43_MsgRequestRedemption.py +++ b/examples/chain_client/43_MsgRequestRedemption.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -42,14 +44,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -63,7 +66,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py b/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py index 9a584c1a..0f9e786e 100644 --- a/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py +++ b/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.composer import Composer as ProtoMsgComposer from pyinjective.core.network import Network @@ -46,14 +48,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -67,7 +70,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/4_MsgCreateSpotMarketOrder.py b/examples/chain_client/4_MsgCreateSpotMarketOrder.py index 23fff9c7..0e4a7ae1 100644 --- a/examples/chain_client/4_MsgCreateSpotMarketOrder.py +++ b/examples/chain_client/4_MsgCreateSpotMarketOrder.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -50,18 +52,19 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) + sim_res_msg = sim_res["result"]["msgResponses"] print("---Simulation Response---") print(sim_res_msg) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -75,7 +78,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print("---Transaction Response---") print(res) print("gas wanted: {}".format(gas_limit)) diff --git a/examples/chain_client/5_MsgCancelSpotOrder.py b/examples/chain_client/5_MsgCancelSpotOrder.py index e9358b91..0474f87f 100644 --- a/examples/chain_client/5_MsgCancelSpotOrder.py +++ b/examples/chain_client/5_MsgCancelSpotOrder.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -44,14 +46,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -65,7 +68,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py b/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py index e8e729a6..3e0fee5a 100644 --- a/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py +++ b/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -52,18 +54,19 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) + sim_res_msg = sim_res["result"]["msgResponses"] print("---Simulation Response---") print(sim_res_msg) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -77,7 +80,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print("---Transaction Response---") print(res) print("gas wanted: {}".format(gas_limit)) diff --git a/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py b/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py index cc1895f9..736bded5 100644 --- a/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py +++ b/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -51,18 +53,19 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return - sim_res_msg = composer.MsgResponses(sim_res, simulation=True) + sim_res_msg = sim_res["result"]["msgResponses"] print("---Simulation Response---") print(sim_res_msg) # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -76,7 +79,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print("---Transaction Response---") print(res) print("gas wanted: {}".format(gas_limit)) diff --git a/examples/chain_client/8_MsgCancelDerivativeOrder.py b/examples/chain_client/8_MsgCancelDerivativeOrder.py index 67abca22..32508a3e 100644 --- a/examples/chain_client/8_MsgCancelDerivativeOrder.py +++ b/examples/chain_client/8_MsgCancelDerivativeOrder.py @@ -1,5 +1,7 @@ import asyncio +from grpc import RpcError + from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.transaction import Transaction @@ -44,14 +46,15 @@ async def main() -> None: sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) # simulate tx - (sim_res, success) = await client.simulate_tx(sim_tx_raw_bytes) - if not success: - print(sim_res) + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) return # build tx gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + 20000 # add 20k for gas, fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -65,7 +68,7 @@ async def main() -> None: tx_raw_bytes = tx.get_tx_data(sig, pub_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode - res = await client.send_tx_sync_mode(tx_raw_bytes) + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 3e27f451..368d0c97 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -20,6 +20,7 @@ from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from pyinjective.core.network import Network from pyinjective.core.token import Token +from pyinjective.core.tx.grpc.tx_grpc_api 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 @@ -63,10 +64,16 @@ class AsyncClient: def __init__( self, network: Network, - insecure: bool = False, + insecure: Optional[bool] = None, credentials=grpc.ssl_channel_credentials(), ): # the `insecure` parameter is ignored and will be deprecated soon. The value is taken directly from `network` + if insecure is not None: + warn( + "insecure parameter in AsyncClient is no longer used and will be deprecated", + DeprecationWarning, + stacklevel=2, + ) self.addr = "" self.number = 0 @@ -147,6 +154,12 @@ def __init__( metadata_query_provider=self._chain_cookie_metadata_requestor ), ) + self.tx_api = TxGrpcApi( + channel=self.chain_channel, + metadata_provider=self.network.chain_metadata( + metadata_query_provider=self._chain_cookie_metadata_requestor + ), + ) self.exchange_account_api = IndexerGrpcAccountApi( channel=self.exchange_channel, @@ -198,8 +211,15 @@ def get_number(self): return self.number async def get_tx(self, tx_hash): + """ + This method is deprecated and will be removed soon. Please use `fetch_tx` instead + """ + warn("This method is deprecated. Use fetch_tx instead", DeprecationWarning, stacklevel=2) return await self.stubTx.GetTx(tx_service.GetTxRequest(hash=tx_hash)) + async def fetch_tx(self, hash: str) -> Dict[str, Any]: + return await self.tx_api.fetch_tx(hash=hash) + async def close_exchange_channel(self): await self.exchange_channel.close() self.cron.stop() @@ -278,6 +298,10 @@ async def get_request_id_by_tx_hash(self, tx_hash: bytes) -> List[int]: return request_ids async def simulate_tx(self, tx_byte: bytes) -> Tuple[Union[abci_type.SimulationResponse, grpc.RpcError], bool]: + """ + This method is deprecated and will be removed soon. Please use `simulate` instead + """ + warn("This method is deprecated. Use simulate instead", DeprecationWarning, stacklevel=2) try: req = tx_service.SimulateRequest(tx_bytes=tx_byte) metadata = await self.network.chain_metadata(metadata_query_provider=self._chain_cookie_metadata_requestor) @@ -285,19 +309,37 @@ async def simulate_tx(self, tx_byte: bytes) -> Tuple[Union[abci_type.SimulationR except grpc.RpcError as err: return err, False + async def simulate(self, tx_bytes: bytes) -> Dict[str, Any]: + return await self.tx_api.simulate(tx_bytes=tx_bytes) + async def send_tx_sync_mode(self, tx_byte: bytes) -> abci_type.TxResponse: + """ + This method is deprecated and will be removed soon. Please use `broadcast_tx_sync_mode` instead + """ + warn("This method is deprecated. Use broadcast_tx_sync_mode instead", DeprecationWarning, stacklevel=2) req = tx_service.BroadcastTxRequest(tx_bytes=tx_byte, mode=tx_service.BroadcastMode.BROADCAST_MODE_SYNC) metadata = await self.network.chain_metadata(metadata_query_provider=self._chain_cookie_metadata_requestor) result = await self.stubTx.BroadcastTx(request=req, metadata=metadata) return result.tx_response + async def broadcast_tx_sync_mode(self, tx_bytes: bytes) -> Dict[str, Any]: + return await self.tx_api.broadcast(tx_bytes=tx_bytes, mode=tx_service.BroadcastMode.BROADCAST_MODE_SYNC) + async def send_tx_async_mode(self, tx_byte: bytes) -> abci_type.TxResponse: + """ + This method is deprecated and will be removed soon. Please use `broadcast_tx_async_mode` instead + """ + warn("This method is deprecated. Use broadcast_tx_async_mode instead", DeprecationWarning, stacklevel=2) req = tx_service.BroadcastTxRequest(tx_bytes=tx_byte, mode=tx_service.BroadcastMode.BROADCAST_MODE_ASYNC) metadata = await self.network.chain_metadata(metadata_query_provider=self._chain_cookie_metadata_requestor) result = await self.stubTx.BroadcastTx(request=req, metadata=metadata) return result.tx_response async def send_tx_block_mode(self, tx_byte: bytes) -> abci_type.TxResponse: + """ + This method is deprecated and will be removed soon. BLOCK broadcast mode should not be used + """ + warn("This method is deprecated. BLOCK broadcast mode should not be used", DeprecationWarning, stacklevel=2) req = tx_service.BroadcastTxRequest(tx_bytes=tx_byte, mode=tx_service.BroadcastMode.BROADCAST_MODE_BLOCK) metadata = await self.network.chain_metadata(metadata_query_provider=self._chain_cookie_metadata_requestor) result = await self.stubTx.BroadcastTx(request=req, metadata=metadata) @@ -1082,7 +1124,7 @@ async def _initialize_tokens_and_markets(self): binary_option_markets = dict() tokens = dict() tokens_by_denom = dict() - markets_info = (await self.get_spot_markets()).markets + markets_info = (await self.get_spot_markets(market_status="active")).markets for market_info in markets_info: if "/" in market_info.ticker: @@ -1124,7 +1166,7 @@ async def _initialize_tokens_and_markets(self): spot_markets[market.id] = market - markets_info = (await self.get_derivative_markets()).markets + markets_info = (await self.get_derivative_markets(market_status="active")).markets for market_info in markets_info: quote_token_symbol = market_info.quote_token_meta.symbol @@ -1157,7 +1199,7 @@ async def _initialize_tokens_and_markets(self): derivative_markets[market.id] = market - markets_info = (await self.get_binary_options_markets()).markets + markets_info = (await self.get_binary_options_markets(market_status="active")).markets for market_info in markets_info: quote_token = tokens_by_denom.get(market_info.quote_denom, None) diff --git a/pyinjective/composer.py b/pyinjective/composer.py index 009fd1e9..b587f85c 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -2,30 +2,54 @@ from configparser import ConfigParser from decimal import Decimal from time import time -from typing import Dict, List, Optional +from typing import Any, Dict, List, Optional from google.protobuf import any_pb2, json_format, timestamp_pb2 from pyinjective import constant +from pyinjective.constant import ADDITIONAL_CHAIN_FORMAT_DECIMALS, INJ_DENOM +from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket +from pyinjective.core.token import Token +from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_authz_pb, tx_pb2 as cosmos_authz_tx_pb +from pyinjective.proto.cosmos.bank.v1beta1 import tx_pb2 as cosmos_bank_tx_pb 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 tx_pb2 as cosmos_distribution_tx_pb +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.injective.auction.v1beta1 import tx_pb2 as injective_auction_tx_pb from pyinjective.proto.injective.exchange.v1beta1 import ( + authz_pb2 as injective_authz_pb, exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2, + tx_pb2 as injective_exchange_tx_pb, ) - -from .constant import ADDITIONAL_CHAIN_FORMAT_DECIMALS, INJ_DENOM -from .core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket -from .core.token import Token -from .proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_authz_pb, tx_pb2 as cosmos_authz_tx_pb -from .proto.cosmos.bank.v1beta1 import tx_pb2 as cosmos_bank_tx_pb -from .proto.cosmos.distribution.v1beta1 import tx_pb2 as cosmos_distribution_tx_pb -from .proto.cosmos.gov.v1beta1 import tx_pb2 as cosmos_gov_tx_pb -from .proto.cosmos.staking.v1beta1 import tx_pb2 as cosmos_staking_tx_pb -from .proto.cosmwasm.wasm.v1 import tx_pb2 as wasm_tx_pb -from .proto.injective.auction.v1beta1 import tx_pb2 as injective_auction_tx_pb -from .proto.injective.exchange.v1beta1 import authz_pb2 as injective_authz_pb, tx_pb2 as injective_exchange_tx_pb -from .proto.injective.insurance.v1beta1 import tx_pb2 as injective_insurance_tx_pb -from .proto.injective.oracle.v1beta1 import tx_pb2 as injective_oracle_tx_pb -from .proto.injective.peggy.v1 import msgs_pb2 as injective_peggy_tx_pb +from pyinjective.proto.injective.insurance.v1beta1 import tx_pb2 as injective_insurance_tx_pb +from pyinjective.proto.injective.oracle.v1beta1 import tx_pb2 as injective_oracle_tx_pb +from pyinjective.proto.injective.peggy.v1 import msgs_pb2 as injective_peggy_tx_pb + +REQUEST_TO_RESPONSE_TYPE_MAP = { + "MsgCreateSpotLimitOrder": injective_exchange_tx_pb.MsgCreateSpotLimitOrderResponse, + "MsgCreateSpotMarketOrder": injective_exchange_tx_pb.MsgCreateSpotMarketOrderResponse, + "MsgCreateDerivativeLimitOrder": injective_exchange_tx_pb.MsgCreateDerivativeLimitOrderResponse, + "MsgCreateDerivativeMarketOrder": injective_exchange_tx_pb.MsgCreateDerivativeMarketOrderResponse, + "MsgCancelSpotOrder": injective_exchange_tx_pb.MsgCancelSpotOrderResponse, + "MsgCancelDerivativeOrder": injective_exchange_tx_pb.MsgCancelDerivativeOrderResponse, + "MsgBatchCancelSpotOrders": injective_exchange_tx_pb.MsgBatchCancelSpotOrdersResponse, + "MsgBatchCancelDerivativeOrders": injective_exchange_tx_pb.MsgBatchCancelDerivativeOrdersResponse, + "MsgBatchCreateSpotLimitOrders": injective_exchange_tx_pb.MsgBatchCreateSpotLimitOrdersResponse, + "MsgBatchCreateDerivativeLimitOrders": injective_exchange_tx_pb.MsgBatchCreateDerivativeLimitOrdersResponse, + "MsgBatchUpdateOrders": injective_exchange_tx_pb.MsgBatchUpdateOrdersResponse, + "MsgDeposit": injective_exchange_tx_pb.MsgDepositResponse, + "MsgWithdraw": injective_exchange_tx_pb.MsgWithdrawResponse, + "MsgSubaccountTransfer": injective_exchange_tx_pb.MsgSubaccountTransferResponse, + "MsgLiquidatePosition": injective_exchange_tx_pb.MsgLiquidatePositionResponse, + "MsgIncreasePositionMargin": injective_exchange_tx_pb.MsgIncreasePositionMarginResponse, + "MsgCreateBinaryOptionsLimitOrder": injective_exchange_tx_pb.MsgCreateBinaryOptionsLimitOrderResponse, + "MsgCreateBinaryOptionsMarketOrder": injective_exchange_tx_pb.MsgCreateBinaryOptionsMarketOrderResponse, + "MsgCancelBinaryOptionsOrder": injective_exchange_tx_pb.MsgCancelBinaryOptionsOrderResponse, + "MsgAdminUpdateBinaryOptionsMarket": injective_exchange_tx_pb.MsgAdminUpdateBinaryOptionsMarketResponse, + "MsgInstantBinaryOptionsMarketLaunch": injective_exchange_tx_pb.MsgInstantBinaryOptionsMarketLaunchResponse, +} class Composer: @@ -930,54 +954,27 @@ def MsgResponses(response, simulation=False): @staticmethod def UnpackMsgExecResponse(msg_type, data): - # fmt: off - header_map = { - "MsgCreateSpotLimitOrder": - injective_exchange_tx_pb.MsgCreateSpotLimitOrderResponse, - "MsgCreateSpotMarketOrder": - injective_exchange_tx_pb.MsgCreateSpotMarketOrderResponse, - "MsgCreateDerivativeLimitOrder": - injective_exchange_tx_pb.MsgCreateDerivativeLimitOrderResponse, - "MsgCreateDerivativeMarketOrder": - injective_exchange_tx_pb.MsgCreateDerivativeMarketOrderResponse, - "MsgCancelSpotOrder": - injective_exchange_tx_pb.MsgCancelSpotOrderResponse, - "MsgCancelDerivativeOrder": - injective_exchange_tx_pb.MsgCancelDerivativeOrderResponse, - "MsgBatchCancelSpotOrders": - injective_exchange_tx_pb.MsgBatchCancelSpotOrdersResponse, - "MsgBatchCancelDerivativeOrders": - injective_exchange_tx_pb.MsgBatchCancelDerivativeOrdersResponse, - "MsgBatchCreateSpotLimitOrders": - injective_exchange_tx_pb.MsgBatchCreateSpotLimitOrdersResponse, - "MsgBatchCreateDerivativeLimitOrders": - injective_exchange_tx_pb.MsgBatchCreateDerivativeLimitOrdersResponse, - "MsgBatchUpdateOrders": - injective_exchange_tx_pb.MsgBatchUpdateOrdersResponse, - "MsgDeposit": - injective_exchange_tx_pb.MsgDepositResponse, - "MsgWithdraw": - injective_exchange_tx_pb.MsgWithdrawResponse, - "MsgSubaccountTransfer": - injective_exchange_tx_pb.MsgSubaccountTransferResponse, - "MsgLiquidatePosition": - injective_exchange_tx_pb.MsgLiquidatePositionResponse, - "MsgIncreasePositionMargin": - injective_exchange_tx_pb.MsgIncreasePositionMarginResponse, - "MsgCreateBinaryOptionsLimitOrder": - injective_exchange_tx_pb.MsgCreateBinaryOptionsLimitOrderResponse, - "MsgCreateBinaryOptionsMarketOrder": - injective_exchange_tx_pb.MsgCreateBinaryOptionsMarketOrderResponse, - "MsgCancelBinaryOptionsOrder": - injective_exchange_tx_pb.MsgCancelBinaryOptionsOrderResponse, - "MsgAdminUpdateBinaryOptionsMarket": - injective_exchange_tx_pb.MsgAdminUpdateBinaryOptionsMarketResponse, - "MsgInstantBinaryOptionsMarketLaunch": - injective_exchange_tx_pb.MsgInstantBinaryOptionsMarketLaunchResponse, - } - # fmt: on + responses = [] + dict_message = json_format.MessageToDict(message=data, including_default_value_fields=True) + json_responses = Composer.unpack_msg_exec_response(underlying_msg_type=msg_type, msg_exec_response=dict_message) + for json_response in json_responses: + response = REQUEST_TO_RESPONSE_TYPE_MAP[msg_type]() + json_format.ParseDict(js_dict=json_response, message=response, ignore_unknown_fields=True) + responses.append(response) + return responses + + @staticmethod + def unpack_msg_exec_response(underlying_msg_type: str, msg_exec_response: Dict[str, Any]) -> List[Dict[str, Any]]: + grpc_response = cosmos_authz_tx_pb.MsgExecResponse() + json_format.ParseDict(js_dict=msg_exec_response, message=grpc_response, ignore_unknown_fields=True) + responses = [ + json_format.MessageToDict( + message=REQUEST_TO_RESPONSE_TYPE_MAP[underlying_msg_type].FromString(result), + including_default_value_fields=True, + ) + for result in grpc_response.results + ] - responses = [header_map[msg_type].FromString(result) for result in data.results] return responses @staticmethod diff --git a/pyinjective/core/broadcaster.py b/pyinjective/core/broadcaster.py index 32ad5562..379afdaa 100644 --- a/pyinjective/core/broadcaster.py +++ b/pyinjective/core/broadcaster.py @@ -4,6 +4,7 @@ from typing import List, Optional from google.protobuf import any_pb2 +from grpc import RpcError from pyinjective import PrivateKey, PublicKey, Transaction from pyinjective.async_client import AsyncClient @@ -174,7 +175,7 @@ async def broadcast(self, messages: List[any_pb2.Any]): tx_raw_bytes = transaction.get_tx_data(sig, self._account_config.trading_public_key) # broadcast tx: send_tx_async_mode, send_tx_sync_mode - transaction_result = await self._client.send_tx_sync_mode(tx_raw_bytes) + transaction_result = await self._client.broadcast_tx_sync_mode(tx_raw_bytes) return transaction_result @@ -254,9 +255,10 @@ async def configure_gas_fee_for_transaction( sim_tx_raw_bytes = transaction.get_tx_data(sim_sig, public_key) # simulate tx - (sim_res, success) = await self._client.simulate_tx(sim_tx_raw_bytes) - if not success: - raise RuntimeError(f"Transaction simulation error: {sim_res}") + try: + sim_res = await self._client.simulate_tx(sim_tx_raw_bytes) + except RpcError as ex: + raise RuntimeError(f"Transaction simulation error: {ex}") gas_limit = math.ceil(Decimal(str(sim_res.gas_info.gas_used)) * self._gas_limit_adjustment_multiplier) diff --git a/pyinjective/core/tx/__init__.py b/pyinjective/core/tx/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/core/tx/grpc/__init__.py b/pyinjective/core/tx/grpc/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/core/tx/grpc/tx_grpc_api.py b/pyinjective/core/tx/grpc/tx_grpc_api.py new file mode 100644 index 00000000..27992359 --- /dev/null +++ b/pyinjective/core/tx/grpc/tx_grpc_api.py @@ -0,0 +1,33 @@ +from typing import Any, Callable, Coroutine, Dict + +from grpc.aio import Channel + +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, metadata_provider: Coroutine): + self._stub = tx_service_grpc.ServiceStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + 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/tests/client/chain/grpc/test_chain_grpc_auth_api.py b/tests/client/chain/grpc/test_chain_grpc_auth_api.py index 0b333f8c..abfbde1c 100644 --- a/tests/client/chain/grpc/test_chain_grpc_auth_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_auth_api.py @@ -11,7 +11,7 @@ from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb from pyinjective.proto.injective.crypto.v1beta1.ethsecp256k1 import keys_pb2 as keys_pb from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb -from tests.client.chain.grpc.configurable_auth_query_serciver import ConfigurableAuthQueryServicer +from tests.client.chain.grpc.configurable_auth_query_servicer import ConfigurableAuthQueryServicer @pytest.fixture diff --git a/tests/core/tx/__init__.py b/tests/core/tx/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/core/tx/grpc/__init__.py b/tests/core/tx/grpc/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/core/tx/grpc/configurable_tx_query_servicer.py b/tests/core/tx/grpc/configurable_tx_query_servicer.py new file mode 100644 index 00000000..db8267e5 --- /dev/null +++ b/tests/core/tx/grpc/configurable_tx_query_servicer.py @@ -0,0 +1,20 @@ +from collections import deque + +from pyinjective.proto.cosmos.tx.v1beta1 import service_pb2 as tx_service, service_pb2_grpc as tx_service_grpc + + +class ConfigurableTxQueryServicer(tx_service_grpc.ServiceServicer): + def __init__(self): + super().__init__() + self.simulate_responses = deque() + self.get_tx_responses = deque() + self.broadcast_responses = deque() + + async def Simulate(self, request: tx_service.SimulateRequest, context=None, metadata=None): + return self.simulate_responses.pop() + + async def GetTx(self, request: tx_service.GetTxRequest, context=None, metadata=None): + return self.get_tx_responses.pop() + + async def BroadcastTx(self, request: tx_service.BroadcastTxRequest, context=None, metadata=None): + return self.broadcast_responses.pop() diff --git a/tests/core/tx/grpc/test_tx_grpc_api.py b/tests/core/tx/grpc/test_tx_grpc_api.py new file mode 100644 index 00000000..fd04c68c --- /dev/null +++ b/tests/core/tx/grpc/test_tx_grpc_api.py @@ -0,0 +1,207 @@ +import base64 + +import grpc +import pytest +from google.protobuf import any_pb2 + +from pyinjective.core.network import Network +from pyinjective.core.tx.grpc.tx_grpc_api 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 +from pyinjective.proto.injective.crypto.v1beta1.ethsecp256k1 import keys_pb2 as keys_pb +from tests.core.tx.grpc.configurable_tx_query_servicer import ConfigurableTxQueryServicer + + +@pytest.fixture +def tx_servicer(): + return ConfigurableTxQueryServicer() + + +class TestTxGrpcApi: + @pytest.mark.asyncio + async def test_simulate( + self, + tx_servicer, + ): + gas_info = abci_type.GasInfo( + gas_wanted=130000, + gas_used=120000, + ) + simulation_result = abci_type.Result(log="Result log") + + tx_servicer.simulate_responses.append( + tx_service.SimulateResponse( + gas_info=gas_info, + result=simulation_result, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = TxGrpcApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = tx_servicer + + result_simulate = await api.simulate(tx_bytes="Transaction content".encode()) + expected_simulate = { + "gasInfo": {"gasUsed": str(gas_info.gas_used), "gasWanted": str(gas_info.gas_wanted)}, + "result": { + "data": "", + "events": [], + "log": simulation_result.log, + "msgResponses": [], + }, + } + + assert result_simulate == expected_simulate + + @pytest.mark.asyncio + async def test_get_tx( + self, + tx_servicer, + ): + tx_body = tx_pb2.TxBody( + memo="test memo", + timeout_height=17518637, + ) + + pub_key = keys_pb.PubKey(key=b"\002\200T< /\340\341IC\260n\372\373\314&\3751A\034HfMk\255[ai\334\3303t\375") + any_pub_key = any_pb2.Any() + any_pub_key.Pack(pub_key, type_url_prefix="") + + signer_info = tx_pb2.SignerInfo( + public_key=any_pub_key, + sequence=211255, + ) + fee = tx_pb2.Fee( + amount=[coin_pb.Coin(denom="inj", amount="988987297011197594664")], + gas_limit=104757, + ) + auth_info = tx_pb2.AuthInfo( + signer_infos=[signer_info], + fee=fee, + ) + signature = ( + "\036~\024\202^t\252\346KB\377\333\266jV\030\300\353\340^\021_\227\236hc\010m\316U\314-:kK\0" + "07\337$K\275\303O\310\007\016\r\305c1\rcl\204L\323T\230\222\373\266\007/\261'" + ).encode() + transaction = tx_pb2.Tx(body=tx_body, auth_info=auth_info, signatures=[signature]) + + transaction_response = abci_type.TxResponse( + height=17518608, + txhash="D265527E3171C47D01D7EC9B839A95F8F794D4E683F26F5564025961C96EFDDA", + data=( + "126F0A252F636F736D6F732E617574687A2E763162657461312E4D736745786563526573706F6E736512460A440A42307834" + "3166303165366232666464336234633036316638343232356661656530333335366462386431376562653736313566613932" + "32663132363861666434316136" + ), + ) + + tx_servicer.get_tx_responses.append(tx_service.GetTxResponse(tx=transaction, tx_response=transaction_response)) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = TxGrpcApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = tx_servicer + + result_tx = await api.fetch_tx(hash=transaction_response.txhash) + expected_tx = { + "tx": { + "authInfo": { + "fee": { + "amount": [{"amount": fee.amount[0].amount, "denom": fee.amount[0].denom}], + "gasLimit": str(fee.gas_limit), + "granter": "", + "payer": "", + }, + "signerInfos": [ + { + "publicKey": { + "@type": "/injective.crypto.v1beta1.ethsecp256k1.PubKey", + "key": base64.b64encode(pub_key.key).decode(), + }, + "sequence": str(signer_info.sequence), + } + ], + }, + "body": { + "extensionOptions": [], + "memo": tx_body.memo, + "messages": [], + "nonCriticalExtensionOptions": [], + "timeoutHeight": str(tx_body.timeout_height), + }, + "signatures": [base64.b64encode(signature).decode()], + }, + "txResponse": { + "code": 0, + "codespace": "", + "data": transaction_response.data, + "events": [], + "gasUsed": "0", + "gasWanted": "0", + "height": str(transaction_response.height), + "info": "", + "logs": [], + "rawLog": "", + "timestamp": "", + "txhash": transaction_response.txhash, + }, + } + + assert result_tx == expected_tx + + @pytest.mark.asyncio + async def test_broadcast( + self, + tx_servicer, + ): + transaction_response = abci_type.TxResponse( + height=17518608, + txhash="D265527E3171C47D01D7EC9B839A95F8F794D4E683F26F5564025961C96EFDDA", + data=( + "126F0A252F636F736D6F732E617574687A2E763162657461312E4D736745786563526573706F6E736512460A440A42307834" + "3166303165366232666464336234633036316638343232356661656530333335366462386431376562653736313566613932" + "32663132363861666434316136" + ), + ) + + tx_servicer.broadcast_responses.append( + tx_service.BroadcastTxResponse( + tx_response=transaction_response, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = TxGrpcApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api._stub = tx_servicer + + result_broadcast = await api.broadcast( + tx_bytes="Transaction content".encode(), + mode=tx_service.BroadcastMode.BROADCAST_MODE_SYNC, + ) + expected_broadcast = { + "txResponse": { + "code": 0, + "codespace": "", + "data": transaction_response.data, + "events": [], + "gasUsed": "0", + "gasWanted": "0", + "height": str(transaction_response.height), + "info": "", + "logs": [], + "rawLog": "", + "timestamp": "", + "txhash": transaction_response.txhash, + } + } + + assert result_broadcast == expected_broadcast + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 36591b5d..e347b231 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -6,12 +6,14 @@ 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.tx.v1beta1 import service_pb2 as tx_service from pyinjective.proto.exchange import injective_accounts_rpc_pb2 as exchange_accounts_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_autz_query_servicer import ConfigurableAuthZQueryServicer from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer from tests.client.indexer.configurable_account_query_servicer import ConfigurableAccountQueryServicer +from tests.core.tx.grpc.configurable_tx_query_servicer import ConfigurableTxQueryServicer @pytest.fixture @@ -34,7 +36,28 @@ def bank_servicer(): return ConfigurableBankQueryServicer() +@pytest.fixture +def tx_servicer(): + return ConfigurableTxQueryServicer() + + 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, + ) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_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, @@ -42,7 +65,6 @@ async def test_get_account_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubAuth = auth_servicer auth_servicer.account_responses.append(account_pb.EthAccount()) @@ -61,7 +83,6 @@ async def test_get_bank_balance_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubBank = bank_servicer bank_servicer.balance_responses.append(bank_query_pb.QueryBalanceResponse()) @@ -80,7 +101,6 @@ async def test_get_bank_balances_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubBank = bank_servicer bank_servicer.balances_responses.append(bank_query_pb.QueryAllBalancesResponse()) @@ -99,7 +119,6 @@ async def test_get_order_states_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubExchangeAccount = account_servicer account_servicer.order_states_responses.append(exchange_accounts_pb.OrderStatesResponse()) @@ -118,7 +137,6 @@ async def test_get_subaccount_list_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubExchangeAccount = account_servicer account_servicer.subaccounts_list_responses.append(exchange_accounts_pb.SubaccountsListResponse()) @@ -137,7 +155,6 @@ async def test_get_subaccount_balances_list_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubExchangeAccount = account_servicer account_servicer.subaccount_balances_list_responses.append( @@ -158,7 +175,6 @@ async def test_get_subaccount_balance_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubExchangeAccount = account_servicer account_servicer.subaccount_balance_responses.append(exchange_accounts_pb.SubaccountBalanceEndpointResponse()) @@ -177,7 +193,6 @@ async def test_get_subaccount_history_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubExchangeAccount = account_servicer account_servicer.subaccount_history_responses.append(exchange_accounts_pb.SubaccountHistoryResponse()) @@ -196,7 +211,6 @@ async def test_get_subaccount_order_summary_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubExchangeAccount = account_servicer account_servicer.subaccount_order_summary_responses.append( @@ -217,7 +231,6 @@ async def test_get_portfolio_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubExchangeAccount = account_servicer account_servicer.portfolio_responses.append(exchange_accounts_pb.PortfolioResponse()) @@ -236,7 +249,6 @@ async def test_get_rewards_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubExchangeAccount = account_servicer account_servicer.rewards_responses.append(exchange_accounts_pb.RewardsResponse()) @@ -255,7 +267,6 @@ async def test_stream_subaccount_balance_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubExchangeAccount = account_servicer account_servicer.stream_subaccount_balance_responses.append( @@ -278,7 +289,6 @@ async def test_get_grants_deprecation_warning( ): client = AsyncClient( network=Network.local(), - insecure=False, ) client.stubAuthz = authz_servicer authz_servicer.grants_responses.append(authz_query.QueryGrantsResponse()) @@ -289,3 +299,93 @@ async def test_get_grants_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_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()) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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()) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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()) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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()) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. BLOCK broadcast mode should not be used" From 78612f619b379c1f5bee64719671727cce98ba07 Mon Sep 17 00:00:00 2001 From: abel Date: Tue, 24 Oct 2023 12:35:02 -0300 Subject: [PATCH 28/83] (fix) Update urllib3 requirement to solve dependabot issue --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 319171c3..9dfd7a78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ mnemonic = "*" protobuf = "*" requests = "*" safe-pysha3 = "*" -urllib3 = "<2" +urllib3 = ">=1.26.18,<2" websockets = "*" web3 = "^6.0" From 0a51a5ee15fc44e4ecac7882d4f16f4b8dddbc15 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 25 Oct 2023 09:44:51 -0300 Subject: [PATCH 29/83] (feat) Migrated proto files to latest `dev` version to support Client Order ID --- examples/chain_client/0_LocalOrderHash.py | 9 + .../chain_client/17_MsgBatchUpdateOrders.py | 5 + examples/chain_client/20_MsgExec.py | 2 + .../31_MsgCreateBinaryOptionsLimitOrder.py | 2 + .../32_MsgCreateBinaryOptionsMarketOrder.py | 2 + .../chain_client/3_MsgCreateSpotLimitOrder.py | 2 + .../chain_client/44_MessageBroadcaster.py | 3 + ...45_MessageBroadcasterWithGranteeAccount.py | 2 + .../46_MessageBroadcasterWithoutSimulation.py | 3 + ...sterWithGranteeAccountWithoutSimulation.py | 2 + .../4_MsgCreateSpotMarketOrder.py | 2 + .../6_MsgCreateDerivativeLimitOrder.py | 2 + .../7_MsgCreateDerivativeMarketOrder.py | 2 + pyinjective/composer.py | 18 ++ pyinjective/proto/amino/amino_pb2.py | 6 + .../proto/capability/v1/capability_pb2.py | 1 + .../proto/capability/v1/genesis_pb2.py | 1 + .../cosmos/app/runtime/v1alpha1/module_pb2.py | 1 + .../proto/cosmos/app/v1alpha1/config_pb2.py | 1 + .../proto/cosmos/app/v1alpha1/module_pb2.py | 2 + .../proto/cosmos/app/v1alpha1/query_pb2.py | 1 + .../proto/cosmos/auth/module/v1/module_pb2.py | 1 + .../proto/cosmos/auth/v1beta1/auth_pb2.py | 1 + .../proto/cosmos/auth/v1beta1/genesis_pb2.py | 1 + .../proto/cosmos/auth/v1beta1/query_pb2.py | 1 + .../proto/cosmos/auth/v1beta1/tx_pb2.py | 1 + .../cosmos/authz/module/v1/module_pb2.py | 1 + .../proto/cosmos/authz/v1beta1/authz_pb2.py | 1 + .../proto/cosmos/authz/v1beta1/event_pb2.py | 1 + .../proto/cosmos/authz/v1beta1/genesis_pb2.py | 1 + .../proto/cosmos/authz/v1beta1/query_pb2.py | 1 + .../proto/cosmos/authz/v1beta1/tx_pb2.py | 1 + .../proto/cosmos/autocli/v1/options_pb2.py | 1 + .../proto/cosmos/autocli/v1/query_pb2.py | 1 + .../proto/cosmos/bank/module/v1/module_pb2.py | 1 + .../proto/cosmos/bank/v1beta1/authz_pb2.py | 1 + .../proto/cosmos/bank/v1beta1/bank_pb2.py | 1 + .../proto/cosmos/bank/v1beta1/genesis_pb2.py | 1 + .../proto/cosmos/bank/v1beta1/query_pb2.py | 1 + .../proto/cosmos/bank/v1beta1/tx_pb2.py | 1 + .../cosmos/base/abci/v1beta1/abci_pb2.py | 1 + .../proto/cosmos/base/kv/v1beta1/kv_pb2.py | 1 + .../cosmos/base/node/v1beta1/query_pb2.py | 1 + .../base/query/v1beta1/pagination_pb2.py | 1 + .../base/reflection/v1beta1/reflection_pb2.py | 1 + .../reflection/v2alpha1/reflection_pb2.py | 1 + .../base/snapshots/v1beta1/snapshot_pb2.py | 1 + .../base/tendermint/v1beta1/query_pb2.py | 1 + .../base/tendermint/v1beta1/types_pb2.py | 1 + .../proto/cosmos/base/v1beta1/coin_pb2.py | 1 + .../cosmos/capability/module/v1/module_pb2.py | 1 + .../capability/v1beta1/capability_pb2.py | 1 + .../cosmos/capability/v1beta1/genesis_pb2.py | 1 + .../cosmos/consensus/module/v1/module_pb2.py | 1 + .../proto/cosmos/consensus/v1/query_pb2.py | 1 + .../proto/cosmos/consensus/v1/tx_pb2.py | 1 + .../cosmos/crisis/module/v1/module_pb2.py | 1 + .../cosmos/crisis/v1beta1/genesis_pb2.py | 1 + .../proto/cosmos/crisis/v1beta1/tx_pb2.py | 1 + .../proto/cosmos/crypto/ed25519/keys_pb2.py | 1 + .../proto/cosmos/crypto/hd/v1/hd_pb2.py | 1 + .../cosmos/crypto/keyring/v1/record_pb2.py | 1 + .../proto/cosmos/crypto/multisig/keys_pb2.py | 1 + .../crypto/multisig/v1beta1/multisig_pb2.py | 1 + .../proto/cosmos/crypto/secp256k1/keys_pb2.py | 1 + .../proto/cosmos/crypto/secp256r1/keys_pb2.py | 1 + .../distribution/module/v1/module_pb2.py | 1 + .../distribution/v1beta1/distribution_pb2.py | 1 + .../distribution/v1beta1/genesis_pb2.py | 1 + .../cosmos/distribution/v1beta1/query_pb2.py | 1 + .../cosmos/distribution/v1beta1/tx_pb2.py | 1 + .../cosmos/evidence/module/v1/module_pb2.py | 1 + .../cosmos/evidence/v1beta1/evidence_pb2.py | 1 + .../cosmos/evidence/v1beta1/genesis_pb2.py | 1 + .../cosmos/evidence/v1beta1/query_pb2.py | 1 + .../proto/cosmos/evidence/v1beta1/tx_pb2.py | 1 + .../cosmos/feegrant/module/v1/module_pb2.py | 1 + .../cosmos/feegrant/v1beta1/feegrant_pb2.py | 1 + .../cosmos/feegrant/v1beta1/genesis_pb2.py | 1 + .../cosmos/feegrant/v1beta1/query_pb2.py | 1 + .../proto/cosmos/feegrant/v1beta1/tx_pb2.py | 1 + .../cosmos/genutil/module/v1/module_pb2.py | 1 + .../cosmos/genutil/v1beta1/genesis_pb2.py | 1 + .../proto/cosmos/gov/module/v1/module_pb2.py | 1 + .../proto/cosmos/gov/v1/genesis_pb2.py | 1 + pyinjective/proto/cosmos/gov/v1/gov_pb2.py | 1 + pyinjective/proto/cosmos/gov/v1/query_pb2.py | 1 + pyinjective/proto/cosmos/gov/v1/tx_pb2.py | 1 + .../proto/cosmos/gov/v1beta1/genesis_pb2.py | 1 + .../proto/cosmos/gov/v1beta1/gov_pb2.py | 1 + .../proto/cosmos/gov/v1beta1/query_pb2.py | 1 + .../proto/cosmos/gov/v1beta1/tx_pb2.py | 1 + .../cosmos/group/module/v1/module_pb2.py | 1 + .../proto/cosmos/group/v1/events_pb2.py | 1 + .../proto/cosmos/group/v1/genesis_pb2.py | 1 + .../proto/cosmos/group/v1/query_pb2.py | 1 + pyinjective/proto/cosmos/group/v1/tx_pb2.py | 1 + .../proto/cosmos/group/v1/types_pb2.py | 1 + .../proto/cosmos/ics23/v1/proofs_pb2.py | 1 + .../proto/cosmos/mint/module/v1/module_pb2.py | 1 + .../proto/cosmos/mint/v1beta1/genesis_pb2.py | 1 + .../proto/cosmos/mint/v1beta1/mint_pb2.py | 1 + .../proto/cosmos/mint/v1beta1/query_pb2.py | 1 + .../proto/cosmos/mint/v1beta1/tx_pb2.py | 1 + pyinjective/proto/cosmos/msg/v1/msg_pb2.py | 3 + .../proto/cosmos/nft/module/v1/module_pb2.py | 1 + .../proto/cosmos/nft/v1beta1/event_pb2.py | 1 + .../proto/cosmos/nft/v1beta1/genesis_pb2.py | 1 + .../proto/cosmos/nft/v1beta1/nft_pb2.py | 1 + .../proto/cosmos/nft/v1beta1/query_pb2.py | 1 + .../proto/cosmos/nft/v1beta1/tx_pb2.py | 1 + .../cosmos/orm/module/v1alpha1/module_pb2.py | 1 + .../cosmos/orm/query/v1alpha1/query_pb2.py | 1 + pyinjective/proto/cosmos/orm/v1/orm_pb2.py | 3 + .../proto/cosmos/orm/v1alpha1/schema_pb2.py | 2 + .../cosmos/params/module/v1/module_pb2.py | 1 + .../proto/cosmos/params/v1beta1/params_pb2.py | 1 + .../proto/cosmos/params/v1beta1/query_pb2.py | 1 + .../proto/cosmos/query/v1/query_pb2.py | 2 + .../cosmos/reflection/v1/reflection_pb2.py | 1 + .../cosmos/slashing/module/v1/module_pb2.py | 1 + .../cosmos/slashing/v1beta1/genesis_pb2.py | 1 + .../cosmos/slashing/v1beta1/query_pb2.py | 1 + .../cosmos/slashing/v1beta1/slashing_pb2.py | 1 + .../proto/cosmos/slashing/v1beta1/tx_pb2.py | 1 + .../cosmos/staking/module/v1/module_pb2.py | 1 + .../proto/cosmos/staking/v1beta1/authz_pb2.py | 1 + .../cosmos/staking/v1beta1/genesis_pb2.py | 1 + .../proto/cosmos/staking/v1beta1/query_pb2.py | 1 + .../cosmos/staking/v1beta1/staking_pb2.py | 1 + .../proto/cosmos/staking/v1beta1/tx_pb2.py | 1 + .../proto/cosmos/tx/config/v1/config_pb2.py | 1 + .../cosmos/tx/signing/v1beta1/signing_pb2.py | 1 + .../proto/cosmos/tx/v1beta1/service_pb2.py | 1 + pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py | 1 + .../cosmos/upgrade/module/v1/module_pb2.py | 1 + .../proto/cosmos/upgrade/v1beta1/query_pb2.py | 1 + .../proto/cosmos/upgrade/v1beta1/tx_pb2.py | 1 + .../cosmos/upgrade/v1beta1/upgrade_pb2.py | 1 + .../cosmos/vesting/module/v1/module_pb2.py | 1 + .../proto/cosmos/vesting/v1beta1/tx_pb2.py | 1 + .../cosmos/vesting/v1beta1/vesting_pb2.py | 1 + pyinjective/proto/cosmos_proto/cosmos_pb2.py | 6 + .../proto/cosmwasm/wasm/v1/authz_pb2.py | 1 + .../proto/cosmwasm/wasm/v1/genesis_pb2.py | 1 + pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py | 1 + .../proto/cosmwasm/wasm/v1/query_pb2.py | 1 + pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 1 + .../proto/cosmwasm/wasm/v1/types_pb2.py | 1 + .../proto/exchange/event_provider_api_pb2.py | 55 +++- .../exchange/event_provider_api_pb2_grpc.py | 34 +++ .../exchange/injective_accounts_rpc_pb2.py | 67 ++-- .../injective_accounts_rpc_pb2_grpc.py | 18 +- .../exchange/injective_auction_rpc_pb2.py | 43 +-- .../injective_auction_rpc_pb2_grpc.py | 12 +- .../injective_derivative_exchange_rpc_pb2.py | 273 ++++++++--------- ...ective_derivative_exchange_rpc_pb2_grpc.py | 104 +------ .../exchange/injective_exchange_rpc_pb2.py | 1 + .../exchange/injective_explorer_rpc_pb2.py | 289 +++++++++--------- .../injective_explorer_rpc_pb2_grpc.py | 34 +++ .../exchange/injective_insurance_rpc_pb2.py | 1 + .../proto/exchange/injective_meta_rpc_pb2.py | 13 +- .../exchange/injective_meta_rpc_pb2_grpc.py | 34 +++ .../exchange/injective_oracle_rpc_pb2.py | 11 +- .../exchange/injective_oracle_rpc_pb2_grpc.py | 34 +++ .../exchange/injective_portfolio_rpc_pb2.py | 27 +- .../injective_portfolio_rpc_pb2_grpc.py | 34 +++ .../injective_spot_exchange_rpc_pb2.py | 193 ++++++------ .../injective_spot_exchange_rpc_pb2_grpc.py | 136 +++------ .../exchange/injective_trading_rpc_pb2.py | 35 +++ .../injective_trading_rpc_pb2_grpc.py | 73 +++++ pyinjective/proto/gogoproto/gogo_pb2.py | 78 +++++ .../proto/google/api/annotations_pb2.py | 2 + pyinjective/proto/google/api/http_pb2.py | 1 + .../proto/ibc/applications/fee/v1/ack_pb2.py | 1 + .../proto/ibc/applications/fee/v1/fee_pb2.py | 1 + .../ibc/applications/fee/v1/genesis_pb2.py | 1 + .../ibc/applications/fee/v1/metadata_pb2.py | 1 + .../ibc/applications/fee/v1/query_pb2.py | 1 + .../proto/ibc/applications/fee/v1/tx_pb2.py | 27 +- .../controller/v1/controller_pb2.py | 1 + .../controller/v1/query_pb2.py | 1 + .../controller/v1/tx_pb2.py | 1 + .../genesis/v1/genesis_pb2.py | 1 + .../interchain_accounts/host/v1/host_pb2.py | 1 + .../interchain_accounts/host/v1/query_pb2.py | 1 + .../interchain_accounts/host/v1/tx_pb2.py | 1 + .../interchain_accounts/v1/account_pb2.py | 1 + .../interchain_accounts/v1/metadata_pb2.py | 1 + .../interchain_accounts/v1/packet_pb2.py | 1 + .../ibc/applications/transfer/v1/authz_pb2.py | 1 + .../applications/transfer/v1/genesis_pb2.py | 1 + .../ibc/applications/transfer/v1/query_pb2.py | 1 + .../applications/transfer/v1/transfer_pb2.py | 1 + .../ibc/applications/transfer/v1/tx_pb2.py | 25 +- .../applications/transfer/v2/packet_pb2.py | 1 + .../proto/ibc/core/channel/v1/channel_pb2.py | 1 + .../proto/ibc/core/channel/v1/genesis_pb2.py | 1 + .../proto/ibc/core/channel/v1/query_pb2.py | 1 + .../proto/ibc/core/channel/v1/tx_pb2.py | 1 + .../proto/ibc/core/client/v1/client_pb2.py | 1 + .../proto/ibc/core/client/v1/genesis_pb2.py | 1 + .../proto/ibc/core/client/v1/query_pb2.py | 1 + .../proto/ibc/core/client/v1/tx_pb2.py | 1 + .../ibc/core/commitment/v1/commitment_pb2.py | 1 + .../ibc/core/connection/v1/connection_pb2.py | 1 + .../ibc/core/connection/v1/genesis_pb2.py | 1 + .../proto/ibc/core/connection/v1/query_pb2.py | 1 + .../proto/ibc/core/connection/v1/tx_pb2.py | 1 + .../proto/ibc/core/types/v1/genesis_pb2.py | 1 + .../localhost/v2/localhost_pb2.py | 1 + .../solomachine/v2/solomachine_pb2.py | 1 + .../solomachine/v3/solomachine_pb2.py | 1 + .../tendermint/v1/tendermint_pb2.py | 1 + .../injective/auction/v1beta1/auction_pb2.py | 1 + .../injective/auction/v1beta1/genesis_pb2.py | 1 + .../injective/auction/v1beta1/query_pb2.py | 1 + .../proto/injective/auction/v1beta1/tx_pb2.py | 1 + .../crypto/v1beta1/ethsecp256k1/keys_pb2.py | 1 + .../injective/exchange/v1beta1/authz_pb2.py | 1 + .../injective/exchange/v1beta1/events_pb2.py | 1 + .../exchange/v1beta1/exchange_pb2.py | 161 +++++----- .../injective/exchange/v1beta1/genesis_pb2.py | 1 + .../injective/exchange/v1beta1/query_pb2.py | 1 + .../injective/exchange/v1beta1/tx_pb2.py | 243 +++++++-------- .../insurance/v1beta1/genesis_pb2.py | 1 + .../insurance/v1beta1/insurance_pb2.py | 1 + .../injective/insurance/v1beta1/query_pb2.py | 1 + .../injective/insurance/v1beta1/tx_pb2.py | 1 + .../injective/ocr/v1beta1/genesis_pb2.py | 1 + .../proto/injective/ocr/v1beta1/ocr_pb2.py | 1 + .../proto/injective/ocr/v1beta1/query_pb2.py | 1 + .../proto/injective/ocr/v1beta1/tx_pb2.py | 1 + .../injective/oracle/v1beta1/events_pb2.py | 1 + .../injective/oracle/v1beta1/genesis_pb2.py | 1 + .../injective/oracle/v1beta1/oracle_pb2.py | 1 + .../injective/oracle/v1beta1/proposal_pb2.py | 1 + .../injective/oracle/v1beta1/query_pb2.py | 1 + .../proto/injective/oracle/v1beta1/tx_pb2.py | 1 + .../injective/peggy/v1/attestation_pb2.py | 1 + .../proto/injective/peggy/v1/batch_pb2.py | 1 + .../injective/peggy/v1/ethereum_signer_pb2.py | 1 + .../proto/injective/peggy/v1/events_pb2.py | 1 + .../proto/injective/peggy/v1/genesis_pb2.py | 1 + .../proto/injective/peggy/v1/msgs_pb2.py | 1 + .../proto/injective/peggy/v1/params_pb2.py | 1 + .../proto/injective/peggy/v1/pool_pb2.py | 1 + .../proto/injective/peggy/v1/proposal_pb2.py | 1 + .../proto/injective/peggy/v1/query_pb2.py | 1 + .../proto/injective/peggy/v1/types_pb2.py | 1 + .../injective/stream/v1beta1/query_pb2.py | 45 +-- .../v1beta1/authorityMetadata_pb2.py | 1 + .../tokenfactory/v1beta1/events_pb2.py | 1 + .../tokenfactory/v1beta1/genesis_pb2.py | 1 + .../tokenfactory/v1beta1/params_pb2.py | 1 + .../tokenfactory/v1beta1/query_pb2.py | 1 + .../injective/tokenfactory/v1beta1/tx_pb2.py | 1 + .../injective/types/v1beta1/account_pb2.py | 1 + .../injective/types/v1beta1/tx_ext_pb2.py | 1 + .../types/v1beta1/tx_response_pb2.py | 1 + .../proto/tendermint/abci/types_pb2.py | 1 + .../proto/tendermint/blocksync/types_pb2.py | 1 + .../proto/tendermint/consensus/types_pb2.py | 1 + .../proto/tendermint/consensus/wal_pb2.py | 1 + .../proto/tendermint/crypto/keys_pb2.py | 1 + .../proto/tendermint/crypto/proof_pb2.py | 1 + .../proto/tendermint/libs/bits/types_pb2.py | 1 + .../proto/tendermint/mempool/types_pb2.py | 1 + pyinjective/proto/tendermint/p2p/conn_pb2.py | 1 + pyinjective/proto/tendermint/p2p/pex_pb2.py | 1 + pyinjective/proto/tendermint/p2p/types_pb2.py | 1 + .../proto/tendermint/privval/types_pb2.py | 1 + .../tendermint/services/block/v1/block_pb2.py | 1 + .../services/block/v1/block_service_pb2.py | 1 + .../block_results/v1/block_results_pb2.py | 1 + .../v1/block_results_service_pb2.py | 1 + .../services/pruning/v1/pruning_pb2.py | 1 + .../services/pruning/v1/service_pb2.py | 1 + .../services/version/v1/version_pb2.py | 1 + .../version/v1/version_service_pb2.py | 1 + .../proto/tendermint/state/types_pb2.py | 1 + .../proto/tendermint/statesync/types_pb2.py | 1 + .../proto/tendermint/store/types_pb2.py | 1 + .../proto/tendermint/types/block_pb2.py | 1 + .../proto/tendermint/types/canonical_pb2.py | 1 + .../proto/tendermint/types/events_pb2.py | 1 + .../proto/tendermint/types/evidence_pb2.py | 1 + .../proto/tendermint/types/params_pb2.py | 1 + .../proto/tendermint/types/types_pb2.py | 1 + .../proto/tendermint/types/validator_pb2.py | 1 + .../proto/tendermint/version/types_pb2.py | 1 + 291 files changed, 1487 insertions(+), 936 deletions(-) create mode 100644 pyinjective/proto/exchange/injective_trading_rpc_pb2.py create mode 100644 pyinjective/proto/exchange/injective_trading_rpc_pb2_grpc.py diff --git a/examples/chain_client/0_LocalOrderHash.py b/examples/chain_client/0_LocalOrderHash.py index e25d695c..eed3c28b 100644 --- a/examples/chain_client/0_LocalOrderHash.py +++ b/examples/chain_client/0_LocalOrderHash.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network @@ -40,6 +41,7 @@ async def main() -> None: quantity=0.01, is_buy=True, is_po=False, + cid=str(uuid.uuid4()), ), composer.SpotOrder( market_id=spot_market_id, @@ -49,6 +51,7 @@ async def main() -> None: quantity=0.01, is_buy=False, is_po=False, + cid=str(uuid.uuid4()), ), ] @@ -62,6 +65,7 @@ async def main() -> None: leverage=1.5, is_buy=True, is_po=False, + cid=str(uuid.uuid4()), ), composer.DerivativeOrder( market_id=deriv_market_id, @@ -72,6 +76,7 @@ async def main() -> None: leverage=2, is_buy=False, is_reduce_only=False, + cid=str(uuid.uuid4()), ), ] @@ -163,6 +168,7 @@ async def main() -> None: quantity=0.01, is_buy=True, is_po=True, + cid=str(uuid.uuid4()), ), composer.SpotOrder( market_id=spot_market_id, @@ -172,6 +178,7 @@ async def main() -> None: quantity=0.01, is_buy=False, is_po=False, + cid=str(uuid.uuid4()), ), ] @@ -185,6 +192,7 @@ async def main() -> None: leverage=1.5, is_buy=True, is_po=False, + cid=str(uuid.uuid4()), ), composer.DerivativeOrder( market_id=deriv_market_id, @@ -195,6 +203,7 @@ async def main() -> None: leverage=2, is_buy=False, is_reduce_only=False, + cid=str(uuid.uuid4()), ), ] diff --git a/examples/chain_client/17_MsgBatchUpdateOrders.py b/examples/chain_client/17_MsgBatchUpdateOrders.py index 3b3e7f77..533a1d01 100644 --- a/examples/chain_client/17_MsgBatchUpdateOrders.py +++ b/examples/chain_client/17_MsgBatchUpdateOrders.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network @@ -69,6 +70,7 @@ async def main() -> None: leverage=1, is_buy=True, is_po=False, + cid=str(uuid.uuid4()), ), composer.DerivativeOrder( market_id=derivative_market_id_create, @@ -79,6 +81,7 @@ async def main() -> None: leverage=1, is_buy=False, is_po=False, + cid=str(uuid.uuid4()), ), ] @@ -91,6 +94,7 @@ async def main() -> None: quantity=55, is_buy=True, is_po=False, + cid=str(uuid.uuid4()), ), composer.SpotOrder( market_id=spot_market_id_create, @@ -100,6 +104,7 @@ async def main() -> None: quantity=55, is_buy=False, is_po=False, + cid=str(uuid.uuid4()), ), ] diff --git a/examples/chain_client/20_MsgExec.py b/examples/chain_client/20_MsgExec.py index c940523c..67709b3d 100644 --- a/examples/chain_client/20_MsgExec.py +++ b/examples/chain_client/20_MsgExec.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network @@ -36,6 +37,7 @@ async def main() -> None: quantity=0.01, is_buy=True, is_po=False, + cid=str(uuid.uuid4()), ) msg = composer.MsgExec(grantee=grantee, msgs=[msg0]) diff --git a/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py b/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py index fb2a9d24..f2bae417 100644 --- a/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py +++ b/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.async_client import AsyncClient from pyinjective.constant import Denom @@ -41,6 +42,7 @@ async def main() -> None: is_buy=False, is_reduce_only=False, denom=denom, + cid=str(uuid.uuid4()), ) # build sim tx diff --git a/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py b/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py index 2408b865..e7c0014f 100644 --- a/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py +++ b/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network @@ -36,6 +37,7 @@ async def main() -> None: quantity=1, is_buy=True, is_reduce_only=False, + cid=str(uuid.uuid4()), ) # build sim tx tx = ( diff --git a/examples/chain_client/3_MsgCreateSpotLimitOrder.py b/examples/chain_client/3_MsgCreateSpotLimitOrder.py index a480e817..db6c41ca 100644 --- a/examples/chain_client/3_MsgCreateSpotLimitOrder.py +++ b/examples/chain_client/3_MsgCreateSpotLimitOrder.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network @@ -36,6 +37,7 @@ async def main() -> None: quantity=0.01, is_buy=True, is_po=False, + cid=str(uuid.uuid4()), ) # build sim tx diff --git a/examples/chain_client/44_MessageBroadcaster.py b/examples/chain_client/44_MessageBroadcaster.py index 6b948578..a9bb1f68 100644 --- a/examples/chain_client/44_MessageBroadcaster.py +++ b/examples/chain_client/44_MessageBroadcaster.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.composer import Composer as ProtoMsgComposer from pyinjective.core.broadcaster import MsgBroadcasterWithPk @@ -36,6 +37,7 @@ async def main() -> None: quantity=55, is_buy=True, is_po=False, + cid=str(uuid.uuid4()), ), composer.SpotOrder( market_id=spot_market_id_create, @@ -45,6 +47,7 @@ async def main() -> None: quantity=55, is_buy=False, is_po=False, + cid=str(uuid.uuid4()), ), ] diff --git a/examples/chain_client/45_MessageBroadcasterWithGranteeAccount.py b/examples/chain_client/45_MessageBroadcasterWithGranteeAccount.py index 860b91e0..59c04af2 100644 --- a/examples/chain_client/45_MessageBroadcasterWithGranteeAccount.py +++ b/examples/chain_client/45_MessageBroadcasterWithGranteeAccount.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.async_client import AsyncClient from pyinjective.composer import Composer as ProtoMsgComposer @@ -42,6 +43,7 @@ async def main() -> None: quantity=0.01, is_buy=True, is_po=False, + cid=str(uuid.uuid4()), ) # broadcast the transaction diff --git a/examples/chain_client/46_MessageBroadcasterWithoutSimulation.py b/examples/chain_client/46_MessageBroadcasterWithoutSimulation.py index 1aa19990..908a4579 100644 --- a/examples/chain_client/46_MessageBroadcasterWithoutSimulation.py +++ b/examples/chain_client/46_MessageBroadcasterWithoutSimulation.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.composer import Composer as ProtoMsgComposer from pyinjective.core.broadcaster import MsgBroadcasterWithPk @@ -36,6 +37,7 @@ async def main() -> None: quantity=55, is_buy=True, is_po=False, + cid=str(uuid.uuid4()), ), composer.SpotOrder( market_id=spot_market_id_create, @@ -45,6 +47,7 @@ async def main() -> None: quantity=55, is_buy=False, is_po=False, + cid=str(uuid.uuid4()), ), ] diff --git a/examples/chain_client/47_MessageBroadcasterWithGranteeAccountWithoutSimulation.py b/examples/chain_client/47_MessageBroadcasterWithGranteeAccountWithoutSimulation.py index ccb41de5..ebae28ab 100644 --- a/examples/chain_client/47_MessageBroadcasterWithGranteeAccountWithoutSimulation.py +++ b/examples/chain_client/47_MessageBroadcasterWithGranteeAccountWithoutSimulation.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.async_client import AsyncClient from pyinjective.composer import Composer as ProtoMsgComposer @@ -42,6 +43,7 @@ async def main() -> None: quantity=0.01, is_buy=True, is_po=False, + cid=str(uuid.uuid4()), ) # broadcast the transaction diff --git a/examples/chain_client/4_MsgCreateSpotMarketOrder.py b/examples/chain_client/4_MsgCreateSpotMarketOrder.py index 293b5145..449165d3 100644 --- a/examples/chain_client/4_MsgCreateSpotMarketOrder.py +++ b/examples/chain_client/4_MsgCreateSpotMarketOrder.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network @@ -35,6 +36,7 @@ async def main() -> None: price=10.522, quantity=0.01, is_buy=True, + cid=str(uuid.uuid4()), ) # build sim tx diff --git a/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py b/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py index 865400b4..8e65363f 100644 --- a/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py +++ b/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network @@ -37,6 +38,7 @@ async def main() -> None: leverage=1, is_buy=False, is_reduce_only=False, + cid=str(uuid.uuid4()), ) # build sim tx diff --git a/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py b/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py index db69d7c1..fdc458c4 100644 --- a/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py +++ b/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py @@ -1,4 +1,5 @@ import asyncio +import uuid from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network @@ -36,6 +37,7 @@ async def main() -> None: quantity=0.01, leverage=3, is_buy=True, + cid=str(uuid.uuid4()), ) # build sim tx diff --git a/pyinjective/composer.py b/pyinjective/composer.py index e7a241d6..a8c9a99b 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -117,6 +117,7 @@ def SpotOrder( fee_recipient: str, price: float, quantity: float, + cid: Optional[str] = None, **kwargs, ): market = self.spot_markets[market_id] @@ -145,6 +146,7 @@ def SpotOrder( fee_recipient=fee_recipient, price=str(int(price)), quantity=str(int(quantity)), + cid=cid, ), order_type=order_type, trigger_price=str(int(trigger_price)), @@ -158,6 +160,7 @@ def DerivativeOrder( price: float, quantity: float, trigger_price: float = 0, + cid: Optional[str] = None, **kwargs, ): market = self.derivative_markets[market_id] @@ -207,6 +210,7 @@ def DerivativeOrder( fee_recipient=fee_recipient, price=str(int(price)), quantity=str(int(quantity)), + cid=cid, ), margin=str(int(margin)), order_type=order_type, @@ -220,6 +224,7 @@ def BinaryOptionsOrder( fee_recipient: str, price: float, quantity: float, + cid: Optional[str] = None, **kwargs, ): market = self.binary_option_markets[market_id] @@ -259,6 +264,7 @@ def BinaryOptionsOrder( fee_recipient=fee_recipient, price=str(int(price)), quantity=str(int(quantity)), + cid=cid, ), margin=str(int(margin)), order_type=order_type, @@ -302,6 +308,7 @@ def MsgCreateSpotLimitOrder( fee_recipient: str, price: float, quantity: float, + cid: Optional[str] = None, **kwargs, ): return injective_exchange_tx_pb.MsgCreateSpotLimitOrder( @@ -312,6 +319,7 @@ def MsgCreateSpotLimitOrder( fee_recipient=fee_recipient, price=price, quantity=quantity, + cid=cid, **kwargs, ), ) @@ -325,6 +333,7 @@ def MsgCreateSpotMarketOrder( price: float, quantity: float, is_buy: bool, + cid: Optional[str] = None, ): return injective_exchange_tx_pb.MsgCreateSpotMarketOrder( sender=sender, @@ -335,6 +344,7 @@ def MsgCreateSpotMarketOrder( price=price, quantity=quantity, is_buy=is_buy, + cid=cid, ), ) @@ -363,6 +373,7 @@ def MsgCreateDerivativeLimitOrder( fee_recipient: str, price: float, quantity: float, + cid: Optional[str] = None, **kwargs, ): return injective_exchange_tx_pb.MsgCreateDerivativeLimitOrder( @@ -373,6 +384,7 @@ def MsgCreateDerivativeLimitOrder( fee_recipient=fee_recipient, price=price, quantity=quantity, + cid=cid, **kwargs, ), ) @@ -386,6 +398,7 @@ def MsgCreateDerivativeMarketOrder( price: float, quantity: float, is_buy: bool, + cid: Optional[str] = None, **kwargs, ): return injective_exchange_tx_pb.MsgCreateDerivativeMarketOrder( @@ -397,6 +410,7 @@ def MsgCreateDerivativeMarketOrder( price=price, quantity=quantity, is_buy=is_buy, + cid=cid, **kwargs, ), ) @@ -409,6 +423,7 @@ def MsgCreateBinaryOptionsLimitOrder( fee_recipient: str, price: float, quantity: float, + cid: Optional[str] = None, **kwargs, ): return injective_exchange_tx_pb.MsgCreateBinaryOptionsLimitOrder( @@ -419,6 +434,7 @@ def MsgCreateBinaryOptionsLimitOrder( fee_recipient=fee_recipient, price=price, quantity=quantity, + cid=cid, **kwargs, ), ) @@ -431,6 +447,7 @@ def MsgCreateBinaryOptionsMarketOrder( fee_recipient: str, price: float, quantity: float, + cid: Optional[str] = None, **kwargs, ): return injective_exchange_tx_pb.MsgCreateBinaryOptionsMarketOrder( @@ -441,6 +458,7 @@ def MsgCreateBinaryOptionsMarketOrder( fee_recipient=fee_recipient, price=price, quantity=quantity, + cid=cid, **kwargs, ), ) diff --git a/pyinjective/proto/amino/amino_pb2.py b/pyinjective/proto/amino/amino_pb2.py index 7372f449..ab4184ad 100644 --- a/pyinjective/proto/amino/amino_pb2.py +++ b/pyinjective/proto/amino/amino_pb2.py @@ -20,6 +20,12 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'amino.amino_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(name) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(message_encoding) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(encoding) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(field_name) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(dont_omitempty) + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z+github.com/cosmos/cosmos-sdk/types/tx/amino' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/capability_pb2.py b/pyinjective/proto/capability/v1/capability_pb2.py index b6e20f5e..128ef745 100644 --- a/pyinjective/proto/capability/v1/capability_pb2.py +++ b/pyinjective/proto/capability/v1/capability_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.capability_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z1github.com/cosmos/ibc-go/modules/capability/types' _CAPABILITY._options = None diff --git a/pyinjective/proto/capability/v1/genesis_pb2.py b/pyinjective/proto/capability/v1/genesis_pb2.py index 4da120e1..8b0b5a50 100644 --- a/pyinjective/proto/capability/v1/genesis_pb2.py +++ b/pyinjective/proto/capability/v1/genesis_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z1github.com/cosmos/ibc-go/modules/capability/types' _GENESISOWNERS.fields_by_name['index_owners']._options = None diff --git a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py index 7bb522e5..5e4f4dc1 100644 --- a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.runtime.v1alpha1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001=\n$github.com/cosmos/cosmos-sdk/runtime\022\025\n\023cosmos.app.v1alpha1' diff --git a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py index 21aa59a7..d4dd4e19 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.config_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None _globals['_CONFIG']._serialized_start=84 _globals['_CONFIG']._serialized_end=205 diff --git a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py index 5013c5b5..e140d41a 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py @@ -20,6 +20,8 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(module) + DESCRIPTOR._options = None _globals['_MODULEDESCRIPTOR']._serialized_start=92 _globals['_MODULEDESCRIPTOR']._serialized_end=253 diff --git a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py index ae557ab7..473038eb 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None _globals['_QUERYCONFIGREQUEST']._serialized_start=90 _globals['_QUERYCONFIGREQUEST']._serialized_end=110 diff --git a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py index 51e1d246..d11ca11d 100644 --- a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/auth' diff --git a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py index d81cbd93..40d67acb 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.auth_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/auth/types' _BASEACCOUNT.fields_by_name['address']._options = None diff --git a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py index 518fd877..a9612c49 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/auth/types' _GENESISSTATE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py index ee2d098f..80af3e26 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py @@ -26,6 +26,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/auth/types' _QUERYACCOUNTSRESPONSE.fields_by_name['accounts']._options = None diff --git a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py index 27a89ebd..b3b031a7 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/auth/types' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None diff --git a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py index ac393c8d..33ae40c2 100644 --- a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/authz' diff --git a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py index acce5185..7c2b9f6d 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz\310\341\036\000' _GENERICAUTHORIZATION._options = None diff --git a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py index 5c7bbbc9..b0aea779 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.event_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz' _EVENTGRANT.fields_by_name['granter']._options = None diff --git a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py index 60e4b9d4..879e7452 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz' _GENESISSTATE.fields_by_name['authorization']._options = None diff --git a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py index 2df5fbe1..1a1aa732 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz' _QUERYGRANTSREQUEST.fields_by_name['granter']._options = None diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py index 154cd8b5..43fe867b 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py @@ -25,6 +25,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz\310\341\036\000' _MSGGRANT.fields_by_name['granter']._options = None diff --git a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py index 78a558de..68000211 100644 --- a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py +++ b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.options_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1' _SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY._options = None diff --git a/pyinjective/proto/cosmos/autocli/v1/query_pb2.py b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py index 7b6300b5..8519a94c 100644 --- a/pyinjective/proto/cosmos/autocli/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1' _APPOPTIONSRESPONSE_MODULEOPTIONSENTRY._options = None diff --git a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py index 55e23729..57d1eb74 100644 --- a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.module.v1.module_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None _MODULE._options = None _MODULE._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/bank' diff --git a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py index 285a34df..79baf82d 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' _SENDAUTHORIZATION.fields_by_name['spend_limit']._options = None diff --git a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py index d58135e6..760bfbfa 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.bank_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' _PARAMS.fields_by_name['send_enabled']._options = None diff --git a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py index 9c910a5b..bafaa68e 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' _GENESISSTATE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py index 88dda39d..f1c7d726 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py @@ -27,6 +27,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' _QUERYBALANCEREQUEST.fields_by_name['address']._options = None diff --git a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py index 3da74f42..64ec0800 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py @@ -25,6 +25,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' _MSGSEND.fields_by_name['from_address']._options = None diff --git a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py index db201625..66bfb3d0 100644 --- a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py +++ b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.abci.v1beta1.abci_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\"github.com/cosmos/cosmos-sdk/types\330\341\036\000' _TXRESPONSE.fields_by_name['txhash']._options = None diff --git a/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py b/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py index fea89475..d47908b3 100644 --- a/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py +++ b/pyinjective/proto/cosmos/base/kv/v1beta1/kv_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.kv.v1beta1.kv_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z%github.com/cosmos/cosmos-sdk/types/kv' _PAIRS.fields_by_name['pairs']._options = None diff --git a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py index 4ba613c5..a415d342 100644 --- a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.node.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z-github.com/cosmos/cosmos-sdk/client/grpc/node' _SERVICE.methods_by_name['Config']._options = None diff --git a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py index 743d9091..f961950d 100644 --- a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py +++ b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.query.v1beta1.pagination_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z(github.com/cosmos/cosmos-sdk/types/query' _globals['_PAGEREQUEST']._serialized_start=73 diff --git a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py index e7b7b01f..021ea02a 100644 --- a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.reflection.v1beta1.reflection_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection' _REFLECTIONSERVICE.methods_by_name['ListAllInterfaces']._options = None diff --git a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py index 05586e6e..e0854c3e 100644 --- a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.reflection.v2alpha1.reflection_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\n\nBlockEvent\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x0f\n\x07tx_hash\x18\x03 \x01(\x0c\"\x1e\n\rArrayOfString\x12\r\n\x05\x66ield\x18\x01 \x03(\t\";\n\x18GetBlockEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"n\n\x19GetBlockEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC\"\xc5\x02\n\x0e\x42lockEventsRPC\x12\r\n\x05types\x18\x01 \x03(\t\x12\x0e\n\x06\x65vents\x18\x02 \x03(\x0c\x12\x43\n\ttx_hashes\x18\x03 \x03(\x0b\x32\x30.event_provider_api.BlockEventsRPC.TxHashesEntry\x12H\n\x0ctx_to_orders\x18\x04 \x03(\x0b\x32\x32.event_provider_api.BlockEventsRPC.TxToOrdersEntry\x1a/\n\rTxHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x11\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1aT\n\x0fTxToOrdersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.event_provider_api.ArrayOfString:\x02\x38\x01\"L\n\x19GetCustomEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\x12\x0e\n\x06\x65vents\x18\x03 \x01(\t\"o\n\x1aGetCustomEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC2\xd9\x03\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.GetCustomEventsRPCResponseB\x17Z\x15/event_provider_apipbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.event_provider_api_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\025/event_provider_apipb' + _BLOCK_TXHASHTOORDERSENTRY._options = None + _BLOCK_TXHASHTOORDERSENTRY._serialized_options = b'8\001' + _BLOCKEVENTSRPC_TXHASHESENTRY._options = None + _BLOCKEVENTSRPC_TXHASHESENTRY._serialized_options = b'8\001' + _BLOCKEVENTSRPC_TXTOORDERSENTRY._options = None + _BLOCKEVENTSRPC_TXTOORDERSENTRY._serialized_options = b'8\001' _globals['_GETLATESTHEIGHTREQUEST']._serialized_start=57 _globals['_GETLATESTHEIGHTREQUEST']._serialized_end=81 _globals['_GETLATESTHEIGHTRESPONSE']._serialized_start=83 - _globals['_GETLATESTHEIGHTRESPONSE']._serialized_end=188 - _globals['_LATESTBLOCKHEIGHT']._serialized_start=190 - _globals['_LATESTBLOCKHEIGHT']._serialized_end=225 - _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_start=227 - _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_end=286 - _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_start=288 - _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_end=392 - _globals['_BLOCKEVENTSRPC']._serialized_start=394 - _globals['_BLOCKEVENTSRPC']._serialized_end=441 - _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_start=443 - _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_end=519 - _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_start=521 - _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_end=626 - _globals['_EVENTPROVIDERAPI']._serialized_start=629 - _globals['_EVENTPROVIDERAPI']._serialized_end=986 + _globals['_GETLATESTHEIGHTRESPONSE']._serialized_end=194 + _globals['_LATESTBLOCKHEIGHT']._serialized_start=196 + _globals['_LATESTBLOCKHEIGHT']._serialized_end=231 + _globals['_STREAMBLOCKEVENTSREQUEST']._serialized_start=233 + _globals['_STREAMBLOCKEVENTSREQUEST']._serialized_end=292 + _globals['_STREAMBLOCKEVENTSRESPONSE']._serialized_start=294 + _globals['_STREAMBLOCKEVENTSRESPONSE']._serialized_end=364 + _globals['_BLOCK']._serialized_start=367 + _globals['_BLOCK']._serialized_end=636 + _globals['_BLOCK_TXHASHTOORDERSENTRY']._serialized_start=548 + _globals['_BLOCK_TXHASHTOORDERSENTRY']._serialized_end=636 + _globals['_BLOCKEVENT']._serialized_start=638 + _globals['_BLOCKEVENT']._serialized_end=700 + _globals['_ARRAYOFSTRING']._serialized_start=702 + _globals['_ARRAYOFSTRING']._serialized_end=732 + _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_start=734 + _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_end=793 + _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_start=795 + _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_end=905 + _globals['_BLOCKEVENTSRPC']._serialized_start=908 + _globals['_BLOCKEVENTSRPC']._serialized_end=1233 + _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_start=1100 + _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_end=1147 + _globals['_BLOCKEVENTSRPC_TXTOORDERSENTRY']._serialized_start=1149 + _globals['_BLOCKEVENTSRPC_TXTOORDERSENTRY']._serialized_end=1233 + _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_start=1235 + _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_end=1311 + _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_start=1313 + _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_end=1424 + _globals['_EVENTPROVIDERAPI']._serialized_start=1427 + _globals['_EVENTPROVIDERAPI']._serialized_end=1900 # @@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 index 01f63ec9..75e5a946 100644 --- a/pyinjective/proto/exchange/event_provider_api_pb2_grpc.py +++ b/pyinjective/proto/exchange/event_provider_api_pb2_grpc.py @@ -20,6 +20,11 @@ def __init__(self, channel): request_serializer=exchange_dot_event__provider__api__pb2.GetLatestHeightRequest.SerializeToString, response_deserializer=exchange_dot_event__provider__api__pb2.GetLatestHeightResponse.FromString, ) + 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, + ) self.GetBlockEventsRPC = channel.unary_unary( '/event_provider_api.EventProviderAPI/GetBlockEventsRPC', request_serializer=exchange_dot_event__provider__api__pb2.GetBlockEventsRPCRequest.SerializeToString, @@ -43,6 +48,13 @@ def GetLatestHeight(self, request, context): 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 """ @@ -65,6 +77,11 @@ def add_EventProviderAPIServicer_to_server(servicer, server): 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, @@ -103,6 +120,23 @@ def GetLatestHeight(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @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) + @staticmethod def GetBlockEventsRPC(request, target, diff --git a/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py b/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py index c756382c..2ec5ce74 100644 --- a/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py @@ -13,12 +13,13 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_accounts_rpc.proto\x12\x16injective_accounts_rpc\"+\n\x10PortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"P\n\x11PortfolioResponse\x12;\n\tportfolio\x18\x01 \x01(\x0b\x32(.injective_accounts_rpc.AccountPortfolio\"\xb8\x01\n\x10\x41\x63\x63ountPortfolio\x12\x17\n\x0fportfolio_value\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\x12@\n\x0bsubaccounts\x18\x05 \x03(\x0b\x32+.injective_accounts_rpc.SubaccountPortfolio\"w\n\x13SubaccountPortfolio\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\"P\n\x12OrderStatesRequest\x12\x19\n\x11spot_order_hashes\x18\x01 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x02 \x03(\t\"\xa5\x01\n\x13OrderStatesResponse\x12\x43\n\x11spot_order_states\x18\x01 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\x12I\n\x17\x64\x65rivative_order_states\x18\x02 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\"\xe4\x01\n\x10OrderStateRecord\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x12\n\norder_type\x18\x04 \x01(\t\x12\x12\n\norder_side\x18\x05 \x01(\t\x12\r\n\x05state\x18\x06 \x01(\t\x12\x17\n\x0fquantity_filled\x18\x07 \x01(\t\x12\x1a\n\x12quantity_remaining\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\x12\x12\x12\n\nupdated_at\x18\n \x01(\x12\"1\n\x16SubaccountsListRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\".\n\x17SubaccountsListResponse\x12\x13\n\x0bsubaccounts\x18\x01 \x03(\t\"F\n\x1dSubaccountBalancesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"]\n\x1eSubaccountBalancesListResponse\x12;\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"\x8e\x01\n\x11SubaccountBalance\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x03 \x01(\t\x12:\n\x07\x64\x65posit\x18\x04 \x01(\x0b\x32).injective_accounts_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"@\n\x18SubaccountBalanceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"W\n\x19SubaccountBalanceResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"G\n\x1eStreamSubaccountBalanceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"p\n\x1fStreamSubaccountBalanceResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\x87\x01\n\x18SubaccountHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x16\n\x0etransfer_types\x18\x03 \x03(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\"\x91\x01\n\x19SubaccountHistoryResponse\x12\x44\n\ttransfers\x18\x01 \x03(\x0b\x32\x31.injective_accounts_rpc.SubaccountBalanceTransfer\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_accounts_rpc.Paging\"\xeb\x01\n\x19SubaccountBalanceTransfer\x12\x15\n\rtransfer_type\x18\x01 \x01(\t\x12\x19\n\x11src_subaccount_id\x18\x02 \x01(\t\x12\x1b\n\x13src_account_address\x18\x03 \x01(\t\x12\x19\n\x11\x64st_subaccount_id\x18\x04 \x01(\t\x12\x1b\n\x13\x64st_account_address\x18\x05 \x01(\t\x12\x32\n\x06\x61mount\x18\x06 \x01(\x0b\x32\".injective_accounts_rpc.CosmosCoin\x12\x13\n\x0b\x65xecuted_at\x18\x07 \x01(\x12\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"b\n\x1dSubaccountOrderSummaryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0forder_direction\x18\x03 \x01(\t\"\\\n\x1eSubaccountOrderSummaryResponse\x12\x19\n\x11spot_orders_total\x18\x01 \x01(\x12\x12\x1f\n\x17\x64\x65rivative_orders_total\x18\x02 \x01(\x12\"8\n\x0eRewardsRequest\x12\r\n\x05\x65poch\x18\x01 \x01(\x12\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"B\n\x0fRewardsResponse\x12/\n\x07rewards\x18\x01 \x03(\x0b\x32\x1e.injective_accounts_rpc.Reward\"h\n\x06Reward\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12-\n\x07rewards\x18\x02 \x03(\x0b\x32\x1c.injective_accounts_rpc.Coin\x12\x16\n\x0e\x64istributed_at\x18\x03 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xd0\x08\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\x80\x01\n\x19SubaccountBalanceEndpoint\x12\x30.injective_accounts_rpc.SubaccountBalanceRequest\x1a\x31.injective_accounts_rpc.SubaccountBalanceResponse\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.RewardsResponseB\x1bZ\x19/injective_accounts_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_accounts_rpc.proto\x12\x16injective_accounts_rpc\"+\n\x10PortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"P\n\x11PortfolioResponse\x12;\n\tportfolio\x18\x01 \x01(\x0b\x32(.injective_accounts_rpc.AccountPortfolio\"\xb8\x01\n\x10\x41\x63\x63ountPortfolio\x12\x17\n\x0fportfolio_value\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\x12@\n\x0bsubaccounts\x18\x05 \x03(\x0b\x32+.injective_accounts_rpc.SubaccountPortfolio\"w\n\x13SubaccountPortfolio\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\"P\n\x12OrderStatesRequest\x12\x19\n\x11spot_order_hashes\x18\x01 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x02 \x03(\t\"\xa5\x01\n\x13OrderStatesResponse\x12\x43\n\x11spot_order_states\x18\x01 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\x12I\n\x17\x64\x65rivative_order_states\x18\x02 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\"\xe4\x01\n\x10OrderStateRecord\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x12\n\norder_type\x18\x04 \x01(\t\x12\x12\n\norder_side\x18\x05 \x01(\t\x12\r\n\x05state\x18\x06 \x01(\t\x12\x17\n\x0fquantity_filled\x18\x07 \x01(\t\x12\x1a\n\x12quantity_remaining\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\x12\x12\x12\n\nupdated_at\x18\n \x01(\x12\"1\n\x16SubaccountsListRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\".\n\x17SubaccountsListResponse\x12\x13\n\x0bsubaccounts\x18\x01 \x03(\t\"F\n\x1dSubaccountBalancesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"]\n\x1eSubaccountBalancesListResponse\x12;\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"\x8e\x01\n\x11SubaccountBalance\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x03 \x01(\t\x12:\n\x07\x64\x65posit\x18\x04 \x01(\x0b\x32).injective_accounts_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"H\n SubaccountBalanceEndpointRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"_\n!SubaccountBalanceEndpointResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"G\n\x1eStreamSubaccountBalanceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"p\n\x1fStreamSubaccountBalanceResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\x87\x01\n\x18SubaccountHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x16\n\x0etransfer_types\x18\x03 \x03(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\"\x91\x01\n\x19SubaccountHistoryResponse\x12\x44\n\ttransfers\x18\x01 \x03(\x0b\x32\x31.injective_accounts_rpc.SubaccountBalanceTransfer\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_accounts_rpc.Paging\"\xeb\x01\n\x19SubaccountBalanceTransfer\x12\x15\n\rtransfer_type\x18\x01 \x01(\t\x12\x19\n\x11src_subaccount_id\x18\x02 \x01(\t\x12\x1b\n\x13src_account_address\x18\x03 \x01(\t\x12\x19\n\x11\x64st_subaccount_id\x18\x04 \x01(\t\x12\x1b\n\x13\x64st_account_address\x18\x05 \x01(\t\x12\x32\n\x06\x61mount\x18\x06 \x01(\x0b\x32\".injective_accounts_rpc.CosmosCoin\x12\x13\n\x0b\x65xecuted_at\x18\x07 \x01(\x12\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"b\n\x1dSubaccountOrderSummaryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0forder_direction\x18\x03 \x01(\t\"\\\n\x1eSubaccountOrderSummaryResponse\x12\x19\n\x11spot_orders_total\x18\x01 \x01(\x12\x12\x1f\n\x17\x64\x65rivative_orders_total\x18\x02 \x01(\x12\"8\n\x0eRewardsRequest\x12\r\n\x05\x65poch\x18\x01 \x01(\x12\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"B\n\x0fRewardsResponse\x12/\n\x07rewards\x18\x01 \x03(\x0b\x32\x1e.injective_accounts_rpc.Reward\"h\n\x06Reward\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12-\n\x07rewards\x18\x02 \x03(\x0b\x32\x1c.injective_accounts_rpc.Coin\x12\x16\n\x0e\x64istributed_at\x18\x03 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xe0\x08\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.RewardsResponseB\x1bZ\x19/injective_accounts_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_accounts_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\031/injective_accounts_rpcpb' _globals['_PORTFOLIOREQUEST']._serialized_start=65 @@ -47,36 +48,36 @@ _globals['_SUBACCOUNTBALANCE']._serialized_end=1390 _globals['_SUBACCOUNTDEPOSIT']._serialized_start=1392 _globals['_SUBACCOUNTDEPOSIT']._serialized_end=1461 - _globals['_SUBACCOUNTBALANCEREQUEST']._serialized_start=1463 - _globals['_SUBACCOUNTBALANCEREQUEST']._serialized_end=1527 - _globals['_SUBACCOUNTBALANCERESPONSE']._serialized_start=1529 - _globals['_SUBACCOUNTBALANCERESPONSE']._serialized_end=1616 - _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_start=1618 - _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_end=1689 - _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_start=1691 - _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_end=1803 - _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_start=1806 - _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_end=1941 - _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_start=1944 - _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_end=2089 - _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_start=2092 - _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_end=2327 - _globals['_COSMOSCOIN']._serialized_start=2329 - _globals['_COSMOSCOIN']._serialized_end=2372 - _globals['_PAGING']._serialized_start=2374 - _globals['_PAGING']._serialized_end=2452 - _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_start=2454 - _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_end=2552 - _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_start=2554 - _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_end=2646 - _globals['_REWARDSREQUEST']._serialized_start=2648 - _globals['_REWARDSREQUEST']._serialized_end=2704 - _globals['_REWARDSRESPONSE']._serialized_start=2706 - _globals['_REWARDSRESPONSE']._serialized_end=2772 - _globals['_REWARD']._serialized_start=2774 - _globals['_REWARD']._serialized_end=2878 - _globals['_COIN']._serialized_start=2880 - _globals['_COIN']._serialized_end=2917 - _globals['_INJECTIVEACCOUNTSRPC']._serialized_start=2920 - _globals['_INJECTIVEACCOUNTSRPC']._serialized_end=4024 + _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_start=1463 + _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_end=1535 + _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_start=1537 + _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_end=1632 + _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_start=1634 + _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_end=1705 + _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_start=1707 + _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_end=1819 + _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_start=1822 + _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_end=1957 + _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_start=1960 + _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_end=2105 + _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_start=2108 + _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_end=2343 + _globals['_COSMOSCOIN']._serialized_start=2345 + _globals['_COSMOSCOIN']._serialized_end=2388 + _globals['_PAGING']._serialized_start=2390 + _globals['_PAGING']._serialized_end=2482 + _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_start=2484 + _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_end=2582 + _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_start=2584 + _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_end=2676 + _globals['_REWARDSREQUEST']._serialized_start=2678 + _globals['_REWARDSREQUEST']._serialized_end=2734 + _globals['_REWARDSRESPONSE']._serialized_start=2736 + _globals['_REWARDSRESPONSE']._serialized_end=2802 + _globals['_REWARD']._serialized_start=2804 + _globals['_REWARD']._serialized_end=2908 + _globals['_COIN']._serialized_start=2910 + _globals['_COIN']._serialized_end=2947 + _globals['_INJECTIVEACCOUNTSRPC']._serialized_start=2950 + _globals['_INJECTIVEACCOUNTSRPC']._serialized_end=4070 # @@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 index dd72a511..7c74ed6f 100644 --- a/pyinjective/proto/exchange/injective_accounts_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_accounts_rpc_pb2_grpc.py @@ -6,7 +6,7 @@ class InjectiveAccountsRPCStub(object): - """InjectiveAccountsRPC defines gRPC API of Exchange Accounts provider. + """InjectiveAccountsRPC defines API of Exchange Accounts provider. """ def __init__(self, channel): @@ -37,8 +37,8 @@ def __init__(self, channel): ) self.SubaccountBalanceEndpoint = channel.unary_unary( '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint', - request_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceRequest.SerializeToString, - response_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceResponse.FromString, + request_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceEndpointRequest.SerializeToString, + response_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceEndpointResponse.FromString, ) self.StreamSubaccountBalance = channel.unary_stream( '/injective_accounts_rpc.InjectiveAccountsRPC/StreamSubaccountBalance', @@ -63,7 +63,7 @@ def __init__(self, channel): class InjectiveAccountsRPCServicer(object): - """InjectiveAccountsRPC defines gRPC API of Exchange Accounts provider. + """InjectiveAccountsRPC defines API of Exchange Accounts provider. """ def Portfolio(self, request, context): @@ -156,8 +156,8 @@ def add_InjectiveAccountsRPCServicer_to_server(servicer, server): ), 'SubaccountBalanceEndpoint': grpc.unary_unary_rpc_method_handler( servicer.SubaccountBalanceEndpoint, - request_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceRequest.FromString, - response_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceResponse.SerializeToString, + 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, @@ -187,7 +187,7 @@ def add_InjectiveAccountsRPCServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class InjectiveAccountsRPC(object): - """InjectiveAccountsRPC defines gRPC API of Exchange Accounts provider. + """InjectiveAccountsRPC defines API of Exchange Accounts provider. """ @staticmethod @@ -270,8 +270,8 @@ def SubaccountBalanceEndpoint(request, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint', - exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceRequest.SerializeToString, - exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceResponse.FromString, + 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) diff --git a/pyinjective/proto/exchange/injective_auction_rpc_pb2.py b/pyinjective/proto/exchange/injective_auction_rpc_pb2.py index c77b5803..6b89271a 100644 --- a/pyinjective/proto/exchange/injective_auction_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_auction_rpc_pb2.py @@ -13,32 +13,33 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_auction_rpc.proto\x12\x15injective_auction_rpc\"\x1f\n\x0e\x41uctionRequest\x12\r\n\x05round\x18\x01 \x01(\x12\"l\n\x0f\x41uctionResponse\x12/\n\x07\x61uction\x18\x01 \x01(\x0b\x32\x1e.injective_auction_rpc.Auction\x12(\n\x04\x62ids\x18\x02 \x03(\x0b\x32\x1a.injective_auction_rpc.Bid\"\x9c\x01\n\x07\x41uction\x12\x0e\n\x06winner\x18\x01 \x01(\t\x12+\n\x06\x62\x61sket\x18\x02 \x03(\x0b\x32\x1b.injective_auction_rpc.Coin\x12\x1a\n\x12winning_bid_amount\x18\x03 \x01(\t\x12\r\n\x05round\x18\x04 \x01(\x04\x12\x15\n\rend_timestamp\x18\x05 \x01(\x12\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"8\n\x03\x42id\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x11\n\x0f\x41uctionsRequest\"D\n\x10\x41uctionsResponse\x12\x30\n\x08\x61uctions\x18\x01 \x03(\x0b\x32\x1e.injective_auction_rpc.Auction\"\x13\n\x11StreamBidsRequest\"Z\n\x12StreamBidsResponse\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12\x12\n\nbid_amount\x18\x02 \x01(\t\x12\r\n\x05round\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\x32\xb9\x02\n\x13InjectiveAuctionRPC\x12`\n\x0f\x41uctionEndpoint\x12%.injective_auction_rpc.AuctionRequest\x1a&.injective_auction_rpc.AuctionResponse\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\x1aZ\x18/injective_auction_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_auction_rpc.proto\x12\x15injective_auction_rpc\"\'\n\x16\x41uctionEndpointRequest\x12\r\n\x05round\x18\x01 \x01(\x12\"t\n\x17\x41uctionEndpointResponse\x12/\n\x07\x61uction\x18\x01 \x01(\x0b\x32\x1e.injective_auction_rpc.Auction\x12(\n\x04\x62ids\x18\x02 \x03(\x0b\x32\x1a.injective_auction_rpc.Bid\"\x9c\x01\n\x07\x41uction\x12\x0e\n\x06winner\x18\x01 \x01(\t\x12+\n\x06\x62\x61sket\x18\x02 \x03(\x0b\x32\x1b.injective_auction_rpc.Coin\x12\x1a\n\x12winning_bid_amount\x18\x03 \x01(\t\x12\r\n\x05round\x18\x04 \x01(\x04\x12\x15\n\rend_timestamp\x18\x05 \x01(\x12\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"8\n\x03\x42id\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x11\n\x0f\x41uctionsRequest\"D\n\x10\x41uctionsResponse\x12\x30\n\x08\x61uctions\x18\x01 \x03(\x0b\x32\x1e.injective_auction_rpc.Auction\"\x13\n\x11StreamBidsRequest\"Z\n\x12StreamBidsResponse\x12\x0e\n\x06\x62idder\x18\x01 \x01(\t\x12\x12\n\nbid_amount\x18\x02 \x01(\t\x12\r\n\x05round\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\x32\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\x1aZ\x18/injective_auction_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_auction_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\030/injective_auction_rpcpb' - _globals['_AUCTIONREQUEST']._serialized_start=63 - _globals['_AUCTIONREQUEST']._serialized_end=94 - _globals['_AUCTIONRESPONSE']._serialized_start=96 - _globals['_AUCTIONRESPONSE']._serialized_end=204 - _globals['_AUCTION']._serialized_start=207 - _globals['_AUCTION']._serialized_end=363 - _globals['_COIN']._serialized_start=365 - _globals['_COIN']._serialized_end=402 - _globals['_BID']._serialized_start=404 - _globals['_BID']._serialized_end=460 - _globals['_AUCTIONSREQUEST']._serialized_start=462 - _globals['_AUCTIONSREQUEST']._serialized_end=479 - _globals['_AUCTIONSRESPONSE']._serialized_start=481 - _globals['_AUCTIONSRESPONSE']._serialized_end=549 - _globals['_STREAMBIDSREQUEST']._serialized_start=551 - _globals['_STREAMBIDSREQUEST']._serialized_end=570 - _globals['_STREAMBIDSRESPONSE']._serialized_start=572 - _globals['_STREAMBIDSRESPONSE']._serialized_end=662 - _globals['_INJECTIVEAUCTIONRPC']._serialized_start=665 - _globals['_INJECTIVEAUCTIONRPC']._serialized_end=978 + _globals['_AUCTIONENDPOINTREQUEST']._serialized_start=63 + _globals['_AUCTIONENDPOINTREQUEST']._serialized_end=102 + _globals['_AUCTIONENDPOINTRESPONSE']._serialized_start=104 + _globals['_AUCTIONENDPOINTRESPONSE']._serialized_end=220 + _globals['_AUCTION']._serialized_start=223 + _globals['_AUCTION']._serialized_end=379 + _globals['_COIN']._serialized_start=381 + _globals['_COIN']._serialized_end=418 + _globals['_BID']._serialized_start=420 + _globals['_BID']._serialized_end=476 + _globals['_AUCTIONSREQUEST']._serialized_start=478 + _globals['_AUCTIONSREQUEST']._serialized_end=495 + _globals['_AUCTIONSRESPONSE']._serialized_start=497 + _globals['_AUCTIONSRESPONSE']._serialized_end=565 + _globals['_STREAMBIDSREQUEST']._serialized_start=567 + _globals['_STREAMBIDSREQUEST']._serialized_end=586 + _globals['_STREAMBIDSRESPONSE']._serialized_start=588 + _globals['_STREAMBIDSRESPONSE']._serialized_end=678 + _globals['_INJECTIVEAUCTIONRPC']._serialized_start=681 + _globals['_INJECTIVEAUCTIONRPC']._serialized_end=1010 # @@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 index 72308a06..b1ca37e3 100644 --- a/pyinjective/proto/exchange/injective_auction_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_auction_rpc_pb2_grpc.py @@ -17,8 +17,8 @@ def __init__(self, channel): """ self.AuctionEndpoint = channel.unary_unary( '/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint', - request_serializer=exchange_dot_injective__auction__rpc__pb2.AuctionRequest.SerializeToString, - response_deserializer=exchange_dot_injective__auction__rpc__pb2.AuctionResponse.FromString, + request_serializer=exchange_dot_injective__auction__rpc__pb2.AuctionEndpointRequest.SerializeToString, + response_deserializer=exchange_dot_injective__auction__rpc__pb2.AuctionEndpointResponse.FromString, ) self.Auctions = channel.unary_unary( '/injective_auction_rpc.InjectiveAuctionRPC/Auctions', @@ -62,8 +62,8 @@ 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.AuctionRequest.FromString, - response_serializer=exchange_dot_injective__auction__rpc__pb2.AuctionResponse.SerializeToString, + 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, @@ -98,8 +98,8 @@ def AuctionEndpoint(request, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint', - exchange_dot_injective__auction__rpc__pb2.AuctionRequest.SerializeToString, - exchange_dot_injective__auction__rpc__pb2.AuctionResponse.FromString, + 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) diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py index 37a3554a..c5f6caf2 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py @@ -13,156 +13,141 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"<\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"%\n\x10OrderbookRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"c\n\x11OrderbookResponse\x12N\n\torderbook\x18\x01 \x01(\x0b\x32;.injective_derivative_exchange_rpc.DerivativeLimitOrderbook\"\x95\x01\n\x18\x44\x65rivativeLimitOrderbook\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xa9\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"\'\n\x11OrderbooksRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"k\n\x12OrderbooksResponse\x12U\n\norderbooks\x18\x01 \x03(\x0b\x32\x41.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbook\"\x83\x01\n\x1eSingleDerivativeLimitOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12N\n\torderbook\x18\x02 \x01(\x0b\x32;.injective_derivative_exchange_rpc.DerivativeLimitOrderbook\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\",\n\x16StreamOrderbookRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xa7\x01\n\x17StreamOrderbookResponse\x12N\n\torderbook\x18\x01 \x01(\x0b\x32;.injective_derivative_exchange_rpc.DerivativeLimitOrderbook\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\x8b\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xba\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\x91\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xec\x01\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xc2\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\xf2\x01\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xff\x01\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x9f\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\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\x12v\n\tOrderbook\x12\x33.injective_derivative_exchange_rpc.OrderbookRequest\x1a\x34.injective_derivative_exchange_rpc.OrderbookResponse\x12|\n\x0bOrderbookV2\x12\x35.injective_derivative_exchange_rpc.OrderbookV2Request\x1a\x36.injective_derivative_exchange_rpc.OrderbookV2Response\x12y\n\nOrderbooks\x12\x34.injective_derivative_exchange_rpc.OrderbooksRequest\x1a\x35.injective_derivative_exchange_rpc.OrderbooksResponse\x12\x7f\n\x0cOrderbooksV2\x12\x36.injective_derivative_exchange_rpc.OrderbooksV2Request\x1a\x37.injective_derivative_exchange_rpc.OrderbooksV2Response\x12\x8a\x01\n\x0fStreamOrderbook\x12\x39.injective_derivative_exchange_rpc.StreamOrderbookRequest\x1a:.injective_derivative_exchange_rpc.StreamOrderbookResponse0\x01\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\x9d\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcb\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xa3\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xc2\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xc2\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xb0\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\x17\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_derivative_exchange_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z$/injective_derivative_exchange_rpcpb' _globals['_MARKETSREQUEST']._serialized_start=87 - _globals['_MARKETSREQUEST']._serialized_end=147 - _globals['_MARKETSRESPONSE']._serialized_start=149 - _globals['_MARKETSRESPONSE']._serialized_end=240 - _globals['_DERIVATIVEMARKETINFO']._serialized_start=243 - _globals['_DERIVATIVEMARKETINFO']._serialized_end=1010 - _globals['_TOKENMETA']._serialized_start=1012 - _globals['_TOKENMETA']._serialized_end=1122 - _globals['_PERPETUALMARKETINFO']._serialized_start=1125 - _globals['_PERPETUALMARKETINFO']._serialized_end=1267 - _globals['_PERPETUALMARKETFUNDING']._serialized_start=1269 - _globals['_PERPETUALMARKETFUNDING']._serialized_end=1371 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=1373 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=1454 - _globals['_MARKETREQUEST']._serialized_start=1456 - _globals['_MARKETREQUEST']._serialized_end=1490 - _globals['_MARKETRESPONSE']._serialized_start=1492 - _globals['_MARKETRESPONSE']._serialized_end=1581 - _globals['_STREAMMARKETREQUEST']._serialized_start=1583 - _globals['_STREAMMARKETREQUEST']._serialized_end=1624 - _globals['_STREAMMARKETRESPONSE']._serialized_start=1627 - _globals['_STREAMMARKETRESPONSE']._serialized_end=1765 - _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_start=1767 - _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_end=1869 - _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_start=1872 - _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_end=2038 - _globals['_BINARYOPTIONSMARKETINFO']._serialized_start=2041 - _globals['_BINARYOPTIONSMARKETINFO']._serialized_end=2540 - _globals['_PAGING']._serialized_start=2542 - _globals['_PAGING']._serialized_end=2620 - _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_start=2622 - _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_end=2669 - _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_start=2671 - _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_end=2776 - _globals['_ORDERBOOKREQUEST']._serialized_start=2778 - _globals['_ORDERBOOKREQUEST']._serialized_end=2815 - _globals['_ORDERBOOKRESPONSE']._serialized_start=2817 - _globals['_ORDERBOOKRESPONSE']._serialized_end=2916 - _globals['_DERIVATIVELIMITORDERBOOK']._serialized_start=2919 - _globals['_DERIVATIVELIMITORDERBOOK']._serialized_end=3068 - _globals['_PRICELEVEL']._serialized_start=3070 - _globals['_PRICELEVEL']._serialized_end=3134 - _globals['_ORDERBOOKV2REQUEST']._serialized_start=3136 - _globals['_ORDERBOOKV2REQUEST']._serialized_end=3175 - _globals['_ORDERBOOKV2RESPONSE']._serialized_start=3177 - _globals['_ORDERBOOKV2RESPONSE']._serialized_end=3280 - _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_start=3283 - _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_end=3452 - _globals['_ORDERBOOKSREQUEST']._serialized_start=3454 - _globals['_ORDERBOOKSREQUEST']._serialized_end=3493 - _globals['_ORDERBOOKSRESPONSE']._serialized_start=3495 - _globals['_ORDERBOOKSRESPONSE']._serialized_end=3602 - _globals['_SINGLEDERIVATIVELIMITORDERBOOK']._serialized_start=3605 - _globals['_SINGLEDERIVATIVELIMITORDERBOOK']._serialized_end=3736 - _globals['_ORDERBOOKSV2REQUEST']._serialized_start=3738 - _globals['_ORDERBOOKSV2REQUEST']._serialized_end=3779 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=3781 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=3892 - _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_start=3895 - _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_end=4030 - _globals['_STREAMORDERBOOKREQUEST']._serialized_start=4032 - _globals['_STREAMORDERBOOKREQUEST']._serialized_end=4076 - _globals['_STREAMORDERBOOKRESPONSE']._serialized_start=4079 - _globals['_STREAMORDERBOOKRESPONSE']._serialized_end=4246 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=4248 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=4294 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=4297 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=4468 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=4470 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=4520 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=4523 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=4707 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=4710 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=4925 - _globals['_PRICELEVELUPDATE']._serialized_start=4927 - _globals['_PRICELEVELUPDATE']._serialized_end=5016 - _globals['_ORDERSREQUEST']._serialized_start=5019 - _globals['_ORDERSREQUEST']._serialized_end=5286 - _globals['_ORDERSRESPONSE']._serialized_start=5289 - _globals['_ORDERSRESPONSE']._serialized_end=5437 - _globals['_DERIVATIVELIMITORDER']._serialized_start=5440 - _globals['_DERIVATIVELIMITORDER']._serialized_end=5882 - _globals['_POSITIONSREQUEST']._serialized_start=5885 - _globals['_POSITIONSREQUEST']._serialized_end=6087 - _globals['_POSITIONSRESPONSE']._serialized_start=6090 - _globals['_POSITIONSRESPONSE']._serialized_end=6242 - _globals['_DERIVATIVEPOSITION']._serialized_start=6245 - _globals['_DERIVATIVEPOSITION']._serialized_end=6524 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=6526 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=6602 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=6604 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6707 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6710 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6843 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6846 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6999 - _globals['_FUNDINGPAYMENT']._serialized_start=7001 - _globals['_FUNDINGPAYMENT']._serialized_end=7094 - _globals['_FUNDINGRATESREQUEST']._serialized_start=7096 - _globals['_FUNDINGRATESREQUEST']._serialized_end=7183 - _globals['_FUNDINGRATESRESPONSE']._serialized_start=7186 - _globals['_FUNDINGRATESRESPONSE']._serialized_end=7338 - _globals['_FUNDINGRATE']._serialized_start=7340 - _globals['_FUNDINGRATE']._serialized_end=7405 - _globals['_STREAMPOSITIONSREQUEST']._serialized_start=7407 - _globals['_STREAMPOSITIONSREQUEST']._serialized_end=7517 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=7519 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=7636 - _globals['_STREAMORDERSREQUEST']._serialized_start=7639 - _globals['_STREAMORDERSREQUEST']._serialized_end=7912 - _globals['_STREAMORDERSRESPONSE']._serialized_start=7915 - _globals['_STREAMORDERSRESPONSE']._serialized_end=8052 - _globals['_TRADESREQUEST']._serialized_start=8055 - _globals['_TRADESREQUEST']._serialized_end=8291 - _globals['_TRADESRESPONSE']._serialized_start=8294 - _globals['_TRADESRESPONSE']._serialized_end=8437 - _globals['_DERIVATIVETRADE']._serialized_start=8440 - _globals['_DERIVATIVETRADE']._serialized_end=8762 - _globals['_POSITIONDELTA']._serialized_start=8764 - _globals['_POSITIONDELTA']._serialized_end=8883 - _globals['_STREAMTRADESREQUEST']._serialized_start=8886 - _globals['_STREAMTRADESREQUEST']._serialized_end=9128 - _globals['_STREAMTRADESRESPONSE']._serialized_start=9131 - _globals['_STREAMTRADESRESPONSE']._serialized_end=9263 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=9265 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=9365 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=9368 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=9530 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=9533 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9676 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9678 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9776 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=9779 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=10034 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=10037 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=10194 - _globals['_DERIVATIVEORDERHISTORY']._serialized_start=10197 - _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10612 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10615 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10765 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10768 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10914 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10917 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=14316 + _globals['_MARKETSREQUEST']._serialized_end=172 + _globals['_MARKETSRESPONSE']._serialized_start=174 + _globals['_MARKETSRESPONSE']._serialized_end=265 + _globals['_DERIVATIVEMARKETINFO']._serialized_start=268 + _globals['_DERIVATIVEMARKETINFO']._serialized_end=1035 + _globals['_TOKENMETA']._serialized_start=1037 + _globals['_TOKENMETA']._serialized_end=1147 + _globals['_PERPETUALMARKETINFO']._serialized_start=1150 + _globals['_PERPETUALMARKETINFO']._serialized_end=1292 + _globals['_PERPETUALMARKETFUNDING']._serialized_start=1294 + _globals['_PERPETUALMARKETFUNDING']._serialized_end=1396 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=1398 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=1479 + _globals['_MARKETREQUEST']._serialized_start=1481 + _globals['_MARKETREQUEST']._serialized_end=1515 + _globals['_MARKETRESPONSE']._serialized_start=1517 + _globals['_MARKETRESPONSE']._serialized_end=1606 + _globals['_STREAMMARKETREQUEST']._serialized_start=1608 + _globals['_STREAMMARKETREQUEST']._serialized_end=1649 + _globals['_STREAMMARKETRESPONSE']._serialized_start=1652 + _globals['_STREAMMARKETRESPONSE']._serialized_end=1790 + _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_start=1792 + _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_end=1894 + _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_start=1897 + _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_end=2063 + _globals['_BINARYOPTIONSMARKETINFO']._serialized_start=2066 + _globals['_BINARYOPTIONSMARKETINFO']._serialized_end=2565 + _globals['_PAGING']._serialized_start=2567 + _globals['_PAGING']._serialized_end=2659 + _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_start=2661 + _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_end=2708 + _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_start=2710 + _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_end=2815 + _globals['_ORDERBOOKV2REQUEST']._serialized_start=2817 + _globals['_ORDERBOOKV2REQUEST']._serialized_end=2856 + _globals['_ORDERBOOKV2RESPONSE']._serialized_start=2858 + _globals['_ORDERBOOKV2RESPONSE']._serialized_end=2961 + _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_start=2964 + _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_end=3152 + _globals['_PRICELEVEL']._serialized_start=3154 + _globals['_PRICELEVEL']._serialized_end=3218 + _globals['_ORDERBOOKSV2REQUEST']._serialized_start=3220 + _globals['_ORDERBOOKSV2REQUEST']._serialized_end=3261 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=3263 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=3374 + _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_start=3377 + _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_end=3512 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=3514 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=3560 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=3563 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=3734 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=3736 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=3786 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=3789 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=3973 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=3976 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=4191 + _globals['_PRICELEVELUPDATE']._serialized_start=4193 + _globals['_PRICELEVELUPDATE']._serialized_end=4282 + _globals['_ORDERSREQUEST']._serialized_start=4285 + _globals['_ORDERSREQUEST']._serialized_end=4570 + _globals['_ORDERSRESPONSE']._serialized_start=4573 + _globals['_ORDERSRESPONSE']._serialized_end=4721 + _globals['_DERIVATIVELIMITORDER']._serialized_start=4724 + _globals['_DERIVATIVELIMITORDER']._serialized_end=5183 + _globals['_POSITIONSREQUEST']._serialized_start=5186 + _globals['_POSITIONSREQUEST']._serialized_end=5388 + _globals['_POSITIONSRESPONSE']._serialized_start=5391 + _globals['_POSITIONSRESPONSE']._serialized_end=5543 + _globals['_DERIVATIVEPOSITION']._serialized_start=5546 + _globals['_DERIVATIVEPOSITION']._serialized_end=5825 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=5827 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=5903 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=5905 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6008 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6011 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6144 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6147 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6300 + _globals['_FUNDINGPAYMENT']._serialized_start=6302 + _globals['_FUNDINGPAYMENT']._serialized_end=6395 + _globals['_FUNDINGRATESREQUEST']._serialized_start=6397 + _globals['_FUNDINGRATESREQUEST']._serialized_end=6484 + _globals['_FUNDINGRATESRESPONSE']._serialized_start=6487 + _globals['_FUNDINGRATESRESPONSE']._serialized_end=6639 + _globals['_FUNDINGRATE']._serialized_start=6641 + _globals['_FUNDINGRATE']._serialized_end=6706 + _globals['_STREAMPOSITIONSREQUEST']._serialized_start=6708 + _globals['_STREAMPOSITIONSREQUEST']._serialized_end=6818 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=6820 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=6937 + _globals['_STREAMORDERSREQUEST']._serialized_start=6940 + _globals['_STREAMORDERSREQUEST']._serialized_end=7231 + _globals['_STREAMORDERSRESPONSE']._serialized_start=7234 + _globals['_STREAMORDERSRESPONSE']._serialized_end=7371 + _globals['_TRADESREQUEST']._serialized_start=7374 + _globals['_TRADESREQUEST']._serialized_end=7653 + _globals['_TRADESRESPONSE']._serialized_start=7656 + _globals['_TRADESRESPONSE']._serialized_end=7799 + _globals['_DERIVATIVETRADE']._serialized_start=7802 + _globals['_DERIVATIVETRADE']._serialized_end=8124 + _globals['_POSITIONDELTA']._serialized_start=8126 + _globals['_POSITIONDELTA']._serialized_end=8245 + _globals['_STREAMTRADESREQUEST']._serialized_start=8248 + _globals['_STREAMTRADESREQUEST']._serialized_end=8533 + _globals['_STREAMTRADESRESPONSE']._serialized_start=8536 + _globals['_STREAMTRADESRESPONSE']._serialized_end=8668 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=8670 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=8770 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=8773 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=8935 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=8938 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9081 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9083 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9181 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=9184 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=9506 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=9509 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=9666 + _globals['_DERIVATIVEORDERHISTORY']._serialized_start=9669 + _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10101 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10104 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10254 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10257 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10403 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10406 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=13421 # @@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 index ccb2e00c..e0099516 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py @@ -41,31 +41,16 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketRequest.SerializeToString, response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketResponse.FromString, ) - self.Orderbook = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbook', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookResponse.FromString, - ) 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, ) - self.Orderbooks = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbooks', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksResponse.FromString, - ) 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, ) - self.StreamOrderbook = channel.unary_stream( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbook', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookResponse.FromString, - ) self.StreamOrderbookV2 = channel.unary_stream( '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookV2', request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookV2Request.SerializeToString, @@ -183,13 +168,6 @@ def BinaryOptionsMarket(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def Orderbook(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 OrderbookV2(self, request, context): """Orderbook gets the Orderbook of a Derivative Market """ @@ -197,13 +175,6 @@ def OrderbookV2(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def Orderbooks(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 OrderbooksV2(self, request, context): """Orderbooks gets the Orderbooks of requested derivative markets """ @@ -211,13 +182,6 @@ def OrderbooksV2(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def StreamOrderbook(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 StreamOrderbookV2(self, request, context): """Stream live snapshot updates of selected derivative market orderbook """ @@ -233,7 +197,7 @@ def StreamOrderbookUpdate(self, request, context): raise NotImplementedError('Method not implemented!') def Orders(self, request, context): - """DerivativeLimitOrders gets the limit orders of a Derivative Market. + """DerivativeLimitOrders gets the limit orders of a derivative Market. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -352,31 +316,16 @@ def add_InjectiveDerivativeExchangeRPCServicer_to_server(servicer, server): request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketRequest.FromString, response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketResponse.SerializeToString, ), - 'Orderbook': grpc.unary_unary_rpc_method_handler( - servicer.Orderbook, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookResponse.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, ), - 'Orderbooks': grpc.unary_unary_rpc_method_handler( - servicer.Orderbooks, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksResponse.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, ), - 'StreamOrderbook': grpc.unary_stream_rpc_method_handler( - servicer.StreamOrderbook, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookResponse.SerializeToString, - ), 'StreamOrderbookV2': grpc.unary_stream_rpc_method_handler( servicer.StreamOrderbookV2, request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookV2Request.FromString, @@ -549,23 +498,6 @@ def BinaryOptionsMarket(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod - def Orderbook(request, - target, - options=(), - channel_credentials=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/Orderbook', - exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod def OrderbookV2(request, target, @@ -583,23 +515,6 @@ def OrderbookV2(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod - def Orderbooks(request, - target, - options=(), - channel_credentials=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/Orderbooks', - exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod def OrderbooksV2(request, target, @@ -617,23 +532,6 @@ def OrderbooksV2(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod - def StreamOrderbook(request, - 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/StreamOrderbook', - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod def StreamOrderbookV2(request, target, diff --git a/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py index eea299f7..8734282d 100644 --- a/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_exchange_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\031/injective_exchange_rpcpb' _globals['_GETTXREQUEST']._serialized_start=65 diff --git a/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py b/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py index 047a633e..6e29c3de 100644 --- a/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py @@ -13,154 +13,163 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_explorer_rpc.proto\x12\x16injective_explorer_rpc\"\xa9\x01\n\x14GetAccountTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0e\n\x06\x62\x65\x66ore\x18\x02 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\x0c\n\x04type\x18\x06 \x01(\t\x12\x0e\n\x06module\x18\x07 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x08 \x01(\x12\x12\x11\n\tto_number\x18\t \x01(\x12\"{\n\x15GetAccountTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"\xc6\x03\n\x0cTxDetailData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x05 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0c\n\x04info\x18\x08 \x01(\t\x12\x12\n\ngas_wanted\x18\t \x01(\x12\x12\x10\n\x08gas_used\x18\n \x01(\x12\x12/\n\x07gas_fee\x18\x0b \x01(\x0b\x32\x1e.injective_explorer_rpc.GasFee\x12\x11\n\tcodespace\x18\x0c \x01(\t\x12-\n\x06\x65vents\x18\r \x03(\x0b\x32\x1d.injective_explorer_rpc.Event\x12\x0f\n\x07tx_type\x18\x0e \x01(\t\x12\x10\n\x08messages\x18\x0f \x01(\x0c\x12\x35\n\nsignatures\x18\x10 \x03(\x0b\x32!.injective_explorer_rpc.Signature\x12\x0c\n\x04memo\x18\x11 \x01(\t\x12\x11\n\ttx_number\x18\x12 \x01(\x04\x12\x1c\n\x14\x62lock_unix_timestamp\x18\x13 \x01(\x04\x12\x11\n\terror_log\x18\x14 \x01(\t\"o\n\x06GasFee\x12\x32\n\x06\x61mount\x18\x01 \x03(\x0b\x32\".injective_explorer_rpc.CosmosCoin\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\r\n\x05payer\x18\x03 \x01(\t\x12\x0f\n\x07granter\x18\x04 \x01(\t\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8b\x01\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x41\n\nattributes\x18\x02 \x03(\x0b\x32-.injective_explorer_rpc.Event.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\tSignature\x12\x0e\n\x06pubkey\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\tsignature\x18\x04 \x01(\t\"m\n\x15GetContractTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\x13\n\x0b\x66rom_number\x18\x04 \x01(\x12\x12\x11\n\tto_number\x18\x05 \x01(\x12\"|\n\x16GetContractTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"@\n\x10GetBlocksRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"t\n\x11GetBlocksResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12/\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32!.injective_explorer_rpc.BlockInfo\"\xd4\x01\n\tBlockInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t\"\xad\x01\n\tTxDataRPC\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\"\x1d\n\x0fGetBlockRequest\x12\n\n\x02id\x18\x01 \x01(\t\"d\n\x10GetBlockResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\'.injective_explorer_rpc.BlockDetailInfo\"\xea\x01\n\x0f\x42lockDetailInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12\x11\n\ttotal_txs\x18\x08 \x01(\x12\x12+\n\x03txs\x18\t \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\x12\x11\n\ttimestamp\x18\n \x01(\t\"\xaa\x01\n\x06TxData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\x0c\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\"\x16\n\x14GetValidatorsRequest\"c\n\x15GetValidatorsResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32!.injective_explorer_rpc.Validator\"\xf0\x04\n\tValidator\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07moniker\x18\x02 \x01(\t\x12\x18\n\x10operator_address\x18\x03 \x01(\t\x12\x19\n\x11\x63onsensus_address\x18\x04 \x01(\t\x12\x0e\n\x06jailed\x18\x05 \x01(\x08\x12\x0e\n\x06status\x18\x06 \x01(\x11\x12\x0e\n\x06tokens\x18\x07 \x01(\t\x12\x18\n\x10\x64\x65legator_shares\x18\x08 \x01(\t\x12\x41\n\x0b\x64\x65scription\x18\t \x01(\x0b\x32,.injective_explorer_rpc.ValidatorDescription\x12\x18\n\x10unbonding_height\x18\n \x01(\x12\x12\x16\n\x0eunbonding_time\x18\x0b \x01(\t\x12\x17\n\x0f\x63ommission_rate\x18\x0c \x01(\t\x12\x1b\n\x13\x63ommission_max_rate\x18\r \x01(\t\x12\"\n\x1a\x63ommission_max_change_rate\x18\x0e \x01(\t\x12\x1e\n\x16\x63ommission_update_time\x18\x0f \x01(\t\x12\x10\n\x08proposed\x18\x10 \x01(\x04\x12\x0e\n\x06signed\x18\x11 \x01(\x04\x12\x0e\n\x06missed\x18\x12 \x01(\x04\x12\x11\n\ttimestamp\x18\x13 \x01(\t\x12\x38\n\x07uptimes\x18\x14 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\x12>\n\x0fslashing_events\x18\x15 \x03(\x0b\x32%.injective_explorer_rpc.SlashingEvent\x12\x19\n\x11uptime_percentage\x18\x16 \x01(\x01\"u\n\x14ValidatorDescription\x12\x0f\n\x07moniker\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0f\n\x07website\x18\x03 \x01(\t\x12\x18\n\x10security_contact\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x05 \x01(\t\"7\n\x0fValidatorUptime\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x0e\n\x06status\x18\x02 \x01(\t\"\x95\x01\n\rSlashingEvent\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\r\n\x05power\x18\x04 \x01(\x04\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x0e\n\x06jailed\x18\x06 \x01(\t\x12\x15\n\rmissed_blocks\x18\x07 \x01(\x04\"&\n\x13GetValidatorRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"b\n\x14GetValidatorResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32!.injective_explorer_rpc.Validator\",\n\x19GetValidatorUptimeRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"n\n\x1aGetValidatorUptimeResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\"\x91\x01\n\rGetTxsRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\x0c\n\x04type\x18\x05 \x01(\t\x12\x0e\n\x06module\x18\x06 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x07 \x01(\x12\x12\x11\n\tto_number\x18\x08 \x01(\x12\"n\n\x0eGetTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12,\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\"$\n\x14GetTxByTxHashRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"f\n\x15GetTxByTxHashResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x32\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32$.injective_explorer_rpc.TxDetailData\"Z\n\x19GetPeggyDepositTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"S\n\x1aGetPeggyDepositTxsResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.PeggyDepositTx\"\xf8\x01\n\x0ePeggyDepositTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\x03 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x04 \x01(\x04\x12\x0e\n\x06\x61mount\x18\x05 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x06 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x07 \x01(\t\x12\r\n\x05state\x18\x08 \x01(\t\x12\x12\n\nclaim_type\x18\t \x01(\x11\x12\x11\n\ttx_hashes\x18\n \x03(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\t\"]\n\x1cGetPeggyWithdrawalTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"Y\n\x1dGetPeggyWithdrawalTxsResponse\x12\x38\n\x05\x66ield\x18\x01 \x03(\x0b\x32).injective_explorer_rpc.PeggyWithdrawalTx\"\xd3\x02\n\x11PeggyWithdrawalTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x04 \x01(\t\x12\x12\n\nbridge_fee\x18\x05 \x01(\t\x12\x16\n\x0eoutgoing_tx_id\x18\x06 \x01(\x04\x12\x15\n\rbatch_timeout\x18\x07 \x01(\x04\x12\x13\n\x0b\x62\x61tch_nonce\x18\x08 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\t \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\n \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x0b \x01(\x04\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\nclaim_type\x18\r \x01(\x11\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"\xa9\x01\n\x18GetIBCTransferTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsrc_channel\x18\x03 \x01(\t\x12\x10\n\x08src_port\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65st_channel\x18\x05 \x01(\t\x12\x11\n\tdest_port\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"Q\n\x19GetIBCTransferTxsResponse\x12\x34\n\x05\x66ield\x18\x01 \x03(\x0b\x32%.injective_explorer_rpc.IBCTransferTx\"\xdc\x02\n\rIBCTransferTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsource_port\x18\x03 \x01(\t\x12\x16\n\x0esource_channel\x18\x04 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x05 \x01(\t\x12\x1b\n\x13\x64\x65stination_channel\x18\x06 \x01(\t\x12\x0e\n\x06\x61mount\x18\x07 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x08 \x01(\t\x12\x16\n\x0etimeout_height\x18\t \x01(\t\x12\x19\n\x11timeout_timestamp\x18\n \x01(\x04\x12\x17\n\x0fpacket_sequence\x18\x0b \x01(\x04\x12\x10\n\x08\x64\x61ta_hex\x18\x0c \x01(\x0c\x12\r\n\x05state\x18\r \x01(\t\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"L\n\x13GetWasmCodesRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x02 \x01(\x12\x12\x11\n\tto_number\x18\x03 \x01(\x12\"v\n\x14GetWasmCodesResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12.\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective_explorer_rpc.WasmCode\"\xd5\x02\n\x08WasmCode\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"+\n\x08\x43hecksum\x12\x11\n\talgorithm\x18\x01 \x01(\t\x12\x0c\n\x04hash\x18\x02 \x01(\t\":\n\x12\x43ontractPermission\x12\x13\n\x0b\x61\x63\x63\x65ss_type\x18\x01 \x01(\x11\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\")\n\x16GetWasmCodeByIDRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x12\"\xe4\x02\n\x17GetWasmCodeByIDResponse\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"\x84\x01\n\x17GetWasmContractsRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x0f\n\x07\x63ode_id\x18\x02 \x01(\x12\x12\x13\n\x0b\x66rom_number\x18\x03 \x01(\x12\x12\x11\n\tto_number\x18\x04 \x01(\x12\x12\x13\n\x0b\x61ssets_only\x18\x05 \x01(\x08\x12\x0c\n\x04skip\x18\x06 \x01(\x12\"~\n\x18GetWasmContractsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.WasmContract\"\xab\x03\n\x0cWasmContract\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"-\n\x0c\x43ontractFund\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8c\x01\n\x0c\x43w20Metadata\x12\x39\n\ntoken_info\x18\x01 \x01(\x0b\x32%.injective_explorer_rpc.Cw20TokenInfo\x12\x41\n\x0emarketing_info\x18\x02 \x01(\x0b\x32).injective_explorer_rpc.Cw20MarketingInfo\"U\n\rCw20TokenInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x03 \x01(\x12\x12\x14\n\x0ctotal_supply\x18\x04 \x01(\t\"Z\n\x11\x43w20MarketingInfo\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04logo\x18\x03 \x01(\t\x12\x11\n\tmarketing\x18\x04 \x01(\x0c\";\n\x1fGetWasmContractByAddressRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"\xbf\x03\n GetWasmContractByAddressResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"7\n\x15GetCw20BalanceRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\"P\n\x16GetCw20BalanceResponse\x12\x36\n\x05\x66ield\x18\x01 \x03(\x0b\x32\'.injective_explorer_rpc.WasmCw20Balance\"\x9e\x01\n\x0fWasmCw20Balance\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x03 \x01(\t\x12\x12\n\nupdated_at\x18\x04 \x01(\x12\x12;\n\rcw20_metadata\x18\x05 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\"&\n\x0fRelayersRequest\x12\x13\n\x0bmarket_i_ds\x18\x01 \x03(\t\"I\n\x10RelayersResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.RelayerMarkets\"V\n\x0eRelayerMarkets\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x31\n\x08relayers\x18\x02 \x03(\x0b\x32\x1f.injective_explorer_rpc.Relayer\"$\n\x07Relayer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x63ta\x18\x02 \x01(\t\"\x12\n\x10StreamTxsRequest\"\xb5\x01\n\x11StreamTxsResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\"\x15\n\x13StreamBlocksRequest\"\xdf\x01\n\x14StreamBlocksResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t2\xd8\x11\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\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\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\x1bZ\x19/injective_explorer_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_explorer_rpc.proto\x12\x16injective_explorer_rpc\"\xdf\x01\n\x14GetAccountTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0e\n\x06\x62\x65\x66ore\x18\x02 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\x0c\n\x04type\x18\x06 \x01(\t\x12\x0e\n\x06module\x18\x07 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x08 \x01(\x12\x12\x11\n\tto_number\x18\t \x01(\x12\x12\x12\n\nstart_time\x18\n \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x0b \x01(\x12\x12\x0e\n\x06status\x18\x0c \x01(\t\"{\n\x15GetAccountTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\xe7\x03\n\x0cTxDetailData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x05 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0c\n\x04info\x18\x08 \x01(\t\x12\x12\n\ngas_wanted\x18\t \x01(\x12\x12\x10\n\x08gas_used\x18\n \x01(\x12\x12/\n\x07gas_fee\x18\x0b \x01(\x0b\x32\x1e.injective_explorer_rpc.GasFee\x12\x11\n\tcodespace\x18\x0c \x01(\t\x12-\n\x06\x65vents\x18\r \x03(\x0b\x32\x1d.injective_explorer_rpc.Event\x12\x0f\n\x07tx_type\x18\x0e \x01(\t\x12\x10\n\x08messages\x18\x0f \x01(\x0c\x12\x35\n\nsignatures\x18\x10 \x03(\x0b\x32!.injective_explorer_rpc.Signature\x12\x0c\n\x04memo\x18\x11 \x01(\t\x12\x11\n\ttx_number\x18\x12 \x01(\x04\x12\x1c\n\x14\x62lock_unix_timestamp\x18\x13 \x01(\x04\x12\x11\n\terror_log\x18\x14 \x01(\t\x12\x0c\n\x04logs\x18\x15 \x01(\x0c\x12\x11\n\tclaim_ids\x18\x16 \x03(\x12\"o\n\x06GasFee\x12\x32\n\x06\x61mount\x18\x01 \x03(\x0b\x32\".injective_explorer_rpc.CosmosCoin\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\r\n\x05payer\x18\x03 \x01(\t\x12\x0f\n\x07granter\x18\x04 \x01(\t\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8b\x01\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x41\n\nattributes\x18\x02 \x03(\x0b\x32-.injective_explorer_rpc.Event.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\tSignature\x12\x0e\n\x06pubkey\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\tsignature\x18\x04 \x01(\t\"m\n\x15GetContractTxsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\x13\n\x0b\x66rom_number\x18\x04 \x01(\x12\x12\x11\n\tto_number\x18\x05 \x01(\x12\"|\n\x16GetContractTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailData\"@\n\x10GetBlocksRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"t\n\x11GetBlocksResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12/\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32!.injective_explorer_rpc.BlockInfo\"\xd4\x01\n\tBlockInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t\"\xc0\x01\n\tTxDataRPC\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\x12\x11\n\tclaim_ids\x18\n \x03(\x12\"\x1d\n\x0fGetBlockRequest\x12\n\n\x02id\x18\x01 \x01(\t\"d\n\x10GetBlockResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\'.injective_explorer_rpc.BlockDetailInfo\"\xea\x01\n\x0f\x42lockDetailInfo\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12\x11\n\ttotal_txs\x18\x08 \x01(\x12\x12+\n\x03txs\x18\t \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\x12\x11\n\ttimestamp\x18\n \x01(\t\"\xe1\x01\n\x06TxData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\x0c\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\x12\x14\n\x0ctx_msg_types\x18\n \x01(\x0c\x12\x0c\n\x04logs\x18\x0b \x01(\x0c\x12\x11\n\tclaim_ids\x18\x0c \x03(\x12\"\x16\n\x14GetValidatorsRequest\"c\n\x15GetValidatorsResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32!.injective_explorer_rpc.Validator\"\x83\x05\n\tValidator\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07moniker\x18\x02 \x01(\t\x12\x18\n\x10operator_address\x18\x03 \x01(\t\x12\x19\n\x11\x63onsensus_address\x18\x04 \x01(\t\x12\x0e\n\x06jailed\x18\x05 \x01(\x08\x12\x0e\n\x06status\x18\x06 \x01(\x11\x12\x0e\n\x06tokens\x18\x07 \x01(\t\x12\x18\n\x10\x64\x65legator_shares\x18\x08 \x01(\t\x12\x41\n\x0b\x64\x65scription\x18\t \x01(\x0b\x32,.injective_explorer_rpc.ValidatorDescription\x12\x18\n\x10unbonding_height\x18\n \x01(\x12\x12\x16\n\x0eunbonding_time\x18\x0b \x01(\t\x12\x17\n\x0f\x63ommission_rate\x18\x0c \x01(\t\x12\x1b\n\x13\x63ommission_max_rate\x18\r \x01(\t\x12\"\n\x1a\x63ommission_max_change_rate\x18\x0e \x01(\t\x12\x1e\n\x16\x63ommission_update_time\x18\x0f \x01(\t\x12\x10\n\x08proposed\x18\x10 \x01(\x04\x12\x0e\n\x06signed\x18\x11 \x01(\x04\x12\x0e\n\x06missed\x18\x12 \x01(\x04\x12\x11\n\ttimestamp\x18\x13 \x01(\t\x12\x38\n\x07uptimes\x18\x14 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\x12>\n\x0fslashing_events\x18\x15 \x03(\x0b\x32%.injective_explorer_rpc.SlashingEvent\x12\x19\n\x11uptime_percentage\x18\x16 \x01(\x01\x12\x11\n\timage_url\x18\x17 \x01(\t\"\x88\x01\n\x14ValidatorDescription\x12\x0f\n\x07moniker\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0f\n\x07website\x18\x03 \x01(\t\x12\x18\n\x10security_contact\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x05 \x01(\t\x12\x11\n\timage_url\x18\x06 \x01(\t\"7\n\x0fValidatorUptime\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x0e\n\x06status\x18\x02 \x01(\t\"\x95\x01\n\rSlashingEvent\x12\x14\n\x0c\x62lock_number\x18\x01 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\r\n\x05power\x18\x04 \x01(\x04\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x0e\n\x06jailed\x18\x06 \x01(\t\x12\x15\n\rmissed_blocks\x18\x07 \x01(\x04\"&\n\x13GetValidatorRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"b\n\x14GetValidatorResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12/\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32!.injective_explorer_rpc.Validator\",\n\x19GetValidatorUptimeRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"n\n\x1aGetValidatorUptimeResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x35\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptime\"\xc7\x01\n\rGetTxsRequest\x12\x0e\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04\x12\r\n\x05\x61\x66ter\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\x0c\n\x04type\x18\x05 \x01(\t\x12\x0e\n\x06module\x18\x06 \x01(\t\x12\x13\n\x0b\x66rom_number\x18\x07 \x01(\x12\x12\x11\n\tto_number\x18\x08 \x01(\x12\x12\x12\n\nstart_time\x18\t \x01(\x12\x12\x10\n\x08\x65nd_time\x18\n \x01(\x12\x12\x0e\n\x06status\x18\x0b \x01(\t\"n\n\x0eGetTxsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12,\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x1e.injective_explorer_rpc.TxData\"$\n\x14GetTxByTxHashRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"f\n\x15GetTxByTxHashResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x32\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32$.injective_explorer_rpc.TxDetailData\"Z\n\x19GetPeggyDepositTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"S\n\x1aGetPeggyDepositTxsResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.PeggyDepositTx\"\xf8\x01\n\x0ePeggyDepositTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\x03 \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x04 \x01(\x04\x12\x0e\n\x06\x61mount\x18\x05 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x06 \x01(\t\x12\x1c\n\x14orchestrator_address\x18\x07 \x01(\t\x12\r\n\x05state\x18\x08 \x01(\t\x12\x12\n\nclaim_type\x18\t \x01(\x11\x12\x11\n\ttx_hashes\x18\n \x03(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\t\"]\n\x1cGetPeggyWithdrawalTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x04\"Y\n\x1dGetPeggyWithdrawalTxsResponse\x12\x38\n\x05\x66ield\x18\x01 \x03(\x0b\x32).injective_explorer_rpc.PeggyWithdrawalTx\"\xd3\x02\n\x11PeggyWithdrawalTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x04 \x01(\t\x12\x12\n\nbridge_fee\x18\x05 \x01(\t\x12\x16\n\x0eoutgoing_tx_id\x18\x06 \x01(\x04\x12\x15\n\rbatch_timeout\x18\x07 \x01(\x04\x12\x13\n\x0b\x62\x61tch_nonce\x18\x08 \x01(\x04\x12\x1c\n\x14orchestrator_address\x18\t \x01(\t\x12\x13\n\x0b\x65vent_nonce\x18\n \x01(\x04\x12\x14\n\x0c\x65vent_height\x18\x0b \x01(\x04\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\nclaim_type\x18\r \x01(\x11\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"\xa9\x01\n\x18GetIBCTransferTxsRequest\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsrc_channel\x18\x03 \x01(\t\x12\x10\n\x08src_port\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65st_channel\x18\x05 \x01(\t\x12\x11\n\tdest_port\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"Q\n\x19GetIBCTransferTxsResponse\x12\x34\n\x05\x66ield\x18\x01 \x03(\x0b\x32%.injective_explorer_rpc.IBCTransferTx\"\xdc\x02\n\rIBCTransferTx\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\x13\n\x0bsource_port\x18\x03 \x01(\t\x12\x16\n\x0esource_channel\x18\x04 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x05 \x01(\t\x12\x1b\n\x13\x64\x65stination_channel\x18\x06 \x01(\t\x12\x0e\n\x06\x61mount\x18\x07 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x08 \x01(\t\x12\x16\n\x0etimeout_height\x18\t \x01(\t\x12\x19\n\x11timeout_timestamp\x18\n \x01(\x04\x12\x17\n\x0fpacket_sequence\x18\x0b \x01(\x04\x12\x10\n\x08\x64\x61ta_hex\x18\x0c \x01(\x0c\x12\r\n\x05state\x18\r \x01(\t\x12\x11\n\ttx_hashes\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\t\x12\x12\n\nupdated_at\x18\x10 \x01(\t\"L\n\x13GetWasmCodesRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x02 \x01(\x12\x12\x11\n\tto_number\x18\x03 \x01(\x12\"v\n\x14GetWasmCodesResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12.\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective_explorer_rpc.WasmCode\"\xd5\x02\n\x08WasmCode\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"+\n\x08\x43hecksum\x12\x11\n\talgorithm\x18\x01 \x01(\t\x12\x0c\n\x04hash\x18\x02 \x01(\t\":\n\x12\x43ontractPermission\x12\x13\n\x0b\x61\x63\x63\x65ss_type\x18\x01 \x01(\x11\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\")\n\x16GetWasmCodeByIDRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x12\"\xe4\x02\n\x17GetWasmCodeByIDResponse\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12\x0f\n\x07tx_hash\x18\x02 \x01(\t\x12\x32\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.Checksum\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x15\n\rcontract_type\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12>\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermission\x12\x13\n\x0b\x63ode_schema\x18\x08 \x01(\t\x12\x11\n\tcode_view\x18\t \x01(\t\x12\x14\n\x0cinstantiates\x18\n \x01(\x04\x12\x0f\n\x07\x63reator\x18\x0b \x01(\t\x12\x13\n\x0b\x63ode_number\x18\x0c \x01(\x12\x12\x13\n\x0bproposal_id\x18\r \x01(\x12\"\x93\x01\n\x17GetWasmContractsRequest\x12\r\n\x05limit\x18\x01 \x01(\x11\x12\x0f\n\x07\x63ode_id\x18\x02 \x01(\x12\x12\x13\n\x0b\x66rom_number\x18\x03 \x01(\x12\x12\x11\n\tto_number\x18\x04 \x01(\x12\x12\x13\n\x0b\x61ssets_only\x18\x05 \x01(\x08\x12\x0c\n\x04skip\x18\x06 \x01(\x12\x12\r\n\x05label\x18\x07 \x01(\t\"~\n\x18GetWasmContractsResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.WasmContract\"\xab\x03\n\x0cWasmContract\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"-\n\x0c\x43ontractFund\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x8c\x01\n\x0c\x43w20Metadata\x12\x39\n\ntoken_info\x18\x01 \x01(\x0b\x32%.injective_explorer_rpc.Cw20TokenInfo\x12\x41\n\x0emarketing_info\x18\x02 \x01(\x0b\x32).injective_explorer_rpc.Cw20MarketingInfo\"U\n\rCw20TokenInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x03 \x01(\x12\x12\x14\n\x0ctotal_supply\x18\x04 \x01(\t\"Z\n\x11\x43w20MarketingInfo\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04logo\x18\x03 \x01(\t\x12\x11\n\tmarketing\x18\x04 \x01(\x0c\";\n\x1fGetWasmContractByAddressRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"\xbf\x03\n GetWasmContractByAddressResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0f\n\x07tx_hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12\x10\n\x08\x65xecutes\x18\x05 \x01(\x04\x12\x17\n\x0finstantiated_at\x18\x06 \x01(\x04\x12\x14\n\x0cinit_message\x18\x07 \x01(\t\x12\x18\n\x10last_executed_at\x18\x08 \x01(\x04\x12\x33\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFund\x12\x0f\n\x07\x63ode_id\x18\n \x01(\x04\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x1f\n\x17\x63urrent_migrate_message\x18\x0c \x01(\t\x12\x17\n\x0f\x63ontract_number\x18\r \x01(\x12\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x0c\n\x04type\x18\x0f \x01(\t\x12;\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\x12\x13\n\x0bproposal_id\x18\x11 \x01(\x12\"7\n\x15GetCw20BalanceRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\"P\n\x16GetCw20BalanceResponse\x12\x36\n\x05\x66ield\x18\x01 \x03(\x0b\x32\'.injective_explorer_rpc.WasmCw20Balance\"\x9e\x01\n\x0fWasmCw20Balance\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x03 \x01(\t\x12\x12\n\nupdated_at\x18\x04 \x01(\x12\x12;\n\rcw20_metadata\x18\x05 \x01(\x0b\x32$.injective_explorer_rpc.Cw20Metadata\"&\n\x0fRelayersRequest\x12\x13\n\x0bmarket_i_ds\x18\x01 \x03(\t\"I\n\x10RelayersResponse\x12\x35\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.RelayerMarkets\"V\n\x0eRelayerMarkets\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x31\n\x08relayers\x18\x02 \x03(\x0b\x32\x1f.injective_explorer_rpc.Relayer\"$\n\x07Relayer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x63ta\x18\x02 \x01(\t\"\xd6\x01\n\x17GetBankTransfersRequest\x12\x0f\n\x07senders\x18\x01 \x03(\t\x12\x12\n\nrecipients\x18\x02 \x03(\t\x12!\n\x19is_community_pool_related\x18\x03 \x01(\x08\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x0f\n\x07\x61\x64\x64ress\x18\x08 \x03(\t\x12\x10\n\x08per_page\x18\t \x01(\x11\x12\r\n\x05token\x18\n \x01(\t\"~\n\x18GetBankTransfersResponse\x12.\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.Paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.BankTransfer\"\x8f\x01\n\x0c\x42\x61nkTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\trecipient\x18\x02 \x01(\t\x12-\n\x07\x61mounts\x18\x03 \x03(\x0b\x32\x1c.injective_explorer_rpc.Coin\x12\x14\n\x0c\x62lock_number\x18\x04 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x05 \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\x12\n\x10StreamTxsRequest\"\xc8\x01\n\x11StreamTxsResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x62lock_number\x18\x02 \x01(\x04\x12\x17\n\x0f\x62lock_timestamp\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x11\n\tcodespace\x18\x05 \x01(\t\x12\x10\n\x08messages\x18\x06 \x01(\t\x12\x11\n\ttx_number\x18\x07 \x01(\x04\x12\x11\n\terror_log\x18\x08 \x01(\t\x12\x0c\n\x04\x63ode\x18\t \x01(\r\x12\x11\n\tclaim_ids\x18\n \x03(\x12\"\x15\n\x13StreamBlocksRequest\"\xdf\x01\n\x14StreamBlocksResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x10\n\x08proposer\x18\x02 \x01(\t\x12\x0f\n\x07moniker\x18\x03 \x01(\t\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x13\n\x0bparent_hash\x18\x05 \x01(\t\x12\x17\n\x0fnum_pre_commits\x18\x06 \x01(\x12\x12\x0f\n\x07num_txs\x18\x07 \x01(\x12\x12.\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPC\x12\x11\n\ttimestamp\x18\t \x01(\t2\xcf\x12\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\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\x1bZ\x19/injective_explorer_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_explorer_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\031/injective_explorer_rpcpb' _EVENT_ATTRIBUTESENTRY._options = None _EVENT_ATTRIBUTESENTRY._serialized_options = b'8\001' _globals['_GETACCOUNTTXSREQUEST']._serialized_start=66 - _globals['_GETACCOUNTTXSREQUEST']._serialized_end=235 - _globals['_GETACCOUNTTXSRESPONSE']._serialized_start=237 - _globals['_GETACCOUNTTXSRESPONSE']._serialized_end=360 - _globals['_PAGING']._serialized_start=362 - _globals['_PAGING']._serialized_end=440 - _globals['_TXDETAILDATA']._serialized_start=443 - _globals['_TXDETAILDATA']._serialized_end=897 - _globals['_GASFEE']._serialized_start=899 - _globals['_GASFEE']._serialized_end=1010 - _globals['_COSMOSCOIN']._serialized_start=1012 - _globals['_COSMOSCOIN']._serialized_end=1055 - _globals['_EVENT']._serialized_start=1058 - _globals['_EVENT']._serialized_end=1197 - _globals['_EVENT_ATTRIBUTESENTRY']._serialized_start=1148 - _globals['_EVENT_ATTRIBUTESENTRY']._serialized_end=1197 - _globals['_SIGNATURE']._serialized_start=1199 - _globals['_SIGNATURE']._serialized_end=1280 - _globals['_GETCONTRACTTXSREQUEST']._serialized_start=1282 - _globals['_GETCONTRACTTXSREQUEST']._serialized_end=1391 - _globals['_GETCONTRACTTXSRESPONSE']._serialized_start=1393 - _globals['_GETCONTRACTTXSRESPONSE']._serialized_end=1517 - _globals['_GETBLOCKSREQUEST']._serialized_start=1519 - _globals['_GETBLOCKSREQUEST']._serialized_end=1583 - _globals['_GETBLOCKSRESPONSE']._serialized_start=1585 - _globals['_GETBLOCKSRESPONSE']._serialized_end=1701 - _globals['_BLOCKINFO']._serialized_start=1704 - _globals['_BLOCKINFO']._serialized_end=1916 - _globals['_TXDATARPC']._serialized_start=1919 - _globals['_TXDATARPC']._serialized_end=2092 - _globals['_GETBLOCKREQUEST']._serialized_start=2094 - _globals['_GETBLOCKREQUEST']._serialized_end=2123 - _globals['_GETBLOCKRESPONSE']._serialized_start=2125 - _globals['_GETBLOCKRESPONSE']._serialized_end=2225 - _globals['_BLOCKDETAILINFO']._serialized_start=2228 - _globals['_BLOCKDETAILINFO']._serialized_end=2462 - _globals['_TXDATA']._serialized_start=2465 - _globals['_TXDATA']._serialized_end=2635 - _globals['_GETVALIDATORSREQUEST']._serialized_start=2637 - _globals['_GETVALIDATORSREQUEST']._serialized_end=2659 - _globals['_GETVALIDATORSRESPONSE']._serialized_start=2661 - _globals['_GETVALIDATORSRESPONSE']._serialized_end=2760 - _globals['_VALIDATOR']._serialized_start=2763 - _globals['_VALIDATOR']._serialized_end=3387 - _globals['_VALIDATORDESCRIPTION']._serialized_start=3389 - _globals['_VALIDATORDESCRIPTION']._serialized_end=3506 - _globals['_VALIDATORUPTIME']._serialized_start=3508 - _globals['_VALIDATORUPTIME']._serialized_end=3563 - _globals['_SLASHINGEVENT']._serialized_start=3566 - _globals['_SLASHINGEVENT']._serialized_end=3715 - _globals['_GETVALIDATORREQUEST']._serialized_start=3717 - _globals['_GETVALIDATORREQUEST']._serialized_end=3755 - _globals['_GETVALIDATORRESPONSE']._serialized_start=3757 - _globals['_GETVALIDATORRESPONSE']._serialized_end=3855 - _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_start=3857 - _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_end=3901 - _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_start=3903 - _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_end=4013 - _globals['_GETTXSREQUEST']._serialized_start=4016 - _globals['_GETTXSREQUEST']._serialized_end=4161 - _globals['_GETTXSRESPONSE']._serialized_start=4163 - _globals['_GETTXSRESPONSE']._serialized_end=4273 - _globals['_GETTXBYTXHASHREQUEST']._serialized_start=4275 - _globals['_GETTXBYTXHASHREQUEST']._serialized_end=4311 - _globals['_GETTXBYTXHASHRESPONSE']._serialized_start=4313 - _globals['_GETTXBYTXHASHRESPONSE']._serialized_end=4415 - _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_start=4417 - _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_end=4507 - _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_start=4509 - _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_end=4592 - _globals['_PEGGYDEPOSITTX']._serialized_start=4595 - _globals['_PEGGYDEPOSITTX']._serialized_end=4843 - _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_start=4845 - _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_end=4938 - _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_start=4940 - _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_end=5029 - _globals['_PEGGYWITHDRAWALTX']._serialized_start=5032 - _globals['_PEGGYWITHDRAWALTX']._serialized_end=5371 - _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_start=5374 - _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_end=5543 - _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_start=5545 - _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_end=5626 - _globals['_IBCTRANSFERTX']._serialized_start=5629 - _globals['_IBCTRANSFERTX']._serialized_end=5977 - _globals['_GETWASMCODESREQUEST']._serialized_start=5979 - _globals['_GETWASMCODESREQUEST']._serialized_end=6055 - _globals['_GETWASMCODESRESPONSE']._serialized_start=6057 - _globals['_GETWASMCODESRESPONSE']._serialized_end=6175 - _globals['_WASMCODE']._serialized_start=6178 - _globals['_WASMCODE']._serialized_end=6519 - _globals['_CHECKSUM']._serialized_start=6521 - _globals['_CHECKSUM']._serialized_end=6564 - _globals['_CONTRACTPERMISSION']._serialized_start=6566 - _globals['_CONTRACTPERMISSION']._serialized_end=6624 - _globals['_GETWASMCODEBYIDREQUEST']._serialized_start=6626 - _globals['_GETWASMCODEBYIDREQUEST']._serialized_end=6667 - _globals['_GETWASMCODEBYIDRESPONSE']._serialized_start=6670 - _globals['_GETWASMCODEBYIDRESPONSE']._serialized_end=7026 - _globals['_GETWASMCONTRACTSREQUEST']._serialized_start=7029 - _globals['_GETWASMCONTRACTSREQUEST']._serialized_end=7161 - _globals['_GETWASMCONTRACTSRESPONSE']._serialized_start=7163 - _globals['_GETWASMCONTRACTSRESPONSE']._serialized_end=7289 - _globals['_WASMCONTRACT']._serialized_start=7292 - _globals['_WASMCONTRACT']._serialized_end=7719 - _globals['_CONTRACTFUND']._serialized_start=7721 - _globals['_CONTRACTFUND']._serialized_end=7766 - _globals['_CW20METADATA']._serialized_start=7769 - _globals['_CW20METADATA']._serialized_end=7909 - _globals['_CW20TOKENINFO']._serialized_start=7911 - _globals['_CW20TOKENINFO']._serialized_end=7996 - _globals['_CW20MARKETINGINFO']._serialized_start=7998 - _globals['_CW20MARKETINGINFO']._serialized_end=8088 - _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_start=8090 - _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_end=8149 - _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_start=8152 - _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_end=8599 - _globals['_GETCW20BALANCEREQUEST']._serialized_start=8601 - _globals['_GETCW20BALANCEREQUEST']._serialized_end=8656 - _globals['_GETCW20BALANCERESPONSE']._serialized_start=8658 - _globals['_GETCW20BALANCERESPONSE']._serialized_end=8738 - _globals['_WASMCW20BALANCE']._serialized_start=8741 - _globals['_WASMCW20BALANCE']._serialized_end=8899 - _globals['_RELAYERSREQUEST']._serialized_start=8901 - _globals['_RELAYERSREQUEST']._serialized_end=8939 - _globals['_RELAYERSRESPONSE']._serialized_start=8941 - _globals['_RELAYERSRESPONSE']._serialized_end=9014 - _globals['_RELAYERMARKETS']._serialized_start=9016 - _globals['_RELAYERMARKETS']._serialized_end=9102 - _globals['_RELAYER']._serialized_start=9104 - _globals['_RELAYER']._serialized_end=9140 - _globals['_STREAMTXSREQUEST']._serialized_start=9142 - _globals['_STREAMTXSREQUEST']._serialized_end=9160 - _globals['_STREAMTXSRESPONSE']._serialized_start=9163 - _globals['_STREAMTXSRESPONSE']._serialized_end=9344 - _globals['_STREAMBLOCKSREQUEST']._serialized_start=9346 - _globals['_STREAMBLOCKSREQUEST']._serialized_end=9367 - _globals['_STREAMBLOCKSRESPONSE']._serialized_start=9370 - _globals['_STREAMBLOCKSRESPONSE']._serialized_end=9593 - _globals['_INJECTIVEEXPLORERRPC']._serialized_start=9596 - _globals['_INJECTIVEEXPLORERRPC']._serialized_end=11860 + _globals['_GETACCOUNTTXSREQUEST']._serialized_end=289 + _globals['_GETACCOUNTTXSRESPONSE']._serialized_start=291 + _globals['_GETACCOUNTTXSRESPONSE']._serialized_end=414 + _globals['_PAGING']._serialized_start=416 + _globals['_PAGING']._serialized_end=508 + _globals['_TXDETAILDATA']._serialized_start=511 + _globals['_TXDETAILDATA']._serialized_end=998 + _globals['_GASFEE']._serialized_start=1000 + _globals['_GASFEE']._serialized_end=1111 + _globals['_COSMOSCOIN']._serialized_start=1113 + _globals['_COSMOSCOIN']._serialized_end=1156 + _globals['_EVENT']._serialized_start=1159 + _globals['_EVENT']._serialized_end=1298 + _globals['_EVENT_ATTRIBUTESENTRY']._serialized_start=1249 + _globals['_EVENT_ATTRIBUTESENTRY']._serialized_end=1298 + _globals['_SIGNATURE']._serialized_start=1300 + _globals['_SIGNATURE']._serialized_end=1381 + _globals['_GETCONTRACTTXSREQUEST']._serialized_start=1383 + _globals['_GETCONTRACTTXSREQUEST']._serialized_end=1492 + _globals['_GETCONTRACTTXSRESPONSE']._serialized_start=1494 + _globals['_GETCONTRACTTXSRESPONSE']._serialized_end=1618 + _globals['_GETBLOCKSREQUEST']._serialized_start=1620 + _globals['_GETBLOCKSREQUEST']._serialized_end=1684 + _globals['_GETBLOCKSRESPONSE']._serialized_start=1686 + _globals['_GETBLOCKSRESPONSE']._serialized_end=1802 + _globals['_BLOCKINFO']._serialized_start=1805 + _globals['_BLOCKINFO']._serialized_end=2017 + _globals['_TXDATARPC']._serialized_start=2020 + _globals['_TXDATARPC']._serialized_end=2212 + _globals['_GETBLOCKREQUEST']._serialized_start=2214 + _globals['_GETBLOCKREQUEST']._serialized_end=2243 + _globals['_GETBLOCKRESPONSE']._serialized_start=2245 + _globals['_GETBLOCKRESPONSE']._serialized_end=2345 + _globals['_BLOCKDETAILINFO']._serialized_start=2348 + _globals['_BLOCKDETAILINFO']._serialized_end=2582 + _globals['_TXDATA']._serialized_start=2585 + _globals['_TXDATA']._serialized_end=2810 + _globals['_GETVALIDATORSREQUEST']._serialized_start=2812 + _globals['_GETVALIDATORSREQUEST']._serialized_end=2834 + _globals['_GETVALIDATORSRESPONSE']._serialized_start=2836 + _globals['_GETVALIDATORSRESPONSE']._serialized_end=2935 + _globals['_VALIDATOR']._serialized_start=2938 + _globals['_VALIDATOR']._serialized_end=3581 + _globals['_VALIDATORDESCRIPTION']._serialized_start=3584 + _globals['_VALIDATORDESCRIPTION']._serialized_end=3720 + _globals['_VALIDATORUPTIME']._serialized_start=3722 + _globals['_VALIDATORUPTIME']._serialized_end=3777 + _globals['_SLASHINGEVENT']._serialized_start=3780 + _globals['_SLASHINGEVENT']._serialized_end=3929 + _globals['_GETVALIDATORREQUEST']._serialized_start=3931 + _globals['_GETVALIDATORREQUEST']._serialized_end=3969 + _globals['_GETVALIDATORRESPONSE']._serialized_start=3971 + _globals['_GETVALIDATORRESPONSE']._serialized_end=4069 + _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_start=4071 + _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_end=4115 + _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_start=4117 + _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_end=4227 + _globals['_GETTXSREQUEST']._serialized_start=4230 + _globals['_GETTXSREQUEST']._serialized_end=4429 + _globals['_GETTXSRESPONSE']._serialized_start=4431 + _globals['_GETTXSRESPONSE']._serialized_end=4541 + _globals['_GETTXBYTXHASHREQUEST']._serialized_start=4543 + _globals['_GETTXBYTXHASHREQUEST']._serialized_end=4579 + _globals['_GETTXBYTXHASHRESPONSE']._serialized_start=4581 + _globals['_GETTXBYTXHASHRESPONSE']._serialized_end=4683 + _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_start=4685 + _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_end=4775 + _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_start=4777 + _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_end=4860 + _globals['_PEGGYDEPOSITTX']._serialized_start=4863 + _globals['_PEGGYDEPOSITTX']._serialized_end=5111 + _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_start=5113 + _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_end=5206 + _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_start=5208 + _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_end=5297 + _globals['_PEGGYWITHDRAWALTX']._serialized_start=5300 + _globals['_PEGGYWITHDRAWALTX']._serialized_end=5639 + _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_start=5642 + _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_end=5811 + _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_start=5813 + _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_end=5894 + _globals['_IBCTRANSFERTX']._serialized_start=5897 + _globals['_IBCTRANSFERTX']._serialized_end=6245 + _globals['_GETWASMCODESREQUEST']._serialized_start=6247 + _globals['_GETWASMCODESREQUEST']._serialized_end=6323 + _globals['_GETWASMCODESRESPONSE']._serialized_start=6325 + _globals['_GETWASMCODESRESPONSE']._serialized_end=6443 + _globals['_WASMCODE']._serialized_start=6446 + _globals['_WASMCODE']._serialized_end=6787 + _globals['_CHECKSUM']._serialized_start=6789 + _globals['_CHECKSUM']._serialized_end=6832 + _globals['_CONTRACTPERMISSION']._serialized_start=6834 + _globals['_CONTRACTPERMISSION']._serialized_end=6892 + _globals['_GETWASMCODEBYIDREQUEST']._serialized_start=6894 + _globals['_GETWASMCODEBYIDREQUEST']._serialized_end=6935 + _globals['_GETWASMCODEBYIDRESPONSE']._serialized_start=6938 + _globals['_GETWASMCODEBYIDRESPONSE']._serialized_end=7294 + _globals['_GETWASMCONTRACTSREQUEST']._serialized_start=7297 + _globals['_GETWASMCONTRACTSREQUEST']._serialized_end=7444 + _globals['_GETWASMCONTRACTSRESPONSE']._serialized_start=7446 + _globals['_GETWASMCONTRACTSRESPONSE']._serialized_end=7572 + _globals['_WASMCONTRACT']._serialized_start=7575 + _globals['_WASMCONTRACT']._serialized_end=8002 + _globals['_CONTRACTFUND']._serialized_start=8004 + _globals['_CONTRACTFUND']._serialized_end=8049 + _globals['_CW20METADATA']._serialized_start=8052 + _globals['_CW20METADATA']._serialized_end=8192 + _globals['_CW20TOKENINFO']._serialized_start=8194 + _globals['_CW20TOKENINFO']._serialized_end=8279 + _globals['_CW20MARKETINGINFO']._serialized_start=8281 + _globals['_CW20MARKETINGINFO']._serialized_end=8371 + _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_start=8373 + _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_end=8432 + _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_start=8435 + _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_end=8882 + _globals['_GETCW20BALANCEREQUEST']._serialized_start=8884 + _globals['_GETCW20BALANCEREQUEST']._serialized_end=8939 + _globals['_GETCW20BALANCERESPONSE']._serialized_start=8941 + _globals['_GETCW20BALANCERESPONSE']._serialized_end=9021 + _globals['_WASMCW20BALANCE']._serialized_start=9024 + _globals['_WASMCW20BALANCE']._serialized_end=9182 + _globals['_RELAYERSREQUEST']._serialized_start=9184 + _globals['_RELAYERSREQUEST']._serialized_end=9222 + _globals['_RELAYERSRESPONSE']._serialized_start=9224 + _globals['_RELAYERSRESPONSE']._serialized_end=9297 + _globals['_RELAYERMARKETS']._serialized_start=9299 + _globals['_RELAYERMARKETS']._serialized_end=9385 + _globals['_RELAYER']._serialized_start=9387 + _globals['_RELAYER']._serialized_end=9423 + _globals['_GETBANKTRANSFERSREQUEST']._serialized_start=9426 + _globals['_GETBANKTRANSFERSREQUEST']._serialized_end=9640 + _globals['_GETBANKTRANSFERSRESPONSE']._serialized_start=9642 + _globals['_GETBANKTRANSFERSRESPONSE']._serialized_end=9768 + _globals['_BANKTRANSFER']._serialized_start=9771 + _globals['_BANKTRANSFER']._serialized_end=9914 + _globals['_COIN']._serialized_start=9916 + _globals['_COIN']._serialized_end=9953 + _globals['_STREAMTXSREQUEST']._serialized_start=9955 + _globals['_STREAMTXSREQUEST']._serialized_end=9973 + _globals['_STREAMTXSRESPONSE']._serialized_start=9976 + _globals['_STREAMTXSRESPONSE']._serialized_end=10176 + _globals['_STREAMBLOCKSREQUEST']._serialized_start=10178 + _globals['_STREAMBLOCKSREQUEST']._serialized_end=10199 + _globals['_STREAMBLOCKSRESPONSE']._serialized_start=10202 + _globals['_STREAMBLOCKSRESPONSE']._serialized_end=10425 + _globals['_INJECTIVEEXPLORERRPC']._serialized_start=10428 + _globals['_INJECTIVEEXPLORERRPC']._serialized_end=12811 # @@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 index 655cf39b..7c969b8c 100644 --- a/pyinjective/proto/exchange/injective_explorer_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_explorer_rpc_pb2_grpc.py @@ -105,6 +105,11 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__explorer__rpc__pb2.RelayersRequest.SerializeToString, response_deserializer=exchange_dot_injective__explorer__rpc__pb2.RelayersResponse.FromString, ) + 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, + ) self.StreamTxs = channel.unary_stream( '/injective_explorer_rpc.InjectiveExplorerRPC/StreamTxs', request_serializer=exchange_dot_injective__explorer__rpc__pb2.StreamTxsRequest.SerializeToString, @@ -251,6 +256,13 @@ def Relayers(self, request, context): 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 """ @@ -358,6 +370,11 @@ def add_InjectiveExplorerRPCServicer_to_server(servicer, server): 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, @@ -685,6 +702,23 @@ def Relayers(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @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) + @staticmethod def StreamTxs(request, target, diff --git a/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py b/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py index 013ded19..335512f7 100644 --- a/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_insurance_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\032/injective_insurance_rpcpb' _globals['_FUNDSREQUEST']._serialized_start=67 diff --git a/pyinjective/proto/exchange/injective_meta_rpc_pb2.py b/pyinjective/proto/exchange/injective_meta_rpc_pb2.py index 4005d0c2..1d0fb240 100644 --- a/pyinjective/proto/exchange/injective_meta_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_meta_rpc_pb2.py @@ -13,12 +13,13 @@ -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\"\x8f\x01\n\x0fVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12=\n\x05\x62uild\x18\x02 \x03(\x0b\x32..injective_meta_rpc.VersionResponse.BuildEntry\x1a,\n\nBuildEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\" \n\x0bInfoRequest\x12\x11\n\ttimestamp\x18\x01 \x01(\x12\"\xc1\x01\n\x0cInfoResponse\x12\x11\n\ttimestamp\x18\x01 \x01(\x12\x12\x13\n\x0bserver_time\x18\x02 \x01(\x12\x12\x0f\n\x07version\x18\x03 \x01(\t\x12:\n\x05\x62uild\x18\x04 \x03(\x0b\x32+.injective_meta_rpc.InfoResponse.BuildEntry\x12\x0e\n\x06region\x18\x05 \x01(\t\x1a,\n\nBuildEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x18\n\x16StreamKeepaliveRequest\"Q\n\x17StreamKeepaliveResponse\x12\r\n\x05\x65vent\x18\x01 \x01(\t\x12\x14\n\x0cnew_endpoint\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xea\x02\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\x42\x17Z\x15/injective_meta_rpcpbb\x06proto3') +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\"\x8f\x01\n\x0fVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12=\n\x05\x62uild\x18\x02 \x03(\x0b\x32..injective_meta_rpc.VersionResponse.BuildEntry\x1a,\n\nBuildEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\" \n\x0bInfoRequest\x12\x11\n\ttimestamp\x18\x01 \x01(\x12\"\xc1\x01\n\x0cInfoResponse\x12\x11\n\ttimestamp\x18\x01 \x01(\x12\x12\x13\n\x0bserver_time\x18\x02 \x01(\x12\x12\x0f\n\x07version\x18\x03 \x01(\t\x12:\n\x05\x62uild\x18\x04 \x03(\x0b\x32+.injective_meta_rpc.InfoResponse.BuildEntry\x12\x0e\n\x06region\x18\x05 \x01(\t\x1a,\n\nBuildEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x18\n\x16StreamKeepaliveRequest\"Q\n\x17StreamKeepaliveResponse\x12\r\n\x05\x65vent\x18\x01 \x01(\t\x12\x14\n\x0cnew_endpoint\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"&\n\x14TokenMetadataRequest\x12\x0e\n\x06\x64\x65noms\x18\x01 \x03(\t\"Q\n\x15TokenMetadataResponse\x12\x38\n\x06tokens\x18\x01 \x03(\x0b\x32(.injective_meta_rpc.TokenMetadataElement\"\x93\x01\n\x14TokenMetadataElement\x12\x18\n\x10\x65thereum_address\x18\x01 \x01(\t\x12\x14\n\x0c\x63oingecko_id\x18\x02 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x0e\n\x06symbol\x18\x05 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x06 \x01(\x11\x12\x0c\n\x04logo\x18\x07 \x01(\t2\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\x17Z\x15/injective_meta_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_meta_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\025/injective_meta_rpcpb' _VERSIONRESPONSE_BUILDENTRY._options = None @@ -45,6 +46,12 @@ _globals['_STREAMKEEPALIVEREQUEST']._serialized_end=506 _globals['_STREAMKEEPALIVERESPONSE']._serialized_start=508 _globals['_STREAMKEEPALIVERESPONSE']._serialized_end=589 - _globals['_INJECTIVEMETARPC']._serialized_start=592 - _globals['_INJECTIVEMETARPC']._serialized_end=954 + _globals['_TOKENMETADATAREQUEST']._serialized_start=591 + _globals['_TOKENMETADATAREQUEST']._serialized_end=629 + _globals['_TOKENMETADATARESPONSE']._serialized_start=631 + _globals['_TOKENMETADATARESPONSE']._serialized_end=712 + _globals['_TOKENMETADATAELEMENT']._serialized_start=715 + _globals['_TOKENMETADATAELEMENT']._serialized_end=862 + _globals['_INJECTIVEMETARPC']._serialized_start=865 + _globals['_INJECTIVEMETARPC']._serialized_end=1329 # @@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 index 43d37e72..53adfe00 100644 --- a/pyinjective/proto/exchange/injective_meta_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_meta_rpc_pb2_grpc.py @@ -35,6 +35,11 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveRequest.SerializeToString, response_deserializer=exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveResponse.FromString, ) + 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, + ) class InjectiveMetaRPCServicer(object): @@ -70,6 +75,13 @@ def StreamKeepalive(self, request, context): 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 = { @@ -93,6 +105,11 @@ def add_InjectiveMetaRPCServicer_to_server(servicer, server): 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) @@ -171,3 +188,20 @@ def StreamKeepalive(request, exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @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) diff --git a/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py b/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py index c053864f..89b39ea9 100644 --- a/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py @@ -13,12 +13,13 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#exchange/injective_oracle_rpc.proto\x12\x14injective_oracle_rpc\"\x13\n\x11OracleListRequest\"C\n\x12OracleListResponse\x12-\n\x07oracles\x18\x01 \x03(\x0b\x32\x1c.injective_oracle_rpc.Oracle\"g\n\x06Oracle\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x13\n\x0b\x62\x61se_symbol\x18\x02 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x03 \x01(\t\x12\x13\n\x0boracle_type\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\"k\n\x0cPriceRequest\x12\x13\n\x0b\x62\x61se_symbol\x18\x01 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x02 \x01(\t\x12\x13\n\x0boracle_type\x18\x03 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x04 \x01(\r\"\x1e\n\rPriceResponse\x12\r\n\x05price\x18\x01 \x01(\t\"U\n\x13StreamPricesRequest\x12\x13\n\x0b\x62\x61se_symbol\x18\x01 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x02 \x01(\t\x12\x13\n\x0boracle_type\x18\x03 \x01(\t\"8\n\x14StreamPricesResponse\x12\r\n\x05price\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\x32\xb0\x02\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\x42\x19Z\x17/injective_oracle_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#exchange/injective_oracle_rpc.proto\x12\x14injective_oracle_rpc\"\x13\n\x11OracleListRequest\"C\n\x12OracleListResponse\x12-\n\x07oracles\x18\x01 \x03(\x0b\x32\x1c.injective_oracle_rpc.Oracle\"g\n\x06Oracle\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x13\n\x0b\x62\x61se_symbol\x18\x02 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x03 \x01(\t\x12\x13\n\x0boracle_type\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\"k\n\x0cPriceRequest\x12\x13\n\x0b\x62\x61se_symbol\x18\x01 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x02 \x01(\t\x12\x13\n\x0boracle_type\x18\x03 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x04 \x01(\r\"\x1e\n\rPriceResponse\x12\r\n\x05price\x18\x01 \x01(\t\"U\n\x13StreamPricesRequest\x12\x13\n\x0b\x62\x61se_symbol\x18\x01 \x01(\t\x12\x14\n\x0cquote_symbol\x18\x02 \x01(\t\x12\x13\n\x0boracle_type\x18\x03 \x01(\t\"8\n\x14StreamPricesResponse\x12\r\n\x05price\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"2\n\x1cStreamPricesByMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"T\n\x1dStreamPricesByMarketsResponse\x12\r\n\x05price\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\x12\x11\n\tmarket_id\x18\x03 \x01(\t2\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\x19Z\x17/injective_oracle_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_oracle_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\027/injective_oracle_rpcpb' _globals['_ORACLELISTREQUEST']._serialized_start=61 @@ -35,6 +36,10 @@ _globals['_STREAMPRICESREQUEST']._serialized_end=482 _globals['_STREAMPRICESRESPONSE']._serialized_start=484 _globals['_STREAMPRICESRESPONSE']._serialized_end=540 - _globals['_INJECTIVEORACLERPC']._serialized_start=543 - _globals['_INJECTIVEORACLERPC']._serialized_end=847 + _globals['_STREAMPRICESBYMARKETSREQUEST']._serialized_start=542 + _globals['_STREAMPRICESBYMARKETSREQUEST']._serialized_end=592 + _globals['_STREAMPRICESBYMARKETSRESPONSE']._serialized_start=594 + _globals['_STREAMPRICESBYMARKETSRESPONSE']._serialized_end=678 + _globals['_INJECTIVEORACLERPC']._serialized_start=681 + _globals['_INJECTIVEORACLERPC']._serialized_end=1118 # @@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 index 10050f14..387ce865 100644 --- a/pyinjective/proto/exchange/injective_oracle_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_oracle_rpc_pb2_grpc.py @@ -30,6 +30,11 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesRequest.SerializeToString, response_deserializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesResponse.FromString, ) + 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, + ) class InjectiveOracleRPCServicer(object): @@ -58,6 +63,13 @@ def StreamPrices(self, request, context): 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 = { @@ -76,6 +88,11 @@ def add_InjectiveOracleRPCServicer_to_server(servicer, server): 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) @@ -137,3 +154,20 @@ def StreamPrices(request, exchange_dot_injective__oracle__rpc__pb2.StreamPricesResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @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) diff --git a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py index f60f7d57..9d765df5 100644 --- a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py @@ -13,12 +13,13 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&exchange/injective_portfolio_rpc.proto\x12\x17injective_portfolio_rpc\"2\n\x17\x41\x63\x63ountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"Q\n\x18\x41\x63\x63ountPortfolioResponse\x12\x35\n\tportfolio\x18\x01 \x01(\x0b\x32\".injective_portfolio_rpc.Portfolio\"\xb4\x01\n\tPortfolio\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x34\n\rbank_balances\x18\x03 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12I\n\x13subaccount_balances\x18\x04 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\xd2\x01\n\x13SubaccountBalanceV2\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x39\n\x12\x61vailable_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x32\n\x0bmargin_hold\x18\x03 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x35\n\x0eunrealized_pnl\x18\x04 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin2\x90\x01\n\x15InjectivePortfolioRPC\x12w\n\x10\x41\x63\x63ountPortfolio\x12\x30.injective_portfolio_rpc.AccountPortfolioRequest\x1a\x31.injective_portfolio_rpc.AccountPortfolioResponseB\x1cZ\x1a/injective_portfolio_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&exchange/injective_portfolio_rpc.proto\x12\x17injective_portfolio_rpc\"2\n\x17\x41\x63\x63ountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"Q\n\x18\x41\x63\x63ountPortfolioResponse\x12\x35\n\tportfolio\x18\x01 \x01(\x0b\x32\".injective_portfolio_rpc.Portfolio\"\xe6\x01\n\tPortfolio\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x34\n\rbank_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x41\n\x0bsubaccounts\x18\x03 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2\x12G\n\x13positions_with_upnl\x18\x04 \x03(\x0b\x32*.injective_portfolio_rpc.PositionsWithUPNL\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"x\n\x13SubaccountBalanceV2\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12;\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32*.injective_portfolio_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"j\n\x11PositionsWithUPNL\x12=\n\x08position\x18\x01 \x01(\x0b\x32+.injective_portfolio_rpc.DerivativePosition\x12\x16\n\x0eunrealized_pnl\x18\x02 \x01(\t\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"]\n\x1dStreamAccountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"w\n\x1eStreamAccountPortfolioResponse\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x11\n\ttimestamp\x18\x05 \x01(\x12\x32\x9e\x02\n\x15InjectivePortfolioRPC\x12w\n\x10\x41\x63\x63ountPortfolio\x12\x30.injective_portfolio_rpc.AccountPortfolioRequest\x1a\x31.injective_portfolio_rpc.AccountPortfolioResponse\x12\x8b\x01\n\x16StreamAccountPortfolio\x12\x36.injective_portfolio_rpc.StreamAccountPortfolioRequest\x1a\x37.injective_portfolio_rpc.StreamAccountPortfolioResponse0\x01\x42\x1cZ\x1a/injective_portfolio_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_portfolio_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\032/injective_portfolio_rpcpb' _globals['_ACCOUNTPORTFOLIOREQUEST']._serialized_start=67 @@ -26,11 +27,21 @@ _globals['_ACCOUNTPORTFOLIORESPONSE']._serialized_start=119 _globals['_ACCOUNTPORTFOLIORESPONSE']._serialized_end=200 _globals['_PORTFOLIO']._serialized_start=203 - _globals['_PORTFOLIO']._serialized_end=383 - _globals['_COIN']._serialized_start=385 - _globals['_COIN']._serialized_end=422 - _globals['_SUBACCOUNTBALANCEV2']._serialized_start=425 - _globals['_SUBACCOUNTBALANCEV2']._serialized_end=635 - _globals['_INJECTIVEPORTFOLIORPC']._serialized_start=638 - _globals['_INJECTIVEPORTFOLIORPC']._serialized_end=782 + _globals['_PORTFOLIO']._serialized_end=433 + _globals['_COIN']._serialized_start=435 + _globals['_COIN']._serialized_end=472 + _globals['_SUBACCOUNTBALANCEV2']._serialized_start=474 + _globals['_SUBACCOUNTBALANCEV2']._serialized_end=594 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=596 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=665 + _globals['_POSITIONSWITHUPNL']._serialized_start=667 + _globals['_POSITIONSWITHUPNL']._serialized_end=773 + _globals['_DERIVATIVEPOSITION']._serialized_start=776 + _globals['_DERIVATIVEPOSITION']._serialized_end=1055 + _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_start=1057 + _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_end=1150 + _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_start=1152 + _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_end=1271 + _globals['_INJECTIVEPORTFOLIORPC']._serialized_start=1274 + _globals['_INJECTIVEPORTFOLIORPC']._serialized_end=1560 # @@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 index d4cf4bc4..2e875c38 100644 --- a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2_grpc.py @@ -20,6 +20,11 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioRequest.SerializeToString, response_deserializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioResponse.FromString, ) + 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, + ) class InjectivePortfolioRPCServicer(object): @@ -33,6 +38,13 @@ def AccountPortfolio(self, request, context): 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 = { @@ -41,6 +53,11 @@ def add_InjectivePortfolioRPCServicer_to_server(servicer, server): request_deserializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioRequest.FromString, response_serializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioResponse.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) @@ -68,3 +85,20 @@ def AccountPortfolio(request, exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @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) diff --git a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py index d09b297e..e0ca7343 100644 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py @@ -13,112 +13,105 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"P\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"%\n\x10OrderbookRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"W\n\x11OrderbookResponse\x12\x42\n\torderbook\x18\x01 \x01(\x0b\x32/.injective_spot_exchange_rpc.SpotLimitOrderbook\"\x83\x01\n\x12SpotLimitOrderbook\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\x97\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"\'\n\x11OrderbooksRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"_\n\x12OrderbooksResponse\x12I\n\norderbooks\x18\x01 \x03(\x0b\x32\x35.injective_spot_exchange_rpc.SingleSpotLimitOrderbook\"q\n\x18SingleSpotLimitOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x42\n\torderbook\x18\x02 \x01(\x0b\x32/.injective_spot_exchange_rpc.SpotLimitOrderbook\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\",\n\x16StreamOrderbookRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9b\x01\n\x17StreamOrderbookResponse\x12\x42\n\torderbook\x18\x01 \x01(\x0b\x32/.injective_spot_exchange_rpc.SpotLimitOrderbook\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xdf\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x83\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\"N\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\"\xe5\x01\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xec\x01\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x9b\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\"\xf2\x01\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\xd3\x01\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xaa\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\x8e\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\x12j\n\tOrderbook\x12-.injective_spot_exchange_rpc.OrderbookRequest\x1a..injective_spot_exchange_rpc.OrderbookResponse\x12p\n\x0bOrderbookV2\x12/.injective_spot_exchange_rpc.OrderbookV2Request\x1a\x30.injective_spot_exchange_rpc.OrderbookV2Response\x12m\n\nOrderbooks\x12..injective_spot_exchange_rpc.OrderbooksRequest\x1a/.injective_spot_exchange_rpc.OrderbooksResponse\x12s\n\x0cOrderbooksV2\x12\x30.injective_spot_exchange_rpc.OrderbooksV2Request\x1a\x31.injective_spot_exchange_rpc.OrderbooksV2Response\x12~\n\x0fStreamOrderbook\x12\x33.injective_spot_exchange_rpc.StreamOrderbookRequest\x1a\x34.injective_spot_exchange_rpc.StreamOrderbookResponse0\x01\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\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\x42 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"i\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x04 \x03(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xf1\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x94\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\xf7\x01\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x9b\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\x96\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xbb\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x8a\x01\n\x18\x41tomicSwapHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x05 \x01(\x11\x12\x11\n\tto_number\x18\x06 \x01(\x11\"\x87\x01\n\x19\x41tomicSwapHistoryResponse\x12\x33\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwap\"\xdc\x02\n\nAtomicSwap\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05route\x18\x02 \x01(\t\x12\x36\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x34\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12/\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x18\n\x10\x63ontract_address\x18\x06 \x01(\t\x12\x17\n\x0findex_by_sender\x18\x07 \x01(\x11\x12 \n\x18index_by_sender_contract\x18\x08 \x01(\x11\x12\x0f\n\x07tx_hash\x18\t \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\n \x01(\x12\x12\x15\n\rrefund_amount\x18\x0b \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xb8\x0f\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\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 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_spot_exchange_rpc_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\036/injective_spot_exchange_rpcpb' _globals['_MARKETSREQUEST']._serialized_start=75 - _globals['_MARKETSREQUEST']._serialized_end=155 - _globals['_MARKETSRESPONSE']._serialized_start=157 - _globals['_MARKETSRESPONSE']._serialized_end=236 - _globals['_SPOTMARKETINFO']._serialized_start=239 - _globals['_SPOTMARKETINFO']._serialized_end=624 - _globals['_TOKENMETA']._serialized_start=626 - _globals['_TOKENMETA']._serialized_end=736 - _globals['_MARKETREQUEST']._serialized_start=738 - _globals['_MARKETREQUEST']._serialized_end=772 - _globals['_MARKETRESPONSE']._serialized_start=774 - _globals['_MARKETRESPONSE']._serialized_end=851 - _globals['_STREAMMARKETSREQUEST']._serialized_start=853 - _globals['_STREAMMARKETSREQUEST']._serialized_end=895 - _globals['_STREAMMARKETSRESPONSE']._serialized_start=897 - _globals['_STREAMMARKETSRESPONSE']._serialized_end=1024 - _globals['_ORDERBOOKREQUEST']._serialized_start=1026 - _globals['_ORDERBOOKREQUEST']._serialized_end=1063 - _globals['_ORDERBOOKRESPONSE']._serialized_start=1065 - _globals['_ORDERBOOKRESPONSE']._serialized_end=1152 - _globals['_SPOTLIMITORDERBOOK']._serialized_start=1155 - _globals['_SPOTLIMITORDERBOOK']._serialized_end=1286 - _globals['_PRICELEVEL']._serialized_start=1288 - _globals['_PRICELEVEL']._serialized_end=1352 - _globals['_ORDERBOOKV2REQUEST']._serialized_start=1354 - _globals['_ORDERBOOKV2REQUEST']._serialized_end=1393 - _globals['_ORDERBOOKV2RESPONSE']._serialized_start=1395 - _globals['_ORDERBOOKV2RESPONSE']._serialized_end=1486 - _globals['_SPOTLIMITORDERBOOKV2']._serialized_start=1489 - _globals['_SPOTLIMITORDERBOOKV2']._serialized_end=1640 - _globals['_ORDERBOOKSREQUEST']._serialized_start=1642 - _globals['_ORDERBOOKSREQUEST']._serialized_end=1681 - _globals['_ORDERBOOKSRESPONSE']._serialized_start=1683 - _globals['_ORDERBOOKSRESPONSE']._serialized_end=1778 - _globals['_SINGLESPOTLIMITORDERBOOK']._serialized_start=1780 - _globals['_SINGLESPOTLIMITORDERBOOK']._serialized_end=1893 - _globals['_ORDERBOOKSV2REQUEST']._serialized_start=1895 - _globals['_ORDERBOOKSV2REQUEST']._serialized_end=1936 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=1938 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=2037 - _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_start=2039 - _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_end=2156 - _globals['_STREAMORDERBOOKREQUEST']._serialized_start=2158 - _globals['_STREAMORDERBOOKREQUEST']._serialized_end=2202 - _globals['_STREAMORDERBOOKRESPONSE']._serialized_start=2205 - _globals['_STREAMORDERBOOKRESPONSE']._serialized_end=2360 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=2362 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=2408 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=2411 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=2570 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=2572 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=2622 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=2625 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=2803 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=2806 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=3009 - _globals['_PRICELEVELUPDATE']._serialized_start=3011 - _globals['_PRICELEVELUPDATE']._serialized_end=3100 - _globals['_ORDERSREQUEST']._serialized_start=3103 - _globals['_ORDERSREQUEST']._serialized_end=3326 - _globals['_ORDERSRESPONSE']._serialized_start=3329 - _globals['_ORDERSRESPONSE']._serialized_end=3459 - _globals['_SPOTLIMITORDER']._serialized_start=3462 - _globals['_SPOTLIMITORDER']._serialized_end=3721 - _globals['_PAGING']._serialized_start=3723 - _globals['_PAGING']._serialized_end=3801 - _globals['_STREAMORDERSREQUEST']._serialized_start=3804 - _globals['_STREAMORDERSREQUEST']._serialized_end=4033 - _globals['_STREAMORDERSRESPONSE']._serialized_start=4035 - _globals['_STREAMORDERSRESPONSE']._serialized_end=4160 - _globals['_TRADESREQUEST']._serialized_start=4163 - _globals['_TRADESREQUEST']._serialized_end=4399 - _globals['_TRADESRESPONSE']._serialized_start=4401 - _globals['_TRADESRESPONSE']._serialized_end=4526 - _globals['_SPOTTRADE']._serialized_start=4529 - _globals['_SPOTTRADE']._serialized_end=4812 - _globals['_STREAMTRADESREQUEST']._serialized_start=4815 - _globals['_STREAMTRADESREQUEST']._serialized_end=5057 - _globals['_STREAMTRADESRESPONSE']._serialized_start=5059 - _globals['_STREAMTRADESRESPONSE']._serialized_end=5179 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=5181 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=5281 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=5284 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=5428 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=5431 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5574 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5576 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5662 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=5665 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=5876 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5879 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=6018 - _globals['_SPOTORDERHISTORY']._serialized_start=6021 - _globals['_SPOTORDERHISTORY']._serialized_end=6319 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=6322 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6472 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6475 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6609 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6612 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8802 + _globals['_MARKETSREQUEST']._serialized_end=180 + _globals['_MARKETSRESPONSE']._serialized_start=182 + _globals['_MARKETSRESPONSE']._serialized_end=261 + _globals['_SPOTMARKETINFO']._serialized_start=264 + _globals['_SPOTMARKETINFO']._serialized_end=649 + _globals['_TOKENMETA']._serialized_start=651 + _globals['_TOKENMETA']._serialized_end=761 + _globals['_MARKETREQUEST']._serialized_start=763 + _globals['_MARKETREQUEST']._serialized_end=797 + _globals['_MARKETRESPONSE']._serialized_start=799 + _globals['_MARKETRESPONSE']._serialized_end=876 + _globals['_STREAMMARKETSREQUEST']._serialized_start=878 + _globals['_STREAMMARKETSREQUEST']._serialized_end=920 + _globals['_STREAMMARKETSRESPONSE']._serialized_start=922 + _globals['_STREAMMARKETSRESPONSE']._serialized_end=1049 + _globals['_ORDERBOOKV2REQUEST']._serialized_start=1051 + _globals['_ORDERBOOKV2REQUEST']._serialized_end=1090 + _globals['_ORDERBOOKV2RESPONSE']._serialized_start=1092 + _globals['_ORDERBOOKV2RESPONSE']._serialized_end=1183 + _globals['_SPOTLIMITORDERBOOKV2']._serialized_start=1186 + _globals['_SPOTLIMITORDERBOOKV2']._serialized_end=1356 + _globals['_PRICELEVEL']._serialized_start=1358 + _globals['_PRICELEVEL']._serialized_end=1422 + _globals['_ORDERBOOKSV2REQUEST']._serialized_start=1424 + _globals['_ORDERBOOKSV2REQUEST']._serialized_end=1465 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=1467 + _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=1566 + _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_start=1568 + _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_end=1685 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=1687 + _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=1733 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=1736 + _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=1895 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=1897 + _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=1947 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=1950 + _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=2128 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=2131 + _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=2334 + _globals['_PRICELEVELUPDATE']._serialized_start=2336 + _globals['_PRICELEVELUPDATE']._serialized_end=2425 + _globals['_ORDERSREQUEST']._serialized_start=2428 + _globals['_ORDERSREQUEST']._serialized_end=2669 + _globals['_ORDERSRESPONSE']._serialized_start=2672 + _globals['_ORDERSRESPONSE']._serialized_end=2802 + _globals['_SPOTLIMITORDER']._serialized_start=2805 + _globals['_SPOTLIMITORDER']._serialized_end=3081 + _globals['_PAGING']._serialized_start=3083 + _globals['_PAGING']._serialized_end=3175 + _globals['_STREAMORDERSREQUEST']._serialized_start=3178 + _globals['_STREAMORDERSREQUEST']._serialized_end=3425 + _globals['_STREAMORDERSRESPONSE']._serialized_start=3427 + _globals['_STREAMORDERSRESPONSE']._serialized_end=3552 + _globals['_TRADESREQUEST']._serialized_start=3555 + _globals['_TRADESREQUEST']._serialized_end=3834 + _globals['_TRADESRESPONSE']._serialized_start=3836 + _globals['_TRADESRESPONSE']._serialized_end=3961 + _globals['_SPOTTRADE']._serialized_start=3964 + _globals['_SPOTTRADE']._serialized_end=4247 + _globals['_STREAMTRADESREQUEST']._serialized_start=4250 + _globals['_STREAMTRADESREQUEST']._serialized_end=4535 + _globals['_STREAMTRADESRESPONSE']._serialized_start=4537 + _globals['_STREAMTRADESRESPONSE']._serialized_end=4657 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=4659 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=4759 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=4762 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=4906 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=4909 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5052 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5054 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5140 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=5143 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=5421 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5424 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=5563 + _globals['_SPOTORDERHISTORY']._serialized_start=5566 + _globals['_SPOTORDERHISTORY']._serialized_end=5881 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=5884 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6034 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6037 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6171 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=6174 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=6312 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=6315 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=6450 + _globals['_ATOMICSWAP']._serialized_start=6453 + _globals['_ATOMICSWAP']._serialized_end=6801 + _globals['_COIN']._serialized_start=6803 + _globals['_COIN']._serialized_end=6840 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6843 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8819 # @@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 index 2ba568f1..3328c587 100644 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py @@ -30,31 +30,16 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsRequest.SerializeToString, response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsResponse.FromString, ) - self.Orderbook = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbook', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookResponse.FromString, - ) 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, ) - self.Orderbooks = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbooks', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksResponse.FromString, - ) 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, ) - self.StreamOrderbook = channel.unary_stream( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbook', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookResponse.FromString, - ) self.StreamOrderbookV2 = channel.unary_stream( '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookV2', request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookV2Request.SerializeToString, @@ -105,6 +90,11 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryRequest.SerializeToString, response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryResponse.FromString, ) + 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, + ) class InjectiveSpotExchangeRPCServicer(object): @@ -132,13 +122,6 @@ def StreamMarkets(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def Orderbook(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 OrderbookV2(self, request, context): """Orderbook of a Spot Market """ @@ -146,13 +129,6 @@ def OrderbookV2(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def Orderbooks(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 OrderbooksV2(self, request, context): """Orderbook of Spot Markets """ @@ -160,13 +136,6 @@ def OrderbooksV2(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def StreamOrderbook(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 StreamOrderbookV2(self, request, context): """Stream live snapshot updates of selected spot market orderbook """ @@ -237,6 +206,13 @@ def StreamOrdersHistory(self, request, context): 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 = { @@ -255,31 +231,16 @@ def add_InjectiveSpotExchangeRPCServicer_to_server(servicer, server): request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsRequest.FromString, response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsResponse.SerializeToString, ), - 'Orderbook': grpc.unary_unary_rpc_method_handler( - servicer.Orderbook, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookResponse.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, ), - 'Orderbooks': grpc.unary_unary_rpc_method_handler( - servicer.Orderbooks, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksResponse.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, ), - 'StreamOrderbook': grpc.unary_stream_rpc_method_handler( - servicer.StreamOrderbook, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookResponse.SerializeToString, - ), 'StreamOrderbookV2': grpc.unary_stream_rpc_method_handler( servicer.StreamOrderbookV2, request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookV2Request.FromString, @@ -330,6 +291,11 @@ def add_InjectiveSpotExchangeRPCServicer_to_server(servicer, server): 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) @@ -392,23 +358,6 @@ def StreamMarkets(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod - def Orderbook(request, - target, - options=(), - channel_credentials=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/Orderbook', - exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod def OrderbookV2(request, target, @@ -426,23 +375,6 @@ def OrderbookV2(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod - def Orderbooks(request, - target, - options=(), - channel_credentials=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/Orderbooks', - exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod def OrderbooksV2(request, target, @@ -460,23 +392,6 @@ def OrderbooksV2(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod - def StreamOrderbook(request, - 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/StreamOrderbook', - exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod def StreamOrderbookV2(request, target, @@ -646,3 +561,20 @@ def StreamOrdersHistory(request, exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @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) diff --git a/pyinjective/proto/exchange/injective_trading_rpc_pb2.py b/pyinjective/proto/exchange/injective_trading_rpc_pb2.py new file mode 100644 index 00000000..4c2d1fdc --- /dev/null +++ b/pyinjective/proto/exchange/injective_trading_rpc_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: exchange/injective_trading_rpc.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_trading_rpc.proto\x12\x15injective_trading_rpc\"\xb3\x01\n\x1cListTradingStrategiesRequest\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"\x8a\x01\n\x1dListTradingStrategiesResponse\x12:\n\nstrategies\x18\x01 \x03(\x0b\x32&.injective_trading_rpc.TradingStrategy\x12-\n\x06paging\x18\x02 \x01(\x0b\x32\x1d.injective_trading_rpc.Paging\"\xb0\x03\n\x0fTradingStrategy\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x06 \x01(\t\x12\x15\n\rbase_quantity\x18\x07 \x01(\t\x12\x13\n\x0blower_bound\x18\x08 \x01(\t\x12\x13\n\x0bupper_bound\x18\t \x01(\t\x12\x11\n\tstop_loss\x18\n \x01(\t\x12\x13\n\x0btake_profit\x18\x0b \x01(\t\x12\x10\n\x08swap_fee\x18\x0c \x01(\t\x12\x14\n\x0c\x62\x61se_deposit\x18\x11 \x01(\t\x12\x15\n\rquote_deposit\x18\x12 \x01(\t\x12\x18\n\x10market_mid_price\x18\x13 \x01(\t\x12\x16\n\x0e\x63reated_height\x18\r \x01(\x12\x12\x16\n\x0eremoved_height\x18\x0e \x01(\x12\x12\x12\n\ncreated_at\x18\x0f \x01(\x12\x12\x12\n\nupdated_at\x18\x10 \x01(\x12\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t2\x9a\x01\n\x13InjectiveTradingRPC\x12\x82\x01\n\x15ListTradingStrategies\x12\x33.injective_trading_rpc.ListTradingStrategiesRequest\x1a\x34.injective_trading_rpc.ListTradingStrategiesResponseB\x1aZ\x18/injective_trading_rpcpbb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_trading_rpc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z\030/injective_trading_rpcpb' + _globals['_LISTTRADINGSTRATEGIESREQUEST']._serialized_start=64 + _globals['_LISTTRADINGSTRATEGIESREQUEST']._serialized_end=243 + _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_start=246 + _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_end=384 + _globals['_TRADINGSTRATEGY']._serialized_start=387 + _globals['_TRADINGSTRATEGY']._serialized_end=819 + _globals['_PAGING']._serialized_start=821 + _globals['_PAGING']._serialized_end=913 + _globals['_INJECTIVETRADINGRPC']._serialized_start=916 + _globals['_INJECTIVETRADINGRPC']._serialized_end=1070 +# @@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 new file mode 100644 index 00000000..c9d845f0 --- /dev/null +++ b/pyinjective/proto/exchange/injective_trading_rpc_pb2_grpc.py @@ -0,0 +1,73 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from 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, + ) + + +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,)) + + + # 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) diff --git a/pyinjective/proto/gogoproto/gogo_pb2.py b/pyinjective/proto/gogoproto/gogo_pb2.py index 48f4ad3a..eb4574ea 100644 --- a/pyinjective/proto/gogoproto/gogo_pb2.py +++ b/pyinjective/proto/gogoproto/gogo_pb2.py @@ -20,6 +20,84 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gogoproto.gogo_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(goproto_enum_prefix) + google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(goproto_enum_stringer) + google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enum_stringer) + google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enum_customname) + google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enumdecl) + google_dot_protobuf_dot_descriptor__pb2.EnumValueOptions.RegisterExtension(enumvalue_customname) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_getters_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_enum_prefix_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_stringer_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(verbose_equal_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(face_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(gostring_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(populate_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(stringer_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(onlyone_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(equal_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(description_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(testgen_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(benchgen_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(marshaler_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(unmarshaler_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(stable_marshaler_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(sizer_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_enum_stringer_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(enum_stringer_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(unsafe_marshaler_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(unsafe_unmarshaler_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_extensions_map_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_unrecognized_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(gogoproto_import) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(protosizer_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(compare_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(typedecl_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(enumdecl_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_registration) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(messagename_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_sizecache_all) + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_unkeyed_all) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_getters) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_stringer) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(verbose_equal) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(face) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(gostring) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(populate) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(stringer) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(onlyone) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(equal) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(description) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(testgen) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(benchgen) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(marshaler) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(unmarshaler) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(stable_marshaler) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(sizer) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(unsafe_marshaler) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(unsafe_unmarshaler) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_extensions_map) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_unrecognized) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(protosizer) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(compare) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(typedecl) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(messagename) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_sizecache) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_unkeyed) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(nullable) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(embed) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(customtype) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(customname) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(jsontag) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(moretags) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(casttype) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(castkey) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(castvalue) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(stdtime) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(stdduration) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(wktpointer) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(castrepeated) + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\023com.google.protobufB\nGoGoProtosZ%github.com/cosmos/gogoproto/gogoproto' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/api/annotations_pb2.py b/pyinjective/proto/google/api/annotations_pb2.py index 590f14a6..c0c049c9 100644 --- a/pyinjective/proto/google/api/annotations_pb2.py +++ b/pyinjective/proto/google/api/annotations_pb2.py @@ -21,6 +21,8 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.annotations_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(http) + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/api/http_pb2.py b/pyinjective/proto/google/api/http_pb2.py index f7aae440..7ed5439f 100644 --- a/pyinjective/proto/google/api/http_pb2.py +++ b/pyinjective/proto/google/api/http_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.http_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\016com.google.apiB\tHttpProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\370\001\001\242\002\004GAPI' _globals['_HTTP']._serialized_start=37 diff --git a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py index 3ad21faf..a7f891f5 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.ack_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_start=62 diff --git a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py index fe6c7d00..0ebc93b5 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.fee_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _FEE.fields_by_name['recv_fee']._options = None diff --git a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py index d89f0e30..410e05a0 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _GENESISSTATE.fields_by_name['identified_fees']._options = None diff --git a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py index d07b7c64..de02ff7f 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.metadata_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _globals['_METADATA']._serialized_start=67 diff --git a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py index 42fade44..b8b5b67b 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py @@ -26,6 +26,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _QUERYINCENTIVIZEDPACKETSRESPONSE.fields_by_name['incentivized_packets']._options = None diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py index bc0a8f02..22673cf8 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py @@ -18,12 +18,13 @@ from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\x89\x01\n\x10MsgRegisterPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgRegisterPayee\"\x1a\n\x18MsgRegisterPayeeResponse\"\xae\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x04 \x01(\t:<\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\'cosmos-sdk/MsgRegisterCounterpartyPayee\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xc7\x01\n\x0fMsgPayPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0esource_port_id\x18\x02 \x01(\t\x12\x19\n\x11source_channel_id\x18\x03 \x01(\t\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:.\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgPayPacketFee\"\x19\n\x17MsgPayPacketFeeResponse\"\xc5\x01\n\x14MsgPayPacketFeeAsync\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12<\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00:7\x88\xa0\x1f\x00\x82\xe7\xb0*\npacket_fee\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgPayPacketFeeAsync\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xf6\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\x89\x01\n\x10MsgRegisterPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgRegisterPayee\"\x1a\n\x18MsgRegisterPayeeResponse\"\xae\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x04 \x01(\t:<\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\'cosmos-sdk/MsgRegisterCounterpartyPayee\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xcc\x01\n\x0fMsgPayPacketFee\x12\x34\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x16\n\x0esource_port_id\x18\x02 \x01(\t\x12\x19\n\x11source_channel_id\x18\x03 \x01(\t\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:.\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgPayPacketFee\"\x19\n\x17MsgPayPacketFeeResponse\"\xcf\x01\n\x14MsgPayPacketFeeAsync\x12;\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x41\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:7\x88\xa0\x1f\x00\x82\xe7\xb0*\npacket_fee\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgPayPacketFeeAsync\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xf6\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _MSGREGISTERPAYEE._options = None @@ -31,13 +32,13 @@ _MSGREGISTERCOUNTERPARTYPAYEE._options = None _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\'cosmos-sdk/MsgRegisterCounterpartyPayee' _MSGPAYPACKETFEE.fields_by_name['fee']._options = None - _MSGPAYPACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' + _MSGPAYPACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGPAYPACKETFEE._options = None _MSGPAYPACKETFEE._serialized_options = b'\210\240\037\000\202\347\260*\006signer\212\347\260*\032cosmos-sdk/MsgPayPacketFee' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._options = None - _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._options = None - _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000' + _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGPAYPACKETFEEASYNC._options = None _MSGPAYPACKETFEEASYNC._serialized_options = b'\210\240\037\000\202\347\260*\npacket_fee\212\347\260*\037cosmos-sdk/MsgPayPacketFeeAsync' _MSG._options = None @@ -51,13 +52,13 @@ _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=542 _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=580 _globals['_MSGPAYPACKETFEE']._serialized_start=583 - _globals['_MSGPAYPACKETFEE']._serialized_end=782 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=784 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=809 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=812 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=1009 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=1011 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=1041 - _globals['_MSG']._serialized_start=1044 - _globals['_MSG']._serialized_end=1546 + _globals['_MSGPAYPACKETFEE']._serialized_end=787 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=789 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=814 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=817 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=1024 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=1026 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=1056 + _globals['_MSG']._serialized_start=1059 + _globals['_MSG']._serialized_end=1561 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py index d408f914..b6fbb7bb 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 @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.controller_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' _globals['_PARAMS']._serialized_start=123 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 be7fb052..e4fc336e 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 @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' _QUERY.methods_by_name['InterchainAccount']._options = None 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 90f66d07..9abeeb7b 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 @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' _MSGREGISTERINTERCHAINACCOUNT._options = None 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 5c8216a7..792e89b2 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 @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.genesis.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types' _GENESISSTATE.fields_by_name['controller_genesis_state']._options = None 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 e1d68d4e..795968ac 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 @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.host_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' _globals['_PARAMS']._serialized_start=105 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 1e3571cc..700142a4 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 @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' _QUERY.methods_by_name['Params']._options = None 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 75a4d183..83486198 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 @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' _MSGUPDATEPARAMS.fields_by_name['params']._options = None 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 1dc6e9d0..3878bf25 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.account_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' _INTERCHAINACCOUNT.fields_by_name['base_account']._options = None 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 9e0d9e94..9d4fd546 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.metadata_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' _globals['_METADATA']._serialized_start=100 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 60789356..9558a2e3 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.packet_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' _TYPE._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py index 35c3ace2..4a179837 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.authz_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _ALLOCATION.fields_by_name['spend_limit']._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py index 92747d5a..2fd299b8 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _GENESISSTATE.fields_by_name['denom_traces']._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py index b3b3620f..93917afa 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _QUERYDENOMTRACESRESPONSE.fields_by_name['denom_traces']._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py index 5532823f..05953191 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.transfer_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _globals['_DENOMTRACE']._serialized_start=77 diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py index 4b707dfd..39cd7d49 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py @@ -19,18 +19,19 @@ from ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\xab\x02\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12>\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x14\xc8\xde\x1f\x00\x9a\xe7\xb0*\x0blegacy_coin\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12\x38\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x07 \x01(\x04\x12\x0c\n\x04memo\x18\x08 \x01(\t:*\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgTransfer\"-\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04:\x04\x88\xa0\x1f\x00\"n\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12:\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xec\x01\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponse\x12t\n\x0cUpdateParams\x12-.ibc.applications.transfer.v1.MsgUpdateParams\x1a\x35.ibc.applications.transfer.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x39Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\xa5\x02\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12\x33\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12=\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x19\n\x11timeout_timestamp\x18\x07 \x01(\x04\x12\x0c\n\x04memo\x18\x08 \x01(\t:*\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgTransfer\"-\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04:\x04\x88\xa0\x1f\x00\"n\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12:\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xec\x01\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponse\x12t\n\x0cUpdateParams\x12-.ibc.applications.transfer.v1.MsgUpdateParams\x1a\x35.ibc.applications.transfer.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x39Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _MSGTRANSFER.fields_by_name['token']._options = None - _MSGTRANSFER.fields_by_name['token']._serialized_options = b'\310\336\037\000\232\347\260*\013legacy_coin' + _MSGTRANSFER.fields_by_name['token']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGTRANSFER.fields_by_name['timeout_height']._options = None - _MSGTRANSFER.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000' + _MSGTRANSFER.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000\250\347\260*\001' _MSGTRANSFER._options = None _MSGTRANSFER._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\026cosmos-sdk/MsgTransfer' _MSGTRANSFERRESPONSE._options = None @@ -42,13 +43,13 @@ _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' _globals['_MSGTRANSFER']._serialized_start=248 - _globals['_MSGTRANSFER']._serialized_end=547 - _globals['_MSGTRANSFERRESPONSE']._serialized_start=549 - _globals['_MSGTRANSFERRESPONSE']._serialized_end=594 - _globals['_MSGUPDATEPARAMS']._serialized_start=596 - _globals['_MSGUPDATEPARAMS']._serialized_end=706 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=708 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=733 - _globals['_MSG']._serialized_start=736 - _globals['_MSG']._serialized_end=972 + _globals['_MSGTRANSFER']._serialized_end=541 + _globals['_MSGTRANSFERRESPONSE']._serialized_start=543 + _globals['_MSGTRANSFERRESPONSE']._serialized_end=588 + _globals['_MSGUPDATEPARAMS']._serialized_start=590 + _globals['_MSGUPDATEPARAMS']._serialized_end=700 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=702 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=727 + _globals['_MSG']._serialized_start=730 + _globals['_MSG']._serialized_end=966 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py index b2f12461..945c0432 100644 --- a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v2.packet_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _globals['_FUNGIBLETOKENPACKETDATA']._serialized_start=75 diff --git a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py index 715990f3..5a3245de 100644 --- a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.channel_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _STATE._options = None diff --git a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py index a9954ba1..d02b8e20 100644 --- a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _GENESISSTATE.fields_by_name['channels']._options = None diff --git a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py index 970a9063..2fea022d 100644 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py @@ -25,6 +25,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _QUERYCHANNELRESPONSE.fields_by_name['proof_height']._options = None diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py index 790e6cd3..6f14197e 100644 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' _RESPONSERESULTTYPE._options = None diff --git a/pyinjective/proto/ibc/core/client/v1/client_pb2.py b/pyinjective/proto/ibc/core/client/v1/client_pb2.py index e7cdbeda..e6e836cd 100644 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/client_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.client_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _CONSENSUSSTATEWITHHEIGHT.fields_by_name['height']._options = None diff --git a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py index 67a66364..26f63a9e 100644 --- a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _GENESISSTATE.fields_by_name['clients']._options = None diff --git a/pyinjective/proto/ibc/core/client/v1/query_pb2.py b/pyinjective/proto/ibc/core/client/v1/query_pb2.py index 62f40af2..942dbf5b 100644 --- a/pyinjective/proto/ibc/core/client/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/query_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _QUERYCLIENTSTATERESPONSE.fields_by_name['proof_height']._options = None diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py index 16c13ecb..50fb6af7 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' _MSGCREATECLIENT._options = None diff --git a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py index 2ae6f880..ed3dd692 100644 --- a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py +++ b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.commitment.v1.commitment_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe9\x02\n\x1bSubaccountOrderbookMetadata\x12!\n\x19vanilla_limit_order_count\x18\x01 \x01(\r\x12%\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\r\x12V\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12R\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\'\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\r\x12+\n#reduce_only_conditional_order_count\x18\x06 \x01(\r\"\xa8\x01\n\x0fSubaccountOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cisReduceOnly\x18\x03 \x01(\x08\"e\n\x13SubaccountOrderData\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrder\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\"\xef\x02\n\x14\x44\x65rivativeLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x66illable\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xf3\x02\n\x15\x44\x65rivativeMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0bmargin_hold\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xb3\x02\n\x08Position\x12\x0e\n\x06isLong\x18\x01 \x01(\x08\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"8\n\x14MarketOrderIndicator\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05isBuy\x18\x02 \x01(\x08\"\x98\x02\n\x08TradeLog\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x03 \x01(\x0c\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"\xff\x01\n\rPositionDelta\x12\x0f\n\x07is_long\x18\x01 \x01(\x08\x12J\n\x12\x65xecution_quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x65xecution_margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x65xecution_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa4\x02\n\x12\x44\x65rivativeTradeLog\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x41\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"c\n\x12SubaccountPosition\x12\x36\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.Position\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\"`\n\x11SubaccountDeposit\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x34\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit\"_\n\rDepositUpdate\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12?\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDeposit\"\xb4\x01\n\x10PointsMultiplier\x12O\n\x17maker_points_multiplier\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12O\n\x17taker_points_multiplier\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x98\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x1f\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\t\x12S\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\x12%\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\t\x12Y\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\"\x98\x01\n\x12\x43\x61mpaignRewardPool\x12\x17\n\x0fstart_timestamp\x18\x01 \x01(\x03\x12i\n\x14max_campaign_rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\xd4\x01\n\x19TradingRewardCampaignInfo\x12!\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x02 \x03(\t\x12]\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x04 \x03(\t\"\xb6\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12K\n\x13maker_discount_rate\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13taker_discount_rate\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rstaked_amount\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12>\n\x06volume\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xc0\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12\x14\n\x0c\x62ucket_count\x18\x01 \x01(\x04\x12\x17\n\x0f\x62ucket_duration\x18\x02 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x03 \x03(\t\x12\x43\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x05 \x03(\t\"9\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x0c\n\x04tier\x18\x01 \x01(\x04\x12\x15\n\rttl_timestamp\x18\x02 \x01(\x03\"\x9a\x01\n\x0cVolumeRecord\x12\x44\n\x0cmaker_volume\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0ctaker_volume\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x7f\n\x0e\x41\x63\x63ountRewards\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\\\n\x07rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"h\n\x0cTradeRecords\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecord\"\'\n\rSubaccountIDs\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\x0c\"\xa1\x01\n\x0bTradeRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"}\n\x05Level\x12\x39\n\x01p\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x39\n\x01q\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"z\n\x1f\x41ggregateSubaccountVolumeRecord\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"q\n\x1c\x41ggregateAccountVolumeRecord\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"a\n\x0cMarketVolume\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12>\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00\"0\n\rDenomDecimals\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04*t\n\x1c\x41tomicMarketOrderAccessLevel\x12\n\n\x06Nobody\x10\x00\x12\"\n\x1e\x42\x65ginBlockerSmartContractsOnly\x10\x01\x12\x16\n\x12SmartContractsOnly\x10\x02\x12\x0c\n\x08\x45veryone\x10\x03*T\n\x0cMarketStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x41\x63tive\x10\x01\x12\n\n\x06Paused\x10\x02\x12\x0e\n\nDemolished\x10\x03\x12\x0b\n\x07\x45xpired\x10\x04*\xbb\x02\n\tOrderType\x12 \n\x0bUNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\x10\n\x03\x42UY\x10\x01\x1a\x07\x8a\x9d \x03\x42UY\x12\x12\n\x04SELL\x10\x02\x1a\x08\x8a\x9d \x04SELL\x12\x1a\n\x08STOP_BUY\x10\x03\x1a\x0c\x8a\x9d \x08STOP_BUY\x12\x1c\n\tSTOP_SELL\x10\x04\x1a\r\x8a\x9d \tSTOP_SELL\x12\x1a\n\x08TAKE_BUY\x10\x05\x1a\x0c\x8a\x9d \x08TAKE_BUY\x12\x1c\n\tTAKE_SELL\x10\x06\x1a\r\x8a\x9d \tTAKE_SELL\x12\x16\n\x06\x42UY_PO\x10\x07\x1a\n\x8a\x9d \x06\x42UY_PO\x12\x18\n\x07SELL_PO\x10\x08\x1a\x0b\x8a\x9d \x07SELL_PO\x12\x1e\n\nBUY_ATOMIC\x10\t\x1a\x0e\x8a\x9d \nBUY_ATOMIC\x12 \n\x0bSELL_ATOMIC\x10\n\x1a\x0f\x8a\x9d \x0bSELL_ATOMIC*\xaf\x01\n\rExecutionType\x12\x1c\n\x18UnspecifiedExecutionType\x10\x00\x12\n\n\x06Market\x10\x01\x12\r\n\tLimitFill\x10\x02\x12\x1a\n\x16LimitMatchRestingOrder\x10\x03\x12\x16\n\x12LimitMatchNewOrder\x10\x04\x12\x15\n\x11MarketLiquidation\x10\x05\x12\x1a\n\x16\x45xpiryMarketSettlement\x10\x06*\x89\x02\n\tOrderMask\x12\x16\n\x06UNUSED\x10\x00\x1a\n\x8a\x9d \x06UNUSED\x12\x10\n\x03\x41NY\x10\x01\x1a\x07\x8a\x9d \x03\x41NY\x12\x18\n\x07REGULAR\x10\x02\x1a\x0b\x8a\x9d \x07REGULAR\x12 \n\x0b\x43ONDITIONAL\x10\x04\x1a\x0f\x8a\x9d \x0b\x43ONDITIONAL\x12.\n\x17\x44IRECTION_BUY_OR_HIGHER\x10\x08\x1a\x11\x8a\x9d \rBUY_OR_HIGHER\x12.\n\x17\x44IRECTION_SELL_OR_LOWER\x10\x10\x1a\x11\x8a\x9d \rSELL_OR_LOWER\x12\x1b\n\x0bTYPE_MARKET\x10 \x1a\n\x8a\x9d \x06MARKET\x12\x19\n\nTYPE_LIMIT\x10@\x1a\t\x8a\x9d \x05LIMITBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/exchange/v1beta1/exchange.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\"\x99\x0f\n\x06Params\x12H\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12N\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12S\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12S\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Y\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Y\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12T\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12X\n default_maintenance_margin_ratio\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12 \n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03\x12\x18\n\x10\x66unding_multiple\x18\n \x01(\x03\x12N\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12W\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12T\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\'\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\r\x12_\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12(\n trading_rewards_vesting_duration\x18\x10 \x01(\x03\x12T\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12R\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x62\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x38.injective.exchange.v1beta1.AtomicMarketOrderAccessLevel\x12_\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x65\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12i\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Q\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x33\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08\x12\'\n\x1fpost_only_mode_height_threshold\x18\x19 \x01(\x03:\x04\xe8\xa0\x1f\x01\"v\n\x13MarketFeeMultiplier\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x46\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\xbf\x06\n\x10\x44\x65rivativeMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x13\n\x0boracle_base\x18\x02 \x01(\t\x12\x14\n\x0coracle_quote\x18\x03 \x01(\t\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x05 \x01(\r\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12\x11\n\tmarket_id\x18\x07 \x01(\t\x12L\n\x14initial_margin_ratio\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x13\n\x0bisPerpetual\x18\r \x01(\x08\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x10 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\xa7\x06\n\x13\x42inaryOptionsMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x15\n\roracle_symbol\x18\x02 \x01(\t\x12\x17\n\x0foracle_provider\x18\x03 \x01(\t\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x05 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x07 \x01(\x03\x12\r\n\x05\x61\x64min\x18\x08 \x01(\t\x12\x13\n\x0bquote_denom\x18\t \x01(\t\x12\x11\n\tmarket_id\x18\n \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x10 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10settlement_price\x18\x11 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\x92\x02\n\x17\x45xpiryFuturesMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03\x12\x1c\n\x14twap_start_timestamp\x18\x03 \x01(\x03\x12^\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10settlement_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x81\x02\n\x13PerpetualMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12O\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14hourly_interest_rate\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1e\n\x16next_funding_timestamp\x18\x04 \x01(\x03\x12\x18\n\x10\x66unding_interval\x18\x05 \x01(\x03\"\xc6\x01\n\x16PerpetualMarketFunding\x12J\n\x12\x63umulative_funding\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x63umulative_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x03\"}\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12H\n\x10settlement_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\".\n\x14NextFundingTimestamp\x12\x16\n\x0enext_timestamp\x18\x01 \x01(\x03\"\xe4\x01\n\x0eMidPriceAndTOB\x12\x41\n\tmid_price\x18\x01 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x8f\x04\n\nSpotMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\tmarket_id\x18\x07 \x01(\t\x12\x38\n\x06status\x18\x08 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x9b\x01\n\x07\x44\x65posit\x12I\n\x11\x61vailable_balance\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtotal_balance\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"%\n\x14SubaccountTradeNonce\x12\r\n\x05nonce\x18\x01 \x01(\r\"\xc7\x01\n\tOrderInfo\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x15\n\rfee_recipient\x18\x02 \x01(\t\x12=\n\x05price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x0b\n\x03\x63id\x18\x05 \x01(\t\"\xe1\x01\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12\x45\n\rtrigger_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa9\x02\n\x0eSpotLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12@\n\x08\x66illable\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\"\xae\x02\n\x0fSpotMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x44\n\x0c\x62\x61lance_hold\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x03 \x01(\x0c\x12\x39\n\norder_type\x18\x04 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa7\x02\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe9\x02\n\x1bSubaccountOrderbookMetadata\x12!\n\x19vanilla_limit_order_count\x18\x01 \x01(\r\x12%\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\r\x12V\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12R\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\'\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\r\x12+\n#reduce_only_conditional_order_count\x18\x06 \x01(\r\"\xa8\x01\n\x0fSubaccountOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cisReduceOnly\x18\x03 \x01(\x08\"e\n\x13SubaccountOrderData\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrder\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\"\xef\x02\n\x14\x44\x65rivativeLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x66illable\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xf3\x02\n\x15\x44\x65rivativeMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0bmargin_hold\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xb3\x02\n\x08Position\x12\x0e\n\x06isLong\x18\x01 \x01(\x08\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"8\n\x14MarketOrderIndicator\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05isBuy\x18\x02 \x01(\x08\"\xa5\x02\n\x08TradeLog\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x03 \x01(\x0c\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\x12\x0b\n\x03\x63id\x18\x07 \x01(\t\"\xff\x01\n\rPositionDelta\x12\x0f\n\x07is_long\x18\x01 \x01(\x08\x12J\n\x12\x65xecution_quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x65xecution_margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x65xecution_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xb1\x02\n\x12\x44\x65rivativeTradeLog\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x41\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\x12\x0b\n\x03\x63id\x18\x07 \x01(\t\"c\n\x12SubaccountPosition\x12\x36\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.Position\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\"`\n\x11SubaccountDeposit\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x34\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit\"_\n\rDepositUpdate\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12?\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDeposit\"\xb4\x01\n\x10PointsMultiplier\x12O\n\x17maker_points_multiplier\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12O\n\x17taker_points_multiplier\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x98\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x1f\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\t\x12S\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\x12%\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\t\x12Y\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\"\x98\x01\n\x12\x43\x61mpaignRewardPool\x12\x17\n\x0fstart_timestamp\x18\x01 \x01(\x03\x12i\n\x14max_campaign_rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\xd4\x01\n\x19TradingRewardCampaignInfo\x12!\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x02 \x03(\t\x12]\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x04 \x03(\t\"\xb6\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12K\n\x13maker_discount_rate\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13taker_discount_rate\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rstaked_amount\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12>\n\x06volume\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xc0\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12\x14\n\x0c\x62ucket_count\x18\x01 \x01(\x04\x12\x17\n\x0f\x62ucket_duration\x18\x02 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x03 \x03(\t\x12\x43\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x05 \x03(\t\"9\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x0c\n\x04tier\x18\x01 \x01(\x04\x12\x15\n\rttl_timestamp\x18\x02 \x01(\x03\"\x9a\x01\n\x0cVolumeRecord\x12\x44\n\x0cmaker_volume\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0ctaker_volume\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x7f\n\x0e\x41\x63\x63ountRewards\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\\\n\x07rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"h\n\x0cTradeRecords\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecord\"\'\n\rSubaccountIDs\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\x0c\"\xa1\x01\n\x0bTradeRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"}\n\x05Level\x12\x39\n\x01p\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x39\n\x01q\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"z\n\x1f\x41ggregateSubaccountVolumeRecord\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"q\n\x1c\x41ggregateAccountVolumeRecord\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"a\n\x0cMarketVolume\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12>\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00\"0\n\rDenomDecimals\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04*t\n\x1c\x41tomicMarketOrderAccessLevel\x12\n\n\x06Nobody\x10\x00\x12\"\n\x1e\x42\x65ginBlockerSmartContractsOnly\x10\x01\x12\x16\n\x12SmartContractsOnly\x10\x02\x12\x0c\n\x08\x45veryone\x10\x03*T\n\x0cMarketStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x41\x63tive\x10\x01\x12\n\n\x06Paused\x10\x02\x12\x0e\n\nDemolished\x10\x03\x12\x0b\n\x07\x45xpired\x10\x04*\xbb\x02\n\tOrderType\x12 \n\x0bUNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\x10\n\x03\x42UY\x10\x01\x1a\x07\x8a\x9d \x03\x42UY\x12\x12\n\x04SELL\x10\x02\x1a\x08\x8a\x9d \x04SELL\x12\x1a\n\x08STOP_BUY\x10\x03\x1a\x0c\x8a\x9d \x08STOP_BUY\x12\x1c\n\tSTOP_SELL\x10\x04\x1a\r\x8a\x9d \tSTOP_SELL\x12\x1a\n\x08TAKE_BUY\x10\x05\x1a\x0c\x8a\x9d \x08TAKE_BUY\x12\x1c\n\tTAKE_SELL\x10\x06\x1a\r\x8a\x9d \tTAKE_SELL\x12\x16\n\x06\x42UY_PO\x10\x07\x1a\n\x8a\x9d \x06\x42UY_PO\x12\x18\n\x07SELL_PO\x10\x08\x1a\x0b\x8a\x9d \x07SELL_PO\x12\x1e\n\nBUY_ATOMIC\x10\t\x1a\x0e\x8a\x9d \nBUY_ATOMIC\x12 \n\x0bSELL_ATOMIC\x10\n\x1a\x0f\x8a\x9d \x0bSELL_ATOMIC*\xaf\x01\n\rExecutionType\x12\x1c\n\x18UnspecifiedExecutionType\x10\x00\x12\n\n\x06Market\x10\x01\x12\r\n\tLimitFill\x10\x02\x12\x1a\n\x16LimitMatchRestingOrder\x10\x03\x12\x16\n\x12LimitMatchNewOrder\x10\x04\x12\x15\n\x11MarketLiquidation\x10\x05\x12\x1a\n\x16\x45xpiryMarketSettlement\x10\x06*\x89\x02\n\tOrderMask\x12\x16\n\x06UNUSED\x10\x00\x1a\n\x8a\x9d \x06UNUSED\x12\x10\n\x03\x41NY\x10\x01\x1a\x07\x8a\x9d \x03\x41NY\x12\x18\n\x07REGULAR\x10\x02\x1a\x0b\x8a\x9d \x07REGULAR\x12 \n\x0b\x43ONDITIONAL\x10\x04\x1a\x0f\x8a\x9d \x0b\x43ONDITIONAL\x12.\n\x17\x44IRECTION_BUY_OR_HIGHER\x10\x08\x1a\x11\x8a\x9d \rBUY_OR_HIGHER\x12.\n\x17\x44IRECTION_SELL_OR_LOWER\x10\x10\x1a\x11\x8a\x9d \rSELL_OR_LOWER\x12\x1b\n\x0bTYPE_MARKET\x10 \x1a\n\x8a\x9d \x06MARKET\x12\x19\n\nTYPE_LIMIT\x10@\x1a\t\x8a\x9d \x05LIMITBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.exchange_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types' _ORDERTYPE.values_by_name["UNSPECIFIED"]._options = None @@ -280,16 +281,16 @@ _LEVEL.fields_by_name['q']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MARKETVOLUME.fields_by_name['volume']._options = None _MARKETVOLUME.fields_by_name['volume']._serialized_options = b'\310\336\037\000' - _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_start=12466 - _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_end=12582 - _globals['_MARKETSTATUS']._serialized_start=12584 - _globals['_MARKETSTATUS']._serialized_end=12668 - _globals['_ORDERTYPE']._serialized_start=12671 - _globals['_ORDERTYPE']._serialized_end=12986 - _globals['_EXECUTIONTYPE']._serialized_start=12989 - _globals['_EXECUTIONTYPE']._serialized_end=13164 - _globals['_ORDERMASK']._serialized_start=13167 - _globals['_ORDERMASK']._serialized_end=13432 + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_start=12505 + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_end=12621 + _globals['_MARKETSTATUS']._serialized_start=12623 + _globals['_MARKETSTATUS']._serialized_end=12707 + _globals['_ORDERTYPE']._serialized_start=12710 + _globals['_ORDERTYPE']._serialized_end=13025 + _globals['_EXECUTIONTYPE']._serialized_start=13028 + _globals['_EXECUTIONTYPE']._serialized_end=13203 + _globals['_ORDERMASK']._serialized_start=13206 + _globals['_ORDERMASK']._serialized_end=13471 _globals['_PARAMS']._serialized_start=167 _globals['_PARAMS']._serialized_end=2112 _globals['_MARKETFEEMULTIPLIER']._serialized_start=2114 @@ -317,73 +318,73 @@ _globals['_SUBACCOUNTTRADENONCE']._serialized_start=5710 _globals['_SUBACCOUNTTRADENONCE']._serialized_end=5747 _globals['_ORDERINFO']._serialized_start=5750 - _globals['_ORDERINFO']._serialized_end=5936 - _globals['_SPOTORDER']._serialized_start=5939 - _globals['_SPOTORDER']._serialized_end=6164 - _globals['_SPOTLIMITORDER']._serialized_start=6167 - _globals['_SPOTLIMITORDER']._serialized_end=6464 - _globals['_SPOTMARKETORDER']._serialized_start=6467 - _globals['_SPOTMARKETORDER']._serialized_end=6769 - _globals['_DERIVATIVEORDER']._serialized_start=6772 - _globals['_DERIVATIVEORDER']._serialized_end=7067 - _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_start=7070 - _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_end=7431 - _globals['_SUBACCOUNTORDER']._serialized_start=7434 - _globals['_SUBACCOUNTORDER']._serialized_end=7602 - _globals['_SUBACCOUNTORDERDATA']._serialized_start=7604 - _globals['_SUBACCOUNTORDERDATA']._serialized_end=7705 - _globals['_DERIVATIVELIMITORDER']._serialized_start=7708 - _globals['_DERIVATIVELIMITORDER']._serialized_end=8075 - _globals['_DERIVATIVEMARKETORDER']._serialized_start=8078 - _globals['_DERIVATIVEMARKETORDER']._serialized_end=8449 - _globals['_POSITION']._serialized_start=8452 - _globals['_POSITION']._serialized_end=8759 - _globals['_MARKETORDERINDICATOR']._serialized_start=8761 - _globals['_MARKETORDERINDICATOR']._serialized_end=8817 - _globals['_TRADELOG']._serialized_start=8820 - _globals['_TRADELOG']._serialized_end=9100 - _globals['_POSITIONDELTA']._serialized_start=9103 - _globals['_POSITIONDELTA']._serialized_end=9358 - _globals['_DERIVATIVETRADELOG']._serialized_start=9361 - _globals['_DERIVATIVETRADELOG']._serialized_end=9653 - _globals['_SUBACCOUNTPOSITION']._serialized_start=9655 - _globals['_SUBACCOUNTPOSITION']._serialized_end=9754 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=9756 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=9852 - _globals['_DEPOSITUPDATE']._serialized_start=9854 - _globals['_DEPOSITUPDATE']._serialized_end=9949 - _globals['_POINTSMULTIPLIER']._serialized_start=9952 - _globals['_POINTSMULTIPLIER']._serialized_end=10132 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=10135 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=10415 - _globals['_CAMPAIGNREWARDPOOL']._serialized_start=10418 - _globals['_CAMPAIGNREWARDPOOL']._serialized_end=10570 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=10573 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=10785 - _globals['_FEEDISCOUNTTIERINFO']._serialized_start=10788 - _globals['_FEEDISCOUNTTIERINFO']._serialized_end=11098 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=11101 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=11293 - _globals['_FEEDISCOUNTTIERTTL']._serialized_start=11295 - _globals['_FEEDISCOUNTTIERTTL']._serialized_end=11352 - _globals['_VOLUMERECORD']._serialized_start=11355 - _globals['_VOLUMERECORD']._serialized_end=11509 - _globals['_ACCOUNTREWARDS']._serialized_start=11511 - _globals['_ACCOUNTREWARDS']._serialized_end=11638 - _globals['_TRADERECORDS']._serialized_start=11640 - _globals['_TRADERECORDS']._serialized_end=11744 - _globals['_SUBACCOUNTIDS']._serialized_start=11746 - _globals['_SUBACCOUNTIDS']._serialized_end=11785 - _globals['_TRADERECORD']._serialized_start=11788 - _globals['_TRADERECORD']._serialized_end=11949 - _globals['_LEVEL']._serialized_start=11951 - _globals['_LEVEL']._serialized_end=12076 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=12078 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=12200 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=12202 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=12315 - _globals['_MARKETVOLUME']._serialized_start=12317 - _globals['_MARKETVOLUME']._serialized_end=12414 - _globals['_DENOMDECIMALS']._serialized_start=12416 - _globals['_DENOMDECIMALS']._serialized_end=12464 + _globals['_ORDERINFO']._serialized_end=5949 + _globals['_SPOTORDER']._serialized_start=5952 + _globals['_SPOTORDER']._serialized_end=6177 + _globals['_SPOTLIMITORDER']._serialized_start=6180 + _globals['_SPOTLIMITORDER']._serialized_end=6477 + _globals['_SPOTMARKETORDER']._serialized_start=6480 + _globals['_SPOTMARKETORDER']._serialized_end=6782 + _globals['_DERIVATIVEORDER']._serialized_start=6785 + _globals['_DERIVATIVEORDER']._serialized_end=7080 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_start=7083 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_end=7444 + _globals['_SUBACCOUNTORDER']._serialized_start=7447 + _globals['_SUBACCOUNTORDER']._serialized_end=7615 + _globals['_SUBACCOUNTORDERDATA']._serialized_start=7617 + _globals['_SUBACCOUNTORDERDATA']._serialized_end=7718 + _globals['_DERIVATIVELIMITORDER']._serialized_start=7721 + _globals['_DERIVATIVELIMITORDER']._serialized_end=8088 + _globals['_DERIVATIVEMARKETORDER']._serialized_start=8091 + _globals['_DERIVATIVEMARKETORDER']._serialized_end=8462 + _globals['_POSITION']._serialized_start=8465 + _globals['_POSITION']._serialized_end=8772 + _globals['_MARKETORDERINDICATOR']._serialized_start=8774 + _globals['_MARKETORDERINDICATOR']._serialized_end=8830 + _globals['_TRADELOG']._serialized_start=8833 + _globals['_TRADELOG']._serialized_end=9126 + _globals['_POSITIONDELTA']._serialized_start=9129 + _globals['_POSITIONDELTA']._serialized_end=9384 + _globals['_DERIVATIVETRADELOG']._serialized_start=9387 + _globals['_DERIVATIVETRADELOG']._serialized_end=9692 + _globals['_SUBACCOUNTPOSITION']._serialized_start=9694 + _globals['_SUBACCOUNTPOSITION']._serialized_end=9793 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=9795 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=9891 + _globals['_DEPOSITUPDATE']._serialized_start=9893 + _globals['_DEPOSITUPDATE']._serialized_end=9988 + _globals['_POINTSMULTIPLIER']._serialized_start=9991 + _globals['_POINTSMULTIPLIER']._serialized_end=10171 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=10174 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=10454 + _globals['_CAMPAIGNREWARDPOOL']._serialized_start=10457 + _globals['_CAMPAIGNREWARDPOOL']._serialized_end=10609 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=10612 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=10824 + _globals['_FEEDISCOUNTTIERINFO']._serialized_start=10827 + _globals['_FEEDISCOUNTTIERINFO']._serialized_end=11137 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=11140 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=11332 + _globals['_FEEDISCOUNTTIERTTL']._serialized_start=11334 + _globals['_FEEDISCOUNTTIERTTL']._serialized_end=11391 + _globals['_VOLUMERECORD']._serialized_start=11394 + _globals['_VOLUMERECORD']._serialized_end=11548 + _globals['_ACCOUNTREWARDS']._serialized_start=11550 + _globals['_ACCOUNTREWARDS']._serialized_end=11677 + _globals['_TRADERECORDS']._serialized_start=11679 + _globals['_TRADERECORDS']._serialized_end=11783 + _globals['_SUBACCOUNTIDS']._serialized_start=11785 + _globals['_SUBACCOUNTIDS']._serialized_end=11824 + _globals['_TRADERECORD']._serialized_start=11827 + _globals['_TRADERECORD']._serialized_end=11988 + _globals['_LEVEL']._serialized_start=11990 + _globals['_LEVEL']._serialized_end=12115 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=12117 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=12239 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=12241 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=12354 + _globals['_MARKETVOLUME']._serialized_start=12356 + _globals['_MARKETVOLUME']._serialized_end=12453 + _globals['_DENOMDECIMALS']._serialized_start=12455 + _globals['_DENOMDECIMALS']._serialized_end=12503 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py index fabbbde1..2f13d7b7 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types' _GENESISSTATE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py index 7b5bd4c3..8381f73f 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types' _QUERYEXCHANGEPARAMSRESPONSE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py index 3af1524d..d442c8f0 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py @@ -20,12 +20,13 @@ from injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -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\"\x88\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"y\n\nMsgDeposit\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x14\n\x12MsgDepositResponse\"z\n\x0bMsgWithdraw\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x15\n\x13MsgWithdrawResponse\"z\n\x17MsgCreateSpotLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"?\n\x1fMsgCreateSpotLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x81\x01\n\x1dMsgBatchCreateSpotLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12;\n\x06orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"G\n%MsgBatchCreateSpotLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x97\x02\n\x1aMsgInstantSpotMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x12\n\nbase_denom\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12K\n\x13min_price_tick_size\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xbb\x05\n\x1fMsgInstantPerpetualMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x39\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\xef\x04\n#MsgInstantBinaryOptionsMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x15\n\roracle_symbol\x18\x03 \x01(\t\x12\x17\n\x0foracle_provider\x18\x04 \x01(\t\x12\x39\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x46\n\x0emaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x13\n\x0bquote_denom\x18\x0c \x01(\t\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xcf\x05\n#MsgInstantExpiryFuturesMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x0e\n\x06\x65xpiry\x18\x08 \x01(\x03\x12\x46\n\x0emaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"{\n\x18MsgCreateSpotMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x8b\x01\n MsgCreateSpotMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12I\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe0\x01\n\x16SpotMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x82\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"E\n%MsgCreateDerivativeLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x85\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"H\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x89\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x41\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"M\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"s\n\x12MsgCancelSpotOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgCancelSpotOrderResponse\"v\n\x18MsgBatchCancelSpotOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"=\n MsgBatchCancelSpotOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x7f\n!MsgBatchCancelBinaryOptionsOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"F\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc7\x05\n\x14MsgBatchUpdateOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12%\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\t\x12+\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\t\x12J\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12P\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12J\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01\x12V\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01\x12T\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12/\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\t\x12Z\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xf0\x01\n\x1cMsgBatchUpdateOrdersResponse\x12\x1b\n\x13spot_cancel_success\x18\x01 \x03(\x08\x12!\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08\x12\x19\n\x11spot_order_hashes\x18\x03 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\t\x12%\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08\x12#\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x83\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x97\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xef\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00\x12>\n\x06payout\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9a\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8d\x01\n\x18MsgCancelDerivativeOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n MsgCancelDerivativeOrderResponse\"\x90\x01\n\x1bMsgCancelBinaryOptionsOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"%\n#MsgCancelBinaryOptionsOrderResponse\"]\n\tOrderData\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x12\n\norder_hash\x18\x03 \x01(\t\x12\x12\n\norder_mask\x18\x04 \x01(\x05\"|\n\x1eMsgBatchCancelDerivativeOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"C\n&MsgBatchCancelDerivativeOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa6\x01\n\x15MsgSubaccountTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgSubaccountTransferResponse\"\xa4\x01\n\x13MsgExternalTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgExternalTransferResponse\"\x9f\x01\n\x14MsgLiquidatePosition\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12@\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xcc\x01\n\x19MsgIncreasePositionMargin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12\x11\n\tmarket_id\x18\x04 \x01(\t\x12>\n\x06\x61mount\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x0b\x82\xe7\xb0*\x06sender\"#\n!MsgIncreasePositionMarginResponse\"z\n\x1cMsgPrivilegedExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x66unds\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9c\x01\n$MsgPrivilegedExecuteContractResponse\x12_\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.Coins:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xb5\x04\n\x1dSpotMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x86\x01\n\x16\x45xchangeEnableProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12>\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeType:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xaf\x08\n!BatchExchangeModificationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x65\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposal\x12q\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposal\x12Z\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposal\x12\x64\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposal\x12m\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposal\x12p\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposal\x12m\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposal\x12q\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposal\x12_\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposal:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xcc\x03\n\x18SpotMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12\x13\n\x0bquote_denom\x18\x05 \x01(\t\x12K\n\x13min_price_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xe0\x05\n\x1dPerpetualMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12L\n\x14initial_margin_ratio\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x94\x05\n!BinaryOptionsMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x03\x12\r\n\x05\x61\x64min\x18\n \x01(\t\x12\x13\n\x0bquote_denom\x18\x0b \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xf4\x05\n!ExpiryFuturesMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\t \x01(\x03\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb6\x07\n#DerivativeMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12L\n\x14initial_margin_ratio\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\t \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\n \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12J\n\x12HourlyInterestRate\x18\x0b \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12?\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParams:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xc9\x01\n\x1eMarketForcedSettlementProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12H\n\x10settlement_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xac\x01\n\x1bUpdateDenomDecimalsProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimals:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9c\x06\n&BinaryOptionsMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12H\n\x10settlement_price\x18\x0b \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\r\n\x05\x61\x64min\x18\x0c \x01(\t\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12G\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParams:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x90\x01\n\x14ProviderOracleParams\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x10\n\x08provider\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x91\x01\n\x0cOracleParams\x12\x13\n\x0boracle_base\x18\x01 \x01(\t\x12\x14\n\x0coracle_quote\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x8e\x02\n#TradingRewardCampaignLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12M\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xef\x02\n#TradingRewardCampaignUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12W\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12U\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"p\n\x11RewardPointUpdate\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x42\n\nnew_points\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe3\x01\n(TradingRewardPendingPointsUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1e\n\x16pending_pool_timestamp\x18\x03 \x01(\x03\x12K\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdate:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa4\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb9\x01\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12J\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposal:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\"\n\x10MsgRewardsOptOut\x12\x0e\n\x06sender\x18\x01 \x01(\t\"\x1a\n\x18MsgRewardsOptOutResponse\"d\n\x15MsgReclaimLockedFunds\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x13lockedAccountPubKey\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"r\n\x0bMsgSignData\x12K\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddress\x12\x16\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta\"g\n\nMsgSignDoc\x12\x1b\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04type\x12<\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00\"\x93\x02\n!MsgAdminUpdateBinaryOptionsMarket\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12H\n\x10settlement_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x05 \x01(\x03\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:\x0b\x82\xe7\xb0*\x06sender\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse\"\xcd\x01\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12O\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplier:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*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\x45RIVATIVES2\x90\"\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\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\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\x12\x82\x01\n\x12ReclaimLockedFunds\x12\x31.injective.exchange.v1beta1.MsgReclaimLockedFunds\x1a\x39.injective.exchange.v1beta1.MsgReclaimLockedFundsResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponseBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\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\"\x88\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"y\n\nMsgDeposit\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x14\n\x12MsgDepositResponse\"z\n\x0bMsgWithdraw\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x15\n\x13MsgWithdrawResponse\"z\n\x17MsgCreateSpotLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"?\n\x1fMsgCreateSpotLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x81\x01\n\x1dMsgBatchCreateSpotLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12;\n\x06orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"G\n%MsgBatchCreateSpotLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x97\x02\n\x1aMsgInstantSpotMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x12\n\nbase_denom\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12K\n\x13min_price_tick_size\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xbb\x05\n\x1fMsgInstantPerpetualMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x39\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\xef\x04\n#MsgInstantBinaryOptionsMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x15\n\roracle_symbol\x18\x03 \x01(\t\x12\x17\n\x0foracle_provider\x18\x04 \x01(\t\x12\x39\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x46\n\x0emaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x13\n\x0bquote_denom\x18\x0c \x01(\t\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xcf\x05\n#MsgInstantExpiryFuturesMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x0e\n\x06\x65xpiry\x18\x08 \x01(\x03\x12\x46\n\x0emaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"{\n\x18MsgCreateSpotMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x8b\x01\n MsgCreateSpotMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12I\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe0\x01\n\x16SpotMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x82\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"E\n%MsgCreateDerivativeLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x85\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"H\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x89\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x41\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"M\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x80\x01\n\x12MsgCancelSpotOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x0b\n\x03\x63id\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgCancelSpotOrderResponse\"v\n\x18MsgBatchCancelSpotOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"=\n MsgBatchCancelSpotOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x7f\n!MsgBatchCancelBinaryOptionsOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"F\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc7\x05\n\x14MsgBatchUpdateOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12%\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\t\x12+\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\t\x12J\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12P\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12J\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01\x12V\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01\x12T\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12/\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\t\x12Z\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xf0\x01\n\x1cMsgBatchUpdateOrdersResponse\x12\x1b\n\x13spot_cancel_success\x18\x01 \x03(\x08\x12!\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08\x12\x19\n\x11spot_order_hashes\x18\x03 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\t\x12%\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08\x12#\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x83\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x97\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xef\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00\x12>\n\x06payout\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9a\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9a\x01\n\x18MsgCancelDerivativeOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05\x12\x0b\n\x03\x63id\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n MsgCancelDerivativeOrderResponse\"\x9d\x01\n\x1bMsgCancelBinaryOptionsOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05\x12\x0b\n\x03\x63id\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"%\n#MsgCancelBinaryOptionsOrderResponse\"j\n\tOrderData\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x12\n\norder_hash\x18\x03 \x01(\t\x12\x12\n\norder_mask\x18\x04 \x01(\x05\x12\x0b\n\x03\x63id\x18\x05 \x01(\t\"|\n\x1eMsgBatchCancelDerivativeOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"C\n&MsgBatchCancelDerivativeOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa6\x01\n\x15MsgSubaccountTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgSubaccountTransferResponse\"\xa4\x01\n\x13MsgExternalTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgExternalTransferResponse\"\x9f\x01\n\x14MsgLiquidatePosition\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12@\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xcc\x01\n\x19MsgIncreasePositionMargin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12\x11\n\tmarket_id\x18\x04 \x01(\t\x12>\n\x06\x61mount\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x0b\x82\xe7\xb0*\x06sender\"#\n!MsgIncreasePositionMarginResponse\"z\n\x1cMsgPrivilegedExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x66unds\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9c\x01\n$MsgPrivilegedExecuteContractResponse\x12_\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.Coins:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xb5\x04\n\x1dSpotMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x86\x01\n\x16\x45xchangeEnableProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12>\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeType:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xaf\x08\n!BatchExchangeModificationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x65\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposal\x12q\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposal\x12Z\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposal\x12\x64\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposal\x12m\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposal\x12p\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposal\x12m\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposal\x12q\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposal\x12_\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposal:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xcc\x03\n\x18SpotMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12\x13\n\x0bquote_denom\x18\x05 \x01(\t\x12K\n\x13min_price_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xe0\x05\n\x1dPerpetualMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12L\n\x14initial_margin_ratio\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x94\x05\n!BinaryOptionsMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x03\x12\r\n\x05\x61\x64min\x18\n \x01(\t\x12\x13\n\x0bquote_denom\x18\x0b \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xf4\x05\n!ExpiryFuturesMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\t \x01(\x03\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb6\x07\n#DerivativeMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12L\n\x14initial_margin_ratio\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\t \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\n \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12J\n\x12HourlyInterestRate\x18\x0b \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12?\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParams:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xc9\x01\n\x1eMarketForcedSettlementProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12H\n\x10settlement_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xac\x01\n\x1bUpdateDenomDecimalsProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimals:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9c\x06\n&BinaryOptionsMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12H\n\x10settlement_price\x18\x0b \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\r\n\x05\x61\x64min\x18\x0c \x01(\t\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12G\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParams:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x90\x01\n\x14ProviderOracleParams\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x10\n\x08provider\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x91\x01\n\x0cOracleParams\x12\x13\n\x0boracle_base\x18\x01 \x01(\t\x12\x14\n\x0coracle_quote\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x8e\x02\n#TradingRewardCampaignLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12M\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xef\x02\n#TradingRewardCampaignUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12W\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12U\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"p\n\x11RewardPointUpdate\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x42\n\nnew_points\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe3\x01\n(TradingRewardPendingPointsUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1e\n\x16pending_pool_timestamp\x18\x03 \x01(\x03\x12K\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdate:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa4\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb9\x01\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12J\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposal:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\"\n\x10MsgRewardsOptOut\x12\x0e\n\x06sender\x18\x01 \x01(\t\"\x1a\n\x18MsgRewardsOptOutResponse\"d\n\x15MsgReclaimLockedFunds\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x13lockedAccountPubKey\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"r\n\x0bMsgSignData\x12K\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddress\x12\x16\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta\"g\n\nMsgSignDoc\x12\x1b\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04type\x12<\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00\"\x93\x02\n!MsgAdminUpdateBinaryOptionsMarket\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12H\n\x10settlement_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x05 \x01(\x03\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:\x0b\x82\xe7\xb0*\x06sender\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse\"\xcd\x01\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12O\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplier:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*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\x45RIVATIVES2\x90\"\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\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\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\x12\x82\x01\n\x12ReclaimLockedFunds\x12\x31.injective.exchange.v1beta1.MsgReclaimLockedFunds\x1a\x39.injective.exchange.v1beta1.MsgReclaimLockedFundsResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponseBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types' _EXCHANGETYPE.values_by_name["EXCHANGE_UNSPECIFIED"]._options = None @@ -360,8 +361,8 @@ _MSGADMINUPDATEBINARYOPTIONSMARKET._serialized_options = b'\202\347\260*\006sender' _ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL._options = None _ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_EXCHANGETYPE']._serialized_start=18128 - _globals['_EXCHANGETYPE']._serialized_end=18248 + _globals['_EXCHANGETYPE']._serialized_start=18181 + _globals['_EXCHANGETYPE']._serialized_end=18301 _globals['_MSGUPDATEPARAMS']._serialized_start=304 _globals['_MSGUPDATEPARAMS']._serialized_end=440 _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=442 @@ -416,122 +417,122 @@ _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_end=4708 _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_start=4710 _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_end=4787 - _globals['_MSGCANCELSPOTORDER']._serialized_start=4789 - _globals['_MSGCANCELSPOTORDER']._serialized_end=4904 - _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_start=4906 - _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_end=4934 - _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_start=4936 - _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_end=5054 - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_start=5056 - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_end=5117 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_start=5119 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_end=5246 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_start=5248 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_end=5318 - _globals['_MSGBATCHUPDATEORDERS']._serialized_start=5321 - _globals['_MSGBATCHUPDATEORDERS']._serialized_end=6032 - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_start=6035 - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_end=6275 - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_start=6278 - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_end=6409 - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_start=6412 - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_end=6563 - _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_start=6566 - _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_end=6933 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_start=6936 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_end=7070 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_start=7073 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_end=7227 - _globals['_MSGCANCELDERIVATIVEORDER']._serialized_start=7230 - _globals['_MSGCANCELDERIVATIVEORDER']._serialized_end=7371 - _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_start=7373 - _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_end=7407 - _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_start=7410 - _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_end=7554 - _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_start=7556 - _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_end=7593 - _globals['_ORDERDATA']._serialized_start=7595 - _globals['_ORDERDATA']._serialized_end=7688 - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_start=7690 - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_end=7814 - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_start=7816 - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_end=7883 - _globals['_MSGSUBACCOUNTTRANSFER']._serialized_start=7886 - _globals['_MSGSUBACCOUNTTRANSFER']._serialized_end=8052 - _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_start=8054 - _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_end=8085 - _globals['_MSGEXTERNALTRANSFER']._serialized_start=8088 - _globals['_MSGEXTERNALTRANSFER']._serialized_end=8252 - _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_start=8254 - _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_end=8283 - _globals['_MSGLIQUIDATEPOSITION']._serialized_start=8286 - _globals['_MSGLIQUIDATEPOSITION']._serialized_end=8445 - _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_start=8447 - _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_end=8477 - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_start=8480 - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_end=8684 - _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_start=8686 - _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_end=8721 - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_start=8723 - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=8845 - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=8848 - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=9004 - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_start=9007 - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_end=9572 - _globals['_EXCHANGEENABLEPROPOSAL']._serialized_start=9575 - _globals['_EXCHANGEENABLEPROPOSAL']._serialized_end=9709 - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_start=9712 - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_end=10783 - _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_start=10786 - _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_end=11246 - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_start=11249 - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_end=11985 - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_start=11988 - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_end=12648 - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_start=12651 - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_end=13407 - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_start=13410 - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_end=14360 - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_start=14363 - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_end=14564 - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_start=14567 - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_end=14739 - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_start=14742 - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_end=15538 - _globals['_PROVIDERORACLEPARAMS']._serialized_start=15541 - _globals['_PROVIDERORACLEPARAMS']._serialized_end=15685 - _globals['_ORACLEPARAMS']._serialized_start=15688 - _globals['_ORACLEPARAMS']._serialized_end=15833 - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_start=15836 - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_end=16106 - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_start=16109 - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_end=16476 - _globals['_REWARDPOINTUPDATE']._serialized_start=16478 - _globals['_REWARDPOINTUPDATE']._serialized_end=16590 - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_start=16593 - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_end=16820 - _globals['_FEEDISCOUNTPROPOSAL']._serialized_start=16823 - _globals['_FEEDISCOUNTPROPOSAL']._serialized_end=16987 - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_start=16990 - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_end=17175 - _globals['_MSGREWARDSOPTOUT']._serialized_start=17177 - _globals['_MSGREWARDSOPTOUT']._serialized_end=17211 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=17213 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=17239 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=17241 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=17341 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=17343 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=17374 - _globals['_MSGSIGNDATA']._serialized_start=17376 - _globals['_MSGSIGNDATA']._serialized_end=17490 - _globals['_MSGSIGNDOC']._serialized_start=17492 - _globals['_MSGSIGNDOC']._serialized_end=17595 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=17598 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=17873 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=17875 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=17918 - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_start=17921 - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_end=18126 - _globals['_MSG']._serialized_start=18251 - _globals['_MSG']._serialized_end=22619 + _globals['_MSGCANCELSPOTORDER']._serialized_start=4790 + _globals['_MSGCANCELSPOTORDER']._serialized_end=4918 + _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_start=4920 + _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_end=4948 + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_start=4950 + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_end=5068 + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_start=5070 + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_end=5131 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_start=5133 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_end=5260 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_start=5262 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_end=5332 + _globals['_MSGBATCHUPDATEORDERS']._serialized_start=5335 + _globals['_MSGBATCHUPDATEORDERS']._serialized_end=6046 + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_start=6049 + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_end=6289 + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_start=6292 + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_end=6423 + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_start=6426 + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_end=6577 + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_start=6580 + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_end=6947 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_start=6950 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_end=7084 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_start=7087 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_end=7241 + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_start=7244 + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_end=7398 + _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_start=7400 + _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_end=7434 + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_start=7437 + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_end=7594 + _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_start=7596 + _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_end=7633 + _globals['_ORDERDATA']._serialized_start=7635 + _globals['_ORDERDATA']._serialized_end=7741 + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_start=7743 + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_end=7867 + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_start=7869 + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_end=7936 + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_start=7939 + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_end=8105 + _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_start=8107 + _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_end=8138 + _globals['_MSGEXTERNALTRANSFER']._serialized_start=8141 + _globals['_MSGEXTERNALTRANSFER']._serialized_end=8305 + _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_start=8307 + _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_end=8336 + _globals['_MSGLIQUIDATEPOSITION']._serialized_start=8339 + _globals['_MSGLIQUIDATEPOSITION']._serialized_end=8498 + _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_start=8500 + _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_end=8530 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_start=8533 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_end=8737 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_start=8739 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_end=8774 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_start=8776 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=8898 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=8901 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=9057 + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_start=9060 + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_end=9625 + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_start=9628 + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_end=9762 + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_start=9765 + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_end=10836 + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_start=10839 + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_end=11299 + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_start=11302 + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_end=12038 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_start=12041 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_end=12701 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_start=12704 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_end=13460 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_start=13463 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_end=14413 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_start=14416 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_end=14617 + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_start=14620 + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_end=14792 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_start=14795 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_end=15591 + _globals['_PROVIDERORACLEPARAMS']._serialized_start=15594 + _globals['_PROVIDERORACLEPARAMS']._serialized_end=15738 + _globals['_ORACLEPARAMS']._serialized_start=15741 + _globals['_ORACLEPARAMS']._serialized_end=15886 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_start=15889 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_end=16159 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_start=16162 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_end=16529 + _globals['_REWARDPOINTUPDATE']._serialized_start=16531 + _globals['_REWARDPOINTUPDATE']._serialized_end=16643 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_start=16646 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_end=16873 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_start=16876 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_end=17040 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_start=17043 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_end=17228 + _globals['_MSGREWARDSOPTOUT']._serialized_start=17230 + _globals['_MSGREWARDSOPTOUT']._serialized_end=17264 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=17266 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=17292 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=17294 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=17394 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=17396 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=17427 + _globals['_MSGSIGNDATA']._serialized_start=17429 + _globals['_MSGSIGNDATA']._serialized_end=17543 + _globals['_MSGSIGNDOC']._serialized_start=17545 + _globals['_MSGSIGNDOC']._serialized_end=17648 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=17651 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=17926 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=17928 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=17971 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_start=17974 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_end=18179 + _globals['_MSG']._serialized_start=18304 + _globals['_MSG']._serialized_end=22672 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py index eb332874..47ea2112 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types' _GENESISSTATE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py index 37a30c4b..4c10b109 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.insurance_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types' _PARAMS.fields_by_name['default_redemption_notice_period_duration']._options = None diff --git a/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py index f674f908..d6d1aafd 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types' _QUERYINSURANCEPARAMSRESPONSE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py index d1318cff..ea26ca31 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py @@ -25,6 +25,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types' _MSGCREATEINSURANCEFUND.fields_by_name['initial_deposit']._options = None diff --git a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py index 8351edce..9323d5a3 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types' _GENESISSTATE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py index 205ca9ad..97380d38 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.ocr_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types' _PARAMS._options = None diff --git a/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py index 205df1ef..c2ce353b 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types' _QUERYPARAMSRESPONSE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/injective/ocr/v1beta1/tx_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/tx_pb2.py index 6e4ecf62..34e355e8 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/tx_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types' _MSGCREATEFEED._options = None diff --git a/pyinjective/proto/injective/oracle/v1beta1/events_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/events_pb2.py index 1687d4d7..b90c6d85 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/events_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types' _SETCHAINLINKPRICEEVENT.fields_by_name['answer']._options = None diff --git a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py index 2ad35d7c..5c465668 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types' _GENESISSTATE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py index 6b557998..664488c9 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.oracle_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types' _PARAMS._options = None diff --git a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py index 1624bdfc..606676a5 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.proposal_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types' _GRANTBANDORACLEPRIVILEGEPROPOSAL._options = None diff --git a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py index 037eca13..29aff13b 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types' _QUERYPARAMSRESPONSE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py index 30c890e7..843e6be0 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types' _MSGRELAYPROVIDERPRICES.fields_by_name['prices']._options = None diff --git a/pyinjective/proto/injective/peggy/v1/attestation_pb2.py b/pyinjective/proto/injective/peggy/v1/attestation_pb2.py index 57a8165b..d3f31123 100644 --- a/pyinjective/proto/injective/peggy/v1/attestation_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/attestation_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.attestation_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _CLAIMTYPE._options = None diff --git a/pyinjective/proto/injective/peggy/v1/batch_pb2.py b/pyinjective/proto/injective/peggy/v1/batch_pb2.py index 73b51196..c3be7517 100644 --- a/pyinjective/proto/injective/peggy/v1/batch_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/batch_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.batch_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _globals['_OUTGOINGTXBATCH']._serialized_start=93 diff --git a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py index 8bbc2fe6..3023b24d 100644 --- a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.ethereum_signer_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _SIGNTYPE._options = None diff --git a/pyinjective/proto/injective/peggy/v1/events_pb2.py b/pyinjective/proto/injective/peggy/v1/events_pb2.py index 1a5a29f4..fc3e8be4 100644 --- a/pyinjective/proto/injective/peggy/v1/events_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/events_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _EVENTVALSETUPDATEREQUEST.fields_by_name['reward_amount']._options = None diff --git a/pyinjective/proto/injective/peggy/v1/genesis_pb2.py b/pyinjective/proto/injective/peggy/v1/genesis_pb2.py index d6791e41..af1f08bc 100644 --- a/pyinjective/proto/injective/peggy/v1/genesis_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/genesis_pb2.py @@ -26,6 +26,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _GENESISSTATE.fields_by_name['last_observed_valset']._options = None diff --git a/pyinjective/proto/injective/peggy/v1/msgs_pb2.py b/pyinjective/proto/injective/peggy/v1/msgs_pb2.py index 5d9ee7d2..f95877d6 100644 --- a/pyinjective/proto/injective/peggy/v1/msgs_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/msgs_pb2.py @@ -27,6 +27,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.msgs_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _MSGVALSETCONFIRM._options = None diff --git a/pyinjective/proto/injective/peggy/v1/params_pb2.py b/pyinjective/proto/injective/peggy/v1/params_pb2.py index d2f779ba..b3ba7c04 100644 --- a/pyinjective/proto/injective/peggy/v1/params_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/params_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.params_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _PARAMS.fields_by_name['slash_fraction_valset']._options = None diff --git a/pyinjective/proto/injective/peggy/v1/pool_pb2.py b/pyinjective/proto/injective/peggy/v1/pool_pb2.py index af3ab545..d268ec39 100644 --- a/pyinjective/proto/injective/peggy/v1/pool_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/pool_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.pool_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _BATCHFEES.fields_by_name['total_fees']._options = None diff --git a/pyinjective/proto/injective/peggy/v1/proposal_pb2.py b/pyinjective/proto/injective/peggy/v1/proposal_pb2.py index ce2abc6e..150e258e 100644 --- a/pyinjective/proto/injective/peggy/v1/proposal_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/proposal_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.proposal_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _BLACKLISTETHEREUMADDRESSESPROPOSAL._options = None diff --git a/pyinjective/proto/injective/peggy/v1/query_pb2.py b/pyinjective/proto/injective/peggy/v1/query_pb2.py index b79a3772..8a8c0887 100644 --- a/pyinjective/proto/injective/peggy/v1/query_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/query_pb2.py @@ -27,6 +27,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _QUERYPARAMSRESPONSE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/injective/peggy/v1/types_pb2.py b/pyinjective/proto/injective/peggy/v1/types_pb2.py index d95edeb1..50beafb5 100644 --- a/pyinjective/proto/injective/peggy/v1/types_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/types_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types' _VALSET.fields_by_name['reward_amount']._options = None diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py index be7bf93b..e2e966c5 100644 --- a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py @@ -17,12 +17,13 @@ from injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/stream/v1beta1/query.proto\x12\x18injective.stream.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\'injective/exchange/v1beta1/events.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xb6\x06\n\rStreamRequest\x12P\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01\x12\\\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12O\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12U\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12I\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01\x12N\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01\"\xe0\x05\n\x0eStreamResponse\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x12\n\nblock_time\x18\x02 \x01(\x03\x12<\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalance\x12I\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDeposits\x12\x38\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTrade\x12\x44\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTrade\x12>\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdate\x12J\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdate\x12I\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12O\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12\x35\n\tpositions\x18\x0b \x03(\x0b\x32\".injective.stream.v1beta1.Position\x12<\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePrice\"V\n\x0fOrderbookUpdate\x12\x0b\n\x03seq\x18\x01 \x01(\x04\x12\x36\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.Orderbook\"\x8d\x01\n\tOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x35\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12\x36\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"}\n\x0b\x42\x61nkBalance\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12]\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"p\n\x12SubaccountDeposits\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x43\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00\"^\n\x11SubaccountDeposit\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12:\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00\"\xa3\x01\n\x0fSpotOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x32\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrder\"_\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00\"\xaf\x01\n\x15\x44\x65rivativeOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x38\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrder\"~\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00\x12\x11\n\tis_market\x18\x03 \x01(\x08\"\xdd\x02\n\x08Position\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06isLong\x18\x03 \x01(\x08\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"j\n\x0bOraclePrice\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xd3\x02\n\tSpotTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x06 \x01(\t\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\"\xdb\x02\n\x0f\x44\x65rivativeTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x41\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\":\n\x0cTradesFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"=\n\x0fPositionsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\":\n\x0cOrdersFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"%\n\x0fOrderbookFilter\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"&\n\x12\x42\x61nkBalancesFilter\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\"2\n\x18SubaccountDepositsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\"#\n\x11OraclePriceFilter\x12\x0e\n\x06symbol\x18\x01 \x03(\t*L\n\x11OrderUpdateStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x42ooked\x10\x01\x12\x0b\n\x07Matched\x10\x02\x12\r\n\tCancelled\x10\x03\x32g\n\x06Stream\x12]\n\x06Stream\x12\'.injective.stream.v1beta1.StreamRequest\x1a(.injective.stream.v1beta1.StreamResponse0\x01\x42\x46ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/stream/v1beta1/query.proto\x12\x18injective.stream.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\'injective/exchange/v1beta1/events.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xb6\x06\n\rStreamRequest\x12P\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01\x12\\\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12O\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12U\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12I\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01\x12N\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01\"\xe0\x05\n\x0eStreamResponse\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x12\n\nblock_time\x18\x02 \x01(\x03\x12<\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalance\x12I\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDeposits\x12\x38\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTrade\x12\x44\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTrade\x12>\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdate\x12J\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdate\x12I\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12O\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12\x35\n\tpositions\x18\x0b \x03(\x0b\x32\".injective.stream.v1beta1.Position\x12<\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePrice\"V\n\x0fOrderbookUpdate\x12\x0b\n\x03seq\x18\x01 \x01(\x04\x12\x36\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.Orderbook\"\x8d\x01\n\tOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x35\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12\x36\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"}\n\x0b\x42\x61nkBalance\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12]\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"p\n\x12SubaccountDeposits\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x43\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00\"^\n\x11SubaccountDeposit\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12:\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00\"\xa3\x01\n\x0fSpotOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x32\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrder\"_\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00\"\xaf\x01\n\x15\x44\x65rivativeOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x38\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrder\"~\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00\x12\x11\n\tis_market\x18\x03 \x01(\x08\"\xdd\x02\n\x08Position\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06isLong\x18\x03 \x01(\x08\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"j\n\x0bOraclePrice\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xe0\x02\n\tSpotTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x06 \x01(\t\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\x12\x0b\n\x03\x63id\x18\n \x01(\t\"\xe8\x02\n\x0f\x44\x65rivativeTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x41\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\x12\x0b\n\x03\x63id\x18\n \x01(\t\":\n\x0cTradesFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"=\n\x0fPositionsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\":\n\x0cOrdersFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"%\n\x0fOrderbookFilter\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"&\n\x12\x42\x61nkBalancesFilter\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\"2\n\x18SubaccountDepositsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\"#\n\x11OraclePriceFilter\x12\x0e\n\x06symbol\x18\x01 \x03(\t*L\n\x11OrderUpdateStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x42ooked\x10\x01\x12\x0b\n\x07Matched\x10\x02\x12\r\n\tCancelled\x10\x03\x32g\n\x06Stream\x12]\n\x06Stream\x12\'.injective.stream.v1beta1.StreamRequest\x1a(.injective.stream.v1beta1.StreamResponse0\x01\x42\x46ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.stream.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types' _STREAMREQUEST.fields_by_name['bank_balances_filter']._options = None @@ -79,8 +80,8 @@ _DERIVATIVETRADE.fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVETRADE.fields_by_name['fee_recipient_address']._options = None _DERIVATIVETRADE.fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' - _globals['_ORDERUPDATESTATUS']._serialized_start=4409 - _globals['_ORDERUPDATESTATUS']._serialized_end=4485 + _globals['_ORDERUPDATESTATUS']._serialized_start=4435 + _globals['_ORDERUPDATESTATUS']._serialized_end=4511 _globals['_STREAMREQUEST']._serialized_start=205 _globals['_STREAMREQUEST']._serialized_end=1027 _globals['_STREAMRESPONSE']._serialized_start=1030 @@ -108,23 +109,23 @@ _globals['_ORACLEPRICE']._serialized_start=3258 _globals['_ORACLEPRICE']._serialized_end=3364 _globals['_SPOTTRADE']._serialized_start=3367 - _globals['_SPOTTRADE']._serialized_end=3706 - _globals['_DERIVATIVETRADE']._serialized_start=3709 - _globals['_DERIVATIVETRADE']._serialized_end=4056 - _globals['_TRADESFILTER']._serialized_start=4058 - _globals['_TRADESFILTER']._serialized_end=4116 - _globals['_POSITIONSFILTER']._serialized_start=4118 - _globals['_POSITIONSFILTER']._serialized_end=4179 - _globals['_ORDERSFILTER']._serialized_start=4181 - _globals['_ORDERSFILTER']._serialized_end=4239 - _globals['_ORDERBOOKFILTER']._serialized_start=4241 - _globals['_ORDERBOOKFILTER']._serialized_end=4278 - _globals['_BANKBALANCESFILTER']._serialized_start=4280 - _globals['_BANKBALANCESFILTER']._serialized_end=4318 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=4320 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=4370 - _globals['_ORACLEPRICEFILTER']._serialized_start=4372 - _globals['_ORACLEPRICEFILTER']._serialized_end=4407 - _globals['_STREAM']._serialized_start=4487 - _globals['_STREAM']._serialized_end=4590 + _globals['_SPOTTRADE']._serialized_end=3719 + _globals['_DERIVATIVETRADE']._serialized_start=3722 + _globals['_DERIVATIVETRADE']._serialized_end=4082 + _globals['_TRADESFILTER']._serialized_start=4084 + _globals['_TRADESFILTER']._serialized_end=4142 + _globals['_POSITIONSFILTER']._serialized_start=4144 + _globals['_POSITIONSFILTER']._serialized_end=4205 + _globals['_ORDERSFILTER']._serialized_start=4207 + _globals['_ORDERSFILTER']._serialized_end=4265 + _globals['_ORDERBOOKFILTER']._serialized_start=4267 + _globals['_ORDERBOOKFILTER']._serialized_end=4304 + _globals['_BANKBALANCESFILTER']._serialized_start=4306 + _globals['_BANKBALANCESFILTER']._serialized_end=4344 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=4346 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=4396 + _globals['_ORACLEPRICEFILTER']._serialized_start=4398 + _globals['_ORACLEPRICEFILTER']._serialized_end=4433 + _globals['_STREAM']._serialized_start=4513 + _globals['_STREAM']._serialized_end=4616 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py index 6aa9595f..7d992bb8 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.authorityMetadata_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types' _DENOMAUTHORITYMETADATA.fields_by_name['admin']._options = None diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py index 15dacf8f..3cf78b33 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types' _EVENTMINTTFDENOM.fields_by_name['amount']._options = None diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py index c526de3b..7847eb77 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.genesis_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types' _GENESISSTATE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py index fc4e7a8e..7ee24016 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.params_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types' _PARAMS.fields_by_name['denom_creation_fee']._options = None diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py index 489acdb5..ed41fc98 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py @@ -25,6 +25,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.query_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types' _QUERYPARAMSRESPONSE.fields_by_name['params']._options = None diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py index 89a9e6d2..1891d444 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py @@ -25,6 +25,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.tx_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types' _MSGCREATEDENOM.fields_by_name['sender']._options = None diff --git a/pyinjective/proto/injective/types/v1beta1/account_pb2.py b/pyinjective/proto/injective/types/v1beta1/account_pb2.py index 54398c61..6044ea2d 100644 --- a/pyinjective/proto/injective/types/v1beta1/account_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/account_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.account_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z=github.com/InjectiveLabs/injective-core/injective-chain/types' _ETHACCOUNT.fields_by_name['base_account']._options = None diff --git a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py index a48dca50..759c1191 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_ext_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z=github.com/InjectiveLabs/injective-core/injective-chain/types' _EXTENSIONOPTIONSWEB3TX._options = None diff --git a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py index abd5e246..727d8338 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_response_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z=github.com/InjectiveLabs/injective-core/injective-chain/types' _globals['_TXRESPONSEGENERICMESSAGE']._serialized_start=70 diff --git a/pyinjective/proto/tendermint/abci/types_pb2.py b/pyinjective/proto/tendermint/abci/types_pb2.py index 91f26d49..60486546 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2.py +++ b/pyinjective/proto/tendermint/abci/types_pb2.py @@ -25,6 +25,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.abci.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\'github.com/cometbft/cometbft/abci/types' _CHECKTXTYPE.values_by_name["NEW"]._options = None diff --git a/pyinjective/proto/tendermint/blocksync/types_pb2.py b/pyinjective/proto/tendermint/blocksync/types_pb2.py index 7381c86e..7211647e 100644 --- a/pyinjective/proto/tendermint/blocksync/types_pb2.py +++ b/pyinjective/proto/tendermint/blocksync/types_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.blocksync.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/blocksync' _globals['_BLOCKREQUEST']._serialized_start=118 diff --git a/pyinjective/proto/tendermint/consensus/types_pb2.py b/pyinjective/proto/tendermint/consensus/types_pb2.py index 84c15d05..8cf67304 100644 --- a/pyinjective/proto/tendermint/consensus/types_pb2.py +++ b/pyinjective/proto/tendermint/consensus/types_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.consensus.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/consensus' _NEWVALIDBLOCK.fields_by_name['block_part_set_header']._options = None diff --git a/pyinjective/proto/tendermint/consensus/wal_pb2.py b/pyinjective/proto/tendermint/consensus/wal_pb2.py index bbdbec53..a0ac7639 100644 --- a/pyinjective/proto/tendermint/consensus/wal_pb2.py +++ b/pyinjective/proto/tendermint/consensus/wal_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.consensus.wal_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/consensus' _MSGINFO.fields_by_name['msg']._options = None diff --git a/pyinjective/proto/tendermint/crypto/keys_pb2.py b/pyinjective/proto/tendermint/crypto/keys_pb2.py index 367a5a99..e907ab60 100644 --- a/pyinjective/proto/tendermint/crypto/keys_pb2.py +++ b/pyinjective/proto/tendermint/crypto/keys_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.keys_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z4github.com/cometbft/cometbft/proto/tendermint/crypto' _PUBLICKEY._options = None diff --git a/pyinjective/proto/tendermint/crypto/proof_pb2.py b/pyinjective/proto/tendermint/crypto/proof_pb2.py index 0a9d8ebb..6af507f6 100644 --- a/pyinjective/proto/tendermint/crypto/proof_pb2.py +++ b/pyinjective/proto/tendermint/crypto/proof_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.proof_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z4github.com/cometbft/cometbft/proto/tendermint/crypto' _PROOFOPS.fields_by_name['ops']._options = None diff --git a/pyinjective/proto/tendermint/libs/bits/types_pb2.py b/pyinjective/proto/tendermint/libs/bits/types_pb2.py index 0b2f3335..55997c9c 100644 --- a/pyinjective/proto/tendermint/libs/bits/types_pb2.py +++ b/pyinjective/proto/tendermint/libs/bits/types_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.libs.bits.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits' _globals['_BITARRAY']._serialized_start=58 diff --git a/pyinjective/proto/tendermint/mempool/types_pb2.py b/pyinjective/proto/tendermint/mempool/types_pb2.py index 38e709d3..35623379 100644 --- a/pyinjective/proto/tendermint/mempool/types_pb2.py +++ b/pyinjective/proto/tendermint/mempool/types_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.mempool.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/mempool' _globals['_TXS']._serialized_start=54 diff --git a/pyinjective/proto/tendermint/p2p/conn_pb2.py b/pyinjective/proto/tendermint/p2p/conn_pb2.py index 0cb06be7..b40a79f5 100644 --- a/pyinjective/proto/tendermint/p2p/conn_pb2.py +++ b/pyinjective/proto/tendermint/p2p/conn_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.conn_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z1github.com/cometbft/cometbft/proto/tendermint/p2p' _PACKETMSG.fields_by_name['channel_id']._options = None diff --git a/pyinjective/proto/tendermint/p2p/pex_pb2.py b/pyinjective/proto/tendermint/p2p/pex_pb2.py index 3fc544ee..89e904e8 100644 --- a/pyinjective/proto/tendermint/p2p/pex_pb2.py +++ b/pyinjective/proto/tendermint/p2p/pex_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.pex_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z1github.com/cometbft/cometbft/proto/tendermint/p2p' _PEXADDRS.fields_by_name['addrs']._options = None diff --git a/pyinjective/proto/tendermint/p2p/types_pb2.py b/pyinjective/proto/tendermint/p2p/types_pb2.py index 6d86d8e1..bceb649b 100644 --- a/pyinjective/proto/tendermint/p2p/types_pb2.py +++ b/pyinjective/proto/tendermint/p2p/types_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z1github.com/cometbft/cometbft/proto/tendermint/p2p' _NETADDRESS.fields_by_name['id']._options = None diff --git a/pyinjective/proto/tendermint/privval/types_pb2.py b/pyinjective/proto/tendermint/privval/types_pb2.py index 183a3e53..d90a31c4 100644 --- a/pyinjective/proto/tendermint/privval/types_pb2.py +++ b/pyinjective/proto/tendermint/privval/types_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.privval.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/privval' _PUBKEYRESPONSE.fields_by_name['pub_key']._options = None diff --git a/pyinjective/proto/tendermint/services/block/v1/block_pb2.py b/pyinjective/proto/tendermint/services/block/v1/block_pb2.py index 40231200..7f25f3f4 100644 --- a/pyinjective/proto/tendermint/services/block/v1/block_pb2.py +++ b/pyinjective/proto/tendermint/services/block/v1/block_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block.v1.block_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1' _globals['_GETBYHEIGHTREQUEST']._serialized_start=134 diff --git a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py index 6bf4799c..3d5428ad 100644 --- a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py +++ b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block.v1.block_service_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1' _globals['_BLOCKSERVICE']._serialized_start=125 diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py index 94baa0be..bda9a9d6 100644 --- a/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py +++ b/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block_results.v1.block_results_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1' _globals['_GETBLOCKRESULTSREQUEST']._serialized_start=158 diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py index 39cd8fcc..37d3214f 100644 --- a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py +++ b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block_results.v1.block_results_service_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1' _globals['_BLOCKRESULTSSERVICE']._serialized_start=165 diff --git a/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py b/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py index 84e1e0b1..8f0a166f 100644 --- a/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py +++ b/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.pruning.v1.pruning_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None _globals['_SETBLOCKRETAINHEIGHTREQUEST']._serialized_start=80 _globals['_SETBLOCKRETAINHEIGHTREQUEST']._serialized_end=125 diff --git a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py index 1880f134..32f20cb6 100644 --- a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py +++ b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.pruning.v1.service_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None _globals['_PRUNINGSERVICE']._serialized_start=127 _globals['_PRUNINGSERVICE']._serialized_end=1435 diff --git a/pyinjective/proto/tendermint/services/version/v1/version_pb2.py b/pyinjective/proto/tendermint/services/version/v1/version_pb2.py index 9133005b..8d6d2b53 100644 --- a/pyinjective/proto/tendermint/services/version/v1/version_pb2.py +++ b/pyinjective/proto/tendermint/services/version/v1/version_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.version.v1.version_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1' _globals['_GETVERSIONREQUEST']._serialized_start=80 diff --git a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py index e67de342..29d57e42 100644 --- a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py +++ b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.version.v1.version_service_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1' _globals['_VERSIONSERVICE']._serialized_start=135 diff --git a/pyinjective/proto/tendermint/state/types_pb2.py b/pyinjective/proto/tendermint/state/types_pb2.py index ad7640f0..dcb7fd4e 100644 --- a/pyinjective/proto/tendermint/state/types_pb2.py +++ b/pyinjective/proto/tendermint/state/types_pb2.py @@ -26,6 +26,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.state.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/state' _RESPONSEBEGINBLOCK.fields_by_name['events']._options = None diff --git a/pyinjective/proto/tendermint/statesync/types_pb2.py b/pyinjective/proto/tendermint/statesync/types_pb2.py index c4e5a46e..0c7a3429 100644 --- a/pyinjective/proto/tendermint/statesync/types_pb2.py +++ b/pyinjective/proto/tendermint/statesync/types_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.statesync.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/statesync' _globals['_MESSAGE']._serialized_start=59 diff --git a/pyinjective/proto/tendermint/store/types_pb2.py b/pyinjective/proto/tendermint/store/types_pb2.py index badb6069..49152bb4 100644 --- a/pyinjective/proto/tendermint/store/types_pb2.py +++ b/pyinjective/proto/tendermint/store/types_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.store.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/store' _globals['_BLOCKSTORESTATE']._serialized_start=50 diff --git a/pyinjective/proto/tendermint/types/block_pb2.py b/pyinjective/proto/tendermint/types/block_pb2.py index e7c28ff1..4382f128 100644 --- a/pyinjective/proto/tendermint/types/block_pb2.py +++ b/pyinjective/proto/tendermint/types/block_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.block_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _BLOCK.fields_by_name['header']._options = None diff --git a/pyinjective/proto/tendermint/types/canonical_pb2.py b/pyinjective/proto/tendermint/types/canonical_pb2.py index 36f28e89..9b458430 100644 --- a/pyinjective/proto/tendermint/types/canonical_pb2.py +++ b/pyinjective/proto/tendermint/types/canonical_pb2.py @@ -22,6 +22,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.canonical_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _CANONICALBLOCKID.fields_by_name['part_set_header']._options = None diff --git a/pyinjective/proto/tendermint/types/events_pb2.py b/pyinjective/proto/tendermint/types/events_pb2.py index 7ed25069..c3df61dd 100644 --- a/pyinjective/proto/tendermint/types/events_pb2.py +++ b/pyinjective/proto/tendermint/types/events_pb2.py @@ -19,6 +19,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _globals['_EVENTDATAROUNDSTATE']._serialized_start=51 diff --git a/pyinjective/proto/tendermint/types/evidence_pb2.py b/pyinjective/proto/tendermint/types/evidence_pb2.py index 3eafcad0..872df67a 100644 --- a/pyinjective/proto/tendermint/types/evidence_pb2.py +++ b/pyinjective/proto/tendermint/types/evidence_pb2.py @@ -23,6 +23,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.evidence_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _DUPLICATEVOTEEVIDENCE.fields_by_name['timestamp']._options = None diff --git a/pyinjective/proto/tendermint/types/params_pb2.py b/pyinjective/proto/tendermint/types/params_pb2.py index e0a6c060..15f9d769 100644 --- a/pyinjective/proto/tendermint/types/params_pb2.py +++ b/pyinjective/proto/tendermint/types/params_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.params_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types\250\342\036\001' _EVIDENCEPARAMS.fields_by_name['max_age_duration']._options = None diff --git a/pyinjective/proto/tendermint/types/types_pb2.py b/pyinjective/proto/tendermint/types/types_pb2.py index ffe35f35..f700382a 100644 --- a/pyinjective/proto/tendermint/types/types_pb2.py +++ b/pyinjective/proto/tendermint/types/types_pb2.py @@ -24,6 +24,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _SIGNEDMSGTYPE._options = None diff --git a/pyinjective/proto/tendermint/types/validator_pb2.py b/pyinjective/proto/tendermint/types/validator_pb2.py index bfb0c6df..42296a18 100644 --- a/pyinjective/proto/tendermint/types/validator_pb2.py +++ b/pyinjective/proto/tendermint/types/validator_pb2.py @@ -21,6 +21,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.validator_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _BLOCKIDFLAG._options = None diff --git a/pyinjective/proto/tendermint/version/types_pb2.py b/pyinjective/proto/tendermint/version/types_pb2.py index 62956723..8534ef66 100644 --- a/pyinjective/proto/tendermint/version/types_pb2.py +++ b/pyinjective/proto/tendermint/version/types_pb2.py @@ -20,6 +20,7 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.version.types_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/version' _CONSENSUS._options = None From e0831bad41fa1ee3fb8bff4ec922213bf66bbd90 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 25 Oct 2023 10:00:06 -0300 Subject: [PATCH 30/83] (fix) Modified required test coverage --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fbbb5560..5a73b970 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -96,7 +96,7 @@ omit = ["pyinjective/proto/*"] [tool.coverage.report] skip_empty = true -fail_under = 52 +fail_under = 50 precision = 2 From 94072243a6c5fd7c52f9b94a802e2cdc4f8a35f9 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 25 Oct 2023 10:07:35 -0300 Subject: [PATCH 31/83] (fix) Updated poetry.lock file --- poetry.lock | 412 ++++++++++++++++++++++++++-------------------------- 1 file changed, 205 insertions(+), 207 deletions(-) diff --git a/poetry.lock b/poetry.lock index d4adc5dd..a1c65b85 100644 --- a/poetry.lock +++ b/poetry.lock @@ -348,33 +348,29 @@ files = [ [[package]] name = "black" -version = "23.9.1" +version = "23.10.1" description = "The uncompromising code formatter." optional = false python-versions = ">=3.8" files = [ - {file = "black-23.9.1-cp310-cp310-macosx_10_16_arm64.whl", hash = "sha256:d6bc09188020c9ac2555a498949401ab35bb6bf76d4e0f8ee251694664df6301"}, - {file = "black-23.9.1-cp310-cp310-macosx_10_16_universal2.whl", hash = "sha256:13ef033794029b85dfea8032c9d3b92b42b526f1ff4bf13b2182ce4e917f5100"}, - {file = "black-23.9.1-cp310-cp310-macosx_10_16_x86_64.whl", hash = "sha256:75a2dc41b183d4872d3a500d2b9c9016e67ed95738a3624f4751a0cb4818fe71"}, - {file = "black-23.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:13a2e4a93bb8ca74a749b6974925c27219bb3df4d42fc45e948a5d9feb5122b7"}, - {file = "black-23.9.1-cp310-cp310-win_amd64.whl", hash = "sha256:adc3e4442eef57f99b5590b245a328aad19c99552e0bdc7f0b04db6656debd80"}, - {file = "black-23.9.1-cp311-cp311-macosx_10_16_arm64.whl", hash = "sha256:8431445bf62d2a914b541da7ab3e2b4f3bc052d2ccbf157ebad18ea126efb91f"}, - {file = "black-23.9.1-cp311-cp311-macosx_10_16_universal2.whl", hash = "sha256:8fc1ddcf83f996247505db6b715294eba56ea9372e107fd54963c7553f2b6dfe"}, - {file = "black-23.9.1-cp311-cp311-macosx_10_16_x86_64.whl", hash = "sha256:7d30ec46de88091e4316b17ae58bbbfc12b2de05e069030f6b747dfc649ad186"}, - {file = "black-23.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:031e8c69f3d3b09e1aa471a926a1eeb0b9071f80b17689a655f7885ac9325a6f"}, - {file = "black-23.9.1-cp311-cp311-win_amd64.whl", hash = "sha256:538efb451cd50f43aba394e9ec7ad55a37598faae3348d723b59ea8e91616300"}, - {file = "black-23.9.1-cp38-cp38-macosx_10_16_arm64.whl", hash = "sha256:638619a559280de0c2aa4d76f504891c9860bb8fa214267358f0a20f27c12948"}, - {file = "black-23.9.1-cp38-cp38-macosx_10_16_universal2.whl", hash = "sha256:a732b82747235e0542c03bf352c126052c0fbc458d8a239a94701175b17d4855"}, - {file = "black-23.9.1-cp38-cp38-macosx_10_16_x86_64.whl", hash = "sha256:cf3a4d00e4cdb6734b64bf23cd4341421e8953615cba6b3670453737a72ec204"}, - {file = "black-23.9.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cf99f3de8b3273a8317681d8194ea222f10e0133a24a7548c73ce44ea1679377"}, - {file = "black-23.9.1-cp38-cp38-win_amd64.whl", hash = "sha256:14f04c990259576acd093871e7e9b14918eb28f1866f91968ff5524293f9c573"}, - {file = "black-23.9.1-cp39-cp39-macosx_10_16_arm64.whl", hash = "sha256:c619f063c2d68f19b2d7270f4cf3192cb81c9ec5bc5ba02df91471d0b88c4c5c"}, - {file = "black-23.9.1-cp39-cp39-macosx_10_16_universal2.whl", hash = "sha256:6a3b50e4b93f43b34a9d3ef00d9b6728b4a722c997c99ab09102fd5efdb88325"}, - {file = "black-23.9.1-cp39-cp39-macosx_10_16_x86_64.whl", hash = "sha256:c46767e8df1b7beefb0899c4a95fb43058fa8500b6db144f4ff3ca38eb2f6393"}, - {file = "black-23.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:50254ebfa56aa46a9fdd5d651f9637485068a1adf42270148cd101cdf56e0ad9"}, - {file = "black-23.9.1-cp39-cp39-win_amd64.whl", hash = "sha256:403397c033adbc45c2bd41747da1f7fc7eaa44efbee256b53842470d4ac5a70f"}, - {file = "black-23.9.1-py3-none-any.whl", hash = "sha256:6ccd59584cc834b6d127628713e4b6b968e5f79572da66284532525a042549f9"}, - {file = "black-23.9.1.tar.gz", hash = "sha256:24b6b3ff5c6d9ea08a8888f6977eae858e1f340d7260cf56d70a49823236b62d"}, + {file = "black-23.10.1-cp310-cp310-macosx_10_16_arm64.whl", hash = "sha256:ec3f8e6234c4e46ff9e16d9ae96f4ef69fa328bb4ad08198c8cee45bb1f08c69"}, + {file = "black-23.10.1-cp310-cp310-macosx_10_16_x86_64.whl", hash = "sha256:1b917a2aa020ca600483a7b340c165970b26e9029067f019e3755b56e8dd5916"}, + {file = "black-23.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9c74de4c77b849e6359c6f01987e94873c707098322b91490d24296f66d067dc"}, + {file = "black-23.10.1-cp310-cp310-win_amd64.whl", hash = "sha256:7b4d10b0f016616a0d93d24a448100adf1699712fb7a4efd0e2c32bbb219b173"}, + {file = "black-23.10.1-cp311-cp311-macosx_10_16_arm64.whl", hash = "sha256:b15b75fc53a2fbcac8a87d3e20f69874d161beef13954747e053bca7a1ce53a0"}, + {file = "black-23.10.1-cp311-cp311-macosx_10_16_x86_64.whl", hash = "sha256:e293e4c2f4a992b980032bbd62df07c1bcff82d6964d6c9496f2cd726e246ace"}, + {file = "black-23.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7d56124b7a61d092cb52cce34182a5280e160e6aff3137172a68c2c2c4b76bcb"}, + {file = "black-23.10.1-cp311-cp311-win_amd64.whl", hash = "sha256:3f157a8945a7b2d424da3335f7ace89c14a3b0625e6593d21139c2d8214d55ce"}, + {file = "black-23.10.1-cp38-cp38-macosx_10_16_arm64.whl", hash = "sha256:cfcce6f0a384d0da692119f2d72d79ed07c7159879d0bb1bb32d2e443382bf3a"}, + {file = "black-23.10.1-cp38-cp38-macosx_10_16_x86_64.whl", hash = "sha256:33d40f5b06be80c1bbce17b173cda17994fbad096ce60eb22054da021bf933d1"}, + {file = "black-23.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:840015166dbdfbc47992871325799fd2dc0dcf9395e401ada6d88fe11498abad"}, + {file = "black-23.10.1-cp38-cp38-win_amd64.whl", hash = "sha256:037e9b4664cafda5f025a1728c50a9e9aedb99a759c89f760bd83730e76ba884"}, + {file = "black-23.10.1-cp39-cp39-macosx_10_16_arm64.whl", hash = "sha256:7cb5936e686e782fddb1c73f8aa6f459e1ad38a6a7b0e54b403f1f05a1507ee9"}, + {file = "black-23.10.1-cp39-cp39-macosx_10_16_x86_64.whl", hash = "sha256:7670242e90dc129c539e9ca17665e39a146a761e681805c54fbd86015c7c84f7"}, + {file = "black-23.10.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5ed45ac9a613fb52dad3b61c8dea2ec9510bf3108d4db88422bacc7d1ba1243d"}, + {file = "black-23.10.1-cp39-cp39-win_amd64.whl", hash = "sha256:6d23d7822140e3fef190734216cefb262521789367fbdc0b3f22af6744058982"}, + {file = "black-23.10.1-py3-none-any.whl", hash = "sha256:d431e6739f727bb2e0495df64a6c7a5310758e87505f5f8cde9ff6c0f2d7e4fe"}, + {file = "black-23.10.1.tar.gz", hash = "sha256:1f8ce316753428ff68749c65a5f7844631aa18c8679dfd3ca9dc1a289979c258"}, ] [package.dependencies] @@ -480,101 +476,101 @@ files = [ [[package]] name = "charset-normalizer" -version = "3.3.0" +version = "3.3.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.3.0.tar.gz", hash = "sha256:63563193aec44bce707e0c5ca64ff69fa72ed7cf34ce6e11d5127555756fd2f6"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:effe5406c9bd748a871dbcaf3ac69167c38d72db8c9baf3ff954c344f31c4cbe"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4162918ef3098851fcd8a628bf9b6a98d10c380725df9e04caf5ca6dd48c847a"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0570d21da019941634a531444364f2482e8db0b3425fcd5ac0c36565a64142c8"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5707a746c6083a3a74b46b3a631d78d129edab06195a92a8ece755aac25a3f3d"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:278c296c6f96fa686d74eb449ea1697f3c03dc28b75f873b65b5201806346a69"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a4b71f4d1765639372a3b32d2638197f5cd5221b19531f9245fcc9ee62d38f56"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5969baeaea61c97efa706b9b107dcba02784b1601c74ac84f2a532ea079403e"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a3f93dab657839dfa61025056606600a11d0b696d79386f974e459a3fbc568ec"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:db756e48f9c5c607b5e33dd36b1d5872d0422e960145b08ab0ec7fd420e9d649"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:232ac332403e37e4a03d209a3f92ed9071f7d3dbda70e2a5e9cff1c4ba9f0678"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:e5c1502d4ace69a179305abb3f0bb6141cbe4714bc9b31d427329a95acfc8bdd"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:2502dd2a736c879c0f0d3e2161e74d9907231e25d35794584b1ca5284e43f596"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:23e8565ab7ff33218530bc817922fae827420f143479b753104ab801145b1d5b"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-win32.whl", hash = "sha256:1872d01ac8c618a8da634e232f24793883d6e456a66593135aeafe3784b0848d"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:557b21a44ceac6c6b9773bc65aa1b4cc3e248a5ad2f5b914b91579a32e22204d"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d7eff0f27edc5afa9e405f7165f85a6d782d308f3b6b9d96016c010597958e63"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6a685067d05e46641d5d1623d7c7fdf15a357546cbb2f71b0ebde91b175ffc3e"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0d3d5b7db9ed8a2b11a774db2bbea7ba1884430a205dbd54a32d61d7c2a190fa"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2935ffc78db9645cb2086c2f8f4cfd23d9b73cc0dc80334bc30aac6f03f68f8c"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9fe359b2e3a7729010060fbca442ca225280c16e923b37db0e955ac2a2b72a05"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:380c4bde80bce25c6e4f77b19386f5ec9db230df9f2f2ac1e5ad7af2caa70459"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f0d1e3732768fecb052d90d62b220af62ead5748ac51ef61e7b32c266cac9293"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1b2919306936ac6efb3aed1fbf81039f7087ddadb3160882a57ee2ff74fd2382"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:f8888e31e3a85943743f8fc15e71536bda1c81d5aa36d014a3c0c44481d7db6e"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:82eb849f085624f6a607538ee7b83a6d8126df6d2f7d3b319cb837b289123078"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7b8b8bf1189b3ba9b8de5c8db4d541b406611a71a955bbbd7385bbc45fcb786c"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:5adf257bd58c1b8632046bbe43ee38c04e1038e9d37de9c57a94d6bd6ce5da34"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:c350354efb159b8767a6244c166f66e67506e06c8924ed74669b2c70bc8735b1"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-win32.whl", hash = "sha256:02af06682e3590ab952599fbadac535ede5d60d78848e555aa58d0c0abbde786"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:86d1f65ac145e2c9ed71d8ffb1905e9bba3a91ae29ba55b4c46ae6fc31d7c0d4"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:3b447982ad46348c02cb90d230b75ac34e9886273df3a93eec0539308a6296d7"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:abf0d9f45ea5fb95051c8bfe43cb40cda383772f7e5023a83cc481ca2604d74e"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b09719a17a2301178fac4470d54b1680b18a5048b481cb8890e1ef820cb80455"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b3d9b48ee6e3967b7901c052b670c7dda6deb812c309439adaffdec55c6d7b78"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:edfe077ab09442d4ef3c52cb1f9dab89bff02f4524afc0acf2d46be17dc479f5"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3debd1150027933210c2fc321527c2299118aa929c2f5a0a80ab6953e3bd1908"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:86f63face3a527284f7bb8a9d4f78988e3c06823f7bea2bd6f0e0e9298ca0403"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:24817cb02cbef7cd499f7c9a2735286b4782bd47a5b3516a0e84c50eab44b98e"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:c71f16da1ed8949774ef79f4a0260d28b83b3a50c6576f8f4f0288d109777989"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:9cf3126b85822c4e53aa28c7ec9869b924d6fcfb76e77a45c44b83d91afd74f9"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:b3b2316b25644b23b54a6f6401074cebcecd1244c0b8e80111c9a3f1c8e83d65"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:03680bb39035fbcffe828eae9c3f8afc0428c91d38e7d61aa992ef7a59fb120e"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4cc152c5dd831641e995764f9f0b6589519f6f5123258ccaca8c6d34572fefa8"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-win32.whl", hash = "sha256:b8f3307af845803fb0b060ab76cf6dd3a13adc15b6b451f54281d25911eb92df"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:8eaf82f0eccd1505cf39a45a6bd0a8cf1c70dcfc30dba338207a969d91b965c0"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:dc45229747b67ffc441b3de2f3ae5e62877a282ea828a5bdb67883c4ee4a8810"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2f4a0033ce9a76e391542c182f0d48d084855b5fcba5010f707c8e8c34663d77"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ada214c6fa40f8d800e575de6b91a40d0548139e5dc457d2ebb61470abf50186"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b1121de0e9d6e6ca08289583d7491e7fcb18a439305b34a30b20d8215922d43c"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1063da2c85b95f2d1a430f1c33b55c9c17ffaf5e612e10aeaad641c55a9e2b9d"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:70f1d09c0d7748b73290b29219e854b3207aea922f839437870d8cc2168e31cc"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:250c9eb0f4600361dd80d46112213dff2286231d92d3e52af1e5a6083d10cad9"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:750b446b2ffce1739e8578576092179160f6d26bd5e23eb1789c4d64d5af7dc7"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:fc52b79d83a3fe3a360902d3f5d79073a993597d48114c29485e9431092905d8"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:588245972aca710b5b68802c8cad9edaa98589b1b42ad2b53accd6910dad3545"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:e39c7eb31e3f5b1f88caff88bcff1b7f8334975b46f6ac6e9fc725d829bc35d4"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-win32.whl", hash = "sha256:abecce40dfebbfa6abf8e324e1860092eeca6f7375c8c4e655a8afb61af58f2c"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-win_amd64.whl", hash = "sha256:24a91a981f185721542a0b7c92e9054b7ab4fea0508a795846bc5b0abf8118d4"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:67b8cc9574bb518ec76dc8e705d4c39ae78bb96237cb533edac149352c1f39fe"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ac71b2977fb90c35d41c9453116e283fac47bb9096ad917b8819ca8b943abecd"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:3ae38d325b512f63f8da31f826e6cb6c367336f95e418137286ba362925c877e"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:542da1178c1c6af8873e143910e2269add130a299c9106eef2594e15dae5e482"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:30a85aed0b864ac88309b7d94be09f6046c834ef60762a8833b660139cfbad13"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:aae32c93e0f64469f74ccc730a7cb21c7610af3a775157e50bbd38f816536b38"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15b26ddf78d57f1d143bdf32e820fd8935d36abe8a25eb9ec0b5a71c82eb3895"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7f5d10bae5d78e4551b7be7a9b29643a95aded9d0f602aa2ba584f0388e7a557"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:249c6470a2b60935bafd1d1d13cd613f8cd8388d53461c67397ee6a0f5dce741"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:c5a74c359b2d47d26cdbbc7845e9662d6b08a1e915eb015d044729e92e7050b7"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:b5bcf60a228acae568e9911f410f9d9e0d43197d030ae5799e20dca8df588287"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:187d18082694a29005ba2944c882344b6748d5be69e3a89bf3cc9d878e548d5a"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:81bf654678e575403736b85ba3a7867e31c2c30a69bc57fe88e3ace52fb17b89"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-win32.whl", hash = "sha256:85a32721ddde63c9df9ebb0d2045b9691d9750cb139c161c80e500d210f5e26e"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-win_amd64.whl", hash = "sha256:468d2a840567b13a590e67dd276c570f8de00ed767ecc611994c301d0f8c014f"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e0fc42822278451bc13a2e8626cf2218ba570f27856b536e00cfa53099724828"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:09c77f964f351a7369cc343911e0df63e762e42bac24cd7d18525961c81754f4"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:12ebea541c44fdc88ccb794a13fe861cc5e35d64ed689513a5c03d05b53b7c82"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:805dfea4ca10411a5296bcc75638017215a93ffb584c9e344731eef0dcfb026a"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:96c2b49eb6a72c0e4991d62406e365d87067ca14c1a729a870d22354e6f68115"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:aaf7b34c5bc56b38c931a54f7952f1ff0ae77a2e82496583b247f7c969eb1479"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:619d1c96099be5823db34fe89e2582b336b5b074a7f47f819d6b3a57ff7bdb86"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a0ac5e7015a5920cfce654c06618ec40c33e12801711da6b4258af59a8eff00a"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:93aa7eef6ee71c629b51ef873991d6911b906d7312c6e8e99790c0f33c576f89"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:7966951325782121e67c81299a031f4c115615e68046f79b85856b86ebffc4cd"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:02673e456dc5ab13659f85196c534dc596d4ef260e4d86e856c3b2773ce09843"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:c2af80fb58f0f24b3f3adcb9148e6203fa67dd3f61c4af146ecad033024dde43"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:153e7b6e724761741e0974fc4dcd406d35ba70b92bfe3fedcb497226c93b9da7"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-win32.whl", hash = "sha256:d47ecf253780c90ee181d4d871cd655a789da937454045b17b5798da9393901a"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:d97d85fa63f315a8bdaba2af9a6a686e0eceab77b3089af45133252618e70884"}, - {file = "charset_normalizer-3.3.0-py3-none-any.whl", hash = "sha256:e46cd37076971c1040fc8c41273a8b3e2c624ce4f2be3f5dfcb7a430c1d3acc2"}, + {file = "charset-normalizer-3.3.1.tar.gz", hash = "sha256:d9137a876020661972ca6eec0766d81aef8a5627df628b664b234b73396e727e"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8aee051c89e13565c6bd366813c386939f8e928af93c29fda4af86d25b73d8f8"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:352a88c3df0d1fa886562384b86f9a9e27563d4704ee0e9d56ec6fcd270ea690"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:223b4d54561c01048f657fa6ce41461d5ad8ff128b9678cfe8b2ecd951e3f8a2"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4f861d94c2a450b974b86093c6c027888627b8082f1299dfd5a4bae8e2292821"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1171ef1fc5ab4693c5d151ae0fdad7f7349920eabbaca6271f95969fa0756c2d"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28f512b9a33235545fbbdac6a330a510b63be278a50071a336afc1b78781b147"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0e842112fe3f1a4ffcf64b06dc4c61a88441c2f02f373367f7b4c1aa9be2ad5"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3f9bc2ce123637a60ebe819f9fccc614da1bcc05798bbbaf2dd4ec91f3e08846"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:f194cce575e59ffe442c10a360182a986535fd90b57f7debfaa5c845c409ecc3"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:9a74041ba0bfa9bc9b9bb2cd3238a6ab3b7618e759b41bd15b5f6ad958d17605"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:b578cbe580e3b41ad17b1c428f382c814b32a6ce90f2d8e39e2e635d49e498d1"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:6db3cfb9b4fcecb4390db154e75b49578c87a3b9979b40cdf90d7e4b945656e1"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:debb633f3f7856f95ad957d9b9c781f8e2c6303ef21724ec94bea2ce2fcbd056"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-win32.whl", hash = "sha256:87071618d3d8ec8b186d53cb6e66955ef2a0e4fa63ccd3709c0c90ac5a43520f"}, + {file = "charset_normalizer-3.3.1-cp310-cp310-win_amd64.whl", hash = "sha256:e372d7dfd154009142631de2d316adad3cc1c36c32a38b16a4751ba78da2a397"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ae4070f741f8d809075ef697877fd350ecf0b7c5837ed68738607ee0a2c572cf"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:58e875eb7016fd014c0eea46c6fa92b87b62c0cb31b9feae25cbbe62c919f54d"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dbd95e300367aa0827496fe75a1766d198d34385a58f97683fe6e07f89ca3e3c"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:de0b4caa1c8a21394e8ce971997614a17648f94e1cd0640fbd6b4d14cab13a72"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:985c7965f62f6f32bf432e2681173db41336a9c2611693247069288bcb0c7f8b"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a15c1fe6d26e83fd2e5972425a772cca158eae58b05d4a25a4e474c221053e2d"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ae55d592b02c4349525b6ed8f74c692509e5adffa842e582c0f861751701a673"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:be4d9c2770044a59715eb57c1144dedea7c5d5ae80c68fb9959515037cde2008"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:851cf693fb3aaef71031237cd68699dded198657ec1e76a76eb8be58c03a5d1f"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:31bbaba7218904d2eabecf4feec0d07469284e952a27400f23b6628439439fa7"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:871d045d6ccc181fd863a3cd66ee8e395523ebfbc57f85f91f035f50cee8e3d4"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:501adc5eb6cd5f40a6f77fbd90e5ab915c8fd6e8c614af2db5561e16c600d6f3"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f5fb672c396d826ca16a022ac04c9dce74e00a1c344f6ad1a0fdc1ba1f332213"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-win32.whl", hash = "sha256:bb06098d019766ca16fc915ecaa455c1f1cd594204e7f840cd6258237b5079a8"}, + {file = "charset_normalizer-3.3.1-cp311-cp311-win_amd64.whl", hash = "sha256:8af5a8917b8af42295e86b64903156b4f110a30dca5f3b5aedea123fbd638bff"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:7ae8e5142dcc7a49168f4055255dbcced01dc1714a90a21f87448dc8d90617d1"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:5b70bab78accbc672f50e878a5b73ca692f45f5b5e25c8066d748c09405e6a55"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5ceca5876032362ae73b83347be8b5dbd2d1faf3358deb38c9c88776779b2e2f"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:34d95638ff3613849f473afc33f65c401a89f3b9528d0d213c7037c398a51296"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9edbe6a5bf8b56a4a84533ba2b2f489d0046e755c29616ef8830f9e7d9cf5728"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f6a02a3c7950cafaadcd46a226ad9e12fc9744652cc69f9e5534f98b47f3bbcf"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:10b8dd31e10f32410751b3430996f9807fc4d1587ca69772e2aa940a82ab571a"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:edc0202099ea1d82844316604e17d2b175044f9bcb6b398aab781eba957224bd"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b891a2f68e09c5ef989007fac11476ed33c5c9994449a4e2c3386529d703dc8b"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:71ef3b9be10070360f289aea4838c784f8b851be3ba58cf796262b57775c2f14"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:55602981b2dbf8184c098bc10287e8c245e351cd4fdcad050bd7199d5a8bf514"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:46fb9970aa5eeca547d7aa0de5d4b124a288b42eaefac677bde805013c95725c"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:520b7a142d2524f999447b3a0cf95115df81c4f33003c51a6ab637cbda9d0bf4"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-win32.whl", hash = "sha256:8ec8ef42c6cd5856a7613dcd1eaf21e5573b2185263d87d27c8edcae33b62a61"}, + {file = "charset_normalizer-3.3.1-cp312-cp312-win_amd64.whl", hash = "sha256:baec8148d6b8bd5cee1ae138ba658c71f5b03e0d69d5907703e3e1df96db5e41"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:63a6f59e2d01310f754c270e4a257426fe5a591dc487f1983b3bbe793cf6bac6"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d6bfc32a68bc0933819cfdfe45f9abc3cae3877e1d90aac7259d57e6e0f85b1"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4f3100d86dcd03c03f7e9c3fdb23d92e32abbca07e7c13ebd7ddfbcb06f5991f"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:39b70a6f88eebe239fa775190796d55a33cfb6d36b9ffdd37843f7c4c1b5dc67"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4e12f8ee80aa35e746230a2af83e81bd6b52daa92a8afaef4fea4a2ce9b9f4fa"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7b6cefa579e1237ce198619b76eaa148b71894fb0d6bcf9024460f9bf30fd228"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:61f1e3fb621f5420523abb71f5771a204b33c21d31e7d9d86881b2cffe92c47c"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:4f6e2a839f83a6a76854d12dbebde50e4b1afa63e27761549d006fa53e9aa80e"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:1ec937546cad86d0dce5396748bf392bb7b62a9eeb8c66efac60e947697f0e58"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:82ca51ff0fc5b641a2d4e1cc8c5ff108699b7a56d7f3ad6f6da9dbb6f0145b48"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:633968254f8d421e70f91c6ebe71ed0ab140220469cf87a9857e21c16687c034"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-win32.whl", hash = "sha256:c0c72d34e7de5604df0fde3644cc079feee5e55464967d10b24b1de268deceb9"}, + {file = "charset_normalizer-3.3.1-cp37-cp37m-win_amd64.whl", hash = "sha256:63accd11149c0f9a99e3bc095bbdb5a464862d77a7e309ad5938fbc8721235ae"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5a3580a4fdc4ac05f9e53c57f965e3594b2f99796231380adb2baaab96e22761"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2465aa50c9299d615d757c1c888bc6fef384b7c4aec81c05a0172b4400f98557"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:cb7cd68814308aade9d0c93c5bd2ade9f9441666f8ba5aa9c2d4b389cb5e2a45"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:91e43805ccafa0a91831f9cd5443aa34528c0c3f2cc48c4cb3d9a7721053874b"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:854cc74367180beb327ab9d00f964f6d91da06450b0855cbbb09187bcdb02de5"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c15070ebf11b8b7fd1bfff7217e9324963c82dbdf6182ff7050519e350e7ad9f"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2c4c99f98fc3a1835af8179dcc9013f93594d0670e2fa80c83aa36346ee763d2"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3fb765362688821404ad6cf86772fc54993ec11577cd5a92ac44b4c2ba52155b"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:dced27917823df984fe0c80a5c4ad75cf58df0fbfae890bc08004cd3888922a2"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a66bcdf19c1a523e41b8e9d53d0cedbfbac2e93c649a2e9502cb26c014d0980c"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:ecd26be9f112c4f96718290c10f4caea6cc798459a3a76636b817a0ed7874e42"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:3f70fd716855cd3b855316b226a1ac8bdb3caf4f7ea96edcccc6f484217c9597"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:17a866d61259c7de1bdadef418a37755050ddb4b922df8b356503234fff7932c"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-win32.whl", hash = "sha256:548eefad783ed787b38cb6f9a574bd8664468cc76d1538215d510a3cd41406cb"}, + {file = "charset_normalizer-3.3.1-cp38-cp38-win_amd64.whl", hash = "sha256:45f053a0ece92c734d874861ffe6e3cc92150e32136dd59ab1fb070575189c97"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:bc791ec3fd0c4309a753f95bb6c749ef0d8ea3aea91f07ee1cf06b7b02118f2f"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:0c8c61fb505c7dad1d251c284e712d4e0372cef3b067f7ddf82a7fa82e1e9a93"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:2c092be3885a1b7899cd85ce24acedc1034199d6fca1483fa2c3a35c86e43041"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c2000c54c395d9e5e44c99dc7c20a64dc371f777faf8bae4919ad3e99ce5253e"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4cb50a0335382aac15c31b61d8531bc9bb657cfd848b1d7158009472189f3d62"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c30187840d36d0ba2893bc3271a36a517a717f9fd383a98e2697ee890a37c273"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fe81b35c33772e56f4b6cf62cf4aedc1762ef7162a31e6ac7fe5e40d0149eb67"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d0bf89afcbcf4d1bb2652f6580e5e55a840fdf87384f6063c4a4f0c95e378656"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:06cf46bdff72f58645434d467bf5228080801298fbba19fe268a01b4534467f5"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:3c66df3f41abee950d6638adc7eac4730a306b022570f71dd0bd6ba53503ab57"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:cd805513198304026bd379d1d516afbf6c3c13f4382134a2c526b8b854da1c2e"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:9505dc359edb6a330efcd2be825fdb73ee3e628d9010597aa1aee5aa63442e97"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:31445f38053476a0c4e6d12b047b08ced81e2c7c712e5a1ad97bc913256f91b2"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-win32.whl", hash = "sha256:bd28b31730f0e982ace8663d108e01199098432a30a4c410d06fe08fdb9e93f4"}, + {file = "charset_normalizer-3.3.1-cp39-cp39-win_amd64.whl", hash = "sha256:555fe186da0068d3354cdf4bbcbc609b0ecae4d04c921cc13e209eece7720727"}, + {file = "charset_normalizer-3.3.1-py3-none-any.whl", hash = "sha256:800561453acdecedaac137bf09cd719c7a440b6800ec182f077bb8e7025fb708"}, ] [[package]] @@ -1050,33 +1046,33 @@ test = ["eth-hash[pycryptodome]", "pytest (>=6.2.5,<7)", "pytest-xdist", "tox (= [[package]] name = "eth-typing" -version = "3.5.0" +version = "3.5.1" description = "eth-typing: Common type annotations for ethereum python packages" optional = false python-versions = ">=3.7.2, <4" files = [ - {file = "eth-typing-3.5.0.tar.gz", hash = "sha256:a92f6896896752143a4704c57441eedf7b1f65d5df4b1c20cb802bb4aa602d7e"}, - {file = "eth_typing-3.5.0-py3-none-any.whl", hash = "sha256:a773dbb7d78fcd1539c30264193ca26ec965f3abca2711748e307f117b0a10f5"}, + {file = "eth-typing-3.5.1.tar.gz", hash = "sha256:e21a8b0688581a6765f72fa184d86d06c3949e354d4af5293798abc0b4255989"}, + {file = "eth_typing-3.5.1-py3-none-any.whl", hash = "sha256:9d80c7d112a8774bddeb7278b1bc2f17ca4c062825476ce6bc9cba4d47956010"}, ] [package.dependencies] typing-extensions = ">=4.0.1" [package.extras] -dev = ["black (>=23)", "build (>=0.9.0)", "bumpversion (>=0.5.3)", "flake8 (==6.0.0)", "flake8-bugbear (==23.3.23)", "ipython", "isort (>=5.10.1)", "mypy (==0.971)", "pydocstyle (>=6.0.0)", "pytest (>=7.0.0)", "pytest-watch (>=4.1.0)", "pytest-xdist (>=2.4.0)", "sphinx (>=5.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=4.0.0)", "twine", "wheel"] +dev = ["black (>=23)", "build (>=0.9.0)", "bumpversion (>=0.5.3)", "flake8 (==6.0.0)", "flake8-bugbear (==23.3.23)", "ipython", "isort (>=5.10.1)", "mypy (==0.971)", "pydocstyle (>=6.0.0)", "pytest (>=7.0.0)", "pytest-watch (>=4.1.0)", "pytest-xdist (>=2.4.0)", "sphinx (>=5.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=4.0.0)", "twine", "types-setuptools", "wheel"] docs = ["sphinx (>=5.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)"] -lint = ["black (>=23)", "flake8 (==6.0.0)", "flake8-bugbear (==23.3.23)", "isort (>=5.10.1)", "mypy (==0.971)", "pydocstyle (>=6.0.0)"] +lint = ["black (>=23)", "flake8 (==6.0.0)", "flake8-bugbear (==23.3.23)", "isort (>=5.10.1)", "mypy (==0.971)", "pydocstyle (>=6.0.0)", "types-setuptools"] test = ["pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)"] [[package]] name = "eth-utils" -version = "2.2.2" +version = "2.3.0" description = "eth-utils: Common utility functions for python code that interacts with Ethereum" optional = false python-versions = ">=3.7,<4" files = [ - {file = "eth-utils-2.2.2.tar.gz", hash = "sha256:5ca6265177ce544d9d43cdf2272ae2227e5d6d9529c270bbb707d17339087101"}, - {file = "eth_utils-2.2.2-py3-none-any.whl", hash = "sha256:2580a8065273f62ca1ec4c175228c52e626a5f1007e965d2117e5eca1a93cae8"}, + {file = "eth-utils-2.3.0.tar.gz", hash = "sha256:085b42f5745f46d22a186fbd873d79f66a79171c02eccd78792d1dddd672f324"}, + {file = "eth_utils-2.3.0-py3-none-any.whl", hash = "sha256:d539ac0bb1e759abb39f71efbcd77301eede86b4bf449278e4ad2fbf10aac67a"}, ] [package.dependencies] @@ -1901,13 +1897,13 @@ plugins = ["importlib-metadata"] [[package]] name = "pytest" -version = "7.4.2" +version = "7.4.3" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.7" files = [ - {file = "pytest-7.4.2-py3-none-any.whl", hash = "sha256:1d881c6124e08ff0a1bb75ba3ec0bfd8b5354a01c194ddd5a0a870a48d99b002"}, - {file = "pytest-7.4.2.tar.gz", hash = "sha256:a766259cfab564a2ad52cb1aae1b881a75c3eb7e34ca3779697c23ed47c47069"}, + {file = "pytest-7.4.3-py3-none-any.whl", hash = "sha256:0d009c083ea859a71b76adf7c1d502e4bc170b80a8ef002da5806527b9591fac"}, + {file = "pytest-7.4.3.tar.gz", hash = "sha256:d989d136982de4e3b29dabcc838ad581c64e8ed52c11fbe86ddebd9da0818cd5"}, ] [package.dependencies] @@ -2427,13 +2423,13 @@ files = [ [[package]] name = "urllib3" -version = "1.26.17" +version = "1.26.18" description = "HTTP library with thread-safe connection pooling, file post, and more." optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" files = [ - {file = "urllib3-1.26.17-py2.py3-none-any.whl", hash = "sha256:94a757d178c9be92ef5539b8840d48dc9cf1b2709c9d6b588232a055c524458b"}, - {file = "urllib3-1.26.17.tar.gz", hash = "sha256:24d6a242c28d29af46c3fae832c36db3bbebcc533dd1bb549172cd739c82df21"}, + {file = "urllib3-1.26.18-py2.py3-none-any.whl", hash = "sha256:34b97092d7e0a3a8cf7cd10e386f401b3737364026c45e622aa02903dffe0f07"}, + {file = "urllib3-1.26.18.tar.gz", hash = "sha256:f8ecc1bba5667413457c529ab955bf8c67b45db799d159066261719e328580a0"}, ] [package.extras] @@ -2443,13 +2439,13 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] [[package]] name = "virtualenv" -version = "20.24.5" +version = "20.24.6" description = "Virtual Python Environment builder" optional = false python-versions = ">=3.7" files = [ - {file = "virtualenv-20.24.5-py3-none-any.whl", hash = "sha256:b80039f280f4919c77b30f1c23294ae357c4c8701042086e3fc005963e4e537b"}, - {file = "virtualenv-20.24.5.tar.gz", hash = "sha256:e8361967f6da6fbdf1426483bfe9fca8287c242ac0bc30429905721cefbff752"}, + {file = "virtualenv-20.24.6-py3-none-any.whl", hash = "sha256:520d056652454c5098a00c0f073611ccbea4c79089331f60bf9d7ba247bb7381"}, + {file = "virtualenv-20.24.6.tar.gz", hash = "sha256:02ece4f56fbf939dbbc33c0715159951d6bf14aaf5457b092e4548e1382455af"}, ] [package.dependencies] @@ -2463,13 +2459,13 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [[package]] name = "web3" -version = "6.11.0" +version = "6.11.1" description = "web3.py" optional = false python-versions = ">=3.7.2" files = [ - {file = "web3-6.11.0-py3-none-any.whl", hash = "sha256:44e79da6a4765eacf137f2f388e37aa0c1e24a93bdfb462cffe9441d1be3d509"}, - {file = "web3-6.11.0.tar.gz", hash = "sha256:050dea52ae73d787272e7ecba7249f096595938c90cce1a384c20375c6b0f720"}, + {file = "web3-6.11.1-py3-none-any.whl", hash = "sha256:0d39f58cbb0c652b45e711f01e01ec655117b47ba4eefd1f9550c52d205afa8c"}, + {file = "web3-6.11.1.tar.gz", hash = "sha256:d301d7120922d5b9e5c9535ef9780012ea25ea4011c2b177490ba7d3ef886b92"}, ] [package.dependencies] @@ -2479,7 +2475,7 @@ eth-account = ">=0.8.0" eth-hash = {version = ">=0.5.1", extras = ["pycryptodome"]} eth-typing = ">=3.0.0" eth-utils = ">=2.1.0" -hexbytes = ">=0.1.0" +hexbytes = ">=0.1.0,<0.4.0" jsonschema = ">=4.0.0" lru-dict = ">=1.1.6" protobuf = ">=4.21.6" @@ -2498,81 +2494,83 @@ tester = ["eth-tester[py-evm] (==v0.9.1-b.1)", "py-geth (>=3.11.0)"] [[package]] name = "websockets" -version = "11.0.3" +version = "12.0" description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "websockets-11.0.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3ccc8a0c387629aec40f2fc9fdcb4b9d5431954f934da3eaf16cdc94f67dbfac"}, - {file = "websockets-11.0.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d67ac60a307f760c6e65dad586f556dde58e683fab03323221a4e530ead6f74d"}, - {file = "websockets-11.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:84d27a4832cc1a0ee07cdcf2b0629a8a72db73f4cf6de6f0904f6661227f256f"}, - {file = "websockets-11.0.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ffd7dcaf744f25f82190856bc26ed81721508fc5cbf2a330751e135ff1283564"}, - {file = "websockets-11.0.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7622a89d696fc87af8e8d280d9b421db5133ef5b29d3f7a1ce9f1a7bf7fcfa11"}, - {file = "websockets-11.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bceab846bac555aff6427d060f2fcfff71042dba6f5fca7dc4f75cac815e57ca"}, - {file = "websockets-11.0.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:54c6e5b3d3a8936a4ab6870d46bdd6ec500ad62bde9e44462c32d18f1e9a8e54"}, - {file = "websockets-11.0.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:41f696ba95cd92dc047e46b41b26dd24518384749ed0d99bea0a941ca87404c4"}, - {file = "websockets-11.0.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:86d2a77fd490ae3ff6fae1c6ceaecad063d3cc2320b44377efdde79880e11526"}, - {file = "websockets-11.0.3-cp310-cp310-win32.whl", hash = "sha256:2d903ad4419f5b472de90cd2d40384573b25da71e33519a67797de17ef849b69"}, - {file = "websockets-11.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:1d2256283fa4b7f4c7d7d3e84dc2ece74d341bce57d5b9bf385df109c2a1a82f"}, - {file = "websockets-11.0.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:e848f46a58b9fcf3d06061d17be388caf70ea5b8cc3466251963c8345e13f7eb"}, - {file = "websockets-11.0.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:aa5003845cdd21ac0dc6c9bf661c5beddd01116f6eb9eb3c8e272353d45b3288"}, - {file = "websockets-11.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b58cbf0697721120866820b89f93659abc31c1e876bf20d0b3d03cef14faf84d"}, - {file = "websockets-11.0.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:660e2d9068d2bedc0912af508f30bbeb505bbbf9774d98def45f68278cea20d3"}, - {file = "websockets-11.0.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c1f0524f203e3bd35149f12157438f406eff2e4fb30f71221c8a5eceb3617b6b"}, - {file = "websockets-11.0.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:def07915168ac8f7853812cc593c71185a16216e9e4fa886358a17ed0fd9fcf6"}, - {file = "websockets-11.0.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b30c6590146e53149f04e85a6e4fcae068df4289e31e4aee1fdf56a0dead8f97"}, - {file = "websockets-11.0.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:619d9f06372b3a42bc29d0cd0354c9bb9fb39c2cbc1a9c5025b4538738dbffaf"}, - {file = "websockets-11.0.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:01f5567d9cf6f502d655151645d4e8b72b453413d3819d2b6f1185abc23e82dd"}, - {file = "websockets-11.0.3-cp311-cp311-win32.whl", hash = "sha256:e1459677e5d12be8bbc7584c35b992eea142911a6236a3278b9b5ce3326f282c"}, - {file = "websockets-11.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:e7837cb169eca3b3ae94cc5787c4fed99eef74c0ab9506756eea335e0d6f3ed8"}, - {file = "websockets-11.0.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:9f59a3c656fef341a99e3d63189852be7084c0e54b75734cde571182c087b152"}, - {file = "websockets-11.0.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2529338a6ff0eb0b50c7be33dc3d0e456381157a31eefc561771ee431134a97f"}, - {file = "websockets-11.0.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:34fd59a4ac42dff6d4681d8843217137f6bc85ed29722f2f7222bd619d15e95b"}, - {file = "websockets-11.0.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:332d126167ddddec94597c2365537baf9ff62dfcc9db4266f263d455f2f031cb"}, - {file = "websockets-11.0.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:6505c1b31274723ccaf5f515c1824a4ad2f0d191cec942666b3d0f3aa4cb4007"}, - {file = "websockets-11.0.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:f467ba0050b7de85016b43f5a22b46383ef004c4f672148a8abf32bc999a87f0"}, - {file = "websockets-11.0.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:9d9acd80072abcc98bd2c86c3c9cd4ac2347b5a5a0cae7ed5c0ee5675f86d9af"}, - {file = "websockets-11.0.3-cp37-cp37m-win32.whl", hash = "sha256:e590228200fcfc7e9109509e4d9125eace2042fd52b595dd22bbc34bb282307f"}, - {file = "websockets-11.0.3-cp37-cp37m-win_amd64.whl", hash = "sha256:b16fff62b45eccb9c7abb18e60e7e446998093cdcb50fed33134b9b6878836de"}, - {file = "websockets-11.0.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:fb06eea71a00a7af0ae6aefbb932fb8a7df3cb390cc217d51a9ad7343de1b8d0"}, - {file = "websockets-11.0.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:8a34e13a62a59c871064dfd8ffb150867e54291e46d4a7cf11d02c94a5275bae"}, - {file = "websockets-11.0.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4841ed00f1026dfbced6fca7d963c4e7043aa832648671b5138008dc5a8f6d99"}, - {file = "websockets-11.0.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1a073fc9ab1c8aff37c99f11f1641e16da517770e31a37265d2755282a5d28aa"}, - {file = "websockets-11.0.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:68b977f21ce443d6d378dbd5ca38621755f2063d6fdb3335bda981d552cfff86"}, - {file = "websockets-11.0.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e1a99a7a71631f0efe727c10edfba09ea6bee4166a6f9c19aafb6c0b5917d09c"}, - {file = "websockets-11.0.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:bee9fcb41db2a23bed96c6b6ead6489702c12334ea20a297aa095ce6d31370d0"}, - {file = "websockets-11.0.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4b253869ea05a5a073ebfdcb5cb3b0266a57c3764cf6fe114e4cd90f4bfa5f5e"}, - {file = "websockets-11.0.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:1553cb82942b2a74dd9b15a018dce645d4e68674de2ca31ff13ebc2d9f283788"}, - {file = "websockets-11.0.3-cp38-cp38-win32.whl", hash = "sha256:f61bdb1df43dc9c131791fbc2355535f9024b9a04398d3bd0684fc16ab07df74"}, - {file = "websockets-11.0.3-cp38-cp38-win_amd64.whl", hash = "sha256:03aae4edc0b1c68498f41a6772d80ac7c1e33c06c6ffa2ac1c27a07653e79d6f"}, - {file = "websockets-11.0.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:777354ee16f02f643a4c7f2b3eff8027a33c9861edc691a2003531f5da4f6bc8"}, - {file = "websockets-11.0.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:8c82f11964f010053e13daafdc7154ce7385ecc538989a354ccc7067fd7028fd"}, - {file = "websockets-11.0.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3580dd9c1ad0701169e4d6fc41e878ffe05e6bdcaf3c412f9d559389d0c9e016"}, - {file = "websockets-11.0.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6f1a3f10f836fab6ca6efa97bb952300b20ae56b409414ca85bff2ad241d2a61"}, - {file = "websockets-11.0.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:df41b9bc27c2c25b486bae7cf42fccdc52ff181c8c387bfd026624a491c2671b"}, - {file = "websockets-11.0.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:279e5de4671e79a9ac877427f4ac4ce93751b8823f276b681d04b2156713b9dd"}, - {file = "websockets-11.0.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:1fdf26fa8a6a592f8f9235285b8affa72748dc12e964a5518c6c5e8f916716f7"}, - {file = "websockets-11.0.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:69269f3a0b472e91125b503d3c0b3566bda26da0a3261c49f0027eb6075086d1"}, - {file = "websockets-11.0.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:97b52894d948d2f6ea480171a27122d77af14ced35f62e5c892ca2fae9344311"}, - {file = "websockets-11.0.3-cp39-cp39-win32.whl", hash = "sha256:c7f3cb904cce8e1be667c7e6fef4516b98d1a6a0635a58a57528d577ac18a128"}, - {file = "websockets-11.0.3-cp39-cp39-win_amd64.whl", hash = "sha256:c792ea4eabc0159535608fc5658a74d1a81020eb35195dd63214dcf07556f67e"}, - {file = "websockets-11.0.3-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:f2e58f2c36cc52d41f2659e4c0cbf7353e28c8c9e63e30d8c6d3494dc9fdedcf"}, - {file = "websockets-11.0.3-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:de36fe9c02995c7e6ae6efe2e205816f5f00c22fd1fbf343d4d18c3d5ceac2f5"}, - {file = "websockets-11.0.3-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0ac56b661e60edd453585f4bd68eb6a29ae25b5184fd5ba51e97652580458998"}, - {file = "websockets-11.0.3-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e052b8467dd07d4943936009f46ae5ce7b908ddcac3fda581656b1b19c083d9b"}, - {file = "websockets-11.0.3-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:42cc5452a54a8e46a032521d7365da775823e21bfba2895fb7b77633cce031bb"}, - {file = "websockets-11.0.3-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:e6316827e3e79b7b8e7d8e3b08f4e331af91a48e794d5d8b099928b6f0b85f20"}, - {file = "websockets-11.0.3-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8531fdcad636d82c517b26a448dcfe62f720e1922b33c81ce695d0edb91eb931"}, - {file = "websockets-11.0.3-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c114e8da9b475739dde229fd3bc6b05a6537a88a578358bc8eb29b4030fac9c9"}, - {file = "websockets-11.0.3-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e063b1865974611313a3849d43f2c3f5368093691349cf3c7c8f8f75ad7cb280"}, - {file = "websockets-11.0.3-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:92b2065d642bf8c0a82d59e59053dd2fdde64d4ed44efe4870fa816c1232647b"}, - {file = "websockets-11.0.3-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:0ee68fe502f9031f19d495dae2c268830df2760c0524cbac5d759921ba8c8e82"}, - {file = "websockets-11.0.3-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dcacf2c7a6c3a84e720d1bb2b543c675bf6c40e460300b628bab1b1efc7c034c"}, - {file = "websockets-11.0.3-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b67c6f5e5a401fc56394f191f00f9b3811fe843ee93f4a70df3c389d1adf857d"}, - {file = "websockets-11.0.3-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1d5023a4b6a5b183dc838808087033ec5df77580485fc533e7dab2567851b0a4"}, - {file = "websockets-11.0.3-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:ed058398f55163a79bb9f06a90ef9ccc063b204bb346c4de78efc5d15abfe602"}, - {file = "websockets-11.0.3-py3-none-any.whl", hash = "sha256:6681ba9e7f8f3b19440921e99efbb40fc89f26cd71bf539e45d8c8a25c976dc6"}, - {file = "websockets-11.0.3.tar.gz", hash = "sha256:88fc51d9a26b10fc331be344f1781224a375b78488fc343620184e95a4b27016"}, + {file = "websockets-12.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d554236b2a2006e0ce16315c16eaa0d628dab009c33b63ea03f41c6107958374"}, + {file = "websockets-12.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2d225bb6886591b1746b17c0573e29804619c8f755b5598d875bb4235ea639be"}, + {file = "websockets-12.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:eb809e816916a3b210bed3c82fb88eaf16e8afcf9c115ebb2bacede1797d2547"}, + {file = "websockets-12.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c588f6abc13f78a67044c6b1273a99e1cf31038ad51815b3b016ce699f0d75c2"}, + {file = "websockets-12.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5aa9348186d79a5f232115ed3fa9020eab66d6c3437d72f9d2c8ac0c6858c558"}, + {file = "websockets-12.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6350b14a40c95ddd53e775dbdbbbc59b124a5c8ecd6fbb09c2e52029f7a9f480"}, + {file = "websockets-12.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:70ec754cc2a769bcd218ed8d7209055667b30860ffecb8633a834dde27d6307c"}, + {file = "websockets-12.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:6e96f5ed1b83a8ddb07909b45bd94833b0710f738115751cdaa9da1fb0cb66e8"}, + {file = "websockets-12.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:4d87be612cbef86f994178d5186add3d94e9f31cc3cb499a0482b866ec477603"}, + {file = "websockets-12.0-cp310-cp310-win32.whl", hash = "sha256:befe90632d66caaf72e8b2ed4d7f02b348913813c8b0a32fae1cc5fe3730902f"}, + {file = "websockets-12.0-cp310-cp310-win_amd64.whl", hash = "sha256:363f57ca8bc8576195d0540c648aa58ac18cf85b76ad5202b9f976918f4219cf"}, + {file = "websockets-12.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:5d873c7de42dea355d73f170be0f23788cf3fa9f7bed718fd2830eefedce01b4"}, + {file = "websockets-12.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3f61726cae9f65b872502ff3c1496abc93ffbe31b278455c418492016e2afc8f"}, + {file = "websockets-12.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ed2fcf7a07334c77fc8a230755c2209223a7cc44fc27597729b8ef5425aa61a3"}, + {file = "websockets-12.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e332c210b14b57904869ca9f9bf4ca32f5427a03eeb625da9b616c85a3a506c"}, + {file = "websockets-12.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5693ef74233122f8ebab026817b1b37fe25c411ecfca084b29bc7d6efc548f45"}, + {file = "websockets-12.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e9e7db18b4539a29cc5ad8c8b252738a30e2b13f033c2d6e9d0549b45841c04"}, + {file = "websockets-12.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:6e2df67b8014767d0f785baa98393725739287684b9f8d8a1001eb2839031447"}, + {file = "websockets-12.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:bea88d71630c5900690fcb03161ab18f8f244805c59e2e0dc4ffadae0a7ee0ca"}, + {file = "websockets-12.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:dff6cdf35e31d1315790149fee351f9e52978130cef6c87c4b6c9b3baf78bc53"}, + {file = "websockets-12.0-cp311-cp311-win32.whl", hash = "sha256:3e3aa8c468af01d70332a382350ee95f6986db479ce7af14d5e81ec52aa2b402"}, + {file = "websockets-12.0-cp311-cp311-win_amd64.whl", hash = "sha256:25eb766c8ad27da0f79420b2af4b85d29914ba0edf69f547cc4f06ca6f1d403b"}, + {file = "websockets-12.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0e6e2711d5a8e6e482cacb927a49a3d432345dfe7dea8ace7b5790df5932e4df"}, + {file = "websockets-12.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:dbcf72a37f0b3316e993e13ecf32f10c0e1259c28ffd0a85cee26e8549595fbc"}, + {file = "websockets-12.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:12743ab88ab2af1d17dd4acb4645677cb7063ef4db93abffbf164218a5d54c6b"}, + {file = "websockets-12.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7b645f491f3c48d3f8a00d1fce07445fab7347fec54a3e65f0725d730d5b99cb"}, + {file = "websockets-12.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9893d1aa45a7f8b3bc4510f6ccf8db8c3b62120917af15e3de247f0780294b92"}, + {file = "websockets-12.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1f38a7b376117ef7aff996e737583172bdf535932c9ca021746573bce40165ed"}, + {file = "websockets-12.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:f764ba54e33daf20e167915edc443b6f88956f37fb606449b4a5b10ba42235a5"}, + {file = "websockets-12.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:1e4b3f8ea6a9cfa8be8484c9221ec0257508e3a1ec43c36acdefb2a9c3b00aa2"}, + {file = "websockets-12.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:9fdf06fd06c32205a07e47328ab49c40fc1407cdec801d698a7c41167ea45113"}, + {file = "websockets-12.0-cp312-cp312-win32.whl", hash = "sha256:baa386875b70cbd81798fa9f71be689c1bf484f65fd6fb08d051a0ee4e79924d"}, + {file = "websockets-12.0-cp312-cp312-win_amd64.whl", hash = "sha256:ae0a5da8f35a5be197f328d4727dbcfafa53d1824fac3d96cdd3a642fe09394f"}, + {file = "websockets-12.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5f6ffe2c6598f7f7207eef9a1228b6f5c818f9f4d53ee920aacd35cec8110438"}, + {file = "websockets-12.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9edf3fc590cc2ec20dc9d7a45108b5bbaf21c0d89f9fd3fd1685e223771dc0b2"}, + {file = "websockets-12.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:8572132c7be52632201a35f5e08348137f658e5ffd21f51f94572ca6c05ea81d"}, + {file = "websockets-12.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:604428d1b87edbf02b233e2c207d7d528460fa978f9e391bd8aaf9c8311de137"}, + {file = "websockets-12.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1a9d160fd080c6285e202327aba140fc9a0d910b09e423afff4ae5cbbf1c7205"}, + {file = "websockets-12.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:87b4aafed34653e465eb77b7c93ef058516cb5acf3eb21e42f33928616172def"}, + {file = "websockets-12.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b2ee7288b85959797970114deae81ab41b731f19ebcd3bd499ae9ca0e3f1d2c8"}, + {file = "websockets-12.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:7fa3d25e81bfe6a89718e9791128398a50dec6d57faf23770787ff441d851967"}, + {file = "websockets-12.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:a571f035a47212288e3b3519944f6bf4ac7bc7553243e41eac50dd48552b6df7"}, + {file = "websockets-12.0-cp38-cp38-win32.whl", hash = "sha256:3c6cc1360c10c17463aadd29dd3af332d4a1adaa8796f6b0e9f9df1fdb0bad62"}, + {file = "websockets-12.0-cp38-cp38-win_amd64.whl", hash = "sha256:1bf386089178ea69d720f8db6199a0504a406209a0fc23e603b27b300fdd6892"}, + {file = "websockets-12.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:ab3d732ad50a4fbd04a4490ef08acd0517b6ae6b77eb967251f4c263011a990d"}, + {file = "websockets-12.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a1d9697f3337a89691e3bd8dc56dea45a6f6d975f92e7d5f773bc715c15dde28"}, + {file = "websockets-12.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:1df2fbd2c8a98d38a66f5238484405b8d1d16f929bb7a33ed73e4801222a6f53"}, + {file = "websockets-12.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:23509452b3bc38e3a057382c2e941d5ac2e01e251acce7adc74011d7d8de434c"}, + {file = "websockets-12.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2e5fc14ec6ea568200ea4ef46545073da81900a2b67b3e666f04adf53ad452ec"}, + {file = "websockets-12.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:46e71dbbd12850224243f5d2aeec90f0aaa0f2dde5aeeb8fc8df21e04d99eff9"}, + {file = "websockets-12.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:b81f90dcc6c85a9b7f29873beb56c94c85d6f0dac2ea8b60d995bd18bf3e2aae"}, + {file = "websockets-12.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:a02413bc474feda2849c59ed2dfb2cddb4cd3d2f03a2fedec51d6e959d9b608b"}, + {file = "websockets-12.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:bbe6013f9f791944ed31ca08b077e26249309639313fff132bfbf3ba105673b9"}, + {file = "websockets-12.0-cp39-cp39-win32.whl", hash = "sha256:cbe83a6bbdf207ff0541de01e11904827540aa069293696dd528a6640bd6a5f6"}, + {file = "websockets-12.0-cp39-cp39-win_amd64.whl", hash = "sha256:fc4e7fa5414512b481a2483775a8e8be7803a35b30ca805afa4998a84f9fd9e8"}, + {file = "websockets-12.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:248d8e2446e13c1d4326e0a6a4e9629cb13a11195051a73acf414812700badbd"}, + {file = "websockets-12.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f44069528d45a933997a6fef143030d8ca8042f0dfaad753e2906398290e2870"}, + {file = "websockets-12.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c4e37d36f0d19f0a4413d3e18c0d03d0c268ada2061868c1e6f5ab1a6d575077"}, + {file = "websockets-12.0-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3d829f975fc2e527a3ef2f9c8f25e553eb7bc779c6665e8e1d52aa22800bb38b"}, + {file = "websockets-12.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:2c71bd45a777433dd9113847af751aae36e448bc6b8c361a566cb043eda6ec30"}, + {file = "websockets-12.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:0bee75f400895aef54157b36ed6d3b308fcab62e5260703add87f44cee9c82a6"}, + {file = "websockets-12.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:423fc1ed29f7512fceb727e2d2aecb952c46aa34895e9ed96071821309951123"}, + {file = "websockets-12.0-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:27a5e9964ef509016759f2ef3f2c1e13f403725a5e6a1775555994966a66e931"}, + {file = "websockets-12.0-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c3181df4583c4d3994d31fb235dc681d2aaad744fbdbf94c4802485ececdecf2"}, + {file = "websockets-12.0-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:b067cb952ce8bf40115f6c19f478dc71c5e719b7fbaa511359795dfd9d1a6468"}, + {file = "websockets-12.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:00700340c6c7ab788f176d118775202aadea7602c5cc6be6ae127761c16d6b0b"}, + {file = "websockets-12.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e469d01137942849cff40517c97a30a93ae79917752b34029f0ec72df6b46399"}, + {file = "websockets-12.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ffefa1374cd508d633646d51a8e9277763a9b78ae71324183693959cf94635a7"}, + {file = "websockets-12.0-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba0cab91b3956dfa9f512147860783a1829a8d905ee218a9837c18f683239611"}, + {file = "websockets-12.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:2cb388a5bfb56df4d9a406783b7f9dbefb888c09b71629351cc6b036e9259370"}, + {file = "websockets-12.0-py3-none-any.whl", hash = "sha256:dc284bbc8d7c78a6c69e0c7325ab46ee5e40bb4d50e494d8131a07ef47500e9e"}, + {file = "websockets-12.0.tar.gz", hash = "sha256:81df9cbcbb6c260de1e007e58c011bfebe2dafc8435107b0537f393dd38c8b1b"}, ] [[package]] From 2a53d22bf42e86db56985a3b1bbbbdd4d9d0f6f5 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 25 Oct 2023 17:54:06 -0300 Subject: [PATCH 32/83] (feat) Added cid to all messages used to cancel orders in spot, derivative and binary versions --- .../chain_client/17_MsgBatchUpdateOrders.py | 2 +- .../chain_client/3_MsgCreateSpotLimitOrder.py | 4 ++- .../meta_rpc/4_StreamKeepAlive.py | 4 +-- pyinjective/async_client.py | 2 +- pyinjective/composer.py | 36 ++++++++++++++++--- 5 files changed, 39 insertions(+), 9 deletions(-) diff --git a/examples/chain_client/17_MsgBatchUpdateOrders.py b/examples/chain_client/17_MsgBatchUpdateOrders.py index 533a1d01..b79a526b 100644 --- a/examples/chain_client/17_MsgBatchUpdateOrders.py +++ b/examples/chain_client/17_MsgBatchUpdateOrders.py @@ -51,7 +51,7 @@ async def main() -> None: composer.OrderData( market_id=spot_market_id_cancel, subaccount_id=subaccount_id, - order_hash="0x3870fbdd91f07d54425147b1bb96404f4f043ba6335b422a6d494d285b387f2d", + cid="0e5c3ad5-2cc4-4a2a-bbe5-b12697739163", ), composer.OrderData( market_id=spot_market_id_cancel_2, diff --git a/examples/chain_client/3_MsgCreateSpotLimitOrder.py b/examples/chain_client/3_MsgCreateSpotLimitOrder.py index db6c41ca..59ed197c 100644 --- a/examples/chain_client/3_MsgCreateSpotLimitOrder.py +++ b/examples/chain_client/3_MsgCreateSpotLimitOrder.py @@ -26,6 +26,7 @@ async def main() -> None: # prepare trade info market_id = "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" fee_recipient = "inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r" + cid = str(uuid.uuid4()) # prepare tx msg msg = composer.MsgCreateSpotLimitOrder( @@ -37,7 +38,7 @@ async def main() -> None: quantity=0.01, is_buy=True, is_po=False, - cid=str(uuid.uuid4()), + cid=cid, ) # build sim tx @@ -83,6 +84,7 @@ async def main() -> None: print(res) print("gas wanted: {}".format(gas_limit)) print("gas fee: {} INJ".format(gas_fee)) + print(f"\n\ncid: {cid}") if __name__ == "__main__": diff --git a/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py b/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py index 789cabc7..4abb3e20 100644 --- a/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py +++ b/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py @@ -9,8 +9,8 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) - task1 = asyncio.create_task(get_markets(client)) - task2 = asyncio.create_task(keepalive(client, [task1])) + task1 = asyncio.get_event_loop().create_task(get_markets(client)) + task2 = asyncio.get_event_loop().create_task(keepalive(client, [task1])) try: await asyncio.gather( diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 03d5e8b6..4c1b95c0 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -1043,7 +1043,7 @@ def _exchange_cookie_metadata_requestor(self) -> Coroutine: def _initialize_timeout_height_sync_task(self): self._cancel_timeout_height_sync_task() - self._timeout_height_sync_task = asyncio.create_task(self._timeout_height_sync_process()) + self._timeout_height_sync_task = asyncio.get_event_loop().create_task(self._timeout_height_sync_process()) async def _timeout_height_sync_process(self): while True: diff --git a/pyinjective/composer.py b/pyinjective/composer.py index a8c9a99b..b1826e16 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -100,7 +100,9 @@ def get_order_mask(self, **kwargs): return order_mask - def OrderData(self, market_id: str, subaccount_id: str, order_hash: str, **kwargs): + def OrderData( + self, market_id: str, subaccount_id: str, order_hash: Optional[str] = None, cid: Optional[str] = None, **kwargs + ): order_mask = self.get_order_mask(**kwargs) return injective_exchange_tx_pb.OrderData( @@ -108,6 +110,7 @@ def OrderData(self, market_id: str, subaccount_id: str, order_hash: str, **kwarg subaccount_id=subaccount_id, order_hash=order_hash, order_mask=order_mask, + cid=cid, ) def SpotOrder( @@ -348,12 +351,20 @@ def MsgCreateSpotMarketOrder( ), ) - def MsgCancelSpotOrder(self, market_id: str, sender: str, subaccount_id: str, order_hash: str): + def MsgCancelSpotOrder( + self, + market_id: str, + sender: str, + subaccount_id: str, + order_hash: Optional[str] = None, + cid: Optional[str] = None, + ): return injective_exchange_tx_pb.MsgCancelSpotOrder( sender=sender, market_id=market_id, subaccount_id=subaccount_id, order_hash=order_hash, + cid=cid, ) def MsgBatchCreateSpotLimitOrders(self, sender: str, orders: List): @@ -463,12 +474,20 @@ def MsgCreateBinaryOptionsMarketOrder( ), ) - def MsgCancelBinaryOptionsOrder(self, sender: str, market_id: str, subaccount_id: str, order_hash: str): + def MsgCancelBinaryOptionsOrder( + self, + sender: str, + market_id: str, + subaccount_id: str, + order_hash: Optional[str] = None, + cid: Optional[str] = None, + ): return injective_exchange_tx_pb.MsgCancelBinaryOptionsOrder( sender=sender, market_id=market_id, subaccount_id=subaccount_id, order_hash=order_hash, + cid=cid, ) def MsgAdminUpdateBinaryOptionsMarket( @@ -555,7 +574,15 @@ def MsgInstantBinaryOptionsMarketLaunch( admin=kwargs.get("admin"), ) - def MsgCancelDerivativeOrder(self, market_id: str, sender: str, subaccount_id: str, order_hash: str, **kwargs): + def MsgCancelDerivativeOrder( + self, + market_id: str, + sender: str, + subaccount_id: str, + order_hash: Optional[str] = None, + cid: Optional[str] = None, + **kwargs, + ): order_mask = self.get_order_mask(**kwargs) return injective_exchange_tx_pb.MsgCancelDerivativeOrder( @@ -564,6 +591,7 @@ def MsgCancelDerivativeOrder(self, market_id: str, sender: str, subaccount_id: s subaccount_id=subaccount_id, order_hash=order_hash, order_mask=order_mask, + cid=cid, ) def MsgBatchCreateDerivativeLimitOrders(self, sender: str, orders: List): From 520b79358f9722e5eec49f8043b9fbbbb0ddfee4 Mon Sep 17 00:00:00 2001 From: abel Date: Thu, 26 Oct 2023 09:52:06 -0300 Subject: [PATCH 33/83] (fix) Updated version number --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5a73b970..8cf2adb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "0.10.dev7" +version = "0.10.dev8" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" From 125c94bf82573508b29c85b6d31a0495dd43bb63 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 30 Oct 2023 13:20:59 -0300 Subject: [PATCH 34/83] (feat) Created Indexer Meta API components. Created new functions in AsyncClient to use them and market the ones interacting directly with the stubs as deprecated --- examples/exchange_client/meta_rpc/1_Ping.py | 2 +- .../exchange_client/meta_rpc/2_Version.py | 2 +- examples/exchange_client/meta_rpc/3_Info.py | 4 +- .../meta_rpc/4_StreamKeepAlive.py | 43 +++++--- poetry.lock | 8 +- pyinjective/async_client.py | 79 ++++++++++++--- .../chain/grpc/chain_grpc_auction_api.py | 4 +- .../client/chain/grpc/chain_grpc_auth_api.py | 4 +- .../client/chain/grpc/chain_grpc_authz_api.py | 4 +- .../client/chain/grpc/chain_grpc_bank_api.py | 4 +- .../indexer/grpc/indexer_grpc_account_api.py | 4 +- .../indexer/grpc/indexer_grpc_meta_api.py | 37 +++++++ .../indexer_grpc_account_stream.py | 6 +- .../grpc_stream/indexer_grpc_meta_stream.py | 50 ++++++++++ pyinjective/core/tx/grpc/tx_grpc_api.py | 4 +- .../utils/grpc_api_request_assistant.py | 6 +- .../chain/grpc/test_chain_grpc_auction_api.py | 8 +- .../chain/grpc/test_chain_grpc_auth_api.py | 6 +- .../chain/grpc/test_chain_grpc_authz_api.py | 6 +- .../chain/grpc/test_chain_grpc_bank_api.py | 10 +- .../configurable_meta_query_servicer.py | 28 ++++++ .../grpc/test_indexer_grpc_account_api.py | 18 ++-- .../grpc/test_indexer_grpc_meta_api.py | 99 +++++++++++++++++++ .../test_indexer_grpc_account_stream.py | 2 +- .../test_indexer_grpc_meta_stream.py | 63 ++++++++++++ tests/core/tx/grpc/test_tx_grpc_api.py | 6 +- .../test_async_client_deprecation_warnings.py | 83 +++++++++++++++- 27 files changed, 507 insertions(+), 83 deletions(-) create mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_meta_api.py create mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_meta_stream.py create mode 100644 tests/client/indexer/configurable_meta_query_servicer.py create mode 100644 tests/client/indexer/grpc/test_indexer_grpc_meta_api.py create mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_meta_stream.py diff --git a/examples/exchange_client/meta_rpc/1_Ping.py b/examples/exchange_client/meta_rpc/1_Ping.py index 3b75cbae..46feca3e 100644 --- a/examples/exchange_client/meta_rpc/1_Ping.py +++ b/examples/exchange_client/meta_rpc/1_Ping.py @@ -8,7 +8,7 @@ async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - resp = await client.ping() + resp = await client.fetch_ping() print("Health OK?", resp) diff --git a/examples/exchange_client/meta_rpc/2_Version.py b/examples/exchange_client/meta_rpc/2_Version.py index 025a931b..11681dc2 100644 --- a/examples/exchange_client/meta_rpc/2_Version.py +++ b/examples/exchange_client/meta_rpc/2_Version.py @@ -8,7 +8,7 @@ async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - resp = await client.version() + resp = await client.fetch_version() print("Version:", resp) diff --git a/examples/exchange_client/meta_rpc/3_Info.py b/examples/exchange_client/meta_rpc/3_Info.py index 8f799da7..3e103e51 100644 --- a/examples/exchange_client/meta_rpc/3_Info.py +++ b/examples/exchange_client/meta_rpc/3_Info.py @@ -9,10 +9,10 @@ async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - resp = await client.info() + resp = await client.fetch_info() print("[!] Info:") print(resp) - latency = int(round(time.time() * 1000)) - resp.timestamp + latency = int(time.time() * 1000) - int(resp["timestamp"]) print(f"Server Latency: {latency}ms") diff --git a/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py b/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py index 789cabc7..7724f46e 100644 --- a/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py +++ b/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py @@ -1,22 +1,44 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to keepalive updates ({exception})") + + +def stream_closed_processor(): + print("The keepalive stream has been closed") + + async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) + tasks = [] + + async def keepalive_event_processor(event: Dict[str, Any]): + print("Server announce:", event) + for task in tasks: + task.cancel() + print("Cancelled all tasks") - task1 = asyncio.create_task(get_markets(client)) - task2 = asyncio.create_task(keepalive(client, [task1])) + market_task = asyncio.get_event_loop().create_task(get_markets(client)) + tasks.append(market_task) + keepalive_task = asyncio.get_event_loop().create_task( + client.listen_keepalive( + callback=keepalive_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) + ) try: - await asyncio.gather( - task1, - task2, - ) + await asyncio.gather(market_task, keepalive_task) except asyncio.CancelledError: print("main(): get_markets is cancelled now") @@ -27,14 +49,5 @@ async def get_markets(client): print(market) -async def keepalive(client, tasks: list): - stream = await client.stream_keepalive() - async for announce in stream: - print("Server announce:", announce) - async for task in tasks: - task.cancel() - print("Cancelled all tasks") - - if __name__ == "__main__": asyncio.get_event_loop().run_until_complete(main()) diff --git a/poetry.lock b/poetry.lock index 5247b2e3..b430ad70 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2513,13 +2513,13 @@ devenv = ["black", "check-manifest", "flake8", "pyroma", "pytest (>=4.3)", "pyte [[package]] name = "urllib3" -version = "1.26.17" +version = "1.26.18" description = "HTTP library with thread-safe connection pooling, file post, and more." optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" files = [ - {file = "urllib3-1.26.17-py2.py3-none-any.whl", hash = "sha256:94a757d178c9be92ef5539b8840d48dc9cf1b2709c9d6b588232a055c524458b"}, - {file = "urllib3-1.26.17.tar.gz", hash = "sha256:24d6a242c28d29af46c3fae832c36db3bbebcc533dd1bb549172cd739c82df21"}, + {file = "urllib3-1.26.18-py2.py3-none-any.whl", hash = "sha256:34b97092d7e0a3a8cf7cd10e386f401b3737364026c45e622aa02903dffe0f07"}, + {file = "urllib3-1.26.18.tar.gz", hash = "sha256:f8ecc1bba5667413457c529ab955bf8c67b45db799d159066261719e328580a0"}, ] [package.extras] @@ -2751,4 +2751,4 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "1c74ebf70d3cc8987fe3218c68cb29aa1a11121e1bd854af44dd2886413b5541" +content-hash = "b91b263f6ec78bab1de96a420b636b78f8804e494b7065b2ac7ab9bf7429917f" diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 368d0c97..b9de687d 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -14,7 +14,9 @@ from pyinjective.client.chain.grpc.chain_grpc_authz_api import ChainGrpcAuthZApi from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi from pyinjective.client.indexer.grpc.indexer_grpc_account_api import IndexerGrpcAccountApi +from pyinjective.client.indexer.grpc.indexer_grpc_meta_api import IndexerGrpcMetaApi from pyinjective.client.indexer.grpc_stream.indexer_grpc_account_stream import IndexerGrpcAccountStream +from pyinjective.client.indexer.grpc_stream.indexer_grpc_meta_stream import IndexerGrpcMetaStream from pyinjective.client.model.pagination import PaginationOption from pyinjective.composer import Composer from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket @@ -138,38 +140,50 @@ def __init__( self.bank_api = ChainGrpcBankApi( channel=self.chain_channel, - metadata_provider=self.network.chain_metadata( + metadata_provider=lambda: self.network.chain_metadata( metadata_query_provider=self._chain_cookie_metadata_requestor ), ) self.auth_api = ChainGrpcAuthApi( channel=self.chain_channel, - metadata_provider=self.network.chain_metadata( + metadata_provider=lambda: self.network.chain_metadata( metadata_query_provider=self._chain_cookie_metadata_requestor ), ) self.authz_api = ChainGrpcAuthZApi( channel=self.chain_channel, - metadata_provider=self.network.chain_metadata( + metadata_provider=lambda: self.network.chain_metadata( metadata_query_provider=self._chain_cookie_metadata_requestor ), ) self.tx_api = TxGrpcApi( channel=self.chain_channel, - metadata_provider=self.network.chain_metadata( + metadata_provider=lambda: self.network.chain_metadata( metadata_query_provider=self._chain_cookie_metadata_requestor ), ) self.exchange_account_api = IndexerGrpcAccountApi( channel=self.exchange_channel, - metadata_provider=self.network.exchange_metadata( + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) + self.exchange_meta_api = IndexerGrpcMetaApi( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) self.exchange_account_stream_api = IndexerGrpcAccountStream( channel=self.exchange_channel, - metadata_provider=self.network.exchange_metadata( + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) + self.exchange_meta_stream_api = IndexerGrpcMetaStream( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) @@ -282,16 +296,18 @@ async def fetch_account(self, address: str) -> Optional[account_pb2.EthAccount]: return result_account - async def get_request_id_by_tx_hash(self, tx_hash: bytes) -> List[int]: - tx = await self.stubTx.GetTx(tx_service.GetTxRequest(hash=tx_hash)) + async def get_request_id_by_tx_hash(self, tx_hash: str) -> List[int]: + tx = await self.tx_api.fetch_tx(hash=tx_hash) request_ids = [] - for tx in tx.tx_response.logs: - request_event = [event for event in tx.events if event.type == "request" or event.type == "report"] + for log in tx["txResponse"].get("logs", []): + request_event = [ + event for event in log.get("events", []) if event["type"] == "request" or event["type"] == "report" + ] if len(request_event) == 1: - attrs = request_event[0].attributes - attr_id = [attr for attr in attrs if attr.key == "id"] + attrs = request_event[0].get("attributes", []) + attr_id = [attr for attr in attrs if attr["key"] == "id"] if len(attr_id) == 1: - request_id = attr_id[0].value + request_id = attr_id[0]["value"] request_ids.append(int(request_id)) if len(request_ids) == 0: raise NotFoundError("Request Id is not found") @@ -415,23 +431,60 @@ async def stream_bids(self): # 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, + on_end_callback: Optional[Callable] = None, + on_status_callback: Optional[Callable] = None, + ): + await self.exchange_meta_stream_api.stream_keepalive( + callback=callback, + on_end_callback=on_end_callback, + on_status_callback=on_status_callback, + ) + # Explorer RPC async def get_tx_by_hash(self, tx_hash: str): diff --git a/pyinjective/client/chain/grpc/chain_grpc_auction_api.py b/pyinjective/client/chain/grpc/chain_grpc_auction_api.py index 5af660b7..3f9d89fb 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_auction_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_auction_api.py @@ -1,4 +1,4 @@ -from typing import Any, Callable, Coroutine, Dict +from typing import Any, Callable, Dict from grpc.aio import Channel @@ -10,7 +10,7 @@ class ChainGrpcAuctionApi: - def __init__(self, channel: Channel, metadata_provider: Coroutine): + def __init__(self, channel: Channel, metadata_provider: Callable): self._stub = auction_query_grpc.QueryStub(channel) self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) diff --git a/pyinjective/client/chain/grpc/chain_grpc_auth_api.py b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py index 42f2389e..7b0c73dc 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_auth_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py @@ -1,4 +1,4 @@ -from typing import Any, Callable, Coroutine, Dict +from typing import Any, Callable, Dict from grpc.aio import Channel @@ -8,7 +8,7 @@ class ChainGrpcAuthApi: - def __init__(self, channel: Channel, metadata_provider: Coroutine): + def __init__(self, channel: Channel, metadata_provider: Callable): self._stub = auth_query_grpc.QueryStub(channel) self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) diff --git a/pyinjective/client/chain/grpc/chain_grpc_authz_api.py b/pyinjective/client/chain/grpc/chain_grpc_authz_api.py index 7e949bc8..dae2e3c5 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_authz_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_authz_api.py @@ -1,4 +1,4 @@ -from typing import Any, Callable, Coroutine, Dict, Optional +from typing import Any, Callable, Dict, Optional from grpc.aio import Channel @@ -8,7 +8,7 @@ class ChainGrpcAuthZApi: - def __init__(self, channel: Channel, metadata_provider: Coroutine): + def __init__(self, channel: Channel, metadata_provider: Callable): self._stub = authz_query_grpc.QueryStub(channel) self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) diff --git a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py index 915aa781..b774707f 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py @@ -1,4 +1,4 @@ -from typing import Any, Callable, Coroutine, Dict +from typing import Any, Callable, Dict from grpc.aio import Channel @@ -7,7 +7,7 @@ class ChainGrpcBankApi: - def __init__(self, channel: Channel, metadata_provider: Coroutine): + def __init__(self, channel: Channel, metadata_provider: Callable): self._stub = bank_query_grpc.QueryStub(channel) self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py index 16e7e236..e0296b87 100644 --- a/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py +++ b/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py @@ -1,4 +1,4 @@ -from typing import Any, Callable, Coroutine, Dict, List, Optional +from typing import Any, Callable, Dict, List, Optional from grpc.aio import Channel @@ -10,7 +10,7 @@ class IndexerGrpcAccountApi: - def __init__(self, channel: Channel, metadata_provider: Coroutine): + def __init__(self, channel: Channel, metadata_provider: Callable): self._stub = self._stub = exchange_accounts_grpc.InjectiveAccountsRPCStub(channel) self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_meta_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_meta_api.py new file mode 100644 index 00000000..27e108e1 --- /dev/null +++ b/pyinjective/client/indexer/grpc/indexer_grpc_meta_api.py @@ -0,0 +1,37 @@ +import time +from typing import Any, Callable, Dict + +from grpc.aio import Channel + +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, metadata_provider: Callable): + self._stub = self._stub = exchange_meta_grpc.InjectiveMetaRPCStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + 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_stream/indexer_grpc_account_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py index 1ab6f0fc..b1bd9564 100644 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py @@ -1,5 +1,5 @@ import asyncio -from typing import Callable, Coroutine, List, Optional +from typing import Callable, List, Optional from google.protobuf import json_format from grpc import RpcError @@ -12,7 +12,7 @@ class IndexerGrpcAccountStream: - def __init__(self, channel: Channel, metadata_provider: Coroutine): + def __init__(self, channel: Channel, metadata_provider: Callable): self._stub = self._stub = exchange_accounts_grpc.InjectiveAccountsRPCStub(channel) self._metadata_provider = metadata_provider @@ -28,7 +28,7 @@ async def stream_subaccount_balance( subaccount_id=subaccount_id, denoms=denoms, ) - metadata = await self._metadata_provider + metadata = await self._metadata_provider() stream = self._stub.StreamSubaccountBalance(request=request, metadata=metadata) try: diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_meta_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_meta_stream.py new file mode 100644 index 00000000..e43c5968 --- /dev/null +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_meta_stream.py @@ -0,0 +1,50 @@ +import asyncio +from typing import Callable, Optional + +from google.protobuf import json_format +from grpc import RpcError +from grpc.aio import Channel + +from pyinjective.proto.exchange import ( + injective_meta_rpc_pb2 as exchange_meta_pb, + injective_meta_rpc_pb2_grpc as exchange_meta_grpc, +) + + +class IndexerGrpcMetaStream: + def __init__(self, channel: Channel, metadata_provider: Callable): + self._stub = self._stub = exchange_meta_grpc.InjectiveMetaRPCStub(channel) + self._metadata_provider = metadata_provider + + async def stream_keepalive( + self, + callback: Callable, + on_end_callback: Optional[Callable] = None, + on_status_callback: Optional[Callable] = None, + ): + request = exchange_meta_pb.StreamKeepaliveRequest() + metadata = await self._metadata_provider() + stream = self._stub.StreamKeepalive(request=request, metadata=metadata) + + try: + async for keepalive_update in stream: + update = json_format.MessageToDict( + message=keepalive_update, + including_default_value_fields=True, + ) + if asyncio.iscoroutinefunction(callback): + await callback(update) + else: + callback(update) + except RpcError as ex: + if on_status_callback is not None: + if asyncio.iscoroutinefunction(on_status_callback): + await on_status_callback(ex) + else: + on_status_callback(ex) + + if on_end_callback is not None: + if asyncio.iscoroutinefunction(on_end_callback): + await on_end_callback() + else: + on_end_callback() diff --git a/pyinjective/core/tx/grpc/tx_grpc_api.py b/pyinjective/core/tx/grpc/tx_grpc_api.py index 27992359..d984dbf6 100644 --- a/pyinjective/core/tx/grpc/tx_grpc_api.py +++ b/pyinjective/core/tx/grpc/tx_grpc_api.py @@ -1,4 +1,4 @@ -from typing import Any, Callable, Coroutine, Dict +from typing import Any, Callable, Dict from grpc.aio import Channel @@ -7,7 +7,7 @@ class TxGrpcApi: - def __init__(self, channel: Channel, metadata_provider: Coroutine): + def __init__(self, channel: Channel, metadata_provider: Callable): self._stub = tx_service_grpc.ServiceStub(channel) self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) diff --git a/pyinjective/utils/grpc_api_request_assistant.py b/pyinjective/utils/grpc_api_request_assistant.py index cef27c45..df88e14c 100644 --- a/pyinjective/utils/grpc_api_request_assistant.py +++ b/pyinjective/utils/grpc_api_request_assistant.py @@ -1,15 +1,15 @@ -from typing import Any, Callable, Coroutine, Dict +from typing import Any, Callable, Dict from google.protobuf import json_format class GrpcApiRequestAssistant: - def __init__(self, metadata_provider: Coroutine): + def __init__(self, metadata_provider: Callable): super().__init__() self._metadata_provider = metadata_provider async def execute_call(self, call: Callable, request) -> Dict[str, Any]: - metadata = await self._metadata_provider + metadata = await self._metadata_provider() response = await call(request=request, metadata=metadata) result = json_format.MessageToDict( diff --git a/tests/client/chain/grpc/test_chain_grpc_auction_api.py b/tests/client/chain/grpc/test_chain_grpc_auction_api.py index e70b7ab6..968ee238 100644 --- a/tests/client/chain/grpc/test_chain_grpc_auction_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_auction_api.py @@ -29,7 +29,7 @@ async def test_fetch_module_params( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuctionApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcAuctionApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = auction_servicer module_params = await api.fetch_module_params() @@ -58,7 +58,7 @@ async def test_fetch_module_state( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuctionApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcAuctionApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = auction_servicer module_state = await api.fetch_module_state() @@ -95,7 +95,7 @@ async def test_fetch_module_state_when_no_highest_bid_present( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuctionApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcAuctionApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = auction_servicer module_state = await api.fetch_module_state() @@ -139,7 +139,7 @@ async def test_fetch_current_basket( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuctionApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcAuctionApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = auction_servicer current_basket = await api.fetch_current_basket() 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 abfbde1c..24db74a4 100644 --- a/tests/client/chain/grpc/test_chain_grpc_auth_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_auth_api.py @@ -37,7 +37,7 @@ async def test_fetch_module_params( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuthApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcAuthApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = auth_servicer module_params = await api.fetch_module_params() @@ -81,7 +81,7 @@ async def test_fetch_account( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuthApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcAuthApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = auth_servicer response_account = await api.fetch_account(address="inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr") @@ -141,7 +141,7 @@ async def test_fetch_accounts( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuthApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcAuthApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = auth_servicer pagination_option = PaginationOption( 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 8bcac406..b728a015 100644 --- a/tests/client/chain/grpc/test_chain_grpc_authz_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_authz_api.py @@ -50,7 +50,7 @@ async def test_fetch_grants( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuthZApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcAuthZApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = authz_servicer result_grants = await api.fetch_grants( @@ -112,7 +112,7 @@ async def test_fetch_granter_grants( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuthZApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcAuthZApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = authz_servicer result_grants = await api.fetch_granter_grants( @@ -174,7 +174,7 @@ async def test_fetch_grantee_grants( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcAuthZApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcAuthZApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = authz_servicer result_grants = await api.fetch_grantee_grants( 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 8cb34e62..1c8c0ffa 100644 --- a/tests/client/chain/grpc/test_chain_grpc_bank_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_bank_api.py @@ -28,7 +28,7 @@ async def test_fetch_module_params( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcBankApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = bank_servicer module_params = await api.fetch_module_params() @@ -52,7 +52,7 @@ async def test_fetch_balance( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcBankApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = bank_servicer bank_balance = await api.fetch_balance( @@ -73,7 +73,7 @@ async def test_fetch_balance( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcBankApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = bank_servicer bank_balance = await api.fetch_balance( @@ -107,7 +107,7 @@ async def test_fetch_balances( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcBankApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = bank_servicer bank_balances = await api.fetch_balances( @@ -149,7 +149,7 @@ async def test_fetch_total_supply( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = ChainGrpcBankApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = bank_servicer total_supply = await api.fetch_total_supply() diff --git a/tests/client/indexer/configurable_meta_query_servicer.py b/tests/client/indexer/configurable_meta_query_servicer.py new file mode 100644 index 00000000..8c8997d0 --- /dev/null +++ b/tests/client/indexer/configurable_meta_query_servicer.py @@ -0,0 +1,28 @@ +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/grpc/test_indexer_grpc_account_api.py b/tests/client/indexer/grpc/test_indexer_grpc_account_api.py index 4de05c2e..8ecbcc07 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_account_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_account_api.py @@ -38,7 +38,7 @@ async def test_fetch_portfolio( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) - api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = account_servicer account_address = "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku" @@ -86,7 +86,7 @@ async def test_order_states( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) - api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = account_servicer result_order_states = await api.fetch_order_states(spot_order_hashes=[order_state.order_hash]) @@ -124,7 +124,7 @@ async def test_subaccounts_list( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) - api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = account_servicer result_subaccounts_list = await api.fetch_subaccounts_list(address="testAddress") @@ -156,7 +156,7 @@ async def test_subaccount_balances_list( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) - api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = account_servicer result_subaccount_balances_list = await api.fetch_subaccount_balances_list( @@ -200,7 +200,7 @@ async def test_subaccount_balance( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) - api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = account_servicer result_subaccount_balance = await api.fetch_subaccount_balance( @@ -253,7 +253,7 @@ async def test_subaccount_history( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) - api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = account_servicer result_subaccount_history = await api.fetch_subaccount_history( @@ -298,7 +298,7 @@ async def test_subaccount_order_summary( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) - api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = account_servicer result_subaccount_order_summary = await api.fetch_subaccount_order_summary( @@ -331,7 +331,7 @@ async def test_fetch_rewards( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) - api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = account_servicer result_rewards = await api.fetch_rewards(account_address=reward.account_address, epoch=1) @@ -373,7 +373,7 @@ async def test_fetch_rewards( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) - api = IndexerGrpcAccountApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = IndexerGrpcAccountApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = account_servicer result_rewards = await api.fetch_rewards(account_address=reward.account_address, epoch=1) diff --git a/tests/client/indexer/grpc/test_indexer_grpc_meta_api.py b/tests/client/indexer/grpc/test_indexer_grpc_meta_api.py new file mode 100644 index 00000000..e9fe8d94 --- /dev/null +++ b/tests/client/indexer/grpc/test_indexer_grpc_meta_api.py @@ -0,0 +1,99 @@ +import grpc +import pytest + +from pyinjective.client.indexer.grpc.indexer_grpc_meta_api import IndexerGrpcMetaApi +from pyinjective.core.network import 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()) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcMetaApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcMetaApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcMetaApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + + async def _dummy_metadata_provider(self): + return None 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 index d1814f37..f5579bee 100644 --- a/tests/client/indexer/stream_grpc/test_indexer_grpc_account_stream.py +++ b/tests/client/indexer/stream_grpc/test_indexer_grpc_account_stream.py @@ -37,7 +37,7 @@ async def test_fetch_portfolio( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) - api = IndexerGrpcAccountStream(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = IndexerGrpcAccountStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = account_servicer balance_updates = asyncio.Queue() 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 new file mode 100644 index 00000000..2a003c62 --- /dev/null +++ b/tests/client/indexer/stream_grpc/test_indexer_grpc_meta_stream.py @@ -0,0 +1,63 @@ +import asyncio + +import grpc +import pytest + +from pyinjective.client.indexer.grpc_stream.indexer_grpc_meta_stream import IndexerGrpcMetaStream +from pyinjective.core.network import 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcMetaStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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() + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/core/tx/grpc/test_tx_grpc_api.py b/tests/core/tx/grpc/test_tx_grpc_api.py index fd04c68c..84b62817 100644 --- a/tests/core/tx/grpc/test_tx_grpc_api.py +++ b/tests/core/tx/grpc/test_tx_grpc_api.py @@ -40,7 +40,7 @@ async def test_simulate( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = TxGrpcApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = TxGrpcApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = tx_servicer result_simulate = await api.simulate(tx_bytes="Transaction content".encode()) @@ -103,7 +103,7 @@ async def test_get_tx( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = TxGrpcApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = TxGrpcApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = tx_servicer result_tx = await api.fetch_tx(hash=transaction_response.txhash) @@ -177,7 +177,7 @@ async def test_broadcast( network = Network.devnet() channel = grpc.aio.insecure_channel(network.grpc_endpoint) - api = TxGrpcApi(channel=channel, metadata_provider=self._dummy_metadata_provider()) + api = TxGrpcApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) api._stub = tx_servicer result_broadcast = await api.broadcast( diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index e347b231..70566069 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -7,12 +7,16 @@ 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.tx.v1beta1 import service_pb2 as tx_service -from pyinjective.proto.exchange import injective_accounts_rpc_pb2 as exchange_accounts_pb +from pyinjective.proto.exchange import ( + injective_accounts_rpc_pb2 as exchange_accounts_pb, + injective_meta_rpc_pb2 as exchange_meta_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_autz_query_servicer import ConfigurableAuthZQueryServicer from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer from tests.client.indexer.configurable_account_query_servicer import ConfigurableAccountQueryServicer +from tests.client.indexer.configurable_meta_query_servicer import ConfigurableMetaQueryServicer from tests.core.tx.grpc.configurable_tx_query_servicer import ConfigurableTxQueryServicer @@ -36,6 +40,11 @@ def bank_servicer(): return ConfigurableBankQueryServicer() +@pytest.fixture +def meta_servicer(): + return ConfigurableMetaQueryServicer() + + @pytest.fixture def tx_servicer(): return ConfigurableTxQueryServicer() @@ -389,3 +398,75 @@ async def test_send_tx_block_mode_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use listen_keepalive instead" From 58ee139e2188e53f1a79d9b215c55dddd2dd418d Mon Sep 17 00:00:00 2001 From: abel Date: Tue, 31 Oct 2023 00:35:15 -0300 Subject: [PATCH 35/83] (feat) Implemented the low level API component for Indexer Oracle module, with the unit tests. Created new methods in AsyncClient to use them, and marked the ones directly using the stubs as deprecated --- .../oracle_rpc/1_StreamPrices.py | 34 +++++- .../exchange_client/oracle_rpc/2_Price.py | 2 +- .../oracle_rpc/3_OracleList.py | 2 +- pyinjective/async_client.py | 61 ++++++++++ .../indexer/grpc/indexer_grpc_oracle_api.py | 41 +++++++ .../grpc_stream/indexer_grpc_oracle_stream.py | 93 +++++++++++++++ .../utils/grpc_api_request_assistant.py | 2 +- .../configurable_oracle_query_servicer.py | 31 +++++ .../grpc/test_indexer_grpc_oracle_api.py | 86 ++++++++++++++ .../test_indexer_grpc_oracle_stream.py | 109 ++++++++++++++++++ .../test_async_client_deprecation_warnings.py | 88 ++++++++++++++ 11 files changed, 541 insertions(+), 8 deletions(-) create mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_oracle_api.py create mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_oracle_stream.py create mode 100644 tests/client/indexer/configurable_oracle_query_servicer.py create mode 100644 tests/client/indexer/grpc/test_indexer_grpc_oracle_api.py create mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_oracle_stream.py diff --git a/examples/exchange_client/oracle_rpc/1_StreamPrices.py b/examples/exchange_client/oracle_rpc/1_StreamPrices.py index ca7f9de5..0a453690 100644 --- a/examples/exchange_client/oracle_rpc/1_StreamPrices.py +++ b/examples/exchange_client/oracle_rpc/1_StreamPrices.py @@ -1,21 +1,45 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def price_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to oracle prices updates ({exception})") + + +def stream_closed_processor(): + print("The oracle prices updates stream has been closed") + + async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - base_symbol = "BTC" + base_symbol = "INJ" quote_symbol = "USDT" oracle_type = "bandibc" - oracle_prices = await client.stream_oracle_prices( - base_symbol=base_symbol, quote_symbol=quote_symbol, oracle_type=oracle_type + + task = asyncio.get_event_loop().create_task( + client.listen_oracle_prices_updates( + callback=price_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + base_symbol=base_symbol, + quote_symbol=quote_symbol, + oracle_type=oracle_type, + ) ) - async for oracle in oracle_prices: - print(oracle) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/examples/exchange_client/oracle_rpc/2_Price.py b/examples/exchange_client/oracle_rpc/2_Price.py index f3a5921e..b5a44a48 100644 --- a/examples/exchange_client/oracle_rpc/2_Price.py +++ b/examples/exchange_client/oracle_rpc/2_Price.py @@ -12,7 +12,7 @@ async def main() -> None: quote_symbol = "USDT" oracle_type = "bandibc" oracle_scale_factor = 6 - oracle_prices = await client.get_oracle_prices( + oracle_prices = await client.fetch_oracle_price( base_symbol=base_symbol, quote_symbol=quote_symbol, oracle_type=oracle_type, diff --git a/examples/exchange_client/oracle_rpc/3_OracleList.py b/examples/exchange_client/oracle_rpc/3_OracleList.py index 558ac66d..db2b7f03 100644 --- a/examples/exchange_client/oracle_rpc/3_OracleList.py +++ b/examples/exchange_client/oracle_rpc/3_OracleList.py @@ -8,7 +8,7 @@ async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - oracle_list = await client.get_oracle_list() + oracle_list = await client.fetch_oracle_list() print(oracle_list) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index b9de687d..a2f2b391 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -15,8 +15,10 @@ from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi from pyinjective.client.indexer.grpc.indexer_grpc_account_api import IndexerGrpcAccountApi 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_stream.indexer_grpc_account_stream import IndexerGrpcAccountStream 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.model.pagination import PaginationOption from pyinjective.composer import Composer from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket @@ -175,6 +177,12 @@ def __init__( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_oracle_api = IndexerGrpcOracleApi( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) self.exchange_account_stream_api = IndexerGrpcAccountStream( channel=self.exchange_channel, metadata_provider=lambda: self.network.exchange_metadata( @@ -187,6 +195,12 @@ def __init__( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_oracle_stream_api = IndexerGrpcOracleStream( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) async def all_tokens(self) -> Dict[str, Token]: if self._tokens is None: @@ -740,11 +754,33 @@ async def fetch_rewards(self, account_address: Optional[str] = None, epoch: Opti # 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, @@ -752,6 +788,10 @@ async def get_oracle_prices( 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, @@ -760,10 +800,31 @@ async def get_oracle_prices( ) 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): diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_oracle_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_oracle_api.py new file mode 100644 index 00000000..72416be7 --- /dev/null +++ b/pyinjective/client/indexer/grpc/indexer_grpc_oracle_api.py @@ -0,0 +1,41 @@ +from typing import Any, Callable, Dict, Optional + +from grpc.aio import Channel + +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, metadata_provider: Callable): + self._stub = self._stub = exchange_oracle_grpc.InjectiveOracleRPCStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + 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_stream/indexer_grpc_oracle_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_oracle_stream.py new file mode 100644 index 00000000..812632e4 --- /dev/null +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_oracle_stream.py @@ -0,0 +1,93 @@ +import asyncio +from typing import Callable, List, Optional + +from google.protobuf import json_format +from grpc import RpcError +from grpc.aio import Channel + +from pyinjective.proto.exchange import ( + injective_oracle_rpc_pb2 as exchange_oracle_pb, + injective_oracle_rpc_pb2_grpc as exchange_oracle_grpc, +) + + +class IndexerGrpcOracleStream: + def __init__(self, channel: Channel, metadata_provider: Callable): + self._stub = self._stub = exchange_oracle_grpc.InjectiveOracleRPCStub(channel) + self._metadata_provider = metadata_provider + + 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, + ) + metadata = await self._metadata_provider() + stream = self._stub.StreamPrices(request=request, metadata=metadata) + + try: + async for price_update in stream: + update = json_format.MessageToDict( + message=price_update, + including_default_value_fields=True, + ) + if asyncio.iscoroutinefunction(callback): + await callback(update) + else: + callback(update) + except RpcError as ex: + if on_status_callback is not None: + if asyncio.iscoroutinefunction(on_status_callback): + await on_status_callback(ex) + else: + on_status_callback(ex) + + if on_end_callback is not None: + if asyncio.iscoroutinefunction(on_end_callback): + await on_end_callback() + else: + on_end_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, + ) + metadata = await self._metadata_provider() + stream = self._stub.StreamPricesByMarkets(request=request, metadata=metadata) + + try: + async for price_update in stream: + update = json_format.MessageToDict( + message=price_update, + including_default_value_fields=True, + ) + if asyncio.iscoroutinefunction(callback): + await callback(update) + else: + callback(update) + except RpcError as ex: + if on_status_callback is not None: + if asyncio.iscoroutinefunction(on_status_callback): + await on_status_callback(ex) + else: + on_status_callback(ex) + + if on_end_callback is not None: + if asyncio.iscoroutinefunction(on_end_callback): + await on_end_callback() + else: + on_end_callback() diff --git a/pyinjective/utils/grpc_api_request_assistant.py b/pyinjective/utils/grpc_api_request_assistant.py index df88e14c..5ed3c5fa 100644 --- a/pyinjective/utils/grpc_api_request_assistant.py +++ b/pyinjective/utils/grpc_api_request_assistant.py @@ -10,7 +10,7 @@ def __init__(self, metadata_provider: Callable): async def execute_call(self, call: Callable, request) -> Dict[str, Any]: metadata = await self._metadata_provider() - response = await call(request=request, metadata=metadata) + response = await call(request, metadata=metadata) result = json_format.MessageToDict( message=response, diff --git a/tests/client/indexer/configurable_oracle_query_servicer.py b/tests/client/indexer/configurable_oracle_query_servicer.py new file mode 100644 index 00000000..c7c06820 --- /dev/null +++ b/tests/client/indexer/configurable_oracle_query_servicer.py @@ -0,0 +1,31 @@ +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/grpc/test_indexer_grpc_oracle_api.py b/tests/client/indexer/grpc/test_indexer_grpc_oracle_api.py new file mode 100644 index 00000000..fc8b546d --- /dev/null +++ b/tests/client/indexer/grpc/test_indexer_grpc_oracle_api.py @@ -0,0 +1,86 @@ +import grpc +import pytest + +from pyinjective.client.indexer.grpc.indexer_grpc_oracle_api import IndexerGrpcOracleApi +from pyinjective.core.network import 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 TestIndexerGrpcMetaApi: + @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], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcOracleApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcOracleApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + + async def _dummy_metadata_provider(self): + return None 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 new file mode 100644 index 00000000..3389948a --- /dev/null +++ b/tests/client/indexer/stream_grpc/test_indexer_grpc_oracle_stream.py @@ -0,0 +1,109 @@ +import asyncio + +import grpc +import pytest + +from pyinjective.client.indexer.grpc_stream.indexer_grpc_oracle_stream import IndexerGrpcOracleStream +from pyinjective.core.network import 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcOracleStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcOracleStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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() + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 70566069..722a2f82 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -10,6 +10,7 @@ from pyinjective.proto.exchange import ( injective_accounts_rpc_pb2 as exchange_accounts_pb, injective_meta_rpc_pb2 as exchange_meta_pb, + injective_oracle_rpc_pb2 as exchange_oracle_pb, ) from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb from tests.client.chain.grpc.configurable_auth_query_servicer import ConfigurableAuthQueryServicer @@ -17,6 +18,7 @@ from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer from tests.client.indexer.configurable_account_query_servicer import ConfigurableAccountQueryServicer from tests.client.indexer.configurable_meta_query_servicer import ConfigurableMetaQueryServicer +from tests.client.indexer.configurable_oracle_query_servicer import ConfigurableOracleQueryServicer from tests.core.tx.grpc.configurable_tx_query_servicer import ConfigurableTxQueryServicer @@ -45,6 +47,11 @@ def meta_servicer(): return ConfigurableMetaQueryServicer() +@pytest.fixture +def oracle_servicer(): + return ConfigurableOracleQueryServicer() + + @pytest.fixture def tx_servicer(): return ConfigurableTxQueryServicer() @@ -470,3 +477,84 @@ async def test_stream_keepalive_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_warnings[0].message) == "This method is deprecated. Use listen_keepalive instead" + + @pytest.mark.asyncio + async def test_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_oracle_list 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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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, + ) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_oracle_price instead" + + @pytest.mark.asyncio + async def test_stream_keepalive_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", + ) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use listen_oracle_prices_updates instead" From 78012161e4fa174806dca4fc54c986e2670d9957 Mon Sep 17 00:00:00 2001 From: abel Date: Tue, 31 Oct 2023 13:01:32 -0300 Subject: [PATCH 36/83] (feat) Implemented low level API components for Indexer Insurance module, with unit tests. Created new functions to access them in AsyncClient and marked the old functions using the stub directly as deprecated --- .../insurance_rpc/1_InsuranceFunds.py | 2 +- .../insurance_rpc/2_Redemptions.py | 4 +- pyinjective/async_client.py | 30 +++++ .../grpc/indexer_grpc_insurance_api.py | 39 ++++++ .../configurable_insurance_query_servicer.py | 19 +++ .../grpc/test_indexer_grpc_insurance_api.py | 123 ++++++++++++++++++ .../grpc/test_indexer_grpc_oracle_api.py | 2 +- .../test_async_client_deprecation_warnings.py | 43 ++++++ 8 files changed, 257 insertions(+), 5 deletions(-) create mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_insurance_api.py create mode 100644 tests/client/indexer/configurable_insurance_query_servicer.py create mode 100644 tests/client/indexer/grpc/test_indexer_grpc_insurance_api.py diff --git a/examples/exchange_client/insurance_rpc/1_InsuranceFunds.py b/examples/exchange_client/insurance_rpc/1_InsuranceFunds.py index 167cae93..4f962b08 100644 --- a/examples/exchange_client/insurance_rpc/1_InsuranceFunds.py +++ b/examples/exchange_client/insurance_rpc/1_InsuranceFunds.py @@ -8,7 +8,7 @@ async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - insurance_funds = await client.get_insurance_funds() + insurance_funds = await client.fetch_insurance_funds() print(insurance_funds) diff --git a/examples/exchange_client/insurance_rpc/2_Redemptions.py b/examples/exchange_client/insurance_rpc/2_Redemptions.py index 794e4b02..2118f210 100644 --- a/examples/exchange_client/insurance_rpc/2_Redemptions.py +++ b/examples/exchange_client/insurance_rpc/2_Redemptions.py @@ -11,9 +11,7 @@ async def main() -> None: redeemer = "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku" redemption_denom = "share4" status = "disbursed" - insurance_redemptions = await client.get_redemptions( - redeemer=redeemer, redemption_denom=redemption_denom, status=status - ) + insurance_redemptions = await client.fetch_redemptions(address=redeemer, denom=redemption_denom, status=status) print(insurance_redemptions) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index a2f2b391..50bce186 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -14,6 +14,7 @@ from pyinjective.client.chain.grpc.chain_grpc_authz_api import ChainGrpcAuthZApi from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi from pyinjective.client.indexer.grpc.indexer_grpc_account_api import IndexerGrpcAccountApi +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_stream.indexer_grpc_account_stream import IndexerGrpcAccountStream @@ -171,6 +172,12 @@ def __init__( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_insurance_api = IndexerGrpcInsuranceApi( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) self.exchange_meta_api = IndexerGrpcMetaApi( channel=self.exchange_channel, metadata_provider=lambda: self.network.exchange_metadata( @@ -828,10 +835,21 @@ async def fetch_oracle_list(self) -> Dict[str, Any]: # 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"), @@ -839,6 +857,18 @@ async def get_redemptions(self, **kwargs): ) 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 get_spot_market(self, market_id: str): diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_insurance_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_insurance_api.py new file mode 100644 index 00000000..95476677 --- /dev/null +++ b/pyinjective/client/indexer/grpc/indexer_grpc_insurance_api.py @@ -0,0 +1,39 @@ +from typing import Any, Callable, Dict, Optional + +from grpc.aio import Channel + +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, metadata_provider: Callable): + self._stub = self._stub = exchange_insurance_grpc.InjectiveInsuranceRPCStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + 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/tests/client/indexer/configurable_insurance_query_servicer.py b/tests/client/indexer/configurable_insurance_query_servicer.py new file mode 100644 index 00000000..aa4e0491 --- /dev/null +++ b/tests/client/indexer/configurable_insurance_query_servicer.py @@ -0,0 +1,19 @@ +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/grpc/test_indexer_grpc_insurance_api.py b/tests/client/indexer/grpc/test_indexer_grpc_insurance_api.py new file mode 100644 index 00000000..2499b7db --- /dev/null +++ b/tests/client/indexer/grpc/test_indexer_grpc_insurance_api.py @@ -0,0 +1,123 @@ +import grpc +import pytest + +from pyinjective.client.indexer.grpc.indexer_grpc_insurance_api import IndexerGrpcInsuranceApi +from pyinjective.core.network import 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], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcInsuranceApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcInsuranceApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/client/indexer/grpc/test_indexer_grpc_oracle_api.py b/tests/client/indexer/grpc/test_indexer_grpc_oracle_api.py index fc8b546d..25c39733 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_oracle_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_oracle_api.py @@ -12,7 +12,7 @@ def oracle_servicer(): return ConfigurableOracleQueryServicer() -class TestIndexerGrpcMetaApi: +class TestIndexerGrpcOracleApi: @pytest.mark.asyncio async def test_fetch_oracle_list( self, diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 722a2f82..a5a8c6c0 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -9,6 +9,7 @@ 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_insurance_rpc_pb2 as exchange_insurance_pb, injective_meta_rpc_pb2 as exchange_meta_pb, injective_oracle_rpc_pb2 as exchange_oracle_pb, ) @@ -17,6 +18,7 @@ from tests.client.chain.grpc.configurable_autz_query_servicer import ConfigurableAuthZQueryServicer from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer from tests.client.indexer.configurable_account_query_servicer import ConfigurableAccountQueryServicer +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.core.tx.grpc.configurable_tx_query_servicer import ConfigurableTxQueryServicer @@ -42,6 +44,11 @@ def bank_servicer(): return ConfigurableBankQueryServicer() +@pytest.fixture +def insurance_servicer(): + return ConfigurableInsuranceQueryServicer() + + @pytest.fixture def meta_servicer(): return ConfigurableMetaQueryServicer() @@ -558,3 +565,39 @@ async def test_stream_keepalive_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_redemptions instead" From bd464122456521068cbbc0f89b4fbee38ed4705f Mon Sep 17 00:00:00 2001 From: abel Date: Tue, 31 Oct 2023 18:10:35 -0300 Subject: [PATCH 37/83] (feat) Implemented the low level API components for the Indexer Auction module, with tests. Added new functions in AsyncClient to use the component and marked the old functions using the stub directly as deprecated --- .../exchange_client/auctions_rpc/1_Auction.py | 2 +- .../auctions_rpc/2_Auctions.py | 2 +- .../auctions_rpc/3_StreamBids.py | 29 ++++- pyinjective/async_client.py | 45 +++++++ .../indexer/grpc/indexer_grpc_auction_api.py | 30 +++++ .../indexer_grpc_account_stream.py | 37 ++---- .../indexer_grpc_auction_stream.py | 31 +++++ .../grpc_stream/indexer_grpc_meta_stream.py | 37 ++---- .../grpc_stream/indexer_grpc_oracle_stream.py | 68 +++------- .../utils/grpc_api_stream_assistant.py | 45 +++++++ .../configurable_auction_query_servicer.py | 24 ++++ .../grpc/test_indexer_grpc_auction_api.py | 121 ++++++++++++++++++ .../test_indexer_grpc_auction_stream.py | 65 ++++++++++ .../test_async_client_deprecation_warnings.py | 61 +++++++++ 14 files changed, 484 insertions(+), 113 deletions(-) create mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_auction_api.py create mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_auction_stream.py create mode 100644 pyinjective/utils/grpc_api_stream_assistant.py create mode 100644 tests/client/indexer/configurable_auction_query_servicer.py create mode 100644 tests/client/indexer/grpc/test_indexer_grpc_auction_api.py create mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_auction_stream.py diff --git a/examples/exchange_client/auctions_rpc/1_Auction.py b/examples/exchange_client/auctions_rpc/1_Auction.py index 94f73e16..71fbd36c 100644 --- a/examples/exchange_client/auctions_rpc/1_Auction.py +++ b/examples/exchange_client/auctions_rpc/1_Auction.py @@ -9,7 +9,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) bid_round = 31 - auction = await client.get_auction(bid_round=bid_round) + auction = await client.fetch_auction(round=bid_round) print(auction) diff --git a/examples/exchange_client/auctions_rpc/2_Auctions.py b/examples/exchange_client/auctions_rpc/2_Auctions.py index 30576a89..f2b7f7bf 100644 --- a/examples/exchange_client/auctions_rpc/2_Auctions.py +++ b/examples/exchange_client/auctions_rpc/2_Auctions.py @@ -8,7 +8,7 @@ async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - auctions = await client.get_auctions() + auctions = await client.fetch_auctions() print(auctions) diff --git a/examples/exchange_client/auctions_rpc/3_StreamBids.py b/examples/exchange_client/auctions_rpc/3_StreamBids.py index 8306becb..8bfceba1 100644 --- a/examples/exchange_client/auctions_rpc/3_StreamBids.py +++ b/examples/exchange_client/auctions_rpc/3_StreamBids.py @@ -1,16 +1,39 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def bid_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to bids updates ({exception})") + + +def stream_closed_processor(): + print("The bids updates stream has been closed") + + async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - bids = await client.stream_bids() - async for bid in bids: - print(bid) + + task = asyncio.get_event_loop().create_task( + client.listen_bids_updates( + callback=bid_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 50bce186..c9c4d4fd 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -14,10 +14,12 @@ from pyinjective.client.chain.grpc.chain_grpc_authz_api import ChainGrpcAuthZApi from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi 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_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_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_meta_stream import IndexerGrpcMetaStream from pyinjective.client.indexer.grpc_stream.indexer_grpc_oracle_stream import IndexerGrpcOracleStream from pyinjective.client.model.pagination import PaginationOption @@ -172,6 +174,12 @@ def __init__( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_auction_api = IndexerGrpcAuctionApi( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) self.exchange_insurance_api = IndexerGrpcInsuranceApi( channel=self.exchange_channel, metadata_provider=lambda: self.network.exchange_metadata( @@ -190,12 +198,19 @@ def __init__( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_account_stream_api = IndexerGrpcAccountStream( channel=self.exchange_channel, metadata_provider=lambda: self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_auction_stream_api = IndexerGrpcAuctionStream( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) self.exchange_meta_stream_api = IndexerGrpcMetaStream( channel=self.exchange_channel, metadata_provider=lambda: self.network.exchange_metadata( @@ -438,17 +453,47 @@ async def fetch_bank_balance(self, address: str, denom: str) -> Dict[str, Any]: # 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, + on_end_callback: Optional[Callable] = None, + on_status_callback: Optional[Callable] = None, + ): + await self.exchange_auction_stream_api.stream_bids( + callback=callback, + on_end_callback=on_end_callback, + on_status_callback=on_status_callback, + ) + # Meta RPC async def ping(self): diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_auction_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_auction_api.py new file mode 100644 index 00000000..c9b9d853 --- /dev/null +++ b/pyinjective/client/indexer/grpc/indexer_grpc_auction_api.py @@ -0,0 +1,30 @@ +from typing import Any, Callable, Dict + +from grpc.aio import Channel + +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, metadata_provider: Callable): + self._stub = self._stub = exchange_auction_grpc.InjectiveAuctionRPCStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + 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_stream/indexer_grpc_account_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py index b1bd9564..04ba1af3 100644 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py @@ -1,20 +1,18 @@ -import asyncio from typing import Callable, List, Optional -from google.protobuf import json_format -from grpc import RpcError from grpc.aio import Channel 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, metadata_provider: Callable): self._stub = self._stub = exchange_accounts_grpc.InjectiveAccountsRPCStub(channel) - self._metadata_provider = metadata_provider + self._assistant = GrpcApiStreamAssistant(metadata_provider=metadata_provider) async def stream_subaccount_balance( self, @@ -28,28 +26,11 @@ async def stream_subaccount_balance( subaccount_id=subaccount_id, denoms=denoms, ) - metadata = await self._metadata_provider() - stream = self._stub.StreamSubaccountBalance(request=request, metadata=metadata) - try: - async for balance_update in stream: - update = json_format.MessageToDict( - message=balance_update, - including_default_value_fields=True, - ) - if asyncio.iscoroutinefunction(callback): - await callback(update) - else: - callback(update) - except RpcError as ex: - if on_status_callback is not None: - if asyncio.iscoroutinefunction(on_status_callback): - await on_status_callback(ex) - else: - on_status_callback(ex) - - if on_end_callback is not None: - if asyncio.iscoroutinefunction(on_end_callback): - await on_end_callback() - else: - on_end_callback() + 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 new file mode 100644 index 00000000..43009ee9 --- /dev/null +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_auction_stream.py @@ -0,0 +1,31 @@ +from typing import Callable, Optional + +from grpc.aio import Channel + +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, metadata_provider: Callable): + self._stub = self._stub = exchange_auction_grpc.InjectiveAuctionRPCStub(channel) + self._assistant = GrpcApiStreamAssistant(metadata_provider=metadata_provider) + + 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_meta_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_meta_stream.py index e43c5968..aeff1132 100644 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_meta_stream.py +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_meta_stream.py @@ -1,20 +1,18 @@ -import asyncio from typing import Callable, Optional -from google.protobuf import json_format -from grpc import RpcError from grpc.aio import Channel 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, metadata_provider: Callable): self._stub = self._stub = exchange_meta_grpc.InjectiveMetaRPCStub(channel) - self._metadata_provider = metadata_provider + self._assistant = GrpcApiStreamAssistant(metadata_provider=metadata_provider) async def stream_keepalive( self, @@ -23,28 +21,11 @@ async def stream_keepalive( on_status_callback: Optional[Callable] = None, ): request = exchange_meta_pb.StreamKeepaliveRequest() - metadata = await self._metadata_provider() - stream = self._stub.StreamKeepalive(request=request, metadata=metadata) - try: - async for keepalive_update in stream: - update = json_format.MessageToDict( - message=keepalive_update, - including_default_value_fields=True, - ) - if asyncio.iscoroutinefunction(callback): - await callback(update) - else: - callback(update) - except RpcError as ex: - if on_status_callback is not None: - if asyncio.iscoroutinefunction(on_status_callback): - await on_status_callback(ex) - else: - on_status_callback(ex) - - if on_end_callback is not None: - if asyncio.iscoroutinefunction(on_end_callback): - await on_end_callback() - else: - on_end_callback() + 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 index 812632e4..0bad6e35 100644 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_oracle_stream.py +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_oracle_stream.py @@ -1,20 +1,18 @@ -import asyncio from typing import Callable, List, Optional -from google.protobuf import json_format -from grpc import RpcError from grpc.aio import Channel 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, metadata_provider: Callable): self._stub = self._stub = exchange_oracle_grpc.InjectiveOracleRPCStub(channel) - self._metadata_provider = metadata_provider + self._assistant = GrpcApiStreamAssistant(metadata_provider=metadata_provider) async def stream_oracle_prices( self, @@ -30,31 +28,14 @@ async def stream_oracle_prices( quote_symbol=quote_symbol, oracle_type=oracle_type, ) - metadata = await self._metadata_provider() - stream = self._stub.StreamPrices(request=request, metadata=metadata) - try: - async for price_update in stream: - update = json_format.MessageToDict( - message=price_update, - including_default_value_fields=True, - ) - if asyncio.iscoroutinefunction(callback): - await callback(update) - else: - callback(update) - except RpcError as ex: - if on_status_callback is not None: - if asyncio.iscoroutinefunction(on_status_callback): - await on_status_callback(ex) - else: - on_status_callback(ex) - - if on_end_callback is not None: - if asyncio.iscoroutinefunction(on_end_callback): - await on_end_callback() - else: - on_end_callback() + 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, @@ -66,28 +47,11 @@ async def stream_oracle_prices_by_markets( request = exchange_oracle_pb.StreamPricesByMarketsRequest( market_ids=market_ids, ) - metadata = await self._metadata_provider() - stream = self._stub.StreamPricesByMarkets(request=request, metadata=metadata) - try: - async for price_update in stream: - update = json_format.MessageToDict( - message=price_update, - including_default_value_fields=True, - ) - if asyncio.iscoroutinefunction(callback): - await callback(update) - else: - callback(update) - except RpcError as ex: - if on_status_callback is not None: - if asyncio.iscoroutinefunction(on_status_callback): - await on_status_callback(ex) - else: - on_status_callback(ex) - - if on_end_callback is not None: - if asyncio.iscoroutinefunction(on_end_callback): - await on_end_callback() - else: - on_end_callback() + 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/utils/grpc_api_stream_assistant.py b/pyinjective/utils/grpc_api_stream_assistant.py new file mode 100644 index 00000000..50092def --- /dev/null +++ b/pyinjective/utils/grpc_api_stream_assistant.py @@ -0,0 +1,45 @@ +import asyncio +from typing import Callable, Optional + +from google.protobuf import json_format +from grpc import RpcError + + +class GrpcApiStreamAssistant: + def __init__(self, metadata_provider: Callable): + super().__init__() + self._metadata_provider = metadata_provider + + async def listen_stream( + self, + call: Callable, + request, + callback: Callable, + on_end_callback: Optional[Callable] = None, + on_status_callback: Optional[Callable] = None, + ): + metadata = await self._metadata_provider() + stream = call(request, metadata=metadata) + + try: + async for event in stream: + parsed_event = json_format.MessageToDict( + message=event, + including_default_value_fields=True, + ) + if asyncio.iscoroutinefunction(callback): + await callback(parsed_event) + else: + callback(parsed_event) + except RpcError as ex: + if on_status_callback is not None: + if asyncio.iscoroutinefunction(on_status_callback): + await on_status_callback(ex) + else: + on_status_callback(ex) + + if on_end_callback is not None: + if asyncio.iscoroutinefunction(on_end_callback): + await on_end_callback() + else: + on_end_callback() diff --git a/tests/client/indexer/configurable_auction_query_servicer.py b/tests/client/indexer/configurable_auction_query_servicer.py new file mode 100644 index 00000000..606e2e0d --- /dev/null +++ b/tests/client/indexer/configurable_auction_query_servicer.py @@ -0,0 +1,24 @@ +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/grpc/test_indexer_grpc_auction_api.py b/tests/client/indexer/grpc/test_indexer_grpc_auction_api.py new file mode 100644 index 00000000..8be68ddb --- /dev/null +++ b/tests/client/indexer/grpc/test_indexer_grpc_auction_api.py @@ -0,0 +1,121 @@ +import grpc +import pytest + +from pyinjective.client.indexer.grpc.indexer_grpc_auction_api import IndexerGrpcAuctionApi +from pyinjective.core.network import 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], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAuctionApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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])) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAuctionApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + + async def _dummy_metadata_provider(self): + return None 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 new file mode 100644 index 00000000..8c88d717 --- /dev/null +++ b/tests/client/indexer/stream_grpc/test_indexer_grpc_auction_stream.py @@ -0,0 +1,65 @@ +import asyncio + +import grpc +import pytest + +from pyinjective.client.indexer.grpc_stream.indexer_grpc_auction_stream import IndexerGrpcAuctionStream +from pyinjective.core.network import 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) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcAuctionStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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() + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index a5a8c6c0..4fda5760 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -9,6 +9,7 @@ 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_insurance_rpc_pb2 as exchange_insurance_pb, injective_meta_rpc_pb2 as exchange_meta_pb, injective_oracle_rpc_pb2 as exchange_oracle_pb, @@ -18,6 +19,7 @@ from tests.client.chain.grpc.configurable_autz_query_servicer import ConfigurableAuthZQueryServicer from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer 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_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 @@ -29,6 +31,11 @@ def account_servicer(): return ConfigurableAccountQueryServicer() +@pytest.fixture +def auction_servicer(): + return ConfigurableAuctionQueryServicer() + + @pytest.fixture def auth_servicer(): return ConfigurableAuthQueryServicer() @@ -601,3 +608,57 @@ async def test_get_redemptions_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_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) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use listen_bids_updates instead" From 1f053da1a2ef0ef72d54d5290b104b2f15d9ed0a Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 1 Nov 2023 13:12:54 -0300 Subject: [PATCH 38/83] (fix) Removed k8s node support for testnet. Synchronized all proto definitions with the core and indexer versions used in chain v1.22 release. Updated version number and changelog. --- CHANGELOG.md | 4 +- pyinjective/core/network.py | 29 +-- .../proto/exchange/event_provider_api_pb2.py | 48 ++--- .../exchange/injective_campaign_rpc_pb2.py | 37 ++++ .../injective_campaign_rpc_pb2_grpc.py | 70 ++++++ .../exchange/injective_trading_rpc_pb2.py | 12 +- .../exchange/v1beta1/proposal_pb2.py | 198 +++++++++++++++++ .../exchange/v1beta1/proposal_pb2_grpc.py | 4 + .../injective/exchange/v1beta1/tx_pb2.py | 204 ++---------------- pyproject.toml | 2 +- 10 files changed, 366 insertions(+), 242 deletions(-) create mode 100644 pyinjective/proto/exchange/injective_campaign_rpc_pb2.py create mode 100644 pyinjective/proto/exchange/injective_campaign_rpc_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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 13d8f62a..2aca25e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,14 @@ All notable changes to this project will be documented in this file. -## [0.10.0] - 2023-10-04 +## [1.0] - 2023-11-01 ### Added - Added logic to support use of Client Order ID (CID) new identifier in OrderInfo - New chain stream support ### Changed +- Remove support for `sentry` nodes in mainnet network. The only supported node option in mainnet is `lb` +- Migrated all proto objects dependency to support chain version 1.22 - Moved changelog from the README.md file to its own CHANGELOG.md file - Remove `aiocron` dependency. Use plain asyncio tasks to solve the timeout height synchronization diff --git a/pyinjective/core/network.py b/pyinjective/core/network.py index 5dc59ef1..c739151e 100644 --- a/pyinjective/core/network.py +++ b/pyinjective/core/network.py @@ -248,30 +248,19 @@ def testnet(cls, node="lb"): @classmethod def mainnet(cls, node="lb"): nodes = [ - "lb", # us, asia, prod - "lb_k8s", + "lb", ] if node not in nodes: raise ValueError("Must be one of {}".format(nodes)) - if 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" - cookie_assistant = BareMetalLoadBalancedCookieAssistant() - use_secure_connection = True - else: - lcd_endpoint = "https://k8s.global.mainnet.lcd.injective.network:443" - tm_websocket_endpoint = "wss://k8s.global.mainnet.tm.injective.network:443/websocket" - grpc_endpoint = "k8s.global.mainnet.chain.grpc.injective.network:443" - grpc_exchange_endpoint = "k8s.global.mainnet.exchange.grpc.injective.network:443" - grpc_explorer_endpoint = "k8s.global.mainnet.explorer.grpc.injective.network:443" - chain_stream_endpoint = "k8s.global.mainnet.chain.stream.injective.network:443" - cookie_assistant = KubernetesLoadBalancedCookieAssistant() - use_secure_connection = True + 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" + cookie_assistant = BareMetalLoadBalancedCookieAssistant() + use_secure_connection = True return cls( lcd_endpoint=lcd_endpoint, diff --git a/pyinjective/proto/exchange/event_provider_api_pb2.py b/pyinjective/proto/exchange/event_provider_api_pb2.py index c0879dc4..eecf0668 100644 --- a/pyinjective/proto/exchange/event_provider_api_pb2.py +++ b/pyinjective/proto/exchange/event_provider_api_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!exchange/event_provider_api.proto\x12\x12\x65vent_provider_api\"\x18\n\x16GetLatestHeightRequest\"o\n\x17GetLatestHeightResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x33\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32%.event_provider_api.LatestBlockHeight\"#\n\x11LatestBlockHeight\x12\x0e\n\x06height\x18\x01 \x01(\x04\";\n\x18StreamBlockEventsRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"F\n\x19StreamBlockEventsResponse\x12)\n\x06\x62locks\x18\x01 \x03(\x0b\x32\x19.event_provider_api.Block\"\x8d\x02\n\x05\x42lock\x12\x0e\n\x06height\x18\x01 \x01(\x12\x12\x0f\n\x07version\x18\x02 \x01(\t\x12.\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x1e.event_provider_api.BlockEvent\x12\x0f\n\x07in_sync\x18\x04 \x01(\x08\x12H\n\x11tx_hash_to_orders\x18\x05 \x03(\x0b\x32-.event_provider_api.Block.TxHashToOrdersEntry\x1aX\n\x13TxHashToOrdersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.event_provider_api.ArrayOfString:\x02\x38\x01\">\n\nBlockEvent\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x0f\n\x07tx_hash\x18\x03 \x01(\x0c\"\x1e\n\rArrayOfString\x12\r\n\x05\x66ield\x18\x01 \x03(\t\";\n\x18GetBlockEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"n\n\x19GetBlockEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC\"\xc5\x02\n\x0e\x42lockEventsRPC\x12\r\n\x05types\x18\x01 \x03(\t\x12\x0e\n\x06\x65vents\x18\x02 \x03(\x0c\x12\x43\n\ttx_hashes\x18\x03 \x03(\x0b\x32\x30.event_provider_api.BlockEventsRPC.TxHashesEntry\x12H\n\x0ctx_to_orders\x18\x04 \x03(\x0b\x32\x32.event_provider_api.BlockEventsRPC.TxToOrdersEntry\x1a/\n\rTxHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x11\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1aT\n\x0fTxToOrdersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.event_provider_api.ArrayOfString:\x02\x38\x01\"L\n\x19GetCustomEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\x12\x0e\n\x06\x65vents\x18\x03 \x01(\t\"o\n\x1aGetCustomEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC2\xd9\x03\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.GetCustomEventsRPCResponseB\x17Z\x15/event_provider_apipbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!exchange/event_provider_api.proto\x12\x12\x65vent_provider_api\"\x18\n\x16GetLatestHeightRequest\"o\n\x17GetLatestHeightResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x33\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32%.event_provider_api.LatestBlockHeight\"#\n\x11LatestBlockHeight\x12\x0e\n\x06height\x18\x01 \x01(\x04\";\n\x18StreamBlockEventsRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"F\n\x19StreamBlockEventsResponse\x12)\n\x06\x62locks\x18\x01 \x03(\x0b\x32\x19.event_provider_api.Block\"i\n\x05\x42lock\x12\x0e\n\x06height\x18\x01 \x01(\x12\x12\x0f\n\x07version\x18\x02 \x01(\t\x12.\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x1e.event_provider_api.BlockEvent\x12\x0f\n\x07in_sync\x18\x04 \x01(\x08\">\n\nBlockEvent\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x0f\n\x07tx_hash\x18\x03 \x01(\x0c\";\n\x18GetBlockEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"n\n\x19GetBlockEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC\"\xa5\x01\n\x0e\x42lockEventsRPC\x12\r\n\x05types\x18\x01 \x03(\t\x12\x0e\n\x06\x65vents\x18\x02 \x03(\x0c\x12\x43\n\ttx_hashes\x18\x03 \x03(\x0b\x32\x30.event_provider_api.BlockEventsRPC.TxHashesEntry\x1a/\n\rTxHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x11\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"L\n\x19GetCustomEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\x12\x0e\n\x06\x65vents\x18\x03 \x01(\t\"o\n\x1aGetCustomEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC2\xd9\x03\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.GetCustomEventsRPCResponseB\x17Z\x15/event_provider_apipbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -22,12 +22,8 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\025/event_provider_apipb' - _BLOCK_TXHASHTOORDERSENTRY._options = None - _BLOCK_TXHASHTOORDERSENTRY._serialized_options = b'8\001' _BLOCKEVENTSRPC_TXHASHESENTRY._options = None _BLOCKEVENTSRPC_TXHASHESENTRY._serialized_options = b'8\001' - _BLOCKEVENTSRPC_TXTOORDERSENTRY._options = None - _BLOCKEVENTSRPC_TXTOORDERSENTRY._serialized_options = b'8\001' _globals['_GETLATESTHEIGHTREQUEST']._serialized_start=57 _globals['_GETLATESTHEIGHTREQUEST']._serialized_end=81 _globals['_GETLATESTHEIGHTRESPONSE']._serialized_start=83 @@ -38,28 +34,22 @@ _globals['_STREAMBLOCKEVENTSREQUEST']._serialized_end=292 _globals['_STREAMBLOCKEVENTSRESPONSE']._serialized_start=294 _globals['_STREAMBLOCKEVENTSRESPONSE']._serialized_end=364 - _globals['_BLOCK']._serialized_start=367 - _globals['_BLOCK']._serialized_end=636 - _globals['_BLOCK_TXHASHTOORDERSENTRY']._serialized_start=548 - _globals['_BLOCK_TXHASHTOORDERSENTRY']._serialized_end=636 - _globals['_BLOCKEVENT']._serialized_start=638 - _globals['_BLOCKEVENT']._serialized_end=700 - _globals['_ARRAYOFSTRING']._serialized_start=702 - _globals['_ARRAYOFSTRING']._serialized_end=732 - _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_start=734 - _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_end=793 - _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_start=795 - _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_end=905 - _globals['_BLOCKEVENTSRPC']._serialized_start=908 - _globals['_BLOCKEVENTSRPC']._serialized_end=1233 - _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_start=1100 - _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_end=1147 - _globals['_BLOCKEVENTSRPC_TXTOORDERSENTRY']._serialized_start=1149 - _globals['_BLOCKEVENTSRPC_TXTOORDERSENTRY']._serialized_end=1233 - _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_start=1235 - _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_end=1311 - _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_start=1313 - _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_end=1424 - _globals['_EVENTPROVIDERAPI']._serialized_start=1427 - _globals['_EVENTPROVIDERAPI']._serialized_end=1900 + _globals['_BLOCK']._serialized_start=366 + _globals['_BLOCK']._serialized_end=471 + _globals['_BLOCKEVENT']._serialized_start=473 + _globals['_BLOCKEVENT']._serialized_end=535 + _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_start=537 + _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_end=596 + _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_start=598 + _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_end=708 + _globals['_BLOCKEVENTSRPC']._serialized_start=711 + _globals['_BLOCKEVENTSRPC']._serialized_end=876 + _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_start=829 + _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_end=876 + _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_start=878 + _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_end=954 + _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_start=956 + _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_end=1067 + _globals['_EVENTPROVIDERAPI']._serialized_start=1070 + _globals['_EVENTPROVIDERAPI']._serialized_end=1543 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py b/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py new file mode 100644 index 00000000..8966dc64 --- /dev/null +++ b/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: exchange/injective_campaign_rpc.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_campaign_rpc.proto\x12\x16injective_campaign_rpc\"n\n\x0eRankingRequest\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\"\xaa\x01\n\x0fRankingResponse\x12\x32\n\x08\x63\x61mpaign\x18\x01 \x01(\x0b\x32 .injective_campaign_rpc.Campaign\x12\x33\n\x05users\x18\x02 \x03(\x0b\x32$.injective_campaign_rpc.CampaignUser\x12.\n\x06paging\x18\x03 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\"\x99\x01\n\x08\x43\x61mpaign\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0btotal_score\x18\x04 \x01(\t\x12\x14\n\x0clast_updated\x18\x05 \x01(\x12\x12\x12\n\nstart_date\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_date\x18\x07 \x01(\x12\x12\x14\n\x0cis_claimable\x18\x08 \x01(\x08\"\xa2\x01\n\x0c\x43\x61mpaignUser\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05score\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_updated\x18\x05 \x01(\x08\x12\x14\n\x0c\x62lock_height\x18\x06 \x01(\x12\x12\x12\n\nblock_time\x18\x07 \x01(\x12\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t2r\n\x14InjectiveCampaignRPC\x12Z\n\x07Ranking\x12&.injective_campaign_rpc.RankingRequest\x1a\'.injective_campaign_rpc.RankingResponseB\x1bZ\x19/injective_campaign_rpcpbb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_campaign_rpc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z\031/injective_campaign_rpcpb' + _globals['_RANKINGREQUEST']._serialized_start=65 + _globals['_RANKINGREQUEST']._serialized_end=175 + _globals['_RANKINGRESPONSE']._serialized_start=178 + _globals['_RANKINGRESPONSE']._serialized_end=348 + _globals['_CAMPAIGN']._serialized_start=351 + _globals['_CAMPAIGN']._serialized_end=504 + _globals['_CAMPAIGNUSER']._serialized_start=507 + _globals['_CAMPAIGNUSER']._serialized_end=669 + _globals['_PAGING']._serialized_start=671 + _globals['_PAGING']._serialized_end=763 + _globals['_INJECTIVECAMPAIGNRPC']._serialized_start=765 + _globals['_INJECTIVECAMPAIGNRPC']._serialized_end=879 +# @@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 new file mode 100644 index 00000000..c467e6fc --- /dev/null +++ b/pyinjective/proto/exchange/injective_campaign_rpc_pb2_grpc.py @@ -0,0 +1,70 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from 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, + ) + + +class InjectiveCampaignRPCServicer(object): + """InjectiveCampaignRPC defined a gRPC service for Injective Campaigns. + """ + + def Ranking(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_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, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective_campaign_rpc.InjectiveCampaignRPC', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # 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) diff --git a/pyinjective/proto/exchange/injective_trading_rpc_pb2.py b/pyinjective/proto/exchange/injective_trading_rpc_pb2.py index 4c2d1fdc..dfbbafb4 100644 --- a/pyinjective/proto/exchange/injective_trading_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_trading_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_trading_rpc.proto\x12\x15injective_trading_rpc\"\xb3\x01\n\x1cListTradingStrategiesRequest\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"\x8a\x01\n\x1dListTradingStrategiesResponse\x12:\n\nstrategies\x18\x01 \x03(\x0b\x32&.injective_trading_rpc.TradingStrategy\x12-\n\x06paging\x18\x02 \x01(\x0b\x32\x1d.injective_trading_rpc.Paging\"\xb0\x03\n\x0fTradingStrategy\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x06 \x01(\t\x12\x15\n\rbase_quantity\x18\x07 \x01(\t\x12\x13\n\x0blower_bound\x18\x08 \x01(\t\x12\x13\n\x0bupper_bound\x18\t \x01(\t\x12\x11\n\tstop_loss\x18\n \x01(\t\x12\x13\n\x0btake_profit\x18\x0b \x01(\t\x12\x10\n\x08swap_fee\x18\x0c \x01(\t\x12\x14\n\x0c\x62\x61se_deposit\x18\x11 \x01(\t\x12\x15\n\rquote_deposit\x18\x12 \x01(\t\x12\x18\n\x10market_mid_price\x18\x13 \x01(\t\x12\x16\n\x0e\x63reated_height\x18\r \x01(\x12\x12\x16\n\x0eremoved_height\x18\x0e \x01(\x12\x12\x12\n\ncreated_at\x18\x0f \x01(\x12\x12\x12\n\nupdated_at\x18\x10 \x01(\x12\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t2\x9a\x01\n\x13InjectiveTradingRPC\x12\x82\x01\n\x15ListTradingStrategies\x12\x33.injective_trading_rpc.ListTradingStrategiesRequest\x1a\x34.injective_trading_rpc.ListTradingStrategiesResponseB\x1aZ\x18/injective_trading_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_trading_rpc.proto\x12\x15injective_trading_rpc\"\xb3\x01\n\x1cListTradingStrategiesRequest\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"\x8a\x01\n\x1dListTradingStrategiesResponse\x12:\n\nstrategies\x18\x01 \x03(\x0b\x32&.injective_trading_rpc.TradingStrategy\x12-\n\x06paging\x18\x02 \x01(\x0b\x32\x1d.injective_trading_rpc.Paging\"\xea\x04\n\x0fTradingStrategy\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x06 \x01(\t\x12\x15\n\rbase_quantity\x18\x07 \x01(\t\x12\x16\n\x0equote_quantity\x18\x14 \x01(\t\x12\x13\n\x0blower_bound\x18\x08 \x01(\t\x12\x13\n\x0bupper_bound\x18\t \x01(\t\x12\x11\n\tstop_loss\x18\n \x01(\t\x12\x13\n\x0btake_profit\x18\x0b \x01(\t\x12\x10\n\x08swap_fee\x18\x0c \x01(\t\x12\x14\n\x0c\x62\x61se_deposit\x18\x11 \x01(\t\x12\x15\n\rquote_deposit\x18\x12 \x01(\t\x12\x18\n\x10market_mid_price\x18\x13 \x01(\t\x12#\n\x1bsubscription_quote_quantity\x18\x15 \x01(\t\x12\"\n\x1asubscription_base_quantity\x18\x16 \x01(\t\x12\x1d\n\x15number_of_grid_levels\x18\x17 \x01(\t\x12#\n\x1bshould_exit_with_quote_only\x18\x18 \x01(\x08\x12\x13\n\x0bstop_reason\x18\x19 \x01(\t\x12\x16\n\x0e\x63reated_height\x18\r \x01(\x12\x12\x16\n\x0eremoved_height\x18\x0e \x01(\x12\x12\x12\n\ncreated_at\x18\x0f \x01(\x12\x12\x12\n\nupdated_at\x18\x10 \x01(\x12\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t2\x9a\x01\n\x13InjectiveTradingRPC\x12\x82\x01\n\x15ListTradingStrategies\x12\x33.injective_trading_rpc.ListTradingStrategiesRequest\x1a\x34.injective_trading_rpc.ListTradingStrategiesResponseB\x1aZ\x18/injective_trading_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,9 +27,9 @@ _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_start=246 _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_end=384 _globals['_TRADINGSTRATEGY']._serialized_start=387 - _globals['_TRADINGSTRATEGY']._serialized_end=819 - _globals['_PAGING']._serialized_start=821 - _globals['_PAGING']._serialized_end=913 - _globals['_INJECTIVETRADINGRPC']._serialized_start=916 - _globals['_INJECTIVETRADINGRPC']._serialized_end=1070 + _globals['_TRADINGSTRATEGY']._serialized_end=1005 + _globals['_PAGING']._serialized_start=1007 + _globals['_PAGING']._serialized_end=1099 + _globals['_INJECTIVETRADINGRPC']._serialized_start=1102 + _globals['_INJECTIVETRADINGRPC']._serialized_end=1256 # @@protoc_insertion_point(module_scope) 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..68a914bd --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py @@ -0,0 +1,198 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/exchange/v1beta1/proposal.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 +from injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__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\"\xb5\x04\n\x1dSpotMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x86\x01\n\x16\x45xchangeEnableProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12>\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeType:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe7\t\n!BatchExchangeModificationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x65\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposal\x12q\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposal\x12Z\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposal\x12\x64\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposal\x12m\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposal\x12p\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposal\x12m\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposal\x12q\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposal\x12_\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposal\x12N\n\x15\x66\x65\x65_discount_proposal\x18\x0c \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountProposal\x12\x66\n\"market_forced_settlement_proposals\x18\r \x03(\x0b\x32:.injective.exchange.v1beta1.MarketForcedSettlementProposal:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xcc\x03\n\x18SpotMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12\x13\n\x0bquote_denom\x18\x05 \x01(\t\x12K\n\x13min_price_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xe0\x05\n\x1dPerpetualMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12L\n\x14initial_margin_ratio\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x94\x05\n!BinaryOptionsMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x03\x12\r\n\x05\x61\x64min\x18\n \x01(\t\x12\x13\n\x0bquote_denom\x18\x0b \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xf4\x05\n!ExpiryFuturesMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\t \x01(\x03\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb6\x07\n#DerivativeMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12L\n\x14initial_margin_ratio\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\t \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\n \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12J\n\x12HourlyInterestRate\x18\x0b \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12?\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParams:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xc9\x01\n\x1eMarketForcedSettlementProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12H\n\x10settlement_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xac\x01\n\x1bUpdateDenomDecimalsProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimals:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9c\x06\n&BinaryOptionsMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12H\n\x10settlement_price\x18\x0b \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\r\n\x05\x61\x64min\x18\x0c \x01(\t\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12G\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParams:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x90\x01\n\x14ProviderOracleParams\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x10\n\x08provider\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x91\x01\n\x0cOracleParams\x12\x13\n\x0boracle_base\x18\x01 \x01(\t\x12\x14\n\x0coracle_quote\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x8e\x02\n#TradingRewardCampaignLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12M\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xef\x02\n#TradingRewardCampaignUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12W\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12U\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"p\n\x11RewardPointUpdate\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x42\n\nnew_points\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe3\x01\n(TradingRewardPendingPointsUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1e\n\x16pending_pool_timestamp\x18\x03 \x01(\x03\x12K\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdate:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa4\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb9\x01\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12J\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposal:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xcd\x01\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12O\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplier:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*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\x45RIVATIVESBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.proposal_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types' + _EXCHANGETYPE.values_by_name["EXCHANGE_UNSPECIFIED"]._options = None + _EXCHANGETYPE.values_by_name["EXCHANGE_UNSPECIFIED"]._serialized_options = b'\212\235 \024EXCHANGE_UNSPECIFIED' + _EXCHANGETYPE.values_by_name["SPOT"]._options = None + _EXCHANGETYPE.values_by_name["SPOT"]._serialized_options = b'\212\235 \004SPOT' + _EXCHANGETYPE.values_by_name["DERIVATIVES"]._options = None + _EXCHANGETYPE.values_by_name["DERIVATIVES"]._serialized_options = b'\212\235 \013DERIVATIVES' + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._options = None + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._options = None + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._options = None + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._options = None + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None + _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTMARKETPARAMUPDATEPROPOSAL._options = None + _SPOTMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _EXCHANGEENABLEPROPOSAL._options = None + _EXCHANGEENABLEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000' + _BATCHEXCHANGEMODIFICATIONPROPOSAL._options = None + _BATCHEXCHANGEMODIFICATIONPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None + _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _SPOTMARKETLAUNCHPROPOSAL._options = None + _SPOTMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._options = None + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._options = None + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None + _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _PERPETUALMARKETLAUNCHPROPOSAL._options = None + _PERPETUALMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None + _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _BINARYOPTIONSMARKETLAUNCHPROPOSAL._options = None + _BINARYOPTIONSMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._options = None + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._options = None + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL._options = None + _EXPIRYFUTURESMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['initial_margin_ratio']._options = None + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maintenance_margin_ratio']._options = None + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._options = None + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._options = None + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._options = None + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._options = None + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyInterestRate']._options = None + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyInterestRate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyFundingRateCap']._options = None + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyFundingRateCap']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL._options = None + _DERIVATIVEMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _MARKETFORCEDSETTLEMENTPROPOSAL.fields_by_name['settlement_price']._options = None + _MARKETFORCEDSETTLEMENTPROPOSAL.fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _MARKETFORCEDSETTLEMENTPROPOSAL._options = None + _MARKETFORCEDSETTLEMENTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _UPDATEDENOMDECIMALSPROPOSAL._options = None + _UPDATEDENOMDECIMALSPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._options = None + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._options = None + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._options = None + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._options = None + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['settlement_price']._options = None + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL._options = None + _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL._options = None + _TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _TRADINGREWARDCAMPAIGNUPDATEPROPOSAL._options = None + _TRADINGREWARDCAMPAIGNUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _REWARDPOINTUPDATE.fields_by_name['new_points']._options = None + _REWARDPOINTUPDATE.fields_by_name['new_points']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' + _TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL._options = None + _TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _FEEDISCOUNTPROPOSAL._options = None + _FEEDISCOUNTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCOMMUNITYPOOLSPENDPROPOSAL._options = None + _BATCHCOMMUNITYPOOLSPENDPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL._options = None + _ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_EXCHANGETYPE']._serialized_start=8872 + _globals['_EXCHANGETYPE']._serialized_end=8992 + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_start=310 + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_end=875 + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_start=878 + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_end=1012 + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_start=1015 + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_end=2270 + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_start=2273 + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_end=2733 + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_start=2736 + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_end=3472 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_start=3475 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_end=4135 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_start=4138 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_end=4894 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_start=4897 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_end=5847 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_start=5850 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_end=6051 + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_start=6054 + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_end=6226 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_start=6229 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_end=7025 + _globals['_PROVIDERORACLEPARAMS']._serialized_start=7028 + _globals['_PROVIDERORACLEPARAMS']._serialized_end=7172 + _globals['_ORACLEPARAMS']._serialized_start=7175 + _globals['_ORACLEPARAMS']._serialized_end=7320 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_start=7323 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_end=7593 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_start=7596 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_end=7963 + _globals['_REWARDPOINTUPDATE']._serialized_start=7965 + _globals['_REWARDPOINTUPDATE']._serialized_end=8077 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_start=8080 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_end=8307 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_start=8310 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_end=8474 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_start=8477 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_end=8662 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_start=8665 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_end=8870 +# @@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/tx_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py index d442c8f0..f7d4d076 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py @@ -20,7 +20,7 @@ from injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -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\"\x88\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"y\n\nMsgDeposit\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x14\n\x12MsgDepositResponse\"z\n\x0bMsgWithdraw\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x15\n\x13MsgWithdrawResponse\"z\n\x17MsgCreateSpotLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"?\n\x1fMsgCreateSpotLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x81\x01\n\x1dMsgBatchCreateSpotLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12;\n\x06orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"G\n%MsgBatchCreateSpotLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x97\x02\n\x1aMsgInstantSpotMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x12\n\nbase_denom\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12K\n\x13min_price_tick_size\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xbb\x05\n\x1fMsgInstantPerpetualMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x39\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\xef\x04\n#MsgInstantBinaryOptionsMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x15\n\roracle_symbol\x18\x03 \x01(\t\x12\x17\n\x0foracle_provider\x18\x04 \x01(\t\x12\x39\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x46\n\x0emaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x13\n\x0bquote_denom\x18\x0c \x01(\t\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xcf\x05\n#MsgInstantExpiryFuturesMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x0e\n\x06\x65xpiry\x18\x08 \x01(\x03\x12\x46\n\x0emaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"{\n\x18MsgCreateSpotMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x8b\x01\n MsgCreateSpotMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12I\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe0\x01\n\x16SpotMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x82\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"E\n%MsgCreateDerivativeLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x85\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"H\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x89\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x41\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"M\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x80\x01\n\x12MsgCancelSpotOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x0b\n\x03\x63id\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgCancelSpotOrderResponse\"v\n\x18MsgBatchCancelSpotOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"=\n MsgBatchCancelSpotOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x7f\n!MsgBatchCancelBinaryOptionsOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"F\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc7\x05\n\x14MsgBatchUpdateOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12%\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\t\x12+\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\t\x12J\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12P\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12J\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01\x12V\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01\x12T\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12/\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\t\x12Z\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xf0\x01\n\x1cMsgBatchUpdateOrdersResponse\x12\x1b\n\x13spot_cancel_success\x18\x01 \x03(\x08\x12!\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08\x12\x19\n\x11spot_order_hashes\x18\x03 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\t\x12%\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08\x12#\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x83\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x97\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xef\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00\x12>\n\x06payout\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9a\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9a\x01\n\x18MsgCancelDerivativeOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05\x12\x0b\n\x03\x63id\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n MsgCancelDerivativeOrderResponse\"\x9d\x01\n\x1bMsgCancelBinaryOptionsOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05\x12\x0b\n\x03\x63id\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"%\n#MsgCancelBinaryOptionsOrderResponse\"j\n\tOrderData\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x12\n\norder_hash\x18\x03 \x01(\t\x12\x12\n\norder_mask\x18\x04 \x01(\x05\x12\x0b\n\x03\x63id\x18\x05 \x01(\t\"|\n\x1eMsgBatchCancelDerivativeOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"C\n&MsgBatchCancelDerivativeOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa6\x01\n\x15MsgSubaccountTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgSubaccountTransferResponse\"\xa4\x01\n\x13MsgExternalTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgExternalTransferResponse\"\x9f\x01\n\x14MsgLiquidatePosition\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12@\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xcc\x01\n\x19MsgIncreasePositionMargin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12\x11\n\tmarket_id\x18\x04 \x01(\t\x12>\n\x06\x61mount\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x0b\x82\xe7\xb0*\x06sender\"#\n!MsgIncreasePositionMarginResponse\"z\n\x1cMsgPrivilegedExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x66unds\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9c\x01\n$MsgPrivilegedExecuteContractResponse\x12_\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.Coins:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xb5\x04\n\x1dSpotMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x86\x01\n\x16\x45xchangeEnableProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12>\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeType:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xaf\x08\n!BatchExchangeModificationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x65\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposal\x12q\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposal\x12Z\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposal\x12\x64\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposal\x12m\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposal\x12p\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposal\x12m\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposal\x12q\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposal\x12_\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposal:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xcc\x03\n\x18SpotMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12\x13\n\x0bquote_denom\x18\x05 \x01(\t\x12K\n\x13min_price_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xe0\x05\n\x1dPerpetualMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12L\n\x14initial_margin_ratio\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x94\x05\n!BinaryOptionsMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x03\x12\r\n\x05\x61\x64min\x18\n \x01(\t\x12\x13\n\x0bquote_denom\x18\x0b \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xf4\x05\n!ExpiryFuturesMarketLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12\x13\n\x0boracle_base\x18\x05 \x01(\t\x12\x14\n\x0coracle_quote\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x39\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\t \x01(\x03\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb6\x07\n#DerivativeMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12L\n\x14initial_margin_ratio\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\t \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\n \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12J\n\x12HourlyInterestRate\x18\x0b \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12?\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParams:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xc9\x01\n\x1eMarketForcedSettlementProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12H\n\x10settlement_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xac\x01\n\x1bUpdateDenomDecimalsProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimals:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9c\x06\n&BinaryOptionsMarketParamUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x07 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x08 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12H\n\x10settlement_price\x18\x0b \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\r\n\x05\x61\x64min\x18\x0c \x01(\t\x12\x38\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12G\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParams:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x90\x01\n\x14ProviderOracleParams\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x10\n\x08provider\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x91\x01\n\x0cOracleParams\x12\x13\n\x0boracle_base\x18\x01 \x01(\t\x12\x14\n\x0coracle_quote\x18\x02 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x03 \x01(\r\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\x8e\x02\n#TradingRewardCampaignLaunchProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12M\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xef\x02\n#TradingRewardCampaignUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfo\x12W\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool\x12U\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPool:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"p\n\x11RewardPointUpdate\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x42\n\nnew_points\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe3\x01\n(TradingRewardPendingPointsUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1e\n\x16pending_pool_timestamp\x18\x03 \x01(\x03\x12K\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdate:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa4\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountSchedule:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb9\x01\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12J\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposal:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\"\n\x10MsgRewardsOptOut\x12\x0e\n\x06sender\x18\x01 \x01(\t\"\x1a\n\x18MsgRewardsOptOutResponse\"d\n\x15MsgReclaimLockedFunds\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x13lockedAccountPubKey\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"r\n\x0bMsgSignData\x12K\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddress\x12\x16\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta\"g\n\nMsgSignDoc\x12\x1b\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04type\x12<\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00\"\x93\x02\n!MsgAdminUpdateBinaryOptionsMarket\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12H\n\x10settlement_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x05 \x01(\x03\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:\x0b\x82\xe7\xb0*\x06sender\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse\"\xcd\x01\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12O\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplier:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*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\x45RIVATIVES2\x90\"\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\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\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\x12\x82\x01\n\x12ReclaimLockedFunds\x12\x31.injective.exchange.v1beta1.MsgReclaimLockedFunds\x1a\x39.injective.exchange.v1beta1.MsgReclaimLockedFundsResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponseBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\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\"\x88\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"y\n\nMsgDeposit\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x14\n\x12MsgDepositResponse\"z\n\x0bMsgWithdraw\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x15\n\x13MsgWithdrawResponse\"z\n\x17MsgCreateSpotLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"?\n\x1fMsgCreateSpotLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x81\x01\n\x1dMsgBatchCreateSpotLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12;\n\x06orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"G\n%MsgBatchCreateSpotLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x97\x02\n\x1aMsgInstantSpotMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x12\n\nbase_denom\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12K\n\x13min_price_tick_size\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xbb\x05\n\x1fMsgInstantPerpetualMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x39\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\xef\x04\n#MsgInstantBinaryOptionsMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x15\n\roracle_symbol\x18\x03 \x01(\t\x12\x17\n\x0foracle_provider\x18\x04 \x01(\t\x12\x39\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x46\n\x0emaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x13\n\x0bquote_denom\x18\x0c \x01(\t\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xcf\x05\n#MsgInstantExpiryFuturesMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x0e\n\x06\x65xpiry\x18\x08 \x01(\x03\x12\x46\n\x0emaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"{\n\x18MsgCreateSpotMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x8b\x01\n MsgCreateSpotMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12I\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe0\x01\n\x16SpotMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x82\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"E\n%MsgCreateDerivativeLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x85\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"H\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x89\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x41\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"M\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x80\x01\n\x12MsgCancelSpotOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x0b\n\x03\x63id\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgCancelSpotOrderResponse\"v\n\x18MsgBatchCancelSpotOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"=\n MsgBatchCancelSpotOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x7f\n!MsgBatchCancelBinaryOptionsOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"F\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc7\x05\n\x14MsgBatchUpdateOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12%\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\t\x12+\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\t\x12J\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12P\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12J\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01\x12V\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01\x12T\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12/\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\t\x12Z\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xf0\x01\n\x1cMsgBatchUpdateOrdersResponse\x12\x1b\n\x13spot_cancel_success\x18\x01 \x03(\x08\x12!\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08\x12\x19\n\x11spot_order_hashes\x18\x03 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\t\x12%\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08\x12#\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x83\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x97\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xef\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00\x12>\n\x06payout\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9a\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9a\x01\n\x18MsgCancelDerivativeOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05\x12\x0b\n\x03\x63id\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n MsgCancelDerivativeOrderResponse\"\x9d\x01\n\x1bMsgCancelBinaryOptionsOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05\x12\x0b\n\x03\x63id\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"%\n#MsgCancelBinaryOptionsOrderResponse\"j\n\tOrderData\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x12\n\norder_hash\x18\x03 \x01(\t\x12\x12\n\norder_mask\x18\x04 \x01(\x05\x12\x0b\n\x03\x63id\x18\x05 \x01(\t\"|\n\x1eMsgBatchCancelDerivativeOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"C\n&MsgBatchCancelDerivativeOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa6\x01\n\x15MsgSubaccountTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgSubaccountTransferResponse\"\xa4\x01\n\x13MsgExternalTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgExternalTransferResponse\"\x9f\x01\n\x14MsgLiquidatePosition\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12@\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xcc\x01\n\x19MsgIncreasePositionMargin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12\x11\n\tmarket_id\x18\x04 \x01(\t\x12>\n\x06\x61mount\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x0b\x82\xe7\xb0*\x06sender\"#\n!MsgIncreasePositionMarginResponse\"z\n\x1cMsgPrivilegedExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x66unds\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9c\x01\n$MsgPrivilegedExecuteContractResponse\x12_\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.Coins:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n\x10MsgRewardsOptOut\x12\x0e\n\x06sender\x18\x01 \x01(\t\"\x1a\n\x18MsgRewardsOptOutResponse\"d\n\x15MsgReclaimLockedFunds\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x13lockedAccountPubKey\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"r\n\x0bMsgSignData\x12K\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddress\x12\x16\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta\"g\n\nMsgSignDoc\x12\x1b\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04type\x12<\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00\"\x93\x02\n!MsgAdminUpdateBinaryOptionsMarket\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12H\n\x10settlement_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x05 \x01(\x03\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:\x0b\x82\xe7\xb0*\x06sender\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse2\x90\"\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\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\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\x12\x82\x01\n\x12ReclaimLockedFunds\x12\x31.injective.exchange.v1beta1.MsgReclaimLockedFunds\x1a\x39.injective.exchange.v1beta1.MsgReclaimLockedFundsResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponseBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -29,12 +29,6 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types' - _EXCHANGETYPE.values_by_name["EXCHANGE_UNSPECIFIED"]._options = None - _EXCHANGETYPE.values_by_name["EXCHANGE_UNSPECIFIED"]._serialized_options = b'\212\235 \024EXCHANGE_UNSPECIFIED' - _EXCHANGETYPE.values_by_name["SPOT"]._options = None - _EXCHANGETYPE.values_by_name["SPOT"]._serialized_options = b'\212\235 \004SPOT' - _EXCHANGETYPE.values_by_name["DERIVATIVES"]._options = None - _EXCHANGETYPE.values_by_name["DERIVATIVES"]._serialized_options = b'\212\235 \013DERIVATIVES' _MSGUPDATEPARAMS.fields_by_name['authority']._options = None _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEPARAMS.fields_by_name['params']._options = None @@ -229,122 +223,6 @@ _MSGPRIVILEGEDEXECUTECONTRACTRESPONSE.fields_by_name['funds_diff']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _MSGPRIVILEGEDEXECUTECONTRACTRESPONSE._options = None _MSGPRIVILEGEDEXECUTECONTRACTRESPONSE._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _SPOTMARKETPARAMUPDATEPROPOSAL._options = None - _SPOTMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _EXCHANGEENABLEPROPOSAL._options = None - _EXCHANGEENABLEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000' - _BATCHEXCHANGEMODIFICATIONPROPOSAL._options = None - _BATCHEXCHANGEMODIFICATIONPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _SPOTMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _SPOTMARKETLAUNCHPROPOSAL._options = None - _SPOTMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _PERPETUALMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _PERPETUALMARKETLAUNCHPROPOSAL._options = None - _PERPETUALMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _BINARYOPTIONSMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _BINARYOPTIONSMARKETLAUNCHPROPOSAL._options = None - _BINARYOPTIONSMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL._options = None - _EXPIRYFUTURESMARKETLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['initial_margin_ratio']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maintenance_margin_ratio']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyInterestRate']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyInterestRate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyFundingRateCap']._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL.fields_by_name['HourlyFundingRateCap']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL._options = None - _DERIVATIVEMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _MARKETFORCEDSETTLEMENTPROPOSAL.fields_by_name['settlement_price']._options = None - _MARKETFORCEDSETTLEMENTPROPOSAL.fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _MARKETFORCEDSETTLEMENTPROPOSAL._options = None - _MARKETFORCEDSETTLEMENTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _UPDATEDENOMDECIMALSPROPOSAL._options = None - _UPDATEDENOMDECIMALSPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['settlement_price']._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL.fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL._options = None - _BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL._options = None - _TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _TRADINGREWARDCAMPAIGNUPDATEPROPOSAL._options = None - _TRADINGREWARDCAMPAIGNUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _REWARDPOINTUPDATE.fields_by_name['new_points']._options = None - _REWARDPOINTUPDATE.fields_by_name['new_points']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL._options = None - _TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _FEEDISCOUNTPROPOSAL._options = None - _FEEDISCOUNTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _BATCHCOMMUNITYPOOLSPENDPROPOSAL._options = None - _BATCHCOMMUNITYPOOLSPENDPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _MSGRECLAIMLOCKEDFUNDS._options = None _MSGRECLAIMLOCKEDFUNDS._serialized_options = b'\202\347\260*\006sender' _MSGSIGNDATA.fields_by_name['Signer']._options = None @@ -359,10 +237,6 @@ _MSGADMINUPDATEBINARYOPTIONSMARKET.fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGADMINUPDATEBINARYOPTIONSMARKET._options = None _MSGADMINUPDATEBINARYOPTIONSMARKET._serialized_options = b'\202\347\260*\006sender' - _ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL._options = None - _ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_EXCHANGETYPE']._serialized_start=18181 - _globals['_EXCHANGETYPE']._serialized_end=18301 _globals['_MSGUPDATEPARAMS']._serialized_start=304 _globals['_MSGUPDATEPARAMS']._serialized_end=440 _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=442 @@ -477,62 +351,22 @@ _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=8898 _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=8901 _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=9057 - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_start=9060 - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_end=9625 - _globals['_EXCHANGEENABLEPROPOSAL']._serialized_start=9628 - _globals['_EXCHANGEENABLEPROPOSAL']._serialized_end=9762 - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_start=9765 - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_end=10836 - _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_start=10839 - _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_end=11299 - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_start=11302 - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_end=12038 - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_start=12041 - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_end=12701 - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_start=12704 - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_end=13460 - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_start=13463 - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_end=14413 - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_start=14416 - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_end=14617 - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_start=14620 - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_end=14792 - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_start=14795 - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_end=15591 - _globals['_PROVIDERORACLEPARAMS']._serialized_start=15594 - _globals['_PROVIDERORACLEPARAMS']._serialized_end=15738 - _globals['_ORACLEPARAMS']._serialized_start=15741 - _globals['_ORACLEPARAMS']._serialized_end=15886 - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_start=15889 - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_end=16159 - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_start=16162 - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_end=16529 - _globals['_REWARDPOINTUPDATE']._serialized_start=16531 - _globals['_REWARDPOINTUPDATE']._serialized_end=16643 - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_start=16646 - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_end=16873 - _globals['_FEEDISCOUNTPROPOSAL']._serialized_start=16876 - _globals['_FEEDISCOUNTPROPOSAL']._serialized_end=17040 - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_start=17043 - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_end=17228 - _globals['_MSGREWARDSOPTOUT']._serialized_start=17230 - _globals['_MSGREWARDSOPTOUT']._serialized_end=17264 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=17266 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=17292 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=17294 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=17394 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=17396 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=17427 - _globals['_MSGSIGNDATA']._serialized_start=17429 - _globals['_MSGSIGNDATA']._serialized_end=17543 - _globals['_MSGSIGNDOC']._serialized_start=17545 - _globals['_MSGSIGNDOC']._serialized_end=17648 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=17651 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=17926 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=17928 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=17971 - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_start=17974 - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_end=18179 - _globals['_MSG']._serialized_start=18304 - _globals['_MSG']._serialized_end=22672 + _globals['_MSGREWARDSOPTOUT']._serialized_start=9059 + _globals['_MSGREWARDSOPTOUT']._serialized_end=9093 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=9095 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=9121 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=9123 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=9223 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=9225 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=9256 + _globals['_MSGSIGNDATA']._serialized_start=9258 + _globals['_MSGSIGNDATA']._serialized_end=9372 + _globals['_MSGSIGNDOC']._serialized_start=9374 + _globals['_MSGSIGNDOC']._serialized_end=9477 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=9480 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=9755 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=9757 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=9800 + _globals['_MSG']._serialized_start=9803 + _globals['_MSG']._serialized_end=14171 # @@protoc_insertion_point(module_scope) diff --git a/pyproject.toml b/pyproject.toml index 8cf2adb5..cb21938d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "0.10.dev8" +version = "1.0" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" From e080b0ff0a36a5672d99ff7b3fd78550ba90bd74 Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 3 Nov 2023 10:42:07 -0300 Subject: [PATCH 39/83] (feat) Started implementing the Indexer Spot Exchange low level API components --- .../spot_exchange_rpc/1_Market.py | 2 +- .../spot_exchange_rpc/2_Markets.py | 4 +- .../spot_exchange_rpc/4_Orderbook.py | 2 +- pyinjective/async_client.py | 134 ++++++---- .../indexer/grpc/indexer_grpc_spot_api.py | 45 ++++ pyinjective/utils/fetch_metadata.py | 50 ++-- .../configurable_spot_query_servicer.py | 23 ++ .../grpc/test_indexer_grpc_spot_api.py | 250 ++++++++++++++++++ .../test_async_client_deprecation_warnings.py | 61 +++++ 9 files changed, 495 insertions(+), 76 deletions(-) create mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py create mode 100644 tests/client/indexer/configurable_spot_query_servicer.py create mode 100644 tests/client/indexer/grpc/test_indexer_grpc_spot_api.py diff --git a/examples/exchange_client/spot_exchange_rpc/1_Market.py b/examples/exchange_client/spot_exchange_rpc/1_Market.py index d926e97c..e8705d68 100644 --- a/examples/exchange_client/spot_exchange_rpc/1_Market.py +++ b/examples/exchange_client/spot_exchange_rpc/1_Market.py @@ -8,7 +8,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) market_id = "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" - market = await client.get_spot_market(market_id=market_id) + market = await client.fetch_spot_market(market_id=market_id) print(market) diff --git a/examples/exchange_client/spot_exchange_rpc/2_Markets.py b/examples/exchange_client/spot_exchange_rpc/2_Markets.py index dc37d25f..46ad1239 100644 --- a/examples/exchange_client/spot_exchange_rpc/2_Markets.py +++ b/examples/exchange_client/spot_exchange_rpc/2_Markets.py @@ -10,7 +10,9 @@ async def main() -> None: market_status = "active" base_denom = "inj" quote_denom = "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5" - market = await client.get_spot_markets(market_status=market_status, base_denom=base_denom, quote_denom=quote_denom) + market = await client.fetch_spot_markets( + market_status=market_status, base_denom=base_denom, quote_denom=quote_denom + ) print(market) diff --git a/examples/exchange_client/spot_exchange_rpc/4_Orderbook.py b/examples/exchange_client/spot_exchange_rpc/4_Orderbook.py index 1de0c539..9e4e08eb 100644 --- a/examples/exchange_client/spot_exchange_rpc/4_Orderbook.py +++ b/examples/exchange_client/spot_exchange_rpc/4_Orderbook.py @@ -8,7 +8,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) market_id = "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" - orderbook = await client.get_spot_orderbookV2(market_id=market_id) + orderbook = await client.fetch_spot_orderbook_v2(market_id=market_id) print(orderbook) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index c9c4d4fd..c11e3d42 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -18,6 +18,7 @@ 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_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_meta_stream import IndexerGrpcMetaStream @@ -198,6 +199,12 @@ def __init__( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_spot_api = IndexerGrpcSpotApi( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) self.exchange_account_stream_api = IndexerGrpcAccountStream( channel=self.exchange_channel, @@ -917,10 +924,21 @@ 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"), @@ -928,6 +946,16 @@ async def get_spot_markets(self, **kwargs): ) return await self.stubSpotExchange.Markets(req) + async def fetch_spot_markets( + self, + market_status: Optional[str] = None, + base_denom: Optional[str] = None, + quote_denom: Optional[str] = None, + ) -> Dict[str, Any]: + return await self.exchange_spot_api.fetch_markets( + market_status=market_status, base_denom=base_denom, quote_denom=quote_denom + ) + async def stream_spot_markets(self, **kwargs): req = spot_exchange_rpc_pb.StreamMarketsRequest(market_ids=kwargs.get("market_ids")) metadata = await self.network.exchange_metadata( @@ -936,9 +964,16 @@ async def stream_spot_markets(self, **kwargs): return self.stubSpotExchange.StreamMarkets(request=req, metadata=metadata) async def get_spot_orderbookV2(self, market_id: str): + """ + This method is deprecated and will be removed soon. Please use `fetch_spot_markets` 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) + async def get_spot_orderbooksV2(self, market_ids: List): req = spot_exchange_rpc_pb.OrderbooksV2Request(market_ids=market_ids) return await self.stubSpotExchange.OrderbooksV2(req) @@ -1313,19 +1348,20 @@ async def _initialize_tokens_and_markets(self): binary_option_markets = dict() tokens = dict() tokens_by_denom = dict() - markets_info = (await self.get_spot_markets(market_status="active")).markets + markets_info = (await self.fetch_spot_markets(market_status="active"))["markets"] for market_info in markets_info: - if "/" in market_info.ticker: - base_token_symbol, quote_token_symbol = market_info.ticker.split(constant.TICKER_TOKENS_SEPARATOR) + ticker = market_info["ticker"] + if "/" in ticker: + base_token_symbol, quote_token_symbol = ticker.split(constant.TICKER_TOKENS_SEPARATOR) else: - base_token_symbol = market_info.base_token_meta.symbol - quote_token_symbol = market_info.quote_token_meta.symbol + base_token_symbol = market_info["baseTokenMeta"]["symbol"] + quote_token_symbol = market_info["quoteTokenMeta"]["symbol"] base_token = self._token_representation( symbol=base_token_symbol, - token_meta=market_info.base_token_meta, - denom=market_info.base_denom, + token_meta=market_info["baseTokenMeta"], + denom=market_info["baseDenom"], all_tokens=tokens, ) if base_token.denom not in tokens_by_denom: @@ -1333,81 +1369,81 @@ async def _initialize_tokens_and_markets(self): quote_token = self._token_representation( symbol=quote_token_symbol, - token_meta=market_info.quote_token_meta, - denom=market_info.quote_denom, + token_meta=market_info["quoteTokenMeta"], + denom=market_info["quoteDenom"], all_tokens=tokens, ) if quote_token.denom not in tokens_by_denom: tokens_by_denom[quote_token.denom] = quote_token market = SpotMarket( - id=market_info.market_id, - status=market_info.market_status, - ticker=market_info.ticker, + id=market_info["marketId"], + status=market_info["marketStatus"], + ticker=market_info["ticker"], base_token=base_token, quote_token=quote_token, - maker_fee_rate=Decimal(market_info.maker_fee_rate), - taker_fee_rate=Decimal(market_info.taker_fee_rate), - service_provider_fee=Decimal(market_info.service_provider_fee), - min_price_tick_size=Decimal(market_info.min_price_tick_size), - min_quantity_tick_size=Decimal(market_info.min_quantity_tick_size), + maker_fee_rate=Decimal(market_info["makerFeeRate"]), + taker_fee_rate=Decimal(market_info["takerFeeRate"]), + service_provider_fee=Decimal(market_info["serviceProviderFee"]), + min_price_tick_size=Decimal(market_info["minPriceTickSize"]), + min_quantity_tick_size=Decimal(market_info["minQuantityTickSize"]), ) spot_markets[market.id] = market markets_info = (await self.get_derivative_markets(market_status="active")).markets for market_info in markets_info: - quote_token_symbol = market_info.quote_token_meta.symbol + quote_token_symbol = market_info["quoteTokenMeta"].symbol quote_token = self._token_representation( symbol=quote_token_symbol, - token_meta=market_info.quote_token_meta, - denom=market_info.quote_denom, + token_meta=market_info["quoteTokenMeta"], + denom=market_info["quoteDenom"], all_tokens=tokens, ) if quote_token.denom not in tokens_by_denom: tokens_by_denom[quote_token.denom] = quote_token market = DerivativeMarket( - id=market_info.market_id, - status=market_info.market_status, - ticker=market_info.ticker, - oracle_base=market_info.oracle_base, - oracle_quote=market_info.oracle_quote, - oracle_type=market_info.oracle_type, - oracle_scale_factor=market_info.oracle_scale_factor, - initial_margin_ratio=Decimal(market_info.initial_margin_ratio), - maintenance_margin_ratio=Decimal(market_info.maintenance_margin_ratio), + id=market_info["marketId"], + status=market_info["marketStatus"], + ticker=market_info["ticker"], + oracle_base=market_info["oracleBase"], + oracle_quote=market_info["oracleQuote"], + oracle_type=market_info["oracleType"], + oracle_scale_factor=market_info["oracleScaleFactor"], + initial_margin_ratio=Decimal(market_info["initialMarginRatio"]), + maintenance_margin_ratio=Decimal(market_info["maintenanceMarginRatio"]), quote_token=quote_token, - maker_fee_rate=Decimal(market_info.maker_fee_rate), - taker_fee_rate=Decimal(market_info.taker_fee_rate), - service_provider_fee=Decimal(market_info.service_provider_fee), - min_price_tick_size=Decimal(market_info.min_price_tick_size), - min_quantity_tick_size=Decimal(market_info.min_quantity_tick_size), + maker_fee_rate=Decimal(market_info["makerFeeRate"]), + taker_fee_rate=Decimal(market_info["takerFeeRate"]), + service_provider_fee=Decimal(market_info["serviceProviderFee"]), + min_price_tick_size=Decimal(market_info["minPriceTickSize"]), + min_quantity_tick_size=Decimal(market_info["minQuantityTickSize"]), ) derivative_markets[market.id] = market markets_info = (await self.get_binary_options_markets(market_status="active")).markets for market_info in markets_info: - quote_token = tokens_by_denom.get(market_info.quote_denom, None) + quote_token = tokens_by_denom.get(market_info["quoteDenom"], None) market = BinaryOptionMarket( - id=market_info.market_id, - status=market_info.market_status, - ticker=market_info.ticker, - oracle_symbol=market_info.oracle_symbol, - oracle_provider=market_info.oracle_provider, - oracle_type=market_info.oracle_type, - oracle_scale_factor=market_info.oracle_scale_factor, - expiration_timestamp=market_info.expiration_timestamp, - settlement_timestamp=market_info.settlement_timestamp, + id=market_info["marketId"], + status=market_info["marketStatus"], + ticker=market_info["ticker"], + oracle_symbol=market_info["oracleSymbol"], + oracle_provider=market_info["oracleProvider"], + oracle_type=market_info["oracleType"], + oracle_scale_factor=market_info["oracleScaleFactor"], + expiration_timestamp=market_info["expirationTimestamp"], + settlement_timestamp=market_info["settlementTimestamp"], quote_token=quote_token, - maker_fee_rate=Decimal(market_info.maker_fee_rate), - taker_fee_rate=Decimal(market_info.taker_fee_rate), - service_provider_fee=Decimal(market_info.service_provider_fee), - min_price_tick_size=Decimal(market_info.min_price_tick_size), - min_quantity_tick_size=Decimal(market_info.min_quantity_tick_size), + maker_fee_rate=Decimal(market_info["makerFeeRate"]), + taker_fee_rate=Decimal(market_info["takerFeeRate"]), + service_provider_fee=Decimal(market_info["serviceProviderFee"]), + min_price_tick_size=Decimal(market_info["minPriceTickSize"]), + min_quantity_tick_size=Decimal(market_info["minQuantityTickSize"]), ) binary_option_markets[market.id] = market diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py new file mode 100644 index 00000000..5dc46bbb --- /dev/null +++ b/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py @@ -0,0 +1,45 @@ +from typing import Any, Callable, Dict, Optional + +from grpc.aio import Channel + +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, metadata_provider: Callable): + self._stub = self._stub = exchange_spot_grpc.InjectiveSpotExchangeRPCStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + async def fetch_markets( + self, + market_status: Optional[str] = None, + base_denom: Optional[str] = None, + quote_denom: Optional[str] = None, + ) -> Dict[str, Any]: + request = exchange_spot_pb.MarketsRequest( + market_status=market_status, + 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 _execute_call(self, call: Callable, request) -> Dict[str, Any]: + return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/utils/fetch_metadata.py b/pyinjective/utils/fetch_metadata.py index 715e43c5..68b52989 100644 --- a/pyinjective/utils/fetch_metadata.py +++ b/pyinjective/utils/fetch_metadata.py @@ -31,30 +31,32 @@ async def fetch_denom(network) -> str: # fetch meta data for spot markets client = AsyncClient(network) status = "active" - mresp = await client.get_spot_markets(market_status=status) - for market in mresp.markets: + mresp = await client.fetch_spot_markets(market_status=status) + for market in mresp["markets"]: # append symbols to dict - if market.base_token_meta.SerializeToString() != "": - symbols[market.base_token_meta.symbol] = (market.base_denom, market.base_token_meta.decimals) + if market["baseTokenMeta"] != "": + symbols[market["baseTokenMeta"]["symbol"]] = (market["baseDenom"], market["baseTokenMeta"]["decimals"]) - if market.quote_token_meta.SerializeToString() != "": - symbols[market.quote_token_meta.symbol] = (market.base_denom, market.quote_token_meta.decimals) + if market["quoteTokenMeta"] != "": + symbols[market["quoteTokenMeta"]["symbol"]] = (market["baseDenom"], market["quoteTokenMeta"]["decimals"]) # format into ini entry - min_display_price_tick_size = float(market.min_price_tick_size) / pow( - 10, market.quote_token_meta.decimals - market.base_token_meta.decimals + min_display_price_tick_size = float(market["minPriceTickSize"]) / pow( + 10, market["quoteTokenMeta"]["decimals"] - market["baseTokenMeta"]["decimals"] + ) + min_display_quantity_tick_size = float(market["minQuantityTickSize"]) / pow( + 10, market["baseTokenMeta"]["decimals"] ) - min_display_quantity_tick_size = float(market.min_quantity_tick_size) / pow(10, market.base_token_meta.decimals) config = metadata_template.format( - market.market_id, + market["marketId"], network.string().capitalize(), "Spot", - market.ticker, - market.base_token_meta.decimals, - market.quote_token_meta.decimals, - market.min_price_tick_size, + market["ticker"], + market["baseTokenMeta"]["decimals"], + market["quoteTokenMeta"]["decimals"], + market["minPriceTickSize"], min_display_price_tick_size, - market.min_quantity_tick_size, + market["minQuantityTickSize"], min_display_quantity_tick_size, ) denom_output += config @@ -65,22 +67,22 @@ async def fetch_denom(network) -> str: mresp = await client.get_derivative_markets(market_status=status) for market in mresp.markets: # append symbols to dict - if market.quote_token_meta.SerializeToString() != "": - symbols[market.quote_token_meta.symbol] = (market.quote_denom, market.quote_token_meta.decimals) + if market["quoteTokenMeta"] != "": + symbols[market["quoteTokenMeta"]["symbol"]] = (market["quoteDenom"], market["quoteTokenMeta"]["decimals"]) # format into ini entry - min_display_price_tick_size = float(market.min_price_tick_size) / pow(10, market.quote_token_meta.decimals) + min_display_price_tick_size = float(market["minPriceTickSize"]) / pow(10, market["quoteTokenMeta"]["decimals"]) config = metadata_template.format( - market.market_id, + market["marketId"], network.string().capitalize(), "Derivative", - market.ticker, + market["ticker"], 0, - market.quote_token_meta.decimals, - market.min_price_tick_size, + market["quoteTokenMeta"]["decimals"], + market["minPriceTickSize"], min_display_price_tick_size, - market.min_quantity_tick_size, - market.min_quantity_tick_size, + market["minQuantityTickSize"], + market["minQuantityTickSize"], ) denom_output += config diff --git a/tests/client/indexer/configurable_spot_query_servicer.py b/tests/client/indexer/configurable_spot_query_servicer.py new file mode 100644 index 00000000..4acd2661 --- /dev/null +++ b/tests/client/indexer/configurable_spot_query_servicer.py @@ -0,0 +1,23 @@ +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() + + 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() diff --git a/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py b/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py new file mode 100644 index 00000000..1b34b18d --- /dev/null +++ b/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py @@ -0,0 +1,250 @@ +import grpc +import pytest + +from pyinjective.client.indexer.grpc.indexer_grpc_spot_api import IndexerGrpcSpotApi +from pyinjective.core.network import 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", + ) + + spot_servicer.markets_responses.append( + exchange_spot_pb.MarketsResponse( + markets=[market], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = spot_servicer + + result_markets = await api.fetch_markets( + market_status=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, + } + ] + } + + 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", + ) + + spot_servicer.market_responses.append( + exchange_spot_pb.MarketResponse( + market=market, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + } + } + + 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 4fda5760..22892c61 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -13,6 +13,7 @@ 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_spot_exchange_rpc_pb2 as exchange_spot_pb, ) from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb from tests.client.chain.grpc.configurable_auth_query_servicer import ConfigurableAuthQueryServicer @@ -23,6 +24,7 @@ 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_spot_query_servicer import ConfigurableSpotQueryServicer from tests.core.tx.grpc.configurable_tx_query_servicer import ConfigurableTxQueryServicer @@ -66,6 +68,11 @@ def oracle_servicer(): return ConfigurableOracleQueryServicer() +@pytest.fixture +def spot_servicer(): + return ConfigurableSpotQueryServicer() + + @pytest.fixture def tx_servicer(): return ConfigurableTxQueryServicer() @@ -662,3 +669,57 @@ async def test_stream_bids_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_spot_orderbook_v2 instead" From a9a25c647a82d34f8726b3139c4bb01c3a25c61f Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 3 Nov 2023 14:43:44 -0300 Subject: [PATCH 40/83] (feat) Updated buffer gas amount for fee in all examples --- CHANGELOG.md | 1 + examples/chain_client/0_LocalOrderHash.py | 13 +- .../13_MsgIncreasePositionMargin.py | 5 +- examples/chain_client/15_MsgWithdraw.py | 19 +-- .../chain_client/16_MsgSubaccountTransfer.py | 5 +- .../chain_client/17_MsgBatchUpdateOrders.py | 5 +- examples/chain_client/18_MsgBid.py | 5 +- examples/chain_client/19_MsgGrant.py | 5 +- examples/chain_client/1_MsgSend.py | 5 +- examples/chain_client/20_MsgExec.py | 5 +- examples/chain_client/21_MsgRevoke.py | 5 +- examples/chain_client/22_MsgSendToEth.py | 5 +- .../chain_client/23_MsgRelayPriceFeedPrice.py | 5 +- examples/chain_client/24_MsgRewardsOptOut.py | 5 +- examples/chain_client/25_MsgDelegate.py | 5 +- .../26_MsgWithdrawDelegatorReward.py | 5 +- examples/chain_client/2_MsgDeposit.py | 5 +- examples/chain_client/30_ExternalTransfer.py | 5 +- .../31_MsgCreateBinaryOptionsLimitOrder.py | 7 +- .../32_MsgCreateBinaryOptionsMarketOrder.py | 5 +- .../33_MsgCancelBinaryOptionsOrder.py | 5 +- .../34_MsgAdminUpdateBinaryOptionsMarket.py | 5 +- .../35_MsgInstantBinaryOptionsMarketLaunch.py | 5 +- .../chain_client/36_MsgRelayProviderPrices.py | 5 +- .../chain_client/3_MsgCreateSpotLimitOrder.py | 5 +- .../chain_client/40_MsgExecuteContract.py | 5 +- .../chain_client/41_MsgCreateInsuranceFund.py | 5 +- examples/chain_client/42_MsgUnderwrite.py | 5 +- .../chain_client/43_MsgRequestRedemption.py | 5 +- ...8_WithdrawValidatorCommissionAndRewards.py | 5 +- .../4_MsgCreateSpotMarketOrder.py | 5 +- examples/chain_client/5_MsgCancelSpotOrder.py | 5 +- .../6_MsgCreateDerivativeLimitOrder.py | 5 +- .../7_MsgCreateDerivativeMarketOrder.py | 5 +- .../8_MsgCancelDerivativeOrder.py | 5 +- pyinjective/constant.py | 44 +----- pyinjective/core/market.py | 3 +- .../exchange/injective_campaign_rpc_pb2.py | 12 +- .../injective_campaign_rpc_pb2_grpc.py | 2 +- .../injective_derivative_exchange_rpc_pb2.py | 136 +++++++++--------- .../injective_spot_exchange_rpc_pb2.py | 100 ++++++------- .../exchange/v1beta1/query_pb2_grpc.py | 3 +- pyinjective/utils/denom.py | 41 ++++++ pyinjective/utils/metadata_validation.py | 7 +- pyproject.toml | 2 +- tests/core/test_market.py | 2 +- tests/test_composer.py | 2 +- 47 files changed, 288 insertions(+), 261 deletions(-) create mode 100644 pyinjective/utils/denom.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 2aca25e5..db80fe82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file. - Migrated all proto objects dependency to support chain version 1.22 - Moved changelog from the README.md file to its own CHANGELOG.md file - Remove `aiocron` dependency. Use plain asyncio tasks to solve the timeout height synchronization +- Updated the gas fee buffer used to calculate fee consumption in all examples ## [0.9.3] * Updated TIA/USDT-30NOV2023 market id in denoms_mainnet.ini file diff --git a/examples/chain_client/0_LocalOrderHash.py b/examples/chain_client/0_LocalOrderHash.py index eed3c28b..e731be69 100644 --- a/examples/chain_client/0_LocalOrderHash.py +++ b/examples/chain_client/0_LocalOrderHash.py @@ -2,6 +2,7 @@ import uuid from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.orderhash import OrderHashManager from pyinjective.transaction import Transaction @@ -101,9 +102,9 @@ async def main() -> None: .with_account_num(client.get_number()) .with_chain_id(network.chain_id) ) - gas_price = 500000000 + gas_price = GAS_PRICE base_gas = 85000 - gas_limit = base_gas + 20000 # add 20k for gas, fee computation + gas_limit = base_gas + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -138,9 +139,9 @@ async def main() -> None: .with_account_num(client.get_number()) .with_chain_id(network.chain_id) ) - gas_price = 500000000 + gas_price = GAS_PRICE base_gas = 85000 - gas_limit = base_gas + 20000 # add 20k for gas, fee computation + gas_limit = base_gas + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( @@ -228,9 +229,9 @@ async def main() -> None: .with_account_num(client.get_number()) .with_chain_id(network.chain_id) ) - gas_price = 500000000 + gas_price = GAS_PRICE base_gas = 85000 - gas_limit = base_gas + 20000 # add 20k for gas, fee computation + gas_limit = base_gas + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/13_MsgIncreasePositionMargin.py b/examples/chain_client/13_MsgIncreasePositionMargin.py index a2556f78..530be2b4 100644 --- a/examples/chain_client/13_MsgIncreasePositionMargin.py +++ b/examples/chain_client/13_MsgIncreasePositionMargin.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -53,8 +54,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/15_MsgWithdraw.py b/examples/chain_client/15_MsgWithdraw.py index 437d0037..83a516be 100644 --- a/examples/chain_client/15_MsgWithdraw.py +++ b/examples/chain_client/15_MsgWithdraw.py @@ -1,20 +1,7 @@ -# Copyright 2022 Injective Labs -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -58,8 +45,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/16_MsgSubaccountTransfer.py b/examples/chain_client/16_MsgSubaccountTransfer.py index bc2e5baf..4f7b94c9 100644 --- a/examples/chain_client/16_MsgSubaccountTransfer.py +++ b/examples/chain_client/16_MsgSubaccountTransfer.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -51,8 +52,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/17_MsgBatchUpdateOrders.py b/examples/chain_client/17_MsgBatchUpdateOrders.py index b79a526b..e832197e 100644 --- a/examples/chain_client/17_MsgBatchUpdateOrders.py +++ b/examples/chain_client/17_MsgBatchUpdateOrders.py @@ -2,6 +2,7 @@ import uuid from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -140,8 +141,8 @@ async def main() -> None: print(sim_res_msg) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/18_MsgBid.py b/examples/chain_client/18_MsgBid.py index 5a23f172..30274761 100644 --- a/examples/chain_client/18_MsgBid.py +++ b/examples/chain_client/18_MsgBid.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -43,8 +44,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/19_MsgGrant.py b/examples/chain_client/19_MsgGrant.py index 548af1a5..7c0630dd 100644 --- a/examples/chain_client/19_MsgGrant.py +++ b/examples/chain_client/19_MsgGrant.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -62,8 +63,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/1_MsgSend.py b/examples/chain_client/1_MsgSend.py index 1d3c28a6..e6801ea0 100644 --- a/examples/chain_client/1_MsgSend.py +++ b/examples/chain_client/1_MsgSend.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -48,8 +49,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/20_MsgExec.py b/examples/chain_client/20_MsgExec.py index 67709b3d..8da619cd 100644 --- a/examples/chain_client/20_MsgExec.py +++ b/examples/chain_client/20_MsgExec.py @@ -2,6 +2,7 @@ import uuid from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import Address, PrivateKey @@ -67,8 +68,8 @@ async def main() -> None: print(unpacked_msg_res) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/21_MsgRevoke.py b/examples/chain_client/21_MsgRevoke.py index 7c040810..f73a4ba5 100644 --- a/examples/chain_client/21_MsgRevoke.py +++ b/examples/chain_client/21_MsgRevoke.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -47,8 +48,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/22_MsgSendToEth.py b/examples/chain_client/22_MsgSendToEth.py index 96f6e435..f37515f8 100644 --- a/examples/chain_client/22_MsgSendToEth.py +++ b/examples/chain_client/22_MsgSendToEth.py @@ -3,6 +3,7 @@ import requests from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -58,8 +59,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/23_MsgRelayPriceFeedPrice.py b/examples/chain_client/23_MsgRelayPriceFeedPrice.py index f55c8c72..db4c9243 100644 --- a/examples/chain_client/23_MsgRelayPriceFeedPrice.py +++ b/examples/chain_client/23_MsgRelayPriceFeedPrice.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -48,8 +49,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/24_MsgRewardsOptOut.py b/examples/chain_client/24_MsgRewardsOptOut.py index abf63829..edba421e 100644 --- a/examples/chain_client/24_MsgRewardsOptOut.py +++ b/examples/chain_client/24_MsgRewardsOptOut.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -43,8 +44,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/25_MsgDelegate.py b/examples/chain_client/25_MsgDelegate.py index 9243b6d4..f8314399 100644 --- a/examples/chain_client/25_MsgDelegate.py +++ b/examples/chain_client/25_MsgDelegate.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -48,8 +49,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/26_MsgWithdrawDelegatorReward.py b/examples/chain_client/26_MsgWithdrawDelegatorReward.py index 61b9fbef..5e6e982f 100644 --- a/examples/chain_client/26_MsgWithdrawDelegatorReward.py +++ b/examples/chain_client/26_MsgWithdrawDelegatorReward.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -47,8 +48,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/2_MsgDeposit.py b/examples/chain_client/2_MsgDeposit.py index 13febc04..8afa3d60 100644 --- a/examples/chain_client/2_MsgDeposit.py +++ b/examples/chain_client/2_MsgDeposit.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -44,8 +45,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/30_ExternalTransfer.py b/examples/chain_client/30_ExternalTransfer.py index c5dbcc53..9d98fbd1 100644 --- a/examples/chain_client/30_ExternalTransfer.py +++ b/examples/chain_client/30_ExternalTransfer.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -51,8 +52,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py b/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py index f2bae417..a2e6e714 100644 --- a/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py +++ b/examples/chain_client/31_MsgCreateBinaryOptionsLimitOrder.py @@ -2,9 +2,10 @@ import uuid from pyinjective.async_client import AsyncClient -from pyinjective.constant import Denom +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction +from pyinjective.utils.denom import Denom from pyinjective.wallet import PrivateKey @@ -68,8 +69,8 @@ async def main() -> None: print(sim_res_msg) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py b/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py index e7c0014f..98645c7f 100644 --- a/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py +++ b/examples/chain_client/32_MsgCreateBinaryOptionsMarketOrder.py @@ -2,6 +2,7 @@ import uuid from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -62,8 +63,8 @@ async def main() -> None: print(sim_res_msg) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py b/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py index 9daaf419..9ae1d009 100644 --- a/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py +++ b/examples/chain_client/33_MsgCancelBinaryOptionsOrder.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -53,8 +54,8 @@ async def main() -> None: print(sim_res_msg) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py b/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py index da3966e0..cf7a6356 100644 --- a/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py +++ b/examples/chain_client/34_MsgAdminUpdateBinaryOptionsMarket.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -61,8 +62,8 @@ async def main() -> None: print(sim_res_msg) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py b/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py index 1116a669..8e043d64 100644 --- a/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py +++ b/examples/chain_client/35_MsgInstantBinaryOptionsMarketLaunch.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -63,8 +64,8 @@ async def main() -> None: print(sim_res_msg) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/36_MsgRelayProviderPrices.py b/examples/chain_client/36_MsgRelayProviderPrices.py index 2068c572..0fe33f7f 100644 --- a/examples/chain_client/36_MsgRelayProviderPrices.py +++ b/examples/chain_client/36_MsgRelayProviderPrices.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -53,8 +54,8 @@ async def main() -> None: print(sim_res_msg) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/3_MsgCreateSpotLimitOrder.py b/examples/chain_client/3_MsgCreateSpotLimitOrder.py index 59ed197c..95ad7970 100644 --- a/examples/chain_client/3_MsgCreateSpotLimitOrder.py +++ b/examples/chain_client/3_MsgCreateSpotLimitOrder.py @@ -2,6 +2,7 @@ import uuid from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -64,8 +65,8 @@ async def main() -> None: print(sim_res_msg) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/40_MsgExecuteContract.py b/examples/chain_client/40_MsgExecuteContract.py index 3d92b825..677d9cc2 100644 --- a/examples/chain_client/40_MsgExecuteContract.py +++ b/examples/chain_client/40_MsgExecuteContract.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -58,8 +59,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/41_MsgCreateInsuranceFund.py b/examples/chain_client/41_MsgCreateInsuranceFund.py index 86f7b0b6..d287638c 100644 --- a/examples/chain_client/41_MsgCreateInsuranceFund.py +++ b/examples/chain_client/41_MsgCreateInsuranceFund.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -52,8 +53,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/42_MsgUnderwrite.py b/examples/chain_client/42_MsgUnderwrite.py index 087aae33..6764e933 100644 --- a/examples/chain_client/42_MsgUnderwrite.py +++ b/examples/chain_client/42_MsgUnderwrite.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -48,8 +49,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/43_MsgRequestRedemption.py b/examples/chain_client/43_MsgRequestRedemption.py index 7379f055..db3f31fe 100644 --- a/examples/chain_client/43_MsgRequestRedemption.py +++ b/examples/chain_client/43_MsgRequestRedemption.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -48,8 +49,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py b/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py index 4ab89394..879f705a 100644 --- a/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py +++ b/examples/chain_client/48_WithdrawValidatorCommissionAndRewards.py @@ -2,6 +2,7 @@ from pyinjective.async_client import AsyncClient from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -52,8 +53,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/4_MsgCreateSpotMarketOrder.py b/examples/chain_client/4_MsgCreateSpotMarketOrder.py index 449165d3..a721fed5 100644 --- a/examples/chain_client/4_MsgCreateSpotMarketOrder.py +++ b/examples/chain_client/4_MsgCreateSpotMarketOrder.py @@ -2,6 +2,7 @@ import uuid from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -62,8 +63,8 @@ async def main() -> None: print(sim_res_msg) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/5_MsgCancelSpotOrder.py b/examples/chain_client/5_MsgCancelSpotOrder.py index f94638bd..fdb43f12 100644 --- a/examples/chain_client/5_MsgCancelSpotOrder.py +++ b/examples/chain_client/5_MsgCancelSpotOrder.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -50,8 +51,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py b/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py index 8e65363f..c50e1340 100644 --- a/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py +++ b/examples/chain_client/6_MsgCreateDerivativeLimitOrder.py @@ -2,6 +2,7 @@ import uuid from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -64,8 +65,8 @@ async def main() -> None: print(sim_res_msg) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py b/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py index fdc458c4..b8bc6b8a 100644 --- a/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py +++ b/examples/chain_client/7_MsgCreateDerivativeMarketOrder.py @@ -2,6 +2,7 @@ import uuid from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -63,8 +64,8 @@ async def main() -> None: print(sim_res_msg) # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/examples/chain_client/8_MsgCancelDerivativeOrder.py b/examples/chain_client/8_MsgCancelDerivativeOrder.py index f2cda909..98c648c7 100644 --- a/examples/chain_client/8_MsgCancelDerivativeOrder.py +++ b/examples/chain_client/8_MsgCancelDerivativeOrder.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE from pyinjective.core.network import Network from pyinjective.transaction import Transaction from pyinjective.wallet import PrivateKey @@ -50,8 +51,8 @@ async def main() -> None: return # build tx - gas_price = 500000000 - gas_limit = sim_res.gas_info.gas_used + 20000 # add 20k for gas, fee computation + gas_price = GAS_PRICE + gas_limit = sim_res.gas_info.gas_used + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") fee = [ composer.Coin( diff --git a/pyinjective/constant.py b/pyinjective/constant.py index 3e8d0d40..91cc4839 100644 --- a/pyinjective/constant.py +++ b/pyinjective/constant.py @@ -1,8 +1,8 @@ import os from configparser import ConfigParser -MAX_CLIENT_ID_LENGTH = 128 -MAX_DATA_SIZE = 256 +GAS_PRICE = 500_000_000 +GAS_FEE_BUFFER_AMOUNT = 25_000 MAX_MEMO_CHARACTERS = 256 ADDITIONAL_CHAIN_FORMAT_DECIMALS = 18 TICKER_TOKENS_SEPARATOR = "/" @@ -22,43 +22,3 @@ "testnet": testnet_config, "mainnet": mainnet_config, } - - -class Denom: - def __init__( - self, description: str, base: int, quote: int, min_price_tick_size: float, min_quantity_tick_size: float - ): - self.description = description - self.base = base - self.quote = quote - self.min_price_tick_size = min_price_tick_size - self.min_quantity_tick_size = min_quantity_tick_size - - @classmethod - def load_market(cls, network, market_id): - if network == "devnet": - config = devnet_config - elif network == "testnet": - config = testnet_config - else: - config = mainnet_config - - return cls( - description=config[market_id]["description"], - base=int(config[market_id]["base"]), - quote=int(config[market_id]["quote"]), - min_price_tick_size=float(config[market_id]["min_price_tick_size"]), - min_quantity_tick_size=float(config[market_id]["min_quantity_tick_size"]), - ) - - @classmethod - def load_peggy_denom(cls, network, symbol): - if network == "devnet": - config = devnet_config - elif network == "local": - config = devnet_config - elif network == "testnet": - config = testnet_config - else: - config = mainnet_config - return config[symbol]["peggy_denom"], int(config[symbol]["decimals"]) diff --git a/pyinjective/core/market.py b/pyinjective/core/market.py index 58e648bb..228a3a52 100644 --- a/pyinjective/core/market.py +++ b/pyinjective/core/market.py @@ -2,8 +2,9 @@ from decimal import Decimal from typing import Optional -from pyinjective.constant import ADDITIONAL_CHAIN_FORMAT_DECIMALS, Denom +from pyinjective.constant import ADDITIONAL_CHAIN_FORMAT_DECIMALS from pyinjective.core.token import Token +from pyinjective.utils.denom import Denom @dataclass(eq=True, frozen=True) diff --git a/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py b/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py index 8966dc64..0fb99310 100644 --- a/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_campaign_rpc.proto\x12\x16injective_campaign_rpc\"n\n\x0eRankingRequest\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\"\xaa\x01\n\x0fRankingResponse\x12\x32\n\x08\x63\x61mpaign\x18\x01 \x01(\x0b\x32 .injective_campaign_rpc.Campaign\x12\x33\n\x05users\x18\x02 \x03(\x0b\x32$.injective_campaign_rpc.CampaignUser\x12.\n\x06paging\x18\x03 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\"\x99\x01\n\x08\x43\x61mpaign\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0btotal_score\x18\x04 \x01(\t\x12\x14\n\x0clast_updated\x18\x05 \x01(\x12\x12\x12\n\nstart_date\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_date\x18\x07 \x01(\x12\x12\x14\n\x0cis_claimable\x18\x08 \x01(\x08\"\xa2\x01\n\x0c\x43\x61mpaignUser\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05score\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_updated\x18\x05 \x01(\x08\x12\x14\n\x0c\x62lock_height\x18\x06 \x01(\x12\x12\x12\n\nblock_time\x18\x07 \x01(\x12\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t2r\n\x14InjectiveCampaignRPC\x12Z\n\x07Ranking\x12&.injective_campaign_rpc.RankingRequest\x1a\'.injective_campaign_rpc.RankingResponseB\x1bZ\x19/injective_campaign_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_campaign_rpc.proto\x12\x16injective_campaign_rpc\"n\n\x0eRankingRequest\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\"\xaa\x01\n\x0fRankingResponse\x12\x32\n\x08\x63\x61mpaign\x18\x01 \x01(\x0b\x32 .injective_campaign_rpc.Campaign\x12\x33\n\x05users\x18\x02 \x03(\x0b\x32$.injective_campaign_rpc.CampaignUser\x12.\n\x06paging\x18\x03 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\"\x99\x01\n\x08\x43\x61mpaign\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0btotal_score\x18\x04 \x01(\t\x12\x14\n\x0clast_updated\x18\x05 \x01(\x12\x12\x12\n\nstart_date\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_date\x18\x07 \x01(\x12\x12\x14\n\x0cis_claimable\x18\x08 \x01(\x08\"\xd3\x01\n\x0c\x43\x61mpaignUser\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05score\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_updated\x18\x05 \x01(\x08\x12\x14\n\x0c\x62lock_height\x18\x06 \x01(\x12\x12\x12\n\nblock_time\x18\x07 \x01(\x12\x12\x18\n\x10purchased_amount\x18\x08 \x01(\t\x12\x15\n\rgalxe_updated\x18\t \x01(\x08\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t2r\n\x14InjectiveCampaignRPC\x12Z\n\x07Ranking\x12&.injective_campaign_rpc.RankingRequest\x1a\'.injective_campaign_rpc.RankingResponseB\x1bZ\x19/injective_campaign_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -29,9 +29,9 @@ _globals['_CAMPAIGN']._serialized_start=351 _globals['_CAMPAIGN']._serialized_end=504 _globals['_CAMPAIGNUSER']._serialized_start=507 - _globals['_CAMPAIGNUSER']._serialized_end=669 - _globals['_PAGING']._serialized_start=671 - _globals['_PAGING']._serialized_end=763 - _globals['_INJECTIVECAMPAIGNRPC']._serialized_start=765 - _globals['_INJECTIVECAMPAIGNRPC']._serialized_end=879 + _globals['_CAMPAIGNUSER']._serialized_end=718 + _globals['_PAGING']._serialized_start=720 + _globals['_PAGING']._serialized_end=812 + _globals['_INJECTIVECAMPAIGNRPC']._serialized_start=814 + _globals['_INJECTIVECAMPAIGNRPC']._serialized_end=928 # @@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 index c467e6fc..d0649e67 100644 --- a/pyinjective/proto/exchange/injective_campaign_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_campaign_rpc_pb2_grpc.py @@ -27,7 +27,7 @@ class InjectiveCampaignRPCServicer(object): """ def Ranking(self, request, context): - """Lists all trading strategies + """Lists all participants in campaign """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py index c5f6caf2..470b01bb 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\x9d\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcb\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xa3\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xc2\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xc2\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xb0\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\x17\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xc2\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\x17\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -83,71 +83,71 @@ _globals['_PRICELEVELUPDATE']._serialized_start=4193 _globals['_PRICELEVELUPDATE']._serialized_end=4282 _globals['_ORDERSREQUEST']._serialized_start=4285 - _globals['_ORDERSREQUEST']._serialized_end=4570 - _globals['_ORDERSRESPONSE']._serialized_start=4573 - _globals['_ORDERSRESPONSE']._serialized_end=4721 - _globals['_DERIVATIVELIMITORDER']._serialized_start=4724 - _globals['_DERIVATIVELIMITORDER']._serialized_end=5183 - _globals['_POSITIONSREQUEST']._serialized_start=5186 - _globals['_POSITIONSREQUEST']._serialized_end=5388 - _globals['_POSITIONSRESPONSE']._serialized_start=5391 - _globals['_POSITIONSRESPONSE']._serialized_end=5543 - _globals['_DERIVATIVEPOSITION']._serialized_start=5546 - _globals['_DERIVATIVEPOSITION']._serialized_end=5825 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=5827 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=5903 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=5905 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6008 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6011 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6144 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6147 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6300 - _globals['_FUNDINGPAYMENT']._serialized_start=6302 - _globals['_FUNDINGPAYMENT']._serialized_end=6395 - _globals['_FUNDINGRATESREQUEST']._serialized_start=6397 - _globals['_FUNDINGRATESREQUEST']._serialized_end=6484 - _globals['_FUNDINGRATESRESPONSE']._serialized_start=6487 - _globals['_FUNDINGRATESRESPONSE']._serialized_end=6639 - _globals['_FUNDINGRATE']._serialized_start=6641 - _globals['_FUNDINGRATE']._serialized_end=6706 - _globals['_STREAMPOSITIONSREQUEST']._serialized_start=6708 - _globals['_STREAMPOSITIONSREQUEST']._serialized_end=6818 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=6820 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=6937 - _globals['_STREAMORDERSREQUEST']._serialized_start=6940 - _globals['_STREAMORDERSREQUEST']._serialized_end=7231 - _globals['_STREAMORDERSRESPONSE']._serialized_start=7234 - _globals['_STREAMORDERSRESPONSE']._serialized_end=7371 - _globals['_TRADESREQUEST']._serialized_start=7374 - _globals['_TRADESREQUEST']._serialized_end=7653 - _globals['_TRADESRESPONSE']._serialized_start=7656 - _globals['_TRADESRESPONSE']._serialized_end=7799 - _globals['_DERIVATIVETRADE']._serialized_start=7802 - _globals['_DERIVATIVETRADE']._serialized_end=8124 - _globals['_POSITIONDELTA']._serialized_start=8126 - _globals['_POSITIONDELTA']._serialized_end=8245 - _globals['_STREAMTRADESREQUEST']._serialized_start=8248 - _globals['_STREAMTRADESREQUEST']._serialized_end=8533 - _globals['_STREAMTRADESRESPONSE']._serialized_start=8536 - _globals['_STREAMTRADESRESPONSE']._serialized_end=8668 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=8670 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=8770 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=8773 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=8935 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=8938 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9081 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9083 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9181 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=9184 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=9506 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=9509 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=9666 - _globals['_DERIVATIVEORDERHISTORY']._serialized_start=9669 - _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10101 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10104 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10254 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10257 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10403 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10406 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=13421 + _globals['_ORDERSREQUEST']._serialized_end=4583 + _globals['_ORDERSRESPONSE']._serialized_start=4586 + _globals['_ORDERSRESPONSE']._serialized_end=4734 + _globals['_DERIVATIVELIMITORDER']._serialized_start=4737 + _globals['_DERIVATIVELIMITORDER']._serialized_end=5209 + _globals['_POSITIONSREQUEST']._serialized_start=5212 + _globals['_POSITIONSREQUEST']._serialized_end=5414 + _globals['_POSITIONSRESPONSE']._serialized_start=5417 + _globals['_POSITIONSRESPONSE']._serialized_end=5569 + _globals['_DERIVATIVEPOSITION']._serialized_start=5572 + _globals['_DERIVATIVEPOSITION']._serialized_end=5851 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=5853 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=5929 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=5931 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6034 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6037 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6170 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6173 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6326 + _globals['_FUNDINGPAYMENT']._serialized_start=6328 + _globals['_FUNDINGPAYMENT']._serialized_end=6421 + _globals['_FUNDINGRATESREQUEST']._serialized_start=6423 + _globals['_FUNDINGRATESREQUEST']._serialized_end=6510 + _globals['_FUNDINGRATESRESPONSE']._serialized_start=6513 + _globals['_FUNDINGRATESRESPONSE']._serialized_end=6665 + _globals['_FUNDINGRATE']._serialized_start=6667 + _globals['_FUNDINGRATE']._serialized_end=6732 + _globals['_STREAMPOSITIONSREQUEST']._serialized_start=6734 + _globals['_STREAMPOSITIONSREQUEST']._serialized_end=6844 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=6846 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=6963 + _globals['_STREAMORDERSREQUEST']._serialized_start=6966 + _globals['_STREAMORDERSREQUEST']._serialized_end=7270 + _globals['_STREAMORDERSRESPONSE']._serialized_start=7273 + _globals['_STREAMORDERSRESPONSE']._serialized_end=7410 + _globals['_TRADESREQUEST']._serialized_start=7413 + _globals['_TRADESREQUEST']._serialized_end=7692 + _globals['_TRADESRESPONSE']._serialized_start=7695 + _globals['_TRADESRESPONSE']._serialized_end=7838 + _globals['_DERIVATIVETRADE']._serialized_start=7841 + _globals['_DERIVATIVETRADE']._serialized_end=8163 + _globals['_POSITIONDELTA']._serialized_start=8165 + _globals['_POSITIONDELTA']._serialized_end=8284 + _globals['_STREAMTRADESREQUEST']._serialized_start=8287 + _globals['_STREAMTRADESREQUEST']._serialized_end=8572 + _globals['_STREAMTRADESRESPONSE']._serialized_start=8575 + _globals['_STREAMTRADESRESPONSE']._serialized_end=8707 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=8709 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=8809 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=8812 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=8974 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=8977 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9120 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9122 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9220 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=9223 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=9558 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=9561 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=9718 + _globals['_DERIVATIVEORDERHISTORY']._serialized_start=9721 + _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10166 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10169 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10319 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10322 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10468 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10471 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=13486 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py index e0ca7343..941ba933 100644 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"i\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x04 \x03(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xf1\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x94\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\xf7\x01\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x9b\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\x96\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xbb\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x8a\x01\n\x18\x41tomicSwapHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x05 \x01(\x11\x12\x11\n\tto_number\x18\x06 \x01(\x11\"\x87\x01\n\x19\x41tomicSwapHistoryResponse\x12\x33\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwap\"\xdc\x02\n\nAtomicSwap\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05route\x18\x02 \x01(\t\x12\x36\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x34\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12/\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x18\n\x10\x63ontract_address\x18\x06 \x01(\t\x12\x17\n\x0findex_by_sender\x18\x07 \x01(\x11\x12 \n\x18index_by_sender_contract\x18\x08 \x01(\x11\x12\x0f\n\x07tx_hash\x18\t \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\n \x01(\x12\x12\x15\n\rrefund_amount\x18\x0b \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xb8\x0f\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\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 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"i\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x04 \x03(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xfe\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa1\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\x84\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x9b\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\xa3\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xc8\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x8a\x01\n\x18\x41tomicSwapHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x05 \x01(\x11\x12\x11\n\tto_number\x18\x06 \x01(\x11\"\x87\x01\n\x19\x41tomicSwapHistoryResponse\x12\x33\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwap\"\xdc\x02\n\nAtomicSwap\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05route\x18\x02 \x01(\t\x12\x36\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x34\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12/\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x18\n\x10\x63ontract_address\x18\x06 \x01(\t\x12\x17\n\x0findex_by_sender\x18\x07 \x01(\x11\x12 \n\x18index_by_sender_contract\x18\x08 \x01(\x11\x12\x0f\n\x07tx_hash\x18\t \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\n \x01(\x12\x12\x15\n\rrefund_amount\x18\x0b \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xb8\x0f\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\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 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -65,53 +65,53 @@ _globals['_PRICELEVELUPDATE']._serialized_start=2336 _globals['_PRICELEVELUPDATE']._serialized_end=2425 _globals['_ORDERSREQUEST']._serialized_start=2428 - _globals['_ORDERSREQUEST']._serialized_end=2669 - _globals['_ORDERSRESPONSE']._serialized_start=2672 - _globals['_ORDERSRESPONSE']._serialized_end=2802 - _globals['_SPOTLIMITORDER']._serialized_start=2805 - _globals['_SPOTLIMITORDER']._serialized_end=3081 - _globals['_PAGING']._serialized_start=3083 - _globals['_PAGING']._serialized_end=3175 - _globals['_STREAMORDERSREQUEST']._serialized_start=3178 - _globals['_STREAMORDERSREQUEST']._serialized_end=3425 - _globals['_STREAMORDERSRESPONSE']._serialized_start=3427 - _globals['_STREAMORDERSRESPONSE']._serialized_end=3552 - _globals['_TRADESREQUEST']._serialized_start=3555 - _globals['_TRADESREQUEST']._serialized_end=3834 - _globals['_TRADESRESPONSE']._serialized_start=3836 - _globals['_TRADESRESPONSE']._serialized_end=3961 - _globals['_SPOTTRADE']._serialized_start=3964 - _globals['_SPOTTRADE']._serialized_end=4247 - _globals['_STREAMTRADESREQUEST']._serialized_start=4250 - _globals['_STREAMTRADESREQUEST']._serialized_end=4535 - _globals['_STREAMTRADESRESPONSE']._serialized_start=4537 - _globals['_STREAMTRADESRESPONSE']._serialized_end=4657 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=4659 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=4759 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=4762 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=4906 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=4909 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5052 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5054 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5140 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=5143 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=5421 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5424 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=5563 - _globals['_SPOTORDERHISTORY']._serialized_start=5566 - _globals['_SPOTORDERHISTORY']._serialized_end=5881 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=5884 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6034 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6037 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6171 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=6174 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=6312 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=6315 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=6450 - _globals['_ATOMICSWAP']._serialized_start=6453 - _globals['_ATOMICSWAP']._serialized_end=6801 - _globals['_COIN']._serialized_start=6803 - _globals['_COIN']._serialized_end=6840 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6843 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8819 + _globals['_ORDERSREQUEST']._serialized_end=2682 + _globals['_ORDERSRESPONSE']._serialized_start=2685 + _globals['_ORDERSRESPONSE']._serialized_end=2815 + _globals['_SPOTLIMITORDER']._serialized_start=2818 + _globals['_SPOTLIMITORDER']._serialized_end=3107 + _globals['_PAGING']._serialized_start=3109 + _globals['_PAGING']._serialized_end=3201 + _globals['_STREAMORDERSREQUEST']._serialized_start=3204 + _globals['_STREAMORDERSREQUEST']._serialized_end=3464 + _globals['_STREAMORDERSRESPONSE']._serialized_start=3466 + _globals['_STREAMORDERSRESPONSE']._serialized_end=3591 + _globals['_TRADESREQUEST']._serialized_start=3594 + _globals['_TRADESREQUEST']._serialized_end=3873 + _globals['_TRADESRESPONSE']._serialized_start=3875 + _globals['_TRADESRESPONSE']._serialized_end=4000 + _globals['_SPOTTRADE']._serialized_start=4003 + _globals['_SPOTTRADE']._serialized_end=4286 + _globals['_STREAMTRADESREQUEST']._serialized_start=4289 + _globals['_STREAMTRADESREQUEST']._serialized_end=4574 + _globals['_STREAMTRADESRESPONSE']._serialized_start=4576 + _globals['_STREAMTRADESRESPONSE']._serialized_end=4696 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=4698 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=4798 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=4801 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=4945 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=4948 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5091 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5093 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5179 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=5182 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=5473 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5476 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=5615 + _globals['_SPOTORDERHISTORY']._serialized_start=5618 + _globals['_SPOTORDERHISTORY']._serialized_end=5946 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=5949 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6099 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6102 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6236 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=6239 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=6377 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=6380 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=6515 + _globals['_ATOMICSWAP']._serialized_start=6518 + _globals['_ATOMICSWAP']._serialized_end=6866 + _globals['_COIN']._serialized_start=6868 + _globals['_COIN']._serialized_end=6905 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6908 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8884 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/query_pb2_grpc.py index eddf29a9..f894823a 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/query_pb2_grpc.py @@ -653,7 +653,8 @@ def MitoVaultInfos(self, request, context): raise NotImplementedError('Method not implemented!') def QueryMarketIDFromVault(self, request, context): - """QueryMarketIDFromVault returns the market ID for a given vault subaccount ID + """QueryMarketIDFromVault returns the market ID for a given vault subaccount + ID """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') diff --git a/pyinjective/utils/denom.py b/pyinjective/utils/denom.py new file mode 100644 index 00000000..2a890c13 --- /dev/null +++ b/pyinjective/utils/denom.py @@ -0,0 +1,41 @@ +from pyinjective.constant import devnet_config, mainnet_config, testnet_config + + +class Denom: + def __init__( + self, description: str, base: int, quote: int, min_price_tick_size: float, min_quantity_tick_size: float + ): + self.description = description + self.base = base + self.quote = quote + self.min_price_tick_size = min_price_tick_size + self.min_quantity_tick_size = min_quantity_tick_size + + @classmethod + def load_market(cls, network, market_id): + if network == "devnet": + config = devnet_config + elif network == "testnet": + config = testnet_config + else: + config = mainnet_config + + return cls( + description=config[market_id]["description"], + base=int(config[market_id]["base"]), + quote=int(config[market_id]["quote"]), + min_price_tick_size=float(config[market_id]["min_price_tick_size"]), + min_quantity_tick_size=float(config[market_id]["min_quantity_tick_size"]), + ) + + @classmethod + def load_peggy_denom(cls, network, symbol): + if network == "devnet": + config = devnet_config + elif network == "local": + config = devnet_config + elif network == "testnet": + config = testnet_config + else: + config = mainnet_config + return config[symbol]["peggy_denom"], int(config[symbol]["decimals"]) diff --git a/pyinjective/utils/metadata_validation.py b/pyinjective/utils/metadata_validation.py index 892ef8d5..4c913315 100644 --- a/pyinjective/utils/metadata_validation.py +++ b/pyinjective/utils/metadata_validation.py @@ -3,6 +3,7 @@ from typing import Any, List, Tuple import pyinjective.constant as constant +import pyinjective.utils.denom from pyinjective.async_client import AsyncClient from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from pyinjective.core.network import Network @@ -24,7 +25,7 @@ def find_metadata_inconsistencies(network: Network) -> Tuple[List[Any]]: for config_key in ini_config: if config_key.startswith("0x"): - denom = constant.Denom.load_market(network=network.string(), market_id=config_key) + denom = pyinjective.utils.denom.Denom.load_market(network=network.string(), market_id=config_key) if config_key in spot_markets: market: SpotMarket = spot_markets[config_key] if ( @@ -107,7 +108,9 @@ def find_metadata_inconsistencies(network: Network) -> Tuple[List[Any]]: continue else: # the configuration is a token - peggy_denom, decimals = constant.Denom.load_peggy_denom(network=network.string(), symbol=config_key) + peggy_denom, decimals = pyinjective.utils.denom.Denom.load_peggy_denom( + network=network.string(), symbol=config_key + ) if config_key in all_tokens: token = all_tokens[config_key] if token.denom != peggy_denom or token.decimals != decimals: diff --git a/pyproject.toml b/pyproject.toml index cb21938d..0104d0df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.0" +version = "1.0-rc1" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" diff --git a/tests/core/test_market.py b/tests/core/test_market.py index 003f39a2..93d958df 100644 --- a/tests/core/test_market.py +++ b/tests/core/test_market.py @@ -1,7 +1,7 @@ from decimal import Decimal -from pyinjective.constant import Denom from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket +from pyinjective.utils.denom import Denom 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 diff --git a/tests/test_composer.py b/tests/test_composer.py index c36eb5c5..f3a9bdc2 100644 --- a/tests/test_composer.py +++ b/tests/test_composer.py @@ -3,10 +3,10 @@ import pytest from pyinjective.composer import Composer -from pyinjective.constant import Denom from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from pyinjective.core.network import Network from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 +from pyinjective.utils.denom import Denom 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 df2f01be8f5e6451730c371f1810c527e5185a72 Mon Sep 17 00:00:00 2001 From: abel Date: Tue, 7 Nov 2023 00:39:27 -0300 Subject: [PATCH 41/83] (fix) Updated proto definitions --- CHANGELOG.md | 4 ++ .../injective_derivative_exchange_rpc_pb2.py | 56 +++++++-------- .../injective_spot_exchange_rpc_pb2.py | 68 +++++++++---------- pyproject.toml | 2 +- 4 files changed, 67 insertions(+), 63 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fc5a881..d1f5221f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## [1.0.1] - 2023-11-07 +### Changed +- Updated proto definitions to injective-core v1.12.2-testnet and injective-indexer v1.12.45-rc3 + ## [1.0] - 2023-11-01 ### Added - Added logic to support use of Client Order ID (CID) new identifier in OrderInfo diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py index 470b01bb..a085896c 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xc2\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\x17\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcf\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\x12\x0b\n\x03\x63id\x18\r \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\x17\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -123,31 +123,31 @@ _globals['_TRADESRESPONSE']._serialized_start=7695 _globals['_TRADESRESPONSE']._serialized_end=7838 _globals['_DERIVATIVETRADE']._serialized_start=7841 - _globals['_DERIVATIVETRADE']._serialized_end=8163 - _globals['_POSITIONDELTA']._serialized_start=8165 - _globals['_POSITIONDELTA']._serialized_end=8284 - _globals['_STREAMTRADESREQUEST']._serialized_start=8287 - _globals['_STREAMTRADESREQUEST']._serialized_end=8572 - _globals['_STREAMTRADESRESPONSE']._serialized_start=8575 - _globals['_STREAMTRADESRESPONSE']._serialized_end=8707 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=8709 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=8809 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=8812 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=8974 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=8977 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9120 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9122 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9220 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=9223 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=9558 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=9561 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=9718 - _globals['_DERIVATIVEORDERHISTORY']._serialized_start=9721 - _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10166 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10169 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10319 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10322 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10468 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10471 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=13486 + _globals['_DERIVATIVETRADE']._serialized_end=8176 + _globals['_POSITIONDELTA']._serialized_start=8178 + _globals['_POSITIONDELTA']._serialized_end=8297 + _globals['_STREAMTRADESREQUEST']._serialized_start=8300 + _globals['_STREAMTRADESREQUEST']._serialized_end=8585 + _globals['_STREAMTRADESRESPONSE']._serialized_start=8588 + _globals['_STREAMTRADESRESPONSE']._serialized_end=8720 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=8722 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=8822 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=8825 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=8987 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=8990 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9133 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9135 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9233 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=9236 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=9571 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=9574 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=9731 + _globals['_DERIVATIVEORDERHISTORY']._serialized_start=9734 + _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10179 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10182 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10332 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10335 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10481 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10484 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=13499 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py index 941ba933..22a72af1 100644 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"i\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x04 \x03(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xfe\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa1\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\x84\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x9b\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\xa3\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xc8\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x8a\x01\n\x18\x41tomicSwapHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x05 \x01(\x11\x12\x11\n\tto_number\x18\x06 \x01(\x11\"\x87\x01\n\x19\x41tomicSwapHistoryResponse\x12\x33\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwap\"\xdc\x02\n\nAtomicSwap\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05route\x18\x02 \x01(\t\x12\x36\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x34\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12/\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x18\n\x10\x63ontract_address\x18\x06 \x01(\t\x12\x17\n\x0findex_by_sender\x18\x07 \x01(\x11\x12 \n\x18index_by_sender_contract\x18\x08 \x01(\x11\x12\x0f\n\x07tx_hash\x18\t \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\n \x01(\x12\x12\x15\n\rrefund_amount\x18\x0b \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xb8\x0f\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\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 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"i\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x04 \x03(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xfe\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa1\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\x84\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa8\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\xa3\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xc8\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x8a\x01\n\x18\x41tomicSwapHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x05 \x01(\x11\x12\x11\n\tto_number\x18\x06 \x01(\x11\"\x87\x01\n\x19\x41tomicSwapHistoryResponse\x12\x33\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwap\"\xdc\x02\n\nAtomicSwap\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05route\x18\x02 \x01(\t\x12\x36\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x34\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12/\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x18\n\x10\x63ontract_address\x18\x06 \x01(\t\x12\x17\n\x0findex_by_sender\x18\x07 \x01(\x11\x12 \n\x18index_by_sender_contract\x18\x08 \x01(\x11\x12\x0f\n\x07tx_hash\x18\t \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\n \x01(\x12\x12\x15\n\rrefund_amount\x18\x0b \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xb8\x0f\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\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 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -81,37 +81,37 @@ _globals['_TRADESRESPONSE']._serialized_start=3875 _globals['_TRADESRESPONSE']._serialized_end=4000 _globals['_SPOTTRADE']._serialized_start=4003 - _globals['_SPOTTRADE']._serialized_end=4286 - _globals['_STREAMTRADESREQUEST']._serialized_start=4289 - _globals['_STREAMTRADESREQUEST']._serialized_end=4574 - _globals['_STREAMTRADESRESPONSE']._serialized_start=4576 - _globals['_STREAMTRADESRESPONSE']._serialized_end=4696 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=4698 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=4798 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=4801 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=4945 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=4948 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5091 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5093 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5179 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=5182 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=5473 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5476 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=5615 - _globals['_SPOTORDERHISTORY']._serialized_start=5618 - _globals['_SPOTORDERHISTORY']._serialized_end=5946 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=5949 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6099 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6102 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6236 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=6239 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=6377 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=6380 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=6515 - _globals['_ATOMICSWAP']._serialized_start=6518 - _globals['_ATOMICSWAP']._serialized_end=6866 - _globals['_COIN']._serialized_start=6868 - _globals['_COIN']._serialized_end=6905 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6908 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8884 + _globals['_SPOTTRADE']._serialized_end=4299 + _globals['_STREAMTRADESREQUEST']._serialized_start=4302 + _globals['_STREAMTRADESREQUEST']._serialized_end=4587 + _globals['_STREAMTRADESRESPONSE']._serialized_start=4589 + _globals['_STREAMTRADESRESPONSE']._serialized_end=4709 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=4711 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=4811 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=4814 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=4958 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=4961 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5104 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5106 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5192 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=5195 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=5486 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5489 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=5628 + _globals['_SPOTORDERHISTORY']._serialized_start=5631 + _globals['_SPOTORDERHISTORY']._serialized_end=5959 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=5962 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6112 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6115 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6249 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=6252 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=6390 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=6393 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=6528 + _globals['_ATOMICSWAP']._serialized_start=6531 + _globals['_ATOMICSWAP']._serialized_end=6879 + _globals['_COIN']._serialized_start=6881 + _globals['_COIN']._serialized_end=6918 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6921 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8897 # @@protoc_insertion_point(module_scope) diff --git a/pyproject.toml b/pyproject.toml index 0104d0df..24feb921 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.0-rc1" +version = "1.0.1-rc1" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" From 14bfbb7c8368d4a69660e705ac984a32f4f56cd0 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 8 Nov 2023 16:48:49 -0300 Subject: [PATCH 42/83] (fix) Updated proto definitions based on injective-core v1.12.4-testnet. Added missing filter parameters in all spot and derivative query and stream messages --- pyinjective/async_client.py | 102 ++++++++++++++---- .../injective_derivative_exchange_rpc_pb2.py | 64 +++++------ .../injective_spot_exchange_rpc_pb2.py | 76 ++++++------- .../injective/oracle/v1beta1/oracle_pb2.py | 86 +++++++-------- 4 files changed, 196 insertions(+), 132 deletions(-) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 5e2fc02c..44b72d14 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -515,6 +515,13 @@ async def get_spot_orders(self, market_id: str, **kwargs): 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"), ) return await self.stubSpotExchange.Orders(req) @@ -522,33 +529,43 @@ async def get_historical_spot_orders(self, market_id: Optional[str] = None, **kw 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( - market_ids=kwargs.get("market_ids", []), - direction=kwargs.get("direction"), - order_types=kwargs.get("order_types", []), - execution_types=kwargs.get("execution_types", []), 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 get_spot_trades(self, **kwargs): req = spot_exchange_rpc_pb.TradesRequest( market_id=kwargs.get("market_id"), - market_ids=kwargs.get("market_ids"), execution_side=kwargs.get("execution_side"), direction=kwargs.get("direction"), subaccount_id=kwargs.get("subaccount_id"), - subaccount_ids=kwargs.get("subaccount_ids"), 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) @@ -571,6 +588,15 @@ async def stream_spot_orders(self, market_id: str, **kwargs): 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 = await self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor @@ -608,12 +634,19 @@ async def stream_historical_derivative_orders(self, market_id: str, **kwargs): async def stream_spot_trades(self, **kwargs): req = spot_exchange_rpc_pb.StreamTradesRequest( market_id=kwargs.get("market_id"), - market_ids=kwargs.get("market_ids"), 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 = await self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor @@ -679,6 +712,15 @@ async def get_derivative_orders(self, market_id: str, **kwargs): 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) @@ -691,33 +733,39 @@ async def get_historical_derivative_orders(self, market_id: Optional[str] = None if order_type is not None: order_types.append(market_id) req = derivative_exchange_rpc_pb.OrdersHistoryRequest( - market_ids=market_ids, - direction=kwargs.get("direction"), - order_types=order_types, - execution_types=kwargs.get("execution_types", []), subaccount_id=kwargs.get("subaccount_id"), - is_conditional=kwargs.get("is_conditional"), 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 get_derivative_trades(self, **kwargs): req = derivative_exchange_rpc_pb.TradesRequest( market_id=kwargs.get("market_id"), - market_ids=kwargs.get("market_ids"), - subaccount_id=kwargs.get("subaccount_id"), - subaccount_ids=kwargs.get("subaccount_ids"), 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) @@ -738,8 +786,19 @@ async def stream_derivative_orderbook_update(self, market_ids: List[str]): async def stream_derivative_orders(self, market_id: str, **kwargs): req = derivative_exchange_rpc_pb.StreamOrdersRequest( market_id=market_id, - order_side=kwargs.get("order_side"), + 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 = await self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor @@ -749,14 +808,19 @@ async def stream_derivative_orders(self, market_id: str, **kwargs): async def stream_derivative_trades(self, **kwargs): req = derivative_exchange_rpc_pb.StreamTradesRequest( market_id=kwargs.get("market_id"), - market_ids=kwargs.get("market_ids"), - subaccount_id=kwargs.get("subaccount_id"), - subaccount_ids=kwargs.get("subaccount_ids"), 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 = await self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py index a085896c..601fab92 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcf\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\x12\x0b\n\x03\x63id\x18\r \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\x17\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcf\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\x12\x0b\n\x03\x63id\x18\r \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\x17\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -119,35 +119,35 @@ _globals['_STREAMORDERSRESPONSE']._serialized_start=7273 _globals['_STREAMORDERSRESPONSE']._serialized_end=7410 _globals['_TRADESREQUEST']._serialized_start=7413 - _globals['_TRADESREQUEST']._serialized_end=7692 - _globals['_TRADESRESPONSE']._serialized_start=7695 - _globals['_TRADESRESPONSE']._serialized_end=7838 - _globals['_DERIVATIVETRADE']._serialized_start=7841 - _globals['_DERIVATIVETRADE']._serialized_end=8176 - _globals['_POSITIONDELTA']._serialized_start=8178 - _globals['_POSITIONDELTA']._serialized_end=8297 - _globals['_STREAMTRADESREQUEST']._serialized_start=8300 - _globals['_STREAMTRADESREQUEST']._serialized_end=8585 - _globals['_STREAMTRADESRESPONSE']._serialized_start=8588 - _globals['_STREAMTRADESRESPONSE']._serialized_end=8720 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=8722 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=8822 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=8825 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=8987 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=8990 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9133 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9135 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9233 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=9236 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=9571 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=9574 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=9731 - _globals['_DERIVATIVEORDERHISTORY']._serialized_start=9734 - _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10179 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10182 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10332 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10335 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10481 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10484 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=13499 + _globals['_TRADESREQUEST']._serialized_end=7705 + _globals['_TRADESRESPONSE']._serialized_start=7708 + _globals['_TRADESRESPONSE']._serialized_end=7851 + _globals['_DERIVATIVETRADE']._serialized_start=7854 + _globals['_DERIVATIVETRADE']._serialized_end=8189 + _globals['_POSITIONDELTA']._serialized_start=8191 + _globals['_POSITIONDELTA']._serialized_end=8310 + _globals['_STREAMTRADESREQUEST']._serialized_start=8313 + _globals['_STREAMTRADESREQUEST']._serialized_end=8611 + _globals['_STREAMTRADESRESPONSE']._serialized_start=8614 + _globals['_STREAMTRADESRESPONSE']._serialized_end=8746 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=8748 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=8848 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=8851 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=9013 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=9016 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9159 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9161 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9259 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=9262 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=9597 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=9600 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=9757 + _globals['_DERIVATIVEORDERHISTORY']._serialized_start=9760 + _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10205 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10208 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10358 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10361 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10507 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10510 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=13525 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py index 22a72af1..a3db2316 100644 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"i\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x04 \x03(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xfe\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa1\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\x84\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x97\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa8\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\x9d\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\xa3\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xc8\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x8a\x01\n\x18\x41tomicSwapHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x05 \x01(\x11\x12\x11\n\tto_number\x18\x06 \x01(\x11\"\x87\x01\n\x19\x41tomicSwapHistoryResponse\x12\x33\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwap\"\xdc\x02\n\nAtomicSwap\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05route\x18\x02 \x01(\t\x12\x36\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x34\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12/\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x18\n\x10\x63ontract_address\x18\x06 \x01(\t\x12\x17\n\x0findex_by_sender\x18\x07 \x01(\x11\x12 \n\x18index_by_sender_contract\x18\x08 \x01(\x11\x12\x0f\n\x07tx_hash\x18\t \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\n \x01(\x12\x12\x15\n\rrefund_amount\x18\x0b \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xb8\x0f\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\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 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"i\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x04 \x03(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xfe\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa1\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\x84\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa8\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\xa3\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xc8\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x8a\x01\n\x18\x41tomicSwapHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x05 \x01(\x11\x12\x11\n\tto_number\x18\x06 \x01(\x11\"\x87\x01\n\x19\x41tomicSwapHistoryResponse\x12\x33\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwap\"\xdc\x02\n\nAtomicSwap\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05route\x18\x02 \x01(\t\x12\x36\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x34\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12/\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x18\n\x10\x63ontract_address\x18\x06 \x01(\t\x12\x17\n\x0findex_by_sender\x18\x07 \x01(\x11\x12 \n\x18index_by_sender_contract\x18\x08 \x01(\x11\x12\x0f\n\x07tx_hash\x18\t \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\n \x01(\x12\x12\x15\n\rrefund_amount\x18\x0b \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xb8\x0f\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\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 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -77,41 +77,41 @@ _globals['_STREAMORDERSRESPONSE']._serialized_start=3466 _globals['_STREAMORDERSRESPONSE']._serialized_end=3591 _globals['_TRADESREQUEST']._serialized_start=3594 - _globals['_TRADESREQUEST']._serialized_end=3873 - _globals['_TRADESRESPONSE']._serialized_start=3875 - _globals['_TRADESRESPONSE']._serialized_end=4000 - _globals['_SPOTTRADE']._serialized_start=4003 - _globals['_SPOTTRADE']._serialized_end=4299 - _globals['_STREAMTRADESREQUEST']._serialized_start=4302 - _globals['_STREAMTRADESREQUEST']._serialized_end=4587 - _globals['_STREAMTRADESRESPONSE']._serialized_start=4589 - _globals['_STREAMTRADESRESPONSE']._serialized_end=4709 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=4711 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=4811 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=4814 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=4958 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=4961 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5104 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5106 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5192 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=5195 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=5486 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5489 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=5628 - _globals['_SPOTORDERHISTORY']._serialized_start=5631 - _globals['_SPOTORDERHISTORY']._serialized_end=5959 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=5962 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6112 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6115 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6249 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=6252 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=6390 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=6393 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=6528 - _globals['_ATOMICSWAP']._serialized_start=6531 - _globals['_ATOMICSWAP']._serialized_end=6879 - _globals['_COIN']._serialized_start=6881 - _globals['_COIN']._serialized_end=6918 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6921 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8897 + _globals['_TRADESREQUEST']._serialized_end=3886 + _globals['_TRADESRESPONSE']._serialized_start=3888 + _globals['_TRADESRESPONSE']._serialized_end=4013 + _globals['_SPOTTRADE']._serialized_start=4016 + _globals['_SPOTTRADE']._serialized_end=4312 + _globals['_STREAMTRADESREQUEST']._serialized_start=4315 + _globals['_STREAMTRADESREQUEST']._serialized_end=4613 + _globals['_STREAMTRADESRESPONSE']._serialized_start=4615 + _globals['_STREAMTRADESRESPONSE']._serialized_end=4735 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=4737 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=4837 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=4840 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=4984 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=4987 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5130 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5132 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5218 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=5221 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=5512 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5515 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=5654 + _globals['_SPOTORDERHISTORY']._serialized_start=5657 + _globals['_SPOTORDERHISTORY']._serialized_end=5985 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=5988 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6138 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6141 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6275 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=6278 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=6416 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=6419 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=6554 + _globals['_ATOMICSWAP']._serialized_start=6557 + _globals['_ATOMICSWAP']._serialized_end=6905 + _globals['_COIN']._serialized_start=6907 + _globals['_COIN']._serialized_end=6944 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6947 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8923 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py index 664488c9..782037b1 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py @@ -15,7 +15,7 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__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\"%\n\x06Params\x12\x15\n\rpyth_contract\x18\x01 \x01(\t:\x04\xe8\xa0\x1f\x01\"m\n\nOracleInfo\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x39\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x14\n\x0cscale_factor\x18\x03 \x01(\r\"\xba\x01\n\x13\x43hainlinkPriceState\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12>\n\x06\x61nswer\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\ttimestamp\x18\x03 \x01(\x04\x12?\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\xc9\x01\n\x0e\x42\x61ndPriceState\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12<\n\x04rate\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x14\n\x0cresolve_time\x18\x03 \x01(\x04\x12\x12\n\nrequest_ID\x18\x04 \x01(\x04\x12?\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"z\n\x0ePriceFeedState\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\t\x12\r\n\x05quote\x18\x02 \x01(\t\x12\x39\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceState\x12\x10\n\x08relayers\x18\x04 \x03(\t\"2\n\x0cProviderInfo\x12\x10\n\x08provider\x18\x01 \x01(\t\x12\x10\n\x08relayers\x18\x02 \x03(\t\"\x9b\x01\n\rProviderState\x12=\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfo\x12K\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceState\"Y\n\x12ProviderPriceState\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x33\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceState\",\n\rPriceFeedInfo\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\t\x12\r\n\x05quote\x18\x02 \x01(\t\"O\n\x0ePriceFeedPrice\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x92\x01\n\x12\x43oinbasePriceState\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x0b\n\x03key\x18\x03 \x01(\t\x12\r\n\x05value\x18\x04 \x01(\x04\x12?\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\nPriceState\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x63umulative_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\xbc\x02\n\x0ePythPriceState\x12\x10\n\x08price_id\x18\x01 \x01(\t\x12\x41\n\tema_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x65ma_conf\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12<\n\x04\x63onf\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cpublish_time\x18\x05 \x01(\x04\x12?\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\x9c\x02\n\x11\x42\x61ndOracleRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12\x18\n\x10oracle_script_id\x18\x02 \x01(\x03\x12\x0f\n\x07symbols\x18\x03 \x03(\t\x12\x11\n\task_count\x18\x04 \x01(\x04\x12\x11\n\tmin_count\x18\x05 \x01(\x04\x12^\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.Coins\x12\x13\n\x0bprepare_gas\x18\x07 \x01(\x04\x12\x13\n\x0b\x65xecute_gas\x18\x08 \x01(\x04\x12\x18\n\x10min_source_count\x18\t \x01(\x04\"\xa8\x01\n\rBandIBCParams\x12\x18\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08\x12\x1c\n\x14ibc_request_interval\x18\x02 \x01(\x03\x12\x1a\n\x12ibc_source_channel\x18\x03 \x01(\t\x12\x13\n\x0bibc_version\x18\x04 \x01(\t\x12\x13\n\x0bibc_port_id\x18\x05 \x01(\t\x12\x19\n\x11legacy_oracle_ids\x18\x06 \x03(\x03\"r\n\x14SymbolPriceTimestamp\x12\x34\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x11\n\tsymbol_id\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"d\n\x13LastPriceTimestamps\x12M\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestamp\"\x9c\x01\n\x0cPriceRecords\x12\x34\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x11\n\tsymbol_id\x18\x02 \x01(\t\x12\x43\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecord\"_\n\x0bPriceRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xbf\x03\n\x12MetadataStatistics\x12\x13\n\x0bgroup_count\x18\x01 \x01(\r\x12\x1b\n\x13records_sample_size\x18\x02 \x01(\r\x12<\n\x04mean\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12<\n\x04twap\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x17\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03\x12\x16\n\x0elast_timestamp\x18\x06 \x01(\x03\x12\x41\n\tmin_price\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x41\n\tmax_price\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0cmedian_price\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x9c\x01\n\x10PriceAttestation\x12\x10\n\x08price_id\x18\x01 \x01(\t\x12\r\n\x05price\x18\x02 \x01(\x03\x12\x0c\n\x04\x63onf\x18\x03 \x01(\x04\x12\x0c\n\x04\x65xpo\x18\x04 \x01(\x05\x12\x11\n\tema_price\x18\x05 \x01(\x03\x12\x10\n\x08\x65ma_conf\x18\x06 \x01(\x04\x12\x10\n\x08\x65ma_expo\x18\x07 \x01(\x05\x12\x14\n\x0cpublish_time\x18\x08 \x01(\x03*\x9f\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\x42NZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/typesb\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\"%\n\x06Params\x12\x15\n\rpyth_contract\x18\x01 \x01(\t:\x04\xe8\xa0\x1f\x01\"W\n\nOracleInfo\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x39\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\"\xba\x01\n\x13\x43hainlinkPriceState\x12\x0f\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\t\x12>\n\x06\x61nswer\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\ttimestamp\x18\x03 \x01(\x04\x12?\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\xc9\x01\n\x0e\x42\x61ndPriceState\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12<\n\x04rate\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x14\n\x0cresolve_time\x18\x03 \x01(\x04\x12\x12\n\nrequest_ID\x18\x04 \x01(\x04\x12?\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"z\n\x0ePriceFeedState\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\t\x12\r\n\x05quote\x18\x02 \x01(\t\x12\x39\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceState\x12\x10\n\x08relayers\x18\x04 \x03(\t\"2\n\x0cProviderInfo\x12\x10\n\x08provider\x18\x01 \x01(\t\x12\x10\n\x08relayers\x18\x02 \x03(\t\"\x9b\x01\n\rProviderState\x12=\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfo\x12K\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceState\"Y\n\x12ProviderPriceState\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x33\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceState\",\n\rPriceFeedInfo\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\t\x12\r\n\x05quote\x18\x02 \x01(\t\"O\n\x0ePriceFeedPrice\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x92\x01\n\x12\x43oinbasePriceState\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x0b\n\x03key\x18\x03 \x01(\t\x12\r\n\x05value\x18\x04 \x01(\x04\x12?\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\nPriceState\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x63umulative_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\xbc\x02\n\x0ePythPriceState\x12\x10\n\x08price_id\x18\x01 \x01(\t\x12\x41\n\tema_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x65ma_conf\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12<\n\x04\x63onf\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cpublish_time\x18\x05 \x01(\x04\x12?\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00\"\x9c\x02\n\x11\x42\x61ndOracleRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12\x18\n\x10oracle_script_id\x18\x02 \x01(\x03\x12\x0f\n\x07symbols\x18\x03 \x03(\t\x12\x11\n\task_count\x18\x04 \x01(\x04\x12\x11\n\tmin_count\x18\x05 \x01(\x04\x12^\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.Coins\x12\x13\n\x0bprepare_gas\x18\x07 \x01(\x04\x12\x13\n\x0b\x65xecute_gas\x18\x08 \x01(\x04\x12\x18\n\x10min_source_count\x18\t \x01(\x04\"\xa8\x01\n\rBandIBCParams\x12\x18\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08\x12\x1c\n\x14ibc_request_interval\x18\x02 \x01(\x03\x12\x1a\n\x12ibc_source_channel\x18\x03 \x01(\t\x12\x13\n\x0bibc_version\x18\x04 \x01(\t\x12\x13\n\x0bibc_port_id\x18\x05 \x01(\t\x12\x19\n\x11legacy_oracle_ids\x18\x06 \x03(\x03\"r\n\x14SymbolPriceTimestamp\x12\x34\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x11\n\tsymbol_id\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"d\n\x13LastPriceTimestamps\x12M\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestamp\"\x9c\x01\n\x0cPriceRecords\x12\x34\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x11\n\tsymbol_id\x18\x02 \x01(\t\x12\x43\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecord\"_\n\x0bPriceRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xbf\x03\n\x12MetadataStatistics\x12\x13\n\x0bgroup_count\x18\x01 \x01(\r\x12\x1b\n\x13records_sample_size\x18\x02 \x01(\r\x12<\n\x04mean\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12<\n\x04twap\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x17\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03\x12\x16\n\x0elast_timestamp\x18\x06 \x01(\x03\x12\x41\n\tmin_price\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x41\n\tmax_price\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0cmedian_price\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x9c\x01\n\x10PriceAttestation\x12\x10\n\x08price_id\x18\x01 \x01(\t\x12\r\n\x05price\x18\x02 \x01(\x03\x12\x0c\n\x04\x63onf\x18\x03 \x01(\x04\x12\x0c\n\x04\x65xpo\x18\x04 \x01(\x05\x12\x11\n\tema_price\x18\x05 \x01(\x03\x12\x10\n\x08\x65ma_conf\x18\x06 \x01(\x04\x12\x10\n\x08\x65ma_expo\x18\x07 \x01(\x05\x12\x14\n\x0cpublish_time\x18\x08 \x01(\x03*\x9f\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\x42RZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xc0\xe3\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,7 +23,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types' + DESCRIPTOR._serialized_options = b'ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\300\343\036\001' _PARAMS._options = None _PARAMS._serialized_options = b'\350\240\037\001' _CHAINLINKPRICESTATE.fields_by_name['answer']._options = None @@ -64,48 +64,48 @@ _METADATASTATISTICS.fields_by_name['max_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _METADATASTATISTICS.fields_by_name['median_price']._options = None _METADATASTATISTICS.fields_by_name['median_price']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' - _globals['_ORACLETYPE']._serialized_start=3397 - _globals['_ORACLETYPE']._serialized_end=3556 + _globals['_ORACLETYPE']._serialized_start=3375 + _globals['_ORACLETYPE']._serialized_end=3534 _globals['_PARAMS']._serialized_start=121 _globals['_PARAMS']._serialized_end=158 _globals['_ORACLEINFO']._serialized_start=160 - _globals['_ORACLEINFO']._serialized_end=269 - _globals['_CHAINLINKPRICESTATE']._serialized_start=272 - _globals['_CHAINLINKPRICESTATE']._serialized_end=458 - _globals['_BANDPRICESTATE']._serialized_start=461 - _globals['_BANDPRICESTATE']._serialized_end=662 - _globals['_PRICEFEEDSTATE']._serialized_start=664 - _globals['_PRICEFEEDSTATE']._serialized_end=786 - _globals['_PROVIDERINFO']._serialized_start=788 - _globals['_PROVIDERINFO']._serialized_end=838 - _globals['_PROVIDERSTATE']._serialized_start=841 - _globals['_PROVIDERSTATE']._serialized_end=996 - _globals['_PROVIDERPRICESTATE']._serialized_start=998 - _globals['_PROVIDERPRICESTATE']._serialized_end=1087 - _globals['_PRICEFEEDINFO']._serialized_start=1089 - _globals['_PRICEFEEDINFO']._serialized_end=1133 - _globals['_PRICEFEEDPRICE']._serialized_start=1135 - _globals['_PRICEFEEDPRICE']._serialized_end=1214 - _globals['_COINBASEPRICESTATE']._serialized_start=1217 - _globals['_COINBASEPRICESTATE']._serialized_end=1363 - _globals['_PRICESTATE']._serialized_start=1366 - _globals['_PRICESTATE']._serialized_end=1534 - _globals['_PYTHPRICESTATE']._serialized_start=1537 - _globals['_PYTHPRICESTATE']._serialized_end=1853 - _globals['_BANDORACLEREQUEST']._serialized_start=1856 - _globals['_BANDORACLEREQUEST']._serialized_end=2140 - _globals['_BANDIBCPARAMS']._serialized_start=2143 - _globals['_BANDIBCPARAMS']._serialized_end=2311 - _globals['_SYMBOLPRICETIMESTAMP']._serialized_start=2313 - _globals['_SYMBOLPRICETIMESTAMP']._serialized_end=2427 - _globals['_LASTPRICETIMESTAMPS']._serialized_start=2429 - _globals['_LASTPRICETIMESTAMPS']._serialized_end=2529 - _globals['_PRICERECORDS']._serialized_start=2532 - _globals['_PRICERECORDS']._serialized_end=2688 - _globals['_PRICERECORD']._serialized_start=2690 - _globals['_PRICERECORD']._serialized_end=2785 - _globals['_METADATASTATISTICS']._serialized_start=2788 - _globals['_METADATASTATISTICS']._serialized_end=3235 - _globals['_PRICEATTESTATION']._serialized_start=3238 - _globals['_PRICEATTESTATION']._serialized_end=3394 + _globals['_ORACLEINFO']._serialized_end=247 + _globals['_CHAINLINKPRICESTATE']._serialized_start=250 + _globals['_CHAINLINKPRICESTATE']._serialized_end=436 + _globals['_BANDPRICESTATE']._serialized_start=439 + _globals['_BANDPRICESTATE']._serialized_end=640 + _globals['_PRICEFEEDSTATE']._serialized_start=642 + _globals['_PRICEFEEDSTATE']._serialized_end=764 + _globals['_PROVIDERINFO']._serialized_start=766 + _globals['_PROVIDERINFO']._serialized_end=816 + _globals['_PROVIDERSTATE']._serialized_start=819 + _globals['_PROVIDERSTATE']._serialized_end=974 + _globals['_PROVIDERPRICESTATE']._serialized_start=976 + _globals['_PROVIDERPRICESTATE']._serialized_end=1065 + _globals['_PRICEFEEDINFO']._serialized_start=1067 + _globals['_PRICEFEEDINFO']._serialized_end=1111 + _globals['_PRICEFEEDPRICE']._serialized_start=1113 + _globals['_PRICEFEEDPRICE']._serialized_end=1192 + _globals['_COINBASEPRICESTATE']._serialized_start=1195 + _globals['_COINBASEPRICESTATE']._serialized_end=1341 + _globals['_PRICESTATE']._serialized_start=1344 + _globals['_PRICESTATE']._serialized_end=1512 + _globals['_PYTHPRICESTATE']._serialized_start=1515 + _globals['_PYTHPRICESTATE']._serialized_end=1831 + _globals['_BANDORACLEREQUEST']._serialized_start=1834 + _globals['_BANDORACLEREQUEST']._serialized_end=2118 + _globals['_BANDIBCPARAMS']._serialized_start=2121 + _globals['_BANDIBCPARAMS']._serialized_end=2289 + _globals['_SYMBOLPRICETIMESTAMP']._serialized_start=2291 + _globals['_SYMBOLPRICETIMESTAMP']._serialized_end=2405 + _globals['_LASTPRICETIMESTAMPS']._serialized_start=2407 + _globals['_LASTPRICETIMESTAMPS']._serialized_end=2507 + _globals['_PRICERECORDS']._serialized_start=2510 + _globals['_PRICERECORDS']._serialized_end=2666 + _globals['_PRICERECORD']._serialized_start=2668 + _globals['_PRICERECORD']._serialized_end=2763 + _globals['_METADATASTATISTICS']._serialized_start=2766 + _globals['_METADATASTATISTICS']._serialized_end=3213 + _globals['_PRICEATTESTATION']._serialized_start=3216 + _globals['_PRICEATTESTATION']._serialized_end=3372 # @@protoc_insertion_point(module_scope) From 96e7f4c68bb9e1e8ebb457a4e3883a93f65df82d Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 8 Nov 2023 16:50:54 -0300 Subject: [PATCH 43/83] (fix) Updated version number --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 24feb921..58ce21f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.0.1-rc1" +version = "1.0.1-rc2" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" From c7c1b53dbbc0d8e2de7094b1ff62b09edbd235e1 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 13 Nov 2023 09:35:12 -0300 Subject: [PATCH 44/83] (feat) Implemented request endpoints for spot exchange in the low level API component. Added new functions in AsyncClient and deprecated the old ones. Updated examples --- .../11_SubaccountOrdersList.py | 6 +- .../12_SubaccountTradesList.py | 7 +- .../spot_exchange_rpc/14_Orderbooks.py | 2 +- .../spot_exchange_rpc/15_HistoricalOrders.py | 11 +- .../spot_exchange_rpc/2_Markets.py | 2 +- .../spot_exchange_rpc/6_Trades.py | 6 +- pyinjective/async_client.py | 137 ++++- .../indexer/grpc/indexer_grpc_spot_api.py | 149 +++++- pyinjective/client/model/pagination.py | 12 +- .../chain/grpc/test_chain_grpc_auth_api.py | 2 +- .../chain/grpc/test_chain_grpc_authz_api.py | 6 +- .../configurable_spot_query_servicer.py | 28 + .../grpc/test_indexer_grpc_spot_api.py | 483 +++++++++++++++++- .../test_async_client_deprecation_warnings.py | 112 ++++ 14 files changed, 934 insertions(+), 29 deletions(-) diff --git a/examples/exchange_client/spot_exchange_rpc/11_SubaccountOrdersList.py b/examples/exchange_client/spot_exchange_rpc/11_SubaccountOrdersList.py index 03e901e9..760119dc 100644 --- a/examples/exchange_client/spot_exchange_rpc/11_SubaccountOrdersList.py +++ b/examples/exchange_client/spot_exchange_rpc/11_SubaccountOrdersList.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -12,8 +13,9 @@ async def main() -> None: market_id = "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" skip = 10 limit = 10 - orders = await client.get_spot_subaccount_orders( - subaccount_id=subaccount_id, market_id=market_id, skip=skip, limit=limit + pagination = PaginationOption(skip=skip, limit=limit) + orders = await client.fetch_spot_subaccount_orders_list( + subaccount_id=subaccount_id, market_id=market_id, pagination=pagination ) print(orders) diff --git a/examples/exchange_client/spot_exchange_rpc/12_SubaccountTradesList.py b/examples/exchange_client/spot_exchange_rpc/12_SubaccountTradesList.py index a9670e58..d35a12e9 100644 --- a/examples/exchange_client/spot_exchange_rpc/12_SubaccountTradesList.py +++ b/examples/exchange_client/spot_exchange_rpc/12_SubaccountTradesList.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -14,13 +15,13 @@ async def main() -> None: direction = "buy" skip = 2 limit = 3 - trades = await client.get_spot_subaccount_trades( + pagination = PaginationOption(skip=skip, limit=limit) + trades = await client.fetch_spot_subaccount_trades_list( subaccount_id=subaccount_id, market_id=market_id, execution_type=execution_type, direction=direction, - skip=skip, - limit=limit, + pagination=pagination, ) print(trades) diff --git a/examples/exchange_client/spot_exchange_rpc/14_Orderbooks.py b/examples/exchange_client/spot_exchange_rpc/14_Orderbooks.py index 2a99f818..ac672940 100644 --- a/examples/exchange_client/spot_exchange_rpc/14_Orderbooks.py +++ b/examples/exchange_client/spot_exchange_rpc/14_Orderbooks.py @@ -11,7 +11,7 @@ async def main() -> None: "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", "0x7a57e705bb4e09c88aecfc295569481dbf2fe1d5efe364651fbe72385938e9b0", ] - orderbooks = await client.get_spot_orderbooksV2(market_ids=market_ids) + orderbooks = await client.fetch_spot_orderbooks_v2(market_ids=market_ids) print(orderbooks) diff --git a/examples/exchange_client/spot_exchange_rpc/15_HistoricalOrders.py b/examples/exchange_client/spot_exchange_rpc/15_HistoricalOrders.py index 0a39f80d..bac4b2c1 100644 --- a/examples/exchange_client/spot_exchange_rpc/15_HistoricalOrders.py +++ b/examples/exchange_client/spot_exchange_rpc/15_HistoricalOrders.py @@ -1,19 +1,24 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network async def main() -> None: network = Network.testnet() client = AsyncClient(network) - market_id = "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" + market_ids = ["0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"] subaccount_id = "0xbdaedec95d563fb05240d6e01821008454c24c36000000000000000000000000" skip = 10 limit = 3 order_types = ["buy_po"] - orders = await client.get_historical_spot_orders( - market_id=market_id, subaccount_id=subaccount_id, skip=skip, limit=limit, order_types=order_types + pagination = PaginationOption(skip=skip, limit=limit) + orders = await client.fetch_spot_orders_history( + subaccount_id=subaccount_id, + market_ids=market_ids, + order_types=order_types, + pagination=pagination, ) print(orders) diff --git a/examples/exchange_client/spot_exchange_rpc/2_Markets.py b/examples/exchange_client/spot_exchange_rpc/2_Markets.py index 46ad1239..3dc815eb 100644 --- a/examples/exchange_client/spot_exchange_rpc/2_Markets.py +++ b/examples/exchange_client/spot_exchange_rpc/2_Markets.py @@ -11,7 +11,7 @@ async def main() -> None: base_denom = "inj" quote_denom = "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5" market = await client.fetch_spot_markets( - market_status=market_status, base_denom=base_denom, quote_denom=quote_denom + market_statuses=[market_status], base_denom=base_denom, quote_denom=quote_denom ) print(market) diff --git a/examples/exchange_client/spot_exchange_rpc/6_Trades.py b/examples/exchange_client/spot_exchange_rpc/6_Trades.py index 6c035553..029a4f90 100644 --- a/examples/exchange_client/spot_exchange_rpc/6_Trades.py +++ b/examples/exchange_client/spot_exchange_rpc/6_Trades.py @@ -10,13 +10,13 @@ async def main() -> None: market_ids = ["0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"] execution_side = "taker" direction = "buy" - subaccount_id = "0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001" + subaccount_ids = ["0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001"] execution_types = ["limitMatchNewOrder", "market"] - orders = await client.get_spot_trades( + orders = await client.fetch_spot_trades( market_ids=market_ids, + subaccount_ids=subaccount_ids, execution_side=execution_side, direction=direction, - subaccount_id=subaccount_id, execution_types=execution_types, ) print(orders) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 41e7bc3b..a1bc3fc0 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -953,12 +953,12 @@ async def get_spot_markets(self, **kwargs): async def fetch_spot_markets( self, - market_status: Optional[str] = None, + market_statuses: Optional[List[str]] = None, base_denom: Optional[str] = None, quote_denom: Optional[str] = None, ) -> Dict[str, Any]: return await self.exchange_spot_api.fetch_markets( - market_status=market_status, base_denom=base_denom, quote_denom=quote_denom + market_statuses=market_statuses, base_denom=base_denom, quote_denom=quote_denom ) async def stream_spot_markets(self, **kwargs): @@ -970,7 +970,7 @@ async def stream_spot_markets(self, **kwargs): async def get_spot_orderbookV2(self, market_id: str): """ - This method is deprecated and will be removed soon. Please use `fetch_spot_markets` instead + 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) @@ -980,10 +980,21 @@ 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) async def get_spot_orderbooksV2(self, market_ids: List): + """ + This method is deprecated and will be removed soon. Please use `fetch_spot_orderbooks_v2` 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) + 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 get_spot_orders(self, market_id: str, **kwargs): + """ + This method is deprecated and will be removed soon. Please use `fetch_spot_orders` 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"), @@ -1000,7 +1011,33 @@ async def get_spot_orders(self, market_id: str, **kwargs): ) return await self.stubSpotExchange.Orders(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) @@ -1025,7 +1062,37 @@ async def get_historical_spot_orders(self, market_id: Optional[str] = None, **kw ) 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"), @@ -1044,6 +1111,30 @@ async def get_spot_trades(self, **kwargs): ) 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( + 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]): req = spot_exchange_rpc_pb.StreamOrderbookV2Request(market_ids=market_ids) metadata = await self.network.exchange_metadata( @@ -1129,6 +1220,12 @@ async def stream_spot_trades(self, **kwargs): return self.stubSpotExchange.StreamTrades(request=req, metadata=metadata) 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"), @@ -1137,7 +1234,23 @@ async def get_spot_subaccount_orders(self, subaccount_id: str, **kwargs): ) 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"), @@ -1148,6 +1261,22 @@ async def get_spot_subaccount_trades(self, subaccount_id: str, **kwargs): ) 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): @@ -1445,7 +1574,7 @@ async def _initialize_tokens_and_markets(self): binary_option_markets = dict() tokens = dict() tokens_by_denom = dict() - markets_info = (await self.fetch_spot_markets(market_status="active"))["markets"] + markets_info = (await self.fetch_spot_markets(market_statuses=["active"]))["markets"] valid_markets = ( market_info for market_info in markets_info diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py index 5dc46bbb..7f3f737a 100644 --- a/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py +++ b/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py @@ -1,7 +1,8 @@ -from typing import Any, Callable, Dict, Optional +from typing import Any, Callable, Dict, List, Optional from grpc.aio import Channel +from pyinjective.client.model.pagination import PaginationOption from pyinjective.proto.exchange import ( injective_spot_exchange_rpc_pb2 as exchange_spot_pb, injective_spot_exchange_rpc_pb2_grpc as exchange_spot_grpc, @@ -16,12 +17,12 @@ def __init__(self, channel: Channel, metadata_provider: Callable): async def fetch_markets( self, - market_status: Optional[str] = None, + 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_status=market_status, + market_statuses=market_statuses, base_denom=base_denom, quote_denom=quote_denom, ) @@ -41,5 +42,147 @@ async def fetch_orderbook_v2(self, market_id: str) -> Dict[str, Any]: 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 _execute_call(self, call: Callable, request) -> Dict[str, Any]: return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/client/model/pagination.py b/pyinjective/client/model/pagination.py index ae37d6ec..bab737db 100644 --- a/pyinjective/client/model/pagination.py +++ b/pyinjective/client/model/pagination.py @@ -7,15 +7,19 @@ class PaginationOption: def __init__( self, key: Optional[str] = None, - offset: Optional[int] = 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, ): super().__init__() self.key = key - self.offset = offset + self.skip = skip self.limit = limit + self.start_time = start_time + self.end_time = end_time self.reverse = reverse self.count_total = count_total @@ -24,8 +28,8 @@ def create_pagination_request(self) -> pagination_pb.PageRequest: if self.key is not None: page_request.key = bytes.fromhex(self.key) - if self.offset is not None: - page_request.offset = self.offset + 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: 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 24db74a4..03032cb1 100644 --- a/tests/client/chain/grpc/test_chain_grpc_auth_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_auth_api.py @@ -146,7 +146,7 @@ async def test_fetch_accounts( pagination_option = PaginationOption( key="011ab4075a94245dff7338e3042db5b7cc3f42e1", - offset=10, + skip=10, limit=30, reverse=False, count_total=True, 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 b728a015..e097ff66 100644 --- a/tests/client/chain/grpc/test_chain_grpc_authz_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_authz_api.py @@ -41,7 +41,7 @@ async def test_fetch_grants( ) pagination_option = PaginationOption( - offset=10, + skip=10, limit=30, reverse=False, count_total=True, @@ -103,7 +103,7 @@ async def test_fetch_granter_grants( ) pagination_option = PaginationOption( - offset=10, + skip=10, limit=30, reverse=False, count_total=True, @@ -165,7 +165,7 @@ async def test_fetch_grantee_grants( ) pagination_option = PaginationOption( - offset=10, + skip=10, limit=30, reverse=False, count_total=True, diff --git a/tests/client/indexer/configurable_spot_query_servicer.py b/tests/client/indexer/configurable_spot_query_servicer.py index 4acd2661..cdfbc336 100644 --- a/tests/client/indexer/configurable_spot_query_servicer.py +++ b/tests/client/indexer/configurable_spot_query_servicer.py @@ -12,6 +12,12 @@ def __init__(self): 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.subaccount_orders_list_responses = deque() + self.subaccount_trades_list_responses = deque() + self.orders_history_responses = deque() async def Markets(self, request: exchange_spot_pb.MarketsRequest, context=None, metadata=None): return self.markets_responses.pop() @@ -21,3 +27,25 @@ async def Market(self, request: exchange_spot_pb.MarketRequest, context=None, me 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 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() diff --git a/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py b/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py index 1b34b18d..4dad0933 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py @@ -2,6 +2,7 @@ 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 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 @@ -63,7 +64,7 @@ async def test_fetch_markets( api._stub = spot_servicer result_markets = await api.fetch_markets( - market_status=market.market_status, + market_statuses=[market.market_status], base_denom=market.base_denom, quote_denom=market.quote_denom, ) @@ -246,5 +247,485 @@ async def test_fetch_orderbook_v2( 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], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + async def _dummy_metadata_provider(self): return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 22892c61..fe10273a 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -723,3 +723,115 @@ async def test_get_spot_orderbookV2_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_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=[]) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_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.subaccount_trades_list_responses.append(exchange_spot_pb.SubaccountTradesListResponse()) + + with catch_warnings(record=True) as all_warnings: + await client.get_historical_spot_orders() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_spot_orders_history instead" From 675d71f50fbbab7133daf9bd0a4f4fd27a88424e Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 15 Nov 2023 00:35:36 -0300 Subject: [PATCH 45/83] (feat) Implemented low level API for all stream endpoints of the spot exchange module. Deprecated the old stream functions in AsyncClient and implemented new functions for the API component streams. Updated the example scripts. --- .../spot_exchange_rpc/10_StreamTrades.py | 38 +- .../spot_exchange_rpc/13_StreamOrderbooks.py | 20 - .../spot_exchange_rpc/3_StreamMarkets.py | 31 +- .../7_StreamOrderbookSnapshot.py | 36 +- .../8_StreamOrderbookUpdate.py | 166 ++--- .../9_StreamHistoricalOrders.py | 33 +- pyinjective/async_client.py | 160 +++++ .../indexer/grpc/indexer_grpc_spot_api.py | 20 + .../grpc_stream/indexer_grpc_spot_stream.py | 174 ++++++ pyinjective/client/model/pagination.py | 4 + .../utils/grpc_api_stream_assistant.py | 2 + .../configurable_spot_query_servicer.py | 39 ++ .../grpc/test_indexer_grpc_spot_api.py | 75 +++ .../test_indexer_grpc_spot_stream.py | 584 ++++++++++++++++++ .../test_async_client_deprecation_warnings.py | 112 +++- 15 files changed, 1383 insertions(+), 111 deletions(-) delete mode 100644 examples/exchange_client/spot_exchange_rpc/13_StreamOrderbooks.py create mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_spot_stream.py create mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_spot_stream.py diff --git a/examples/exchange_client/spot_exchange_rpc/10_StreamTrades.py b/examples/exchange_client/spot_exchange_rpc/10_StreamTrades.py index 8bf4a82a..a1d63511 100644 --- a/examples/exchange_client/spot_exchange_rpc/10_StreamTrades.py +++ b/examples/exchange_client/spot_exchange_rpc/10_StreamTrades.py @@ -1,9 +1,24 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def trade_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to spot trades updates ({exception})") + + +def stream_closed_processor(): + print("The spot trades updates stream has been closed") + + async def main() -> None: network = Network.testnet() client = AsyncClient(network) @@ -15,15 +30,22 @@ async def main() -> None: direction = "sell" subaccount_id = "0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001" execution_types = ["limitMatchRestingOrder"] - trades = await client.stream_spot_trades( - market_ids=market_ids, - execution_side=execution_side, - direction=direction, - subaccount_id=subaccount_id, - execution_types=execution_types, + + task = asyncio.get_event_loop().create_task( + client.listen_spot_trades_updates( + callback=trade_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + market_ids=market_ids, + subaccount_ids=[subaccount_id], + execution_side=execution_side, + direction=direction, + execution_types=execution_types, + ) ) - async for trade in trades: - print(trade) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/examples/exchange_client/spot_exchange_rpc/13_StreamOrderbooks.py b/examples/exchange_client/spot_exchange_rpc/13_StreamOrderbooks.py deleted file mode 100644 index 82fe35e7..00000000 --- a/examples/exchange_client/spot_exchange_rpc/13_StreamOrderbooks.py +++ /dev/null @@ -1,20 +0,0 @@ -import asyncio - -from pyinjective.async_client import AsyncClient -from pyinjective.core.network import Network - - -async def main() -> None: - network = Network.testnet() - client = AsyncClient(network) - market_ids = [ - "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - "0x7a57e705bb4e09c88aecfc295569481dbf2fe1d5efe364651fbe72385938e9b0", - ] - orderbook = await client.stream_spot_orderbook_snapshot(market_ids=market_ids) - async for orders in orderbook: - print(orders) - - -if __name__ == "__main__": - asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/exchange_client/spot_exchange_rpc/3_StreamMarkets.py b/examples/exchange_client/spot_exchange_rpc/3_StreamMarkets.py index 16633271..ac56d2d7 100644 --- a/examples/exchange_client/spot_exchange_rpc/3_StreamMarkets.py +++ b/examples/exchange_client/spot_exchange_rpc/3_StreamMarkets.py @@ -1,16 +1,39 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def market_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to spot markets updates ({exception})") + + +def stream_closed_processor(): + print("The spot markets updates stream has been closed") + + async def main() -> None: # select network: local, testnet, mainnet - network = Network.testnet() + network = Network.mainnet() client = AsyncClient(network) - markets = await client.stream_spot_markets() - async for market in markets: - print(market) + + task = asyncio.get_event_loop().create_task( + client.listen_spot_markets_updates( + callback=market_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/examples/exchange_client/spot_exchange_rpc/7_StreamOrderbookSnapshot.py b/examples/exchange_client/spot_exchange_rpc/7_StreamOrderbookSnapshot.py index 5c4ed593..7eacf4df 100644 --- a/examples/exchange_client/spot_exchange_rpc/7_StreamOrderbookSnapshot.py +++ b/examples/exchange_client/spot_exchange_rpc/7_StreamOrderbookSnapshot.py @@ -1,17 +1,43 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def orderbook_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to spot orderbook snapshots ({exception})") + + +def stream_closed_processor(): + print("The spot orderbook snapshots stream has been closed") + + async def main() -> None: - # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - market_ids = ["0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"] - orderbooks = await client.stream_spot_orderbook_snapshot(market_ids=market_ids) - async for orderbook in orderbooks: - print(orderbook) + market_ids = [ + "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", + "0x7a57e705bb4e09c88aecfc295569481dbf2fe1d5efe364651fbe72385938e9b0", + ] + + task = asyncio.get_event_loop().create_task( + client.listen_spot_orderbook_snapshots( + market_ids=market_ids, + callback=orderbook_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/examples/exchange_client/spot_exchange_rpc/8_StreamOrderbookUpdate.py b/examples/exchange_client/spot_exchange_rpc/8_StreamOrderbookUpdate.py index 13a789fd..6a7fb247 100644 --- a/examples/exchange_client/spot_exchange_rpc/8_StreamOrderbookUpdate.py +++ b/examples/exchange_client/spot_exchange_rpc/8_StreamOrderbookUpdate.py @@ -1,10 +1,21 @@ import asyncio from decimal import Decimal +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to spot orderbook updates ({exception})") + + +def stream_closed_processor(): + print("The spot orderbook updates stream has been closed") + + class PriceLevel: def __init__(self, price: Decimal, quantity: Decimal, timestamp: int): self.price = price @@ -24,24 +35,24 @@ def __init__(self, market_id: str): async def load_orderbook_snapshot(async_client: AsyncClient, orderbook: Orderbook): # load the snapshot - res = await async_client.get_spot_orderbooksV2(market_ids=[orderbook.market_id]) - for snapshot in res.orderbooks: - if snapshot.market_id != orderbook.market_id: + res = await async_client.fetch_spot_orderbooks_v2(market_ids=[orderbook.market_id]) + for snapshot in res["orderbooks"]: + if snapshot["marketId"] != orderbook.market_id: raise Exception("unexpected snapshot") - orderbook.sequence = int(snapshot.orderbook.sequence) + orderbook.sequence = int(snapshot["orderbook"]["sequence"]) - for buy in snapshot.orderbook.buys: - orderbook.levels["buys"][buy.price] = PriceLevel( - price=Decimal(buy.price), - quantity=Decimal(buy.quantity), - timestamp=buy.timestamp, + for buy in snapshot["orderbook"]["buys"]: + orderbook.levels["buys"][buy["price"]] = PriceLevel( + price=Decimal(buy["price"]), + quantity=Decimal(buy["quantity"]), + timestamp=int(buy["timestamp"]), ) - for sell in snapshot.orderbook.sells: - orderbook.levels["sells"][sell.price] = PriceLevel( - price=Decimal(sell.price), - quantity=Decimal(sell.quantity), - timestamp=sell.timestamp, + for sell in snapshot["orderbook"]["sells"]: + orderbook.levels["sells"][sell["price"]] = PriceLevel( + price=Decimal(sell["price"]), + quantity=Decimal(sell["quantity"]), + timestamp=int(sell["timestamp"]), ) break @@ -53,74 +64,91 @@ async def main() -> None: market_id = "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" orderbook = Orderbook(market_id=market_id) + updates_queue = asyncio.Queue() + tasks = [] + + async def queue_event(event: Dict[str, Any]): + await updates_queue.put(event) # start getting price levels updates - stream = await async_client.stream_spot_orderbook_update(market_ids=[market_id]) - first_update = None - async for update in stream: - first_update = update.orderbook_level_updates - break + task = asyncio.get_event_loop().create_task( + async_client.listen_spot_orderbook_updates( + market_ids=[market_id], + callback=queue_event, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) + ) + tasks.append(task) # load the snapshot once we are already receiving updates, so we don't miss any await load_orderbook_snapshot(async_client=async_client, orderbook=orderbook) - # start consuming updates again to process them - apply_orderbook_update(orderbook, first_update) - async for update in stream: - apply_orderbook_update(orderbook, update.orderbook_level_updates) + task = asyncio.get_event_loop().create_task( + apply_orderbook_update(orderbook=orderbook, updates_queue=updates_queue) + ) + tasks.append(task) + await asyncio.sleep(delay=60) + for task in tasks: + task.cancel() -def apply_orderbook_update(orderbook: Orderbook, updates): - # discard updates older than the snapshot - if updates.sequence <= orderbook.sequence: - return - print(" * * * * * * * * * * * * * * * * * * *") +async def apply_orderbook_update(orderbook: Orderbook, updates_queue: asyncio.Queue): + while True: + updates = await updates_queue.get() + update = updates["orderbookLevelUpdates"] - # ensure we have not missed any update - if updates.sequence > (orderbook.sequence + 1): - raise Exception( - "missing orderbook update events from stream, must restart: {} vs {}".format( - updates.sequence, (orderbook.sequence + 1) - ) - ) + # discard updates older than the snapshot + if int(update["sequence"]) <= orderbook.sequence: + return - print("updating orderbook with updates at sequence {}".format(updates.sequence)) + print(" * * * * * * * * * * * * * * * * * * *") - # update orderbook - orderbook.sequence = updates.sequence - for direction, levels in {"buys": updates.buys, "sells": updates.sells}.items(): - for level in levels: - if level.is_active: - # upsert level - orderbook.levels[direction][level.price] = PriceLevel( - price=Decimal(level.price), quantity=Decimal(level.quantity), timestamp=level.timestamp + # ensure we have not missed any update + if int(update["sequence"]) > (orderbook.sequence + 1): + raise Exception( + "missing orderbook update events from stream, must restart: {} vs {}".format( + update["sequence"], (orderbook.sequence + 1) ) - else: - if level.price in orderbook.levels[direction]: - del orderbook.levels[direction][level.price] - - # sort the level numerically - buys = sorted(orderbook.levels["buys"].values(), key=lambda x: x.price, reverse=True) - sells = sorted(orderbook.levels["sells"].values(), key=lambda x: x.price, reverse=True) - - # lowest sell price should be higher than the highest buy price - if len(buys) > 0 and len(sells) > 0: - highest_buy = buys[0].price - lowest_sell = sells[-1].price - print("Max buy: {} - Min sell: {}".format(highest_buy, lowest_sell)) - if highest_buy >= lowest_sell: - raise Exception("crossed orderbook, must restart") - - # for the example, print the list of buys and sells orders. - print("sells") - for k in sells: - print(k) - print("=========") - print("buys") - for k in buys: - print(k) - print("====================================") + ) + + print("updating orderbook with updates at sequence {}".format(update["sequence"])) + + # update orderbook + orderbook.sequence = int(update["sequence"]) + for direction, levels in {"buys": update["buys"], "sells": update["sells"]}.items(): + for level in levels: + if level["isActive"]: + # upsert level + orderbook.levels[direction][level["price"]] = PriceLevel( + price=Decimal(level["price"]), quantity=Decimal(level["quantity"]), timestamp=level["timestamp"] + ) + else: + if level["price"] in orderbook.levels[direction]: + del orderbook.levels[direction][level["price"]] + + # sort the level numerically + buys = sorted(orderbook.levels["buys"].values(), key=lambda x: x.price, reverse=True) + sells = sorted(orderbook.levels["sells"].values(), key=lambda x: x.price, reverse=True) + + # lowest sell price should be higher than the highest buy price + if len(buys) > 0 and len(sells) > 0: + highest_buy = buys[0].price + lowest_sell = sells[-1].price + print("Max buy: {} - Min sell: {}".format(highest_buy, lowest_sell)) + if highest_buy >= lowest_sell: + raise Exception("crossed orderbook, must restart") + + # for the example, print the list of buys and sells orders. + print("sells") + for k in sells: + print(k) + print("=========") + print("buys") + for k in buys: + print(k) + print("====================================") if __name__ == "__main__": diff --git a/examples/exchange_client/spot_exchange_rpc/9_StreamHistoricalOrders.py b/examples/exchange_client/spot_exchange_rpc/9_StreamHistoricalOrders.py index 95dcdb43..91ed7810 100644 --- a/examples/exchange_client/spot_exchange_rpc/9_StreamHistoricalOrders.py +++ b/examples/exchange_client/spot_exchange_rpc/9_StreamHistoricalOrders.py @@ -1,17 +1,42 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def order_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to spot orders history updates ({exception})") + + +def stream_closed_processor(): + print("The spot orders history updates stream has been closed") + + async def main() -> None: network = Network.testnet() client = AsyncClient(network) market_id = "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" - order_side = "buy" - orders = await client.stream_historical_spot_orders(market_id=market_id, order_side=order_side) - async for order in orders: - print(order) + order_direction = "buy" + + task = asyncio.get_event_loop().create_task( + client.listen_spot_orders_history_updates( + callback=order_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + market_id=market_id, + direction=order_direction, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index a1bc3fc0..8e6b3c5c 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -22,6 +22,7 @@ from pyinjective.client.indexer.grpc_stream.indexer_grpc_auction_stream import IndexerGrpcAuctionStream 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_spot_stream import IndexerGrpcSpotStream from pyinjective.client.model.pagination import PaginationOption from pyinjective.composer import Composer from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket @@ -235,6 +236,12 @@ def __init__( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_spot_stream_api = IndexerGrpcSpotStream( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) async def all_tokens(self) -> Dict[str, Token]: if self._tokens is None: @@ -962,12 +969,31 @@ async def fetch_spot_markets( ) 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 = await self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor ) return self.stubSpotExchange.StreamMarkets(request=req, metadata=metadata) + 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 @@ -1136,20 +1162,60 @@ async def fetch_spot_trades( ) 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 = await self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor ) 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 = await self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor ) 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"), @@ -1169,7 +1235,43 @@ async def stream_spot_orders(self, market_id: str, **kwargs): ) 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"), @@ -1183,6 +1285,30 @@ async def stream_historical_spot_orders(self, market_id: str, **kwargs): ) 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): req = derivative_exchange_rpc_pb.StreamOrdersHistoryRequest( market_id=market_id, @@ -1198,6 +1324,10 @@ async def stream_historical_derivative_orders(self, market_id: str, **kwargs): return self.stubDerivativeExchange.StreamOrdersHistory(request=req, metadata=metadata) 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"), @@ -1219,6 +1349,36 @@ async def stream_spot_trades(self, **kwargs): ) 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( + 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 diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py index 7f3f737a..5b9a0b40 100644 --- a/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py +++ b/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py @@ -184,5 +184,25 @@ async def fetch_orders_history( 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 _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/indexer_grpc_spot_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_spot_stream.py new file mode 100644 index 00000000..f8772460 --- /dev/null +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_spot_stream.py @@ -0,0 +1,174 @@ +from typing import Callable, List, Optional + +from grpc.aio import Channel + +from pyinjective.client.model.pagination import PaginationOption +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, metadata_provider: Callable): + self._stub = self._stub = exchange_spot_grpc.InjectiveSpotExchangeRPCStub(channel) + self._assistant = GrpcApiStreamAssistant(metadata_provider=metadata_provider) + + 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, + ) diff --git a/pyinjective/client/model/pagination.py b/pyinjective/client/model/pagination.py index bab737db..f3607c17 100644 --- a/pyinjective/client/model/pagination.py +++ b/pyinjective/client/model/pagination.py @@ -13,6 +13,8 @@ def __init__( 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.key = key @@ -22,6 +24,8 @@ def __init__( 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() diff --git a/pyinjective/utils/grpc_api_stream_assistant.py b/pyinjective/utils/grpc_api_stream_assistant.py index 50092def..00a8c331 100644 --- a/pyinjective/utils/grpc_api_stream_assistant.py +++ b/pyinjective/utils/grpc_api_stream_assistant.py @@ -37,6 +37,8 @@ async def listen_stream( await on_status_callback(ex) else: on_status_callback(ex) + except Exception as all_ex: + print(all_ex) if on_end_callback is not None: if asyncio.iscoroutinefunction(on_end_callback): diff --git a/tests/client/indexer/configurable_spot_query_servicer.py b/tests/client/indexer/configurable_spot_query_servicer.py index cdfbc336..7104d4da 100644 --- a/tests/client/indexer/configurable_spot_query_servicer.py +++ b/tests/client/indexer/configurable_spot_query_servicer.py @@ -18,6 +18,14 @@ def __init__(self): 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_orders_history_responses = deque() async def Markets(self, request: exchange_spot_pb.MarketsRequest, context=None, metadata=None): return self.markets_responses.pop() @@ -49,3 +57,34 @@ async def SubaccountTradesList( 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 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/test_indexer_grpc_spot_api.py b/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py index 4dad0933..b84d30d9 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py @@ -727,5 +727,80 @@ async def test_fetch_orders_history( 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + async def _dummy_metadata_provider(self): return None 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 new file mode 100644 index 00000000..d980e143 --- /dev/null +++ b/tests/client/indexer/stream_grpc/test_indexer_grpc_spot_stream.py @@ -0,0 +1,584 @@ +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 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", + ) + + spot_servicer.stream_markets_responses.append( + exchange_spot_pb.StreamMarketsResponse( + market=market, + operation_type=operation_type, + timestamp=timestamp, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + }, + "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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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() + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index fe10273a..4bbf2cab 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -827,7 +827,7 @@ async def test_get_historical_spot_orders_deprecation_warning( network=Network.local(), ) client.stubSpotExchange = spot_servicer - spot_servicer.subaccount_trades_list_responses.append(exchange_spot_pb.SubaccountTradesListResponse()) + spot_servicer.orders_history_responses.append(exchange_spot_pb.SubaccountTradesListResponse()) with catch_warnings(record=True) as all_warnings: await client.get_historical_spot_orders() @@ -835,3 +835,113 @@ async def test_get_historical_spot_orders_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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=[]) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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_v2_responses.append(exchange_spot_pb.StreamOrderbookUpdateRequest()) + + with catch_warnings(record=True) as all_warnings: + await client.stream_spot_orderbook_update(market_ids=[]) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_warnings[0].message) == "This method is deprecated. Use listen_spot_orders_history_updates instead" + ) From 01e5c3d6bcd6c7ed65b152d19f7b90e89397c76d Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 15 Nov 2023 12:01:38 -0300 Subject: [PATCH 46/83] (fix) Changed the proto compilation code in Makefile to point to InjectiveLabs forks for cosmos-sdk, ibc-go, cometbft and wasmd. Also changed the logic to download locally specific injective-core and injective-indexer versions --- Makefile | 58 +- .../proto/capability/v1/capability_pb2.py | 39 -- .../proto/capability/v1/genesis_pb2.py | 36 -- .../proto/cosmos/authz/v1beta1/tx_pb2.py | 14 +- .../proto/cosmos/authz/v1beta1/tx_pb2_grpc.py | 34 ++ .../proto/cosmos/bank/v1beta1/events_pb2.py | 34 ++ .../bank/v1beta1/events_pb2_grpc.py} | 0 .../base/store/v1beta1/commit_info_pb2.py | 41 ++ .../store/v1beta1/commit_info_pb2_grpc.py} | 0 .../base/store/v1beta1/listening_pb2.py | 32 ++ .../base/store/v1beta1/listening_pb2_grpc.py} | 0 .../proto/cosmos/group/v1/events_pb2.py | 4 +- .../proto/cosmos/group/v1/query_pb2.py | 12 +- .../proto/cosmos/group/v1/query_pb2_grpc.py | 36 ++ .../cosmos/tx/signing/v1beta1/signing_pb2.py | 4 +- .../proto/cosmwasm/wasm/v1/authz_pb2.py | 49 +- .../proto/cosmwasm/wasm/v1/genesis_pb2.py | 21 +- .../proto/cosmwasm/wasm/v1/proposal_pb2.py | 134 +++++ .../wasm/v1/proposal_pb2_grpc.py} | 0 .../proto/cosmwasm/wasm/v1/query_pb2.py | 119 ++-- pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 200 ++----- .../proto/cosmwasm/wasm/v1/tx_pb2_grpc.py | 147 +---- .../proto/cosmwasm/wasm/v1/types_pb2.py | 75 ++- .../proto/ibc/applications/fee/v1/ack_pb2.py | 15 +- .../proto/ibc/applications/fee/v1/fee_pb2.py | 38 +- .../ibc/applications/fee/v1/genesis_pb2.py | 44 +- .../ibc/applications/fee/v1/metadata_pb2.py | 13 +- .../ibc/applications/fee/v1/query_pb2.py | 106 ++-- .../proto/ibc/applications/fee/v1/tx_pb2.py | 72 +-- .../controller/v1/controller_pb2.py | 11 +- .../controller/v1/query_pb2.py | 27 +- .../controller/v1/tx_pb2.py | 56 +- .../controller/v1/tx_pb2_grpc.py | 34 -- .../genesis/v1/genesis_pb2.py | 48 +- .../interchain_accounts/host/v1/host_pb2.py | 13 +- .../interchain_accounts/host/v1/query_pb2.py | 4 +- .../interchain_accounts/host/v1/tx_pb2.py | 40 -- .../host/v1/tx_pb2_grpc.py | 70 --- .../interchain_accounts/v1/account_pb2.py | 10 +- .../interchain_accounts/v1/metadata_pb2.py | 13 +- .../interchain_accounts/v1/packet_pb2.py | 4 +- .../ibc/applications/transfer/v1/authz_pb2.py | 14 +- .../applications/transfer/v1/genesis_pb2.py | 12 +- .../ibc/applications/transfer/v1/query_pb2.py | 8 +- .../transfer/v1/query_pb2_grpc.py | 44 +- .../applications/transfer/v1/transfer_pb2.py | 17 +- .../ibc/applications/transfer/v1/tx_pb2.py | 43 +- .../applications/transfer/v1/tx_pb2_grpc.py | 34 -- .../applications/transfer/v2/packet_pb2.py | 4 +- .../proto/ibc/core/channel/v1/channel_pb2.py | 70 ++- .../proto/ibc/core/channel/v1/genesis_pb2.py | 22 +- .../proto/ibc/core/channel/v1/query_pb2.py | 16 +- .../ibc/core/channel/v1/query_pb2_grpc.py | 34 -- .../proto/ibc/core/channel/v1/tx_pb2.py | 189 ++++--- .../proto/ibc/core/client/v1/client_pb2.py | 60 +- .../proto/ibc/core/client/v1/genesis_pb2.py | 26 +- .../proto/ibc/core/client/v1/query_pb2.py | 4 +- .../proto/ibc/core/client/v1/tx_pb2.py | 97 ++-- .../proto/ibc/core/client/v1/tx_pb2_grpc.py | 102 ---- .../ibc/core/commitment/v1/commitment_pb2.py | 20 +- .../ibc/core/connection/v1/connection_pb2.py | 52 +- .../ibc/core/connection/v1/genesis_pb2.py | 10 +- .../proto/ibc/core/connection/v1/query_pb2.py | 34 +- .../proto/ibc/core/connection/v1/tx_pb2.py | 105 ++-- .../ibc/core/connection/v1/tx_pb2_grpc.py | 35 -- .../proto/ibc/core/types/v1/genesis_pb2.py | 12 +- .../localhost/v2/localhost_pb2.py | 4 +- .../solomachine/v2/solomachine_pb2.py | 104 ++-- .../solomachine/v3/solomachine_pb2.py | 54 +- .../tendermint/v1/tendermint_pb2.py | 58 +- .../proto/injective/wasmx/v1/events_pb2.py | 34 ++ .../wasmx/v1/events_pb2_grpc.py} | 0 .../proto/injective/wasmx/v1/genesis_pb2.py | 35 ++ .../wasmx/v1/genesis_pb2_grpc.py} | 0 .../proto/injective/wasmx/v1/proposal_pb2.py | 56 ++ .../injective/wasmx/v1/proposal_pb2_grpc.py | 4 + .../proto/injective/wasmx/v1/query_pb2.py | 51 ++ .../injective/wasmx/v1/query_pb2_grpc.py | 138 +++++ .../proto/injective/wasmx/v1/tx_pb2.py | 77 +++ .../proto/injective/wasmx/v1/tx_pb2_grpc.py | 234 ++++++++ .../proto/injective/wasmx/v1/wasmx_pb2.py | 41 ++ .../injective/wasmx/v1/wasmx_pb2_grpc.py | 4 + .../proto/tendermint/abci/types_pb2.py | 248 ++++----- .../proto/tendermint/abci/types_pb2_grpc.py | 244 ++++----- .../proto/tendermint/blocksync/types_pb2.py | 27 +- .../proto/tendermint/consensus/types_pb2.py | 16 +- .../proto/tendermint/rpc/grpc/types_pb2.py | 36 ++ .../tendermint/rpc/grpc/types_pb2_grpc.py | 108 ++++ .../tendermint/services/block/v1/block_pb2.py | 39 -- .../services/block/v1/block_service_pb2.py | 28 - .../block/v1/block_service_pb2_grpc.py | 141 ----- .../block_results/v1/block_results_pb2.py | 33 -- .../v1/block_results_service_pb2.py | 28 - .../v1/block_results_service_pb2_grpc.py | 107 ---- .../services/pruning/v1/pruning_pb2.py | 56 -- .../services/pruning/v1/service_pb2.py | 27 - .../services/pruning/v1/service_pb2_grpc.py | 326 ----------- .../services/version/v1/version_pb2.py | 29 - .../version/v1/version_service_pb2.py | 28 - .../version/v1/version_service_pb2_grpc.py | 89 --- .../proto/tendermint/state/types_pb2.py | 36 +- .../proto/tendermint/types/canonical_pb2.py | 4 +- .../proto/tendermint/types/params_pb2.py | 26 +- .../proto/tendermint/types/types_pb2.py | 58 +- .../proto/tendermint/types/validator_pb2.py | 14 +- pyinjective/proto/testpb/bank_pb2.py | 33 ++ pyinjective/proto/testpb/bank_pb2_grpc.py | 4 + pyinjective/proto/testpb/bank_query_pb2.py | 58 ++ .../proto/testpb/bank_query_pb2_grpc.py | 172 ++++++ pyinjective/proto/testpb/test_schema_pb2.py | 59 ++ .../proto/testpb/test_schema_pb2_grpc.py | 4 + .../proto/testpb/test_schema_query_pb2.py | 127 +++++ .../testpb/test_schema_query_pb2_grpc.py | 514 ++++++++++++++++++ 113 files changed, 3575 insertions(+), 2809 deletions(-) delete mode 100644 pyinjective/proto/capability/v1/capability_pb2.py delete mode 100644 pyinjective/proto/capability/v1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py rename pyinjective/proto/{capability/v1/capability_pb2_grpc.py => cosmos/bank/v1beta1/events_pb2_grpc.py} (100%) create mode 100644 pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2.py rename pyinjective/proto/{capability/v1/genesis_pb2_grpc.py => cosmos/base/store/v1beta1/commit_info_pb2_grpc.py} (100%) create mode 100644 pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2.py rename pyinjective/proto/{tendermint/services/block/v1/block_pb2_grpc.py => cosmos/base/store/v1beta1/listening_pb2_grpc.py} (100%) create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py rename pyinjective/proto/{tendermint/services/block_results/v1/block_results_pb2_grpc.py => cosmwasm/wasm/v1/proposal_pb2_grpc.py} (100%) 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 create mode 100644 pyinjective/proto/injective/wasmx/v1/events_pb2.py rename pyinjective/proto/{tendermint/services/pruning/v1/pruning_pb2_grpc.py => injective/wasmx/v1/events_pb2_grpc.py} (100%) create mode 100644 pyinjective/proto/injective/wasmx/v1/genesis_pb2.py rename pyinjective/proto/{tendermint/services/version/v1/version_pb2_grpc.py => injective/wasmx/v1/genesis_pb2_grpc.py} (100%) 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/rpc/grpc/types_pb2.py create mode 100644 pyinjective/proto/tendermint/rpc/grpc/types_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/services/block/v1/block_pb2.py delete mode 100644 pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py delete mode 100644 pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py delete mode 100644 pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py delete mode 100644 pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py delete mode 100644 pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py delete mode 100644 pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/services/version/v1/version_pb2.py delete mode 100644 pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py delete mode 100644 pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py create mode 100644 pyinjective/proto/testpb/bank_pb2.py create mode 100644 pyinjective/proto/testpb/bank_pb2_grpc.py create mode 100644 pyinjective/proto/testpb/bank_query_pb2.py create mode 100644 pyinjective/proto/testpb/bank_query_pb2_grpc.py create mode 100644 pyinjective/proto/testpb/test_schema_pb2.py create mode 100644 pyinjective/proto/testpb/test_schema_pb2_grpc.py create mode 100644 pyinjective/proto/testpb/test_schema_query_pb2.py create mode 100644 pyinjective/proto/testpb/test_schema_query_pb2_grpc.py diff --git a/Makefile b/Makefile index 40b12f77..1a0ff730 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,9 @@ all: -EXCHANGE_PROTO_FILES=$(shell find ../injective-indexer/api/gen/grpc -type f -name '*.proto') -PROTO_DIRS=$(shell find ./proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) gen: gen-client -gen-client: copy-proto - @for dir in $(PROTO_DIRS); do \ +gen-client: clone-all copy-proto + @for dir in $(shell find ./proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq); do \ mkdir -p ./pyinjective/$${dir}; \ python3 -m grpc_tools.protoc \ -I proto \ @@ -14,25 +12,55 @@ gen-client: copy-proto $$(find ./$${dir} -type f -name '*.proto'); \ done; \ rm -rf proto + $(call clean_repos) echo "import os\nimport sys\n\nsys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))" > pyinjective/proto/__init__.py +define clean_repos + rm -Rf cosmos-sdk + rm -Rf ibc-go + rm -Rf cometbft + rm -Rf wasmd + rm -Rf injective-core + rm -Rf injective-indexer +endef + +clean-all: + $(call clean_repos) + +clone-injective-core: + git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.5-testnet --depth 1 --single-branch + +clone-injective-indexer: + git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.45-rc5 --depth 1 --single-branch + +clone-cometbft: + git clone https://github.com/cometbft/cometbft.git -b v0.37.2 --depth 1 --single-branch + +clone-wasmd: + git clone https://github.com/InjectiveLabs/wasmd.git -b v0.40.2-inj --depth 1 --single-branch + +clone-cosmos-sdk: + git clone https://github.com/InjectiveLabs/cosmos-sdk.git -b v0.47.3-inj-6 --depth 1 --single-branch + +clone-ibc-go: + git clone https://github.com/InjectiveLabs/ibc-go.git -b v7.2.0-inj --depth 1 --single-branch + +clone-all: clone-cosmos-sdk clone-cometbft clone-ibc-go clone-wasmd clone-injective-core clone-injective-indexer + copy-proto: rm -rf pyinjective/proto mkdir -p proto/exchange - buf export buf.build/cosmos/cosmos-sdk:v0.47.0 --output=third_party - buf export https://github.com/cosmos/ibc-go.git --exclude-imports --output=third_party - buf export https://github.com/cometbft/cometbft.git --exclude-imports --output=third_party - buf export https://github.com/CosmWasm/wasmd.git --exclude-imports --output=./third_party - buf export https://github.com/cosmos/ics23.git --exclude-imports --output=./third_party - - cp -r ../injective-core/proto/injective proto/ - cp -r ./third_party/* proto/ + buf export ./cosmos-sdk --output=third_party + buf export ./ibc-go --exclude-imports --output=third_party + buf export ./cometbft --exclude-imports --output=third_party + buf export ./wasmd --exclude-imports --output=third_party + buf export https://github.com/cosmos/ics23.git --exclude-imports --output=third_party + cp -r injective-core/proto/injective proto/ + cp -r third_party/* proto/ rm -rf ./third_party - @for file in $(EXCHANGE_PROTO_FILES); do \ - cp "$${file}" proto/exchange/; \ - done + find ./injective-indexer/api/gen/grpc -type f -name "*.proto" -exec cp {} ./proto/exchange/ \; tests: poetry run pytest -v diff --git a/pyinjective/proto/capability/v1/capability_pb2.py b/pyinjective/proto/capability/v1/capability_pb2.py deleted file mode 100644 index 128ef745..00000000 --- a/pyinjective/proto/capability/v1/capability_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: capability/v1/capability.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63\x61pability/v1/capability.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"!\n\nCapability\x12\r\n\x05index\x18\x01 \x01(\x04:\x04\x98\xa0\x1f\x00\"/\n\x05Owner\x12\x0e\n\x06module\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"C\n\x10\x43\x61pabilityOwners\x12/\n\x06owners\x18\x01 \x03(\x0b\x32\x14.capability.v1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x33Z1github.com/cosmos/ibc-go/modules/capability/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.capability_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z1github.com/cosmos/ibc-go/modules/capability/types' - _CAPABILITY._options = None - _CAPABILITY._serialized_options = b'\230\240\037\000' - _OWNER._options = None - _OWNER._serialized_options = b'\210\240\037\000\230\240\037\000' - _CAPABILITYOWNERS.fields_by_name['owners']._options = None - _CAPABILITYOWNERS.fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CAPABILITY']._serialized_start=90 - _globals['_CAPABILITY']._serialized_end=123 - _globals['_OWNER']._serialized_start=125 - _globals['_OWNER']._serialized_end=172 - _globals['_CAPABILITYOWNERS']._serialized_start=174 - _globals['_CAPABILITYOWNERS']._serialized_end=241 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/genesis_pb2.py b/pyinjective/proto/capability/v1/genesis_pb2.py deleted file mode 100644 index 8b0b5a50..00000000 --- a/pyinjective/proto/capability/v1/genesis_pb2.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: capability/v1/genesis.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from capability.v1 import capability_pb2 as capability_dot_v1_dot_capability__pb2 -from amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63\x61pability/v1/genesis.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63\x61pability/v1/capability.proto\x1a\x11\x61mino/amino.proto\"`\n\rGenesisOwners\x12\r\n\x05index\x18\x01 \x01(\x04\x12@\n\x0cindex_owners\x18\x02 \x01(\x0b\x32\x1f.capability.v1.CapabilityOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"V\n\x0cGenesisState\x12\r\n\x05index\x18\x01 \x01(\x04\x12\x37\n\x06owners\x18\x02 \x03(\x0b\x32\x1c.capability.v1.GenesisOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x33Z1github.com/cosmos/ibc-go/modules/capability/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.genesis_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z1github.com/cosmos/ibc-go/modules/capability/types' - _GENESISOWNERS.fields_by_name['index_owners']._options = None - _GENESISOWNERS.fields_by_name['index_owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _GENESISSTATE.fields_by_name['owners']._options = None - _GENESISSTATE.fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISOWNERS']._serialized_start=119 - _globals['_GENESISOWNERS']._serialized_end=215 - _globals['_GENESISSTATE']._serialized_start=217 - _globals['_GENESISSTATE']._serialized_end=303 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py index 43fe867b..9e9dc1e1 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py @@ -19,7 +19,7 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/authz/v1beta1/tx.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xbd\x01\n\x08MsgGrant\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x35\n\x05grant\x18\x03 \x01(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:$\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x13\x63osmos-sdk/MsgGrant\"\"\n\x0fMsgExecResponse\x12\x0f\n\x07results\x18\x01 \x03(\x0c\"\x9a\x01\n\x07MsgExec\x12)\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12?\n\x04msgs\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x1b\xca\xb4-\x17\x63osmos.base.v1beta1.Msg:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec\"\x12\n\x10MsgGrantResponse\"\x9e\x01\n\tMsgRevoke\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x14\n\x0cmsg_type_url\x18\x03 \x01(\t:%\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgRevoke\"\x13\n\x11MsgRevokeResponse2\xff\x01\n\x03Msg\x12O\n\x05Grant\x12\x1e.cosmos.authz.v1beta1.MsgGrant\x1a&.cosmos.authz.v1beta1.MsgGrantResponse\x12L\n\x04\x45xec\x12\x1d.cosmos.authz.v1beta1.MsgExec\x1a%.cosmos.authz.v1beta1.MsgExecResponse\x12R\n\x06Revoke\x12\x1f.cosmos.authz.v1beta1.MsgRevoke\x1a\'.cosmos.authz.v1beta1.MsgRevokeResponse\x1a\x05\x80\xe7\xb0*\x01\x42*Z$github.com/cosmos/cosmos-sdk/x/authz\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/authz/v1beta1/tx.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xbd\x01\n\x08MsgGrant\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x35\n\x05grant\x18\x03 \x01(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:$\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x13\x63osmos-sdk/MsgGrant\"\"\n\x0fMsgExecResponse\x12\x0f\n\x07results\x18\x01 \x03(\x0c\"\x9a\x01\n\x07MsgExec\x12)\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12?\n\x04msgs\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x1b\xca\xb4-\x17\x63osmos.base.v1beta1.Msg:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec\"\x12\n\x10MsgGrantResponse\"\x9e\x01\n\tMsgRevoke\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x14\n\x0cmsg_type_url\x18\x03 \x01(\t:%\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgRevoke\"\x13\n\x11MsgRevokeResponse\"(\n\x15MsgExecCompatResponse\x12\x0f\n\x07results\x18\x01 \x03(\x0c\"m\n\rMsgExecCompat\x12)\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04msgs\x18\x02 \x03(\t:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec2\xdf\x02\n\x03Msg\x12O\n\x05Grant\x12\x1e.cosmos.authz.v1beta1.MsgGrant\x1a&.cosmos.authz.v1beta1.MsgGrantResponse\x12L\n\x04\x45xec\x12\x1d.cosmos.authz.v1beta1.MsgExec\x1a%.cosmos.authz.v1beta1.MsgExecResponse\x12R\n\x06Revoke\x12\x1f.cosmos.authz.v1beta1.MsgRevoke\x1a\'.cosmos.authz.v1beta1.MsgRevokeResponse\x12^\n\nExecCompat\x12#.cosmos.authz.v1beta1.MsgExecCompat\x1a+.cosmos.authz.v1beta1.MsgExecCompatResponse\x1a\x05\x80\xe7\xb0*\x01\x42*Z$github.com/cosmos/cosmos-sdk/x/authz\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -48,6 +48,10 @@ _MSGREVOKE.fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGREVOKE._options = None _MSGREVOKE._serialized_options = b'\202\347\260*\007granter\212\347\260*\024cosmos-sdk/MsgRevoke' + _MSGEXECCOMPAT.fields_by_name['grantee']._options = None + _MSGEXECCOMPAT.fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGEXECCOMPAT._options = None + _MSGEXECCOMPAT._serialized_options = b'\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' _globals['_MSGGRANT']._serialized_start=210 @@ -62,6 +66,10 @@ _globals['_MSGREVOKE']._serialized_end=773 _globals['_MSGREVOKERESPONSE']._serialized_start=775 _globals['_MSGREVOKERESPONSE']._serialized_end=794 - _globals['_MSG']._serialized_start=797 - _globals['_MSG']._serialized_end=1052 + _globals['_MSGEXECCOMPATRESPONSE']._serialized_start=796 + _globals['_MSGEXECCOMPATRESPONSE']._serialized_end=836 + _globals['_MSGEXECCOMPAT']._serialized_start=838 + _globals['_MSGEXECCOMPAT']._serialized_end=947 + _globals['_MSG']._serialized_start=950 + _globals['_MSG']._serialized_end=1301 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py index c91de7dc..435adeae 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py @@ -30,6 +30,11 @@ def __init__(self, channel): request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, ) + self.ExecCompat = channel.unary_unary( + '/cosmos.authz.v1beta1.Msg/ExecCompat', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, + ) class MsgServicer(object): @@ -63,6 +68,13 @@ def Revoke(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def ExecCompat(self, request, context): + """ExecCompat has same functionality as Exec but accepts array of json-encoded message string instead of []*Any + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -81,6 +93,11 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.FromString, response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.SerializeToString, ), + 'ExecCompat': grpc.unary_unary_rpc_method_handler( + servicer.ExecCompat, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'cosmos.authz.v1beta1.Msg', rpc_method_handlers) @@ -142,3 +159,20 @@ def Revoke(request, cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ExecCompat(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmos.authz.v1beta1.Msg/ExecCompat', + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py new file mode 100644 index 00000000..4605a32c --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/bank/v1beta1/events.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/bank/v1beta1/events.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"O\n\x10\x45ventSetBalances\x12;\n\x0f\x62\x61lance_updates\x18\x01 \x03(\x0b\x32\".cosmos.bank.v1beta1.BalanceUpdate\"|\n\rBalanceUpdate\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\x0c\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\x0c\x12N\n\x03\x61mt\x18\x03 \x01(\tBA\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01\x42+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' + _BALANCEUPDATE.fields_by_name['amt']._options = None + _BALANCEUPDATE.fields_by_name['amt']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_EVENTSETBALANCES']._serialized_start=125 + _globals['_EVENTSETBALANCES']._serialized_end=204 + _globals['_BALANCEUPDATE']._serialized_start=206 + _globals['_BALANCEUPDATE']._serialized_end=330 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/capability_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py similarity index 100% rename from pyinjective/proto/capability/v1/capability_pb2_grpc.py rename to pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py diff --git a/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2.py b/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2.py new file mode 100644 index 00000000..dd9e1f46 --- /dev/null +++ b/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/base/store/v1beta1/commit_info.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+cosmos/base/store/v1beta1/commit_info.proto\x12\x19\x63osmos.base.store.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x97\x01\n\nCommitInfo\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12?\n\x0bstore_infos\x18\x02 \x03(\x0b\x32$.cosmos.base.store.v1beta1.StoreInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\"W\n\tStoreInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12<\n\tcommit_id\x18\x02 \x01(\x0b\x32#.cosmos.base.store.v1beta1.CommitIDB\x04\xc8\xde\x1f\x00\"/\n\x08\x43ommitID\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\x0c\n\x04hash\x18\x02 \x01(\x0c:\x04\x98\xa0\x1f\x00\x42*Z(github.com/cosmos/cosmos-sdk/store/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.store.v1beta1.commit_info_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z(github.com/cosmos/cosmos-sdk/store/types' + _COMMITINFO.fields_by_name['store_infos']._options = None + _COMMITINFO.fields_by_name['store_infos']._serialized_options = b'\310\336\037\000' + _COMMITINFO.fields_by_name['timestamp']._options = None + _COMMITINFO.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _STOREINFO.fields_by_name['commit_id']._options = None + _STOREINFO.fields_by_name['commit_id']._serialized_options = b'\310\336\037\000' + _COMMITID._options = None + _COMMITID._serialized_options = b'\230\240\037\000' + _globals['_COMMITINFO']._serialized_start=130 + _globals['_COMMITINFO']._serialized_end=281 + _globals['_STOREINFO']._serialized_start=283 + _globals['_STOREINFO']._serialized_end=370 + _globals['_COMMITID']._serialized_start=372 + _globals['_COMMITID']._serialized_end=419 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2_grpc.py similarity index 100% rename from pyinjective/proto/capability/v1/genesis_pb2_grpc.py rename to pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2_grpc.py diff --git a/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2.py b/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2.py new file mode 100644 index 00000000..718f817d --- /dev/null +++ b/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/base/store/v1beta1/listening.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cosmos/base/store/v1beta1/listening.proto\x12\x19\x63osmos.base.store.v1beta1\x1a\x1btendermint/abci/types.proto\"L\n\x0bStoreKVPair\x12\x11\n\tstore_key\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65lete\x18\x02 \x01(\x08\x12\x0b\n\x03key\x18\x03 \x01(\x0c\x12\r\n\x05value\x18\x04 \x01(\x0c\"\x89\x04\n\rBlockMetadata\x12?\n\x13request_begin_block\x18\x01 \x01(\x0b\x32\".tendermint.abci.RequestBeginBlock\x12\x41\n\x14response_begin_block\x18\x02 \x01(\x0b\x32#.tendermint.abci.ResponseBeginBlock\x12G\n\x0b\x64\x65liver_txs\x18\x03 \x03(\x0b\x32\x32.cosmos.base.store.v1beta1.BlockMetadata.DeliverTx\x12;\n\x11request_end_block\x18\x04 \x01(\x0b\x32 .tendermint.abci.RequestEndBlock\x12=\n\x12response_end_block\x18\x05 \x01(\x0b\x32!.tendermint.abci.ResponseEndBlock\x12\x38\n\x0fresponse_commit\x18\x06 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommit\x1au\n\tDeliverTx\x12\x32\n\x07request\x18\x01 \x01(\x0b\x32!.tendermint.abci.RequestDeliverTx\x12\x34\n\x08response\x18\x02 \x01(\x0b\x32\".tendermint.abci.ResponseDeliverTxB*Z(github.com/cosmos/cosmos-sdk/store/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.store.v1beta1.listening_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z(github.com/cosmos/cosmos-sdk/store/types' + _globals['_STOREKVPAIR']._serialized_start=101 + _globals['_STOREKVPAIR']._serialized_end=177 + _globals['_BLOCKMETADATA']._serialized_start=180 + _globals['_BLOCKMETADATA']._serialized_end=701 + _globals['_BLOCKMETADATA_DELIVERTX']._serialized_start=584 + _globals['_BLOCKMETADATA_DELIVERTX']._serialized_end=701 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_pb2_grpc.py b/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2_grpc.py similarity index 100% rename from pyinjective/proto/tendermint/services/block/v1/block_pb2_grpc.py rename to pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2_grpc.py diff --git a/pyinjective/proto/cosmos/group/v1/events_pb2.py b/pyinjective/proto/cosmos/group/v1/events_pb2.py index 8d4088ad..69f94a3c 100644 --- a/pyinjective/proto/cosmos/group/v1/events_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/events_pb2.py @@ -15,7 +15,7 @@ from cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/group/v1/events.proto\x12\x0f\x63osmos.group.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/group/v1/types.proto\"$\n\x10\x45ventCreateGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"$\n\x10\x45ventUpdateGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"C\n\x16\x45ventCreateGroupPolicy\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"C\n\x16\x45ventUpdateGroupPolicy\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"*\n\x13\x45ventSubmitProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\",\n\x15\x45ventWithdrawProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\" \n\tEventVote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"g\n\tEventExec\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\x37\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResult\x12\x0c\n\x04logs\x18\x03 \x01(\t\"N\n\x0f\x45ventLeaveGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12)\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/group/v1/events.proto\x12\x0f\x63osmos.group.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/group/v1/types.proto\"$\n\x10\x45ventCreateGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"$\n\x10\x45ventUpdateGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"C\n\x16\x45ventCreateGroupPolicy\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"C\n\x16\x45ventUpdateGroupPolicy\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"*\n\x13\x45ventSubmitProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\",\n\x15\x45ventWithdrawProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\" \n\tEventVote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"g\n\tEventExec\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\x37\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResult\x12\x0c\n\x04logs\x18\x03 \x01(\t\"N\n\x0f\x45ventLeaveGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12)\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\x8f\x01\n\x13\x45ventProposalPruned\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12/\n\x06status\x18\x02 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatus\x12\x32\n\x0ctally_result\x18\x03 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -48,4 +48,6 @@ _globals['_EVENTEXEC']._serialized_end=546 _globals['_EVENTLEAVEGROUP']._serialized_start=548 _globals['_EVENTLEAVEGROUP']._serialized_end=626 + _globals['_EVENTPROPOSALPRUNED']._serialized_start=629 + _globals['_EVENTPROPOSALPRUNED']._serialized_end=772 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/query_pb2.py b/pyinjective/proto/cosmos/group/v1/query_pb2.py index c0af2ab3..8b196e34 100644 --- a/pyinjective/proto/cosmos/group/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/query_pb2.py @@ -19,7 +19,7 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/query.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\")\n\x15QueryGroupInfoRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"B\n\x16QueryGroupInfoResponse\x12(\n\x04info\x18\x01 \x01(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\"H\n\x1bQueryGroupPolicyInfoRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"N\n\x1cQueryGroupPolicyInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\"h\n\x18QueryGroupMembersRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x87\x01\n\x19QueryGroupMembersResponse\x12-\n\x07members\x18\x01 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMember\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x80\x01\n\x19QueryGroupsByAdminRequest\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x85\x01\n\x1aQueryGroupsByAdminResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"p\n QueryGroupPoliciesByGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9a\x01\n!QueryGroupPoliciesByGroupResponse\x12\x38\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x87\x01\n QueryGroupPoliciesByAdminRequest\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9a\x01\n!QueryGroupPoliciesByAdminResponse\x12\x38\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"+\n\x14QueryProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"D\n\x15QueryProposalResponse\x12+\n\x08proposal\x18\x01 \x01(\x0b\x32\x19.cosmos.group.v1.Proposal\"\x8b\x01\n\"QueryProposalsByGroupPolicyRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n#QueryProposalsByGroupPolicyResponse\x12,\n\tproposals\x18\x01 \x03(\x0b\x32\x19.cosmos.group.v1.Proposal\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"_\n\x1fQueryVoteByProposalVoterRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"G\n QueryVoteByProposalVoterResponse\x12#\n\x04vote\x18\x01 \x01(\x0b\x32\x15.cosmos.group.v1.Vote\"n\n\x1bQueryVotesByProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x81\x01\n\x1cQueryVotesByProposalResponse\x12$\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.Vote\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x7f\n\x18QueryVotesByVoterRequest\x12\'\n\x05voter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"~\n\x19QueryVotesByVoterResponse\x12$\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.Vote\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x83\x01\n\x1aQueryGroupsByMemberRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x86\x01\n\x1bQueryGroupsByMemberResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\".\n\x17QueryTallyResultRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"R\n\x18QueryTallyResultResponse\x12\x36\n\x05tally\x18\x01 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x32\x85\x11\n\x05Query\x12\x8c\x01\n\tGroupInfo\x12&.cosmos.group.v1.QueryGroupInfoRequest\x1a\'.cosmos.group.v1.QueryGroupInfoResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/group/v1/group_info/{group_id}\x12\xa4\x01\n\x0fGroupPolicyInfo\x12,.cosmos.group.v1.QueryGroupPolicyInfoRequest\x1a-.cosmos.group.v1.QueryGroupPolicyInfoResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/group/v1/group_policy_info/{address}\x12\x98\x01\n\x0cGroupMembers\x12).cosmos.group.v1.QueryGroupMembersRequest\x1a*.cosmos.group.v1.QueryGroupMembersResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/group/v1/group_members/{group_id}\x12\x9a\x01\n\rGroupsByAdmin\x12*.cosmos.group.v1.QueryGroupsByAdminRequest\x1a+.cosmos.group.v1.QueryGroupsByAdminResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/group/v1/groups_by_admin/{admin}\x12\xba\x01\n\x14GroupPoliciesByGroup\x12\x31.cosmos.group.v1.QueryGroupPoliciesByGroupRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByGroupResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/group/v1/group_policies_by_group/{group_id}\x12\xb7\x01\n\x14GroupPoliciesByAdmin\x12\x31.cosmos.group.v1.QueryGroupPoliciesByAdminRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByAdminResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/group_policies_by_admin/{admin}\x12\x8a\x01\n\x08Proposal\x12%.cosmos.group.v1.QueryProposalRequest\x1a&.cosmos.group.v1.QueryProposalResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/proposal/{proposal_id}\x12\xc1\x01\n\x16ProposalsByGroupPolicy\x12\x33.cosmos.group.v1.QueryProposalsByGroupPolicyRequest\x1a\x34.cosmos.group.v1.QueryProposalsByGroupPolicyResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/group/v1/proposals_by_group_policy/{address}\x12\xc1\x01\n\x13VoteByProposalVoter\x12\x30.cosmos.group.v1.QueryVoteByProposalVoterRequest\x1a\x31.cosmos.group.v1.QueryVoteByProposalVoterResponse\"E\x82\xd3\xe4\x93\x02?\x12=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}\x12\xa8\x01\n\x0fVotesByProposal\x12,.cosmos.group.v1.QueryVotesByProposalRequest\x1a-.cosmos.group.v1.QueryVotesByProposalResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/votes_by_proposal/{proposal_id}\x12\x96\x01\n\x0cVotesByVoter\x12).cosmos.group.v1.QueryVotesByVoterRequest\x1a*.cosmos.group.v1.QueryVotesByVoterResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/votes_by_voter/{voter}\x12\xa0\x01\n\x0eGroupsByMember\x12+.cosmos.group.v1.QueryGroupsByMemberRequest\x1a,.cosmos.group.v1.QueryGroupsByMemberResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/group/v1/groups_by_member/{address}\x12\x9a\x01\n\x0bTallyResult\x12(.cosmos.group.v1.QueryTallyResultRequest\x1a).cosmos.group.v1.QueryTallyResultResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/group/v1/proposals/{proposal_id}/tallyB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/query.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\")\n\x15QueryGroupInfoRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"B\n\x16QueryGroupInfoResponse\x12(\n\x04info\x18\x01 \x01(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\"H\n\x1bQueryGroupPolicyInfoRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"N\n\x1cQueryGroupPolicyInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\"h\n\x18QueryGroupMembersRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x87\x01\n\x19QueryGroupMembersResponse\x12-\n\x07members\x18\x01 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMember\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x80\x01\n\x19QueryGroupsByAdminRequest\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x85\x01\n\x1aQueryGroupsByAdminResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"p\n QueryGroupPoliciesByGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9a\x01\n!QueryGroupPoliciesByGroupResponse\x12\x38\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x87\x01\n QueryGroupPoliciesByAdminRequest\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9a\x01\n!QueryGroupPoliciesByAdminResponse\x12\x38\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"+\n\x14QueryProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"D\n\x15QueryProposalResponse\x12+\n\x08proposal\x18\x01 \x01(\x0b\x32\x19.cosmos.group.v1.Proposal\"\x8b\x01\n\"QueryProposalsByGroupPolicyRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n#QueryProposalsByGroupPolicyResponse\x12,\n\tproposals\x18\x01 \x03(\x0b\x32\x19.cosmos.group.v1.Proposal\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"_\n\x1fQueryVoteByProposalVoterRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"G\n QueryVoteByProposalVoterResponse\x12#\n\x04vote\x18\x01 \x01(\x0b\x32\x15.cosmos.group.v1.Vote\"n\n\x1bQueryVotesByProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x81\x01\n\x1cQueryVotesByProposalResponse\x12$\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.Vote\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x7f\n\x18QueryVotesByVoterRequest\x12\'\n\x05voter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"~\n\x19QueryVotesByVoterResponse\x12$\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.Vote\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x83\x01\n\x1aQueryGroupsByMemberRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x86\x01\n\x1bQueryGroupsByMemberResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\".\n\x17QueryTallyResultRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"R\n\x18QueryTallyResultResponse\x12\x36\n\x05tally\x18\x01 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"P\n\x12QueryGroupsRequest\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"~\n\x13QueryGroupsResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xfb\x11\n\x05Query\x12\x8c\x01\n\tGroupInfo\x12&.cosmos.group.v1.QueryGroupInfoRequest\x1a\'.cosmos.group.v1.QueryGroupInfoResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/group/v1/group_info/{group_id}\x12\xa4\x01\n\x0fGroupPolicyInfo\x12,.cosmos.group.v1.QueryGroupPolicyInfoRequest\x1a-.cosmos.group.v1.QueryGroupPolicyInfoResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/group/v1/group_policy_info/{address}\x12\x98\x01\n\x0cGroupMembers\x12).cosmos.group.v1.QueryGroupMembersRequest\x1a*.cosmos.group.v1.QueryGroupMembersResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/group/v1/group_members/{group_id}\x12\x9a\x01\n\rGroupsByAdmin\x12*.cosmos.group.v1.QueryGroupsByAdminRequest\x1a+.cosmos.group.v1.QueryGroupsByAdminResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/group/v1/groups_by_admin/{admin}\x12\xba\x01\n\x14GroupPoliciesByGroup\x12\x31.cosmos.group.v1.QueryGroupPoliciesByGroupRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByGroupResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/group/v1/group_policies_by_group/{group_id}\x12\xb7\x01\n\x14GroupPoliciesByAdmin\x12\x31.cosmos.group.v1.QueryGroupPoliciesByAdminRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByAdminResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/group_policies_by_admin/{admin}\x12\x8a\x01\n\x08Proposal\x12%.cosmos.group.v1.QueryProposalRequest\x1a&.cosmos.group.v1.QueryProposalResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/proposal/{proposal_id}\x12\xc1\x01\n\x16ProposalsByGroupPolicy\x12\x33.cosmos.group.v1.QueryProposalsByGroupPolicyRequest\x1a\x34.cosmos.group.v1.QueryProposalsByGroupPolicyResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/group/v1/proposals_by_group_policy/{address}\x12\xc1\x01\n\x13VoteByProposalVoter\x12\x30.cosmos.group.v1.QueryVoteByProposalVoterRequest\x1a\x31.cosmos.group.v1.QueryVoteByProposalVoterResponse\"E\x82\xd3\xe4\x93\x02?\x12=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}\x12\xa8\x01\n\x0fVotesByProposal\x12,.cosmos.group.v1.QueryVotesByProposalRequest\x1a-.cosmos.group.v1.QueryVotesByProposalResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/votes_by_proposal/{proposal_id}\x12\x96\x01\n\x0cVotesByVoter\x12).cosmos.group.v1.QueryVotesByVoterRequest\x1a*.cosmos.group.v1.QueryVotesByVoterResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/votes_by_voter/{voter}\x12\xa0\x01\n\x0eGroupsByMember\x12+.cosmos.group.v1.QueryGroupsByMemberRequest\x1a,.cosmos.group.v1.QueryGroupsByMemberResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/group/v1/groups_by_member/{address}\x12\x9a\x01\n\x0bTallyResult\x12(.cosmos.group.v1.QueryTallyResultRequest\x1a).cosmos.group.v1.QueryTallyResultResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/group/v1/proposals/{proposal_id}/tally\x12t\n\x06Groups\x12#.cosmos.group.v1.QueryGroupsRequest\x1a$.cosmos.group.v1.QueryGroupsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cosmos/group/v1/groupsB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -70,6 +70,8 @@ _QUERY.methods_by_name['GroupsByMember']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/group/v1/groups_by_member/{address}' _QUERY.methods_by_name['TallyResult']._options = None _QUERY.methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0020\022./cosmos/group/v1/proposals/{proposal_id}/tally' + _QUERY.methods_by_name['Groups']._options = None + _QUERY.methods_by_name['Groups']._serialized_options = b'\202\323\344\223\002\031\022\027/cosmos/group/v1/groups' _globals['_QUERYGROUPINFOREQUEST']._serialized_start=219 _globals['_QUERYGROUPINFOREQUEST']._serialized_end=260 _globals['_QUERYGROUPINFORESPONSE']._serialized_start=262 @@ -122,6 +124,10 @@ _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=2953 _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=2955 _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=3037 - _globals['_QUERY']._serialized_start=3040 - _globals['_QUERY']._serialized_end=5221 + _globals['_QUERYGROUPSREQUEST']._serialized_start=3039 + _globals['_QUERYGROUPSREQUEST']._serialized_end=3119 + _globals['_QUERYGROUPSRESPONSE']._serialized_start=3121 + _globals['_QUERYGROUPSRESPONSE']._serialized_end=3247 + _globals['_QUERY']._serialized_start=3250 + _globals['_QUERY']._serialized_end=5549 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py index 7590de63..728db883 100644 --- a/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py @@ -80,6 +80,11 @@ def __init__(self, channel): request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, ) + self.Groups = channel.unary_unary( + '/cosmos.group.v1.Query/Groups', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, + ) class QueryServicer(object): @@ -181,6 +186,15 @@ def TallyResult(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def Groups(self, request, context): + """Groups queries all groups in state. + + Since: cosmos-sdk 0.47.1 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { @@ -249,6 +263,11 @@ def add_QueryServicer_to_server(servicer, server): request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, ), + 'Groups': grpc.unary_unary_rpc_method_handler( + servicer.Groups, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'cosmos.group.v1.Query', rpc_method_handlers) @@ -480,3 +499,20 @@ def TallyResult(request, cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Groups(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmos.group.v1.Query/Groups', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py index 6417d59d..30c32723 100644 --- a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py +++ b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py @@ -15,7 +15,7 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/tx/signing/v1beta1/signing.proto\x12\x19\x63osmos.tx.signing.v1beta1\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x19google/protobuf/any.proto\"Z\n\x14SignatureDescriptors\x12\x42\n\nsignatures\x18\x01 \x03(\x0b\x32..cosmos.tx.signing.v1beta1.SignatureDescriptor\"\xa4\x04\n\x13SignatureDescriptor\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x41\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x1a\x8d\x03\n\x04\x44\x61ta\x12L\n\x06single\x18\x01 \x01(\x0b\x32:.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.SingleH\x00\x12J\n\x05multi\x18\x02 \x01(\x0b\x32\x39.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.MultiH\x00\x1aN\n\x06Single\x12\x31\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignMode\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x1a\x93\x01\n\x05Multi\x12\x41\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArray\x12G\n\nsignatures\x18\x02 \x03(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataB\x05\n\x03sum*\xa5\x01\n\x08SignMode\x12\x19\n\x15SIGN_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10SIGN_MODE_DIRECT\x10\x01\x12\x15\n\x11SIGN_MODE_TEXTUAL\x10\x02\x12\x18\n\x14SIGN_MODE_DIRECT_AUX\x10\x03\x12\x1f\n\x1bSIGN_MODE_LEGACY_AMINO_JSON\x10\x7f\x12\x16\n\x11SIGN_MODE_EIP_191\x10\xbf\x01\x42/Z-github.com/cosmos/cosmos-sdk/types/tx/signingb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/tx/signing/v1beta1/signing.proto\x12\x19\x63osmos.tx.signing.v1beta1\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x19google/protobuf/any.proto\"Z\n\x14SignatureDescriptors\x12\x42\n\nsignatures\x18\x01 \x03(\x0b\x32..cosmos.tx.signing.v1beta1.SignatureDescriptor\"\xa4\x04\n\x13SignatureDescriptor\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x41\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x1a\x8d\x03\n\x04\x44\x61ta\x12L\n\x06single\x18\x01 \x01(\x0b\x32:.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.SingleH\x00\x12J\n\x05multi\x18\x02 \x01(\x0b\x32\x39.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.MultiH\x00\x1aN\n\x06Single\x12\x31\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignMode\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x1a\x93\x01\n\x05Multi\x12\x41\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArray\x12G\n\nsignatures\x18\x02 \x03(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataB\x05\n\x03sum*\xbf\x01\n\x08SignMode\x12\x19\n\x15SIGN_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10SIGN_MODE_DIRECT\x10\x01\x12\x15\n\x11SIGN_MODE_TEXTUAL\x10\x02\x12\x18\n\x14SIGN_MODE_DIRECT_AUX\x10\x03\x12\x1f\n\x1bSIGN_MODE_LEGACY_AMINO_JSON\x10\x7f\x12\x18\n\x13SIGN_MODE_EIP712_V2\x10\x80\x01\x12\x16\n\x11SIGN_MODE_EIP_191\x10\xbf\x01\x42/Z-github.com/cosmos/cosmos-sdk/types/tx/signingb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,7 +25,7 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z-github.com/cosmos/cosmos-sdk/types/tx/signing' _globals['_SIGNMODE']._serialized_start=788 - _globals['_SIGNMODE']._serialized_end=953 + _globals['_SIGNMODE']._serialized_end=979 _globals['_SIGNATUREDESCRIPTORS']._serialized_start=144 _globals['_SIGNATUREDESCRIPTORS']._serialized_end=234 _globals['_SIGNATUREDESCRIPTOR']._serialized_start=237 diff --git a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py index a1395c1c..cf25dbc3 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py @@ -14,12 +14,11 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\x98\x01\n\x16StoreCodeAuthorization\x12\x36\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmwasm.wasm.v1.CodeGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:F\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1bwasm/StoreCodeAuthorization\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"^\n\tCodeGrant\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12>\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\"\xdb\x01\n\rContractGrant\x12*\n\x08\x63ontract\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/CombinedLimit\"c\n\x16\x41llowAllMessagesFilter:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"\xc1\x01\n\rContractGrant\x12\x10\n\x08\x63ontract\x18\x01 \x01(\t\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/CombinedLimit\"c\n\x16\x41llowAllMessagesFilter:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,10 +27,6 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000' - _STORECODEAUTHORIZATION.fields_by_name['grants']._options = None - _STORECODEAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _STORECODEAUTHORIZATION._options = None - _STORECODEAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\033wasm/StoreCodeAuthorization' _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._options = None _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTEXECUTIONAUTHORIZATION._options = None @@ -40,8 +35,6 @@ _CONTRACTMIGRATIONAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTMIGRATIONAUTHORIZATION._options = None _CONTRACTMIGRATIONAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractMigrationAuthorization' - _CONTRACTGRANT.fields_by_name['contract']._options = None - _CONTRACTGRANT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _CONTRACTGRANT.fields_by_name['limit']._options = None _CONTRACTGRANT.fields_by_name['limit']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX' _CONTRACTGRANT.fields_by_name['filter']._options = None @@ -64,26 +57,22 @@ _ACCEPTEDMESSAGESFILTER.fields_by_name['messages']._serialized_options = b'\372\336\037\022RawContractMessage' _ACCEPTEDMESSAGESFILTER._options = None _ACCEPTEDMESSAGESFILTER._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter' - _globals['_STORECODEAUTHORIZATION']._serialized_start=208 - _globals['_STORECODEAUTHORIZATION']._serialized_end=360 - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=363 - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=535 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=538 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=710 - _globals['_CODEGRANT']._serialized_start=712 - _globals['_CODEGRANT']._serialized_end=806 - _globals['_CONTRACTGRANT']._serialized_start=809 - _globals['_CONTRACTGRANT']._serialized_end=1028 - _globals['_MAXCALLSLIMIT']._serialized_start=1030 - _globals['_MAXCALLSLIMIT']._serialized_end=1129 - _globals['_MAXFUNDSLIMIT']._serialized_start=1132 - _globals['_MAXFUNDSLIMIT']._serialized_end=1311 - _globals['_COMBINEDLIMIT']._serialized_start=1314 - _globals['_COMBINEDLIMIT']._serialized_end=1518 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1520 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1619 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1621 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1740 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1743 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=1884 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=178 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=350 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=353 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=525 + _globals['_CONTRACTGRANT']._serialized_start=528 + _globals['_CONTRACTGRANT']._serialized_end=721 + _globals['_MAXCALLSLIMIT']._serialized_start=723 + _globals['_MAXCALLSLIMIT']._serialized_end=822 + _globals['_MAXFUNDSLIMIT']._serialized_start=825 + _globals['_MAXFUNDSLIMIT']._serialized_end=1004 + _globals['_COMBINEDLIMIT']._serialized_start=1007 + _globals['_COMBINEDLIMIT']._serialized_end=1211 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1213 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1312 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1314 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1433 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1436 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=1577 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py index 225daf64..18e31e46 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py @@ -14,10 +14,9 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 -from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xaa\x02\n\x0cGenesisState\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x43\n\x05\x63odes\x18\x02 \x03(\x0b\x32\x16.cosmwasm.wasm.v1.CodeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x0f\x63odes,omitempty\xa8\xe7\xb0*\x01\x12O\n\tcontracts\x18\x03 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.ContractB \xc8\xde\x1f\x00\xea\xde\x1f\x13\x63ontracts,omitempty\xa8\xe7\xb0*\x01\x12O\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01\"\x81\x01\n\x04\x43ode\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x38\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x12\n\ncode_bytes\x18\x03 \x01(\x0c\x12\x0e\n\x06pinned\x18\x04 \x01(\x08\"\x92\x02\n\x08\x43ontract\x12\x32\n\x10\x63ontract_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12@\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12:\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12T\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"4\n\x08Sequence\x12\x19\n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKey\x12\r\n\x05value\x18\x02 \x01(\x04\x42(Z&github.com/CosmWasm/wasmd/x/wasm/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xaa\x02\n\x0cGenesisState\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x43\n\x05\x63odes\x18\x02 \x03(\x0b\x32\x16.cosmwasm.wasm.v1.CodeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x0f\x63odes,omitempty\xa8\xe7\xb0*\x01\x12O\n\tcontracts\x18\x03 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.ContractB \xc8\xde\x1f\x00\xea\xde\x1f\x13\x63ontracts,omitempty\xa8\xe7\xb0*\x01\x12O\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01\"\x81\x01\n\x04\x43ode\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x38\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x12\n\ncode_bytes\x18\x03 \x01(\x0c\x12\x0e\n\x06pinned\x18\x04 \x01(\x08\"\xf8\x01\n\x08\x43ontract\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12@\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12:\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12T\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"4\n\x08Sequence\x12\x19\n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKey\x12\r\n\x05value\x18\x02 \x01(\x04\x42(Z&github.com/CosmWasm/wasmd/x/wasm/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -38,8 +37,6 @@ _CODE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _CODE.fields_by_name['code_info']._options = None _CODE.fields_by_name['code_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _CONTRACT.fields_by_name['contract_address']._options = None - _CONTRACT.fields_by_name['contract_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _CONTRACT.fields_by_name['contract_info']._options = None _CONTRACT.fields_by_name['contract_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACT.fields_by_name['contract_state']._options = None @@ -48,12 +45,12 @@ _CONTRACT.fields_by_name['contract_code_history']._serialized_options = b'\310\336\037\000\250\347\260*\001' _SEQUENCE.fields_by_name['id_key']._options = None _SEQUENCE.fields_by_name['id_key']._serialized_options = b'\342\336\037\005IDKey' - _globals['_GENESISSTATE']._serialized_start=151 - _globals['_GENESISSTATE']._serialized_end=449 - _globals['_CODE']._serialized_start=452 - _globals['_CODE']._serialized_end=581 - _globals['_CONTRACT']._serialized_start=584 - _globals['_CONTRACT']._serialized_end=858 - _globals['_SEQUENCE']._serialized_start=860 - _globals['_SEQUENCE']._serialized_end=912 + _globals['_GENESISSTATE']._serialized_start=124 + _globals['_GENESISSTATE']._serialized_end=422 + _globals['_CODE']._serialized_start=425 + _globals['_CODE']._serialized_end=554 + _globals['_CONTRACT']._serialized_start=557 + _globals['_CONTRACT']._serialized_end=805 + _globals['_SEQUENCE']._serialized_start=807 + _globals['_SEQUENCE']._serialized_end=859 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py new file mode 100644 index 00000000..49b6692c --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py @@ -0,0 +1,134 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmwasm/wasm/v1/proposal.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 +from amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmwasm/wasm/v1/proposal.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xc2\x02\n\x11StoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x08 \x01(\x08\x12\x0e\n\x06source\x18\t \x01(\t\x12\x0f\n\x07\x62uilder\x18\n \x01(\t\x12\x11\n\tcode_hash\x18\x0b \x01(\x0c:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\xd9\x02\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\xfa\x02\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\t \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\n \x01(\x08:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xd4\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x06 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xb1\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xa8\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\xb3\x01\n\x13UpdateAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\'\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\"\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\x88\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xce\x01\n\x10PinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xd2\x01\n\x12UnpinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x02\n\x1fUpdateInstantiateConfigProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12N\n\x15\x61\x63\x63\x65ss_config_updates\x18\x03 \x03(\x0b\x32$.cosmwasm.wasm.v1.AccessConfigUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\xfe\x03\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x06 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x07 \x01(\t\x12\r\n\x05label\x18\x08 \x01(\t\x12#\n\x03msg\x18\t \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0c \x01(\t\x12\x11\n\tcode_hash\x18\r \x01(\x0c:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB4Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\330\341\036\000\250\342\036\001' + _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._options = None + _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _STORECODEPROPOSAL._options = None + _STORECODEPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _INSTANTIATECONTRACTPROPOSAL._options = None + _INSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _INSTANTIATECONTRACT2PROPOSAL._options = None + _INSTANTIATECONTRACT2PROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' + _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _MIGRATECONTRACTPROPOSAL._options = None + _MIGRATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' + _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._options = None + _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _SUDOCONTRACTPROPOSAL._options = None + _SUDOCONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' + _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _EXECUTECONTRACTPROPOSAL._options = None + _EXECUTECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' + _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._options = None + _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"' + _UPDATEADMINPROPOSAL._options = None + _UPDATEADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' + _CLEARADMINPROPOSAL._options = None + _CLEARADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' + _PINCODESPROPOSAL.fields_by_name['title']._options = None + _PINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' + _PINCODESPROPOSAL.fields_by_name['description']._options = None + _PINCODESPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' + _PINCODESPROPOSAL.fields_by_name['code_ids']._options = None + _PINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _PINCODESPROPOSAL._options = None + _PINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' + _UNPINCODESPROPOSAL.fields_by_name['title']._options = None + _UNPINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' + _UNPINCODESPROPOSAL.fields_by_name['description']._options = None + _UNPINCODESPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' + _UNPINCODESPROPOSAL.fields_by_name['code_ids']._options = None + _UNPINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _UNPINCODESPROPOSAL._options = None + _UNPINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' + _ACCESSCONFIGUPDATE.fields_by_name['code_id']._options = None + _ACCESSCONFIGUPDATE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._options = None + _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _UPDATEINSTANTIATECONFIGPROPOSAL._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _STOREANDINSTANTIATECONTRACTPROPOSAL._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' + _globals['_STORECODEPROPOSAL']._serialized_start=184 + _globals['_STORECODEPROPOSAL']._serialized_end=506 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=509 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=854 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=857 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1235 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1238 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1450 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1453 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=1630 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=1633 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=1929 + _globals['_UPDATEADMINPROPOSAL']._serialized_start=1932 + _globals['_UPDATEADMINPROPOSAL']._serialized_end=2111 + _globals['_CLEARADMINPROPOSAL']._serialized_start=2114 + _globals['_CLEARADMINPROPOSAL']._serialized_end=2250 + _globals['_PINCODESPROPOSAL']._serialized_start=2253 + _globals['_PINCODESPROPOSAL']._serialized_end=2459 + _globals['_UNPINCODESPROPOSAL']._serialized_start=2462 + _globals['_UNPINCODESPROPOSAL']._serialized_end=2672 + _globals['_ACCESSCONFIGUPDATE']._serialized_start=2674 + _globals['_ACCESSCONFIGUPDATE']._serialized_end=2798 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=2801 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3067 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=3070 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=3580 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2_grpc.py similarity index 100% rename from pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2_grpc.py rename to pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2_grpc.py diff --git a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py index eba7447c..bd8315e3 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py @@ -16,10 +16,9 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 -from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"E\n\x18QueryContractInfoRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\x96\x01\n\x19QueryContractInfoResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12H\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\x11\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xea\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01\"\x84\x01\n\x1bQueryContractHistoryRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa3\x01\n\x1cQueryContractHistoryResponse\x12\x46\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"j\n\x1bQueryContractsByCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x88\x01\n\x1cQueryContractsByCodeResponse\x12+\n\tcontracts\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x85\x01\n\x1cQueryAllContractStateRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n\x1dQueryAllContractStateResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"]\n\x1cQueryRawContractStateRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x12\n\nquery_data\x18\x02 \x01(\x0c\"-\n\x1dQueryRawContractStateResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"w\n\x1eQuerySmartContractStateRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\nquery_data\x18\x02 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"G\n\x1fQuerySmartContractStateResponse\x12$\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"#\n\x10QueryCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\"\x86\x02\n\x10\x43odeInfoResponse\x12!\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02id\x12)\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12G\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12I\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"r\n\x11QueryCodeResponse\x12?\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00\x12\x16\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"O\n\x11QueryCodesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x94\x01\n\x12QueryCodesResponse\x12\x41\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"U\n\x17QueryPinnedCodesRequest\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"v\n\x18QueryPinnedCodesResponse\x12\x1d\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDs\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"J\n\x13QueryParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8f\x01\n\x1eQueryContractsByCreatorRequest\x12\x31\n\x0f\x63reator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x94\x01\n\x1fQueryContractsByCreatorResponse\x12\x34\n\x12\x63ontract_addresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xc3\r\n\x05Query\x12\x95\x01\n\x0c\x43ontractInfo\x12*.cosmwasm.wasm.v1.QueryContractInfoRequest\x1a+.cosmwasm.wasm.v1.QueryContractInfoResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmwasm/wasm/v1/contract/{address}\x12\xa6\x01\n\x0f\x43ontractHistory\x12-.cosmwasm.wasm.v1.QueryContractHistoryRequest\x1a..cosmwasm.wasm.v1.QueryContractHistoryResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmwasm/wasm/v1/contract/{address}/history\x12\xa4\x01\n\x0f\x43ontractsByCode\x12-.cosmwasm.wasm.v1.QueryContractsByCodeRequest\x1a..cosmwasm.wasm.v1.QueryContractsByCodeResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/code/{code_id}/contracts\x12\xa7\x01\n\x10\x41llContractState\x12..cosmwasm.wasm.v1.QueryAllContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryAllContractStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/contract/{address}/state\x12\xb2\x01\n\x10RawContractState\x12..cosmwasm.wasm.v1.QueryRawContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryRawContractStateResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}\x12\xba\x01\n\x12SmartContractState\x12\x30.cosmwasm.wasm.v1.QuerySmartContractStateRequest\x1a\x31.cosmwasm.wasm.v1.QuerySmartContractStateResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}\x12y\n\x04\x43ode\x12\".cosmwasm.wasm.v1.QueryCodeRequest\x1a#.cosmwasm.wasm.v1.QueryCodeResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmwasm/wasm/v1/code/{code_id}\x12r\n\x05\x43odes\x12#.cosmwasm.wasm.v1.QueryCodesRequest\x1a$.cosmwasm.wasm.v1.QueryCodesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmwasm/wasm/v1/code\x12\x8c\x01\n\x0bPinnedCodes\x12).cosmwasm.wasm.v1.QueryPinnedCodesRequest\x1a*.cosmwasm.wasm.v1.QueryPinnedCodesResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/pinned\x12}\n\x06Params\x12$.cosmwasm.wasm.v1.QueryParamsRequest\x1a%.cosmwasm.wasm.v1.QueryParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/params\x12\xb8\x01\n\x12\x43ontractsByCreator\x12\x30.cosmwasm.wasm.v1.QueryContractsByCreatorRequest\x1a\x31.cosmwasm.wasm.v1.QueryContractsByCreatorResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contracts/creator/{creator_address}B0Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\"+\n\x18QueryContractInfoRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"|\n\x19QueryContractInfoResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12H\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\x11\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xea\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01\"j\n\x1bQueryContractHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa3\x01\n\x1cQueryContractHistoryResponse\x12\x46\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"j\n\x1bQueryContractsByCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"n\n\x1cQueryContractsByCodeResponse\x12\x11\n\tcontracts\x18\x01 \x03(\t\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"k\n\x1cQueryAllContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n\x1dQueryAllContractStateResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"C\n\x1cQueryRawContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x12\n\nquery_data\x18\x02 \x01(\x0c\"-\n\x1dQueryRawContractStateResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"]\n\x1eQuerySmartContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12*\n\nquery_data\x18\x02 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"G\n\x1fQuerySmartContractStateResponse\x12$\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"#\n\x10QueryCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\"\xec\x01\n\x10\x43odeInfoResponse\x12!\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02id\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12G\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12I\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"r\n\x11QueryCodeResponse\x12?\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00\x12\x16\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"O\n\x11QueryCodesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x94\x01\n\x12QueryCodesResponse\x12\x41\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"U\n\x17QueryPinnedCodesRequest\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"v\n\x18QueryPinnedCodesResponse\x12\x1d\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDs\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"J\n\x13QueryParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"u\n\x1eQueryContractsByCreatorRequest\x12\x17\n\x0f\x63reator_address\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"z\n\x1fQueryContractsByCreatorResponse\x12\x1a\n\x12\x63ontract_addresses\x18\x01 \x03(\t\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xc3\r\n\x05Query\x12\x95\x01\n\x0c\x43ontractInfo\x12*.cosmwasm.wasm.v1.QueryContractInfoRequest\x1a+.cosmwasm.wasm.v1.QueryContractInfoResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmwasm/wasm/v1/contract/{address}\x12\xa6\x01\n\x0f\x43ontractHistory\x12-.cosmwasm.wasm.v1.QueryContractHistoryRequest\x1a..cosmwasm.wasm.v1.QueryContractHistoryResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmwasm/wasm/v1/contract/{address}/history\x12\xa4\x01\n\x0f\x43ontractsByCode\x12-.cosmwasm.wasm.v1.QueryContractsByCodeRequest\x1a..cosmwasm.wasm.v1.QueryContractsByCodeResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/code/{code_id}/contracts\x12\xa7\x01\n\x10\x41llContractState\x12..cosmwasm.wasm.v1.QueryAllContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryAllContractStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/contract/{address}/state\x12\xb2\x01\n\x10RawContractState\x12..cosmwasm.wasm.v1.QueryRawContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryRawContractStateResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}\x12\xba\x01\n\x12SmartContractState\x12\x30.cosmwasm.wasm.v1.QuerySmartContractStateRequest\x1a\x31.cosmwasm.wasm.v1.QuerySmartContractStateResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}\x12y\n\x04\x43ode\x12\".cosmwasm.wasm.v1.QueryCodeRequest\x1a#.cosmwasm.wasm.v1.QueryCodeResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmwasm/wasm/v1/code/{code_id}\x12r\n\x05\x43odes\x12#.cosmwasm.wasm.v1.QueryCodesRequest\x1a$.cosmwasm.wasm.v1.QueryCodesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmwasm/wasm/v1/code\x12\x8c\x01\n\x0bPinnedCodes\x12).cosmwasm.wasm.v1.QueryPinnedCodesRequest\x1a*.cosmwasm.wasm.v1.QueryPinnedCodesResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/pinned\x12}\n\x06Params\x12$.cosmwasm.wasm.v1.QueryParamsRequest\x1a%.cosmwasm.wasm.v1.QueryParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/params\x12\xb8\x01\n\x12\x43ontractsByCreator\x12\x30.cosmwasm.wasm.v1.QueryContractsByCreatorRequest\x1a\x31.cosmwasm.wasm.v1.QueryContractsByCreatorResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contracts/creator/{creator_address}B0Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,36 +27,20 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\250\342\036\000' - _QUERYCONTRACTINFOREQUEST.fields_by_name['address']._options = None - _QUERYCONTRACTINFOREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _QUERYCONTRACTINFORESPONSE.fields_by_name['address']._options = None - _QUERYCONTRACTINFORESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYCONTRACTINFORESPONSE.fields_by_name['contract_info']._options = None _QUERYCONTRACTINFORESPONSE.fields_by_name['contract_info']._serialized_options = b'\310\336\037\000\320\336\037\001\352\336\037\000\250\347\260*\001' _QUERYCONTRACTINFORESPONSE._options = None _QUERYCONTRACTINFORESPONSE._serialized_options = b'\350\240\037\001' - _QUERYCONTRACTHISTORYREQUEST.fields_by_name['address']._options = None - _QUERYCONTRACTHISTORYREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYCONTRACTHISTORYRESPONSE.fields_by_name['entries']._options = None _QUERYCONTRACTHISTORYRESPONSE.fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _QUERYCONTRACTSBYCODERESPONSE.fields_by_name['contracts']._options = None - _QUERYCONTRACTSBYCODERESPONSE.fields_by_name['contracts']._serialized_options = b'\322\264-\024cosmos.AddressString' - _QUERYALLCONTRACTSTATEREQUEST.fields_by_name['address']._options = None - _QUERYALLCONTRACTSTATEREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYALLCONTRACTSTATERESPONSE.fields_by_name['models']._options = None _QUERYALLCONTRACTSTATERESPONSE.fields_by_name['models']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _QUERYRAWCONTRACTSTATEREQUEST.fields_by_name['address']._options = None - _QUERYRAWCONTRACTSTATEREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['address']._options = None - _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['query_data']._options = None _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['query_data']._serialized_options = b'\372\336\037\022RawContractMessage' _QUERYSMARTCONTRACTSTATERESPONSE.fields_by_name['data']._options = None _QUERYSMARTCONTRACTSTATERESPONSE.fields_by_name['data']._serialized_options = b'\372\336\037\022RawContractMessage' _CODEINFORESPONSE.fields_by_name['code_id']._options = None _CODEINFORESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID\352\336\037\002id' - _CODEINFORESPONSE.fields_by_name['creator']._options = None - _CODEINFORESPONSE.fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' _CODEINFORESPONSE.fields_by_name['data_hash']._options = None _CODEINFORESPONSE.fields_by_name['data_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' _CODEINFORESPONSE.fields_by_name['instantiate_permission']._options = None @@ -76,10 +59,6 @@ _QUERYPINNEDCODESRESPONSE.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs' _QUERYPARAMSRESPONSE.fields_by_name['params']._options = None _QUERYPARAMSRESPONSE.fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _QUERYCONTRACTSBYCREATORREQUEST.fields_by_name['creator_address']._options = None - _QUERYCONTRACTSBYCREATORREQUEST.fields_by_name['creator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _QUERYCONTRACTSBYCREATORRESPONSE.fields_by_name['contract_addresses']._options = None - _QUERYCONTRACTSBYCREATORRESPONSE.fields_by_name['contract_addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERY.methods_by_name['ContractInfo']._options = None _QUERY.methods_by_name['ContractInfo']._serialized_options = b'\202\323\344\223\002&\022$/cosmwasm/wasm/v1/contract/{address}' _QUERY.methods_by_name['ContractHistory']._options = None @@ -102,52 +81,52 @@ _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/params' _QUERY.methods_by_name['ContractsByCreator']._options = None _QUERY.methods_by_name['ContractsByCreator']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contracts/creator/{creator_address}' - _globals['_QUERYCONTRACTINFOREQUEST']._serialized_start=222 - _globals['_QUERYCONTRACTINFOREQUEST']._serialized_end=291 - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_start=294 - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_end=444 - _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_start=447 - _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_end=579 - _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_start=582 - _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_end=745 - _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_start=747 - _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_end=853 - _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_start=856 - _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_end=992 - _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_start=995 - _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_end=1128 - _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_start=1131 - _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_end=1275 - _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_start=1277 - _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_end=1370 - _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_start=1372 - _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_end=1417 - _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_start=1419 - _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_end=1538 - _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_start=1540 - _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_end=1611 - _globals['_QUERYCODEREQUEST']._serialized_start=1613 - _globals['_QUERYCODEREQUEST']._serialized_end=1648 - _globals['_CODEINFORESPONSE']._serialized_start=1651 - _globals['_CODEINFORESPONSE']._serialized_end=1913 - _globals['_QUERYCODERESPONSE']._serialized_start=1915 - _globals['_QUERYCODERESPONSE']._serialized_end=2029 - _globals['_QUERYCODESREQUEST']._serialized_start=2031 - _globals['_QUERYCODESREQUEST']._serialized_end=2110 - _globals['_QUERYCODESRESPONSE']._serialized_start=2113 - _globals['_QUERYCODESRESPONSE']._serialized_end=2261 - _globals['_QUERYPINNEDCODESREQUEST']._serialized_start=2263 - _globals['_QUERYPINNEDCODESREQUEST']._serialized_end=2348 - _globals['_QUERYPINNEDCODESRESPONSE']._serialized_start=2350 - _globals['_QUERYPINNEDCODESRESPONSE']._serialized_end=2468 - _globals['_QUERYPARAMSREQUEST']._serialized_start=2470 - _globals['_QUERYPARAMSREQUEST']._serialized_end=2490 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=2492 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=2566 - _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_start=2569 - _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_end=2712 - _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_start=2715 - _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_end=2863 - _globals['_QUERY']._serialized_start=2866 - _globals['_QUERY']._serialized_end=4597 + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_start=195 + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_end=238 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_start=240 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_end=364 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_start=366 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_end=472 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_start=475 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_end=638 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_start=640 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_end=746 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_start=748 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_end=858 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_start=860 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_end=967 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_start=970 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_end=1114 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_start=1116 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_end=1183 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_start=1185 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_end=1230 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_start=1232 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_end=1325 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_start=1327 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_end=1398 + _globals['_QUERYCODEREQUEST']._serialized_start=1400 + _globals['_QUERYCODEREQUEST']._serialized_end=1435 + _globals['_CODEINFORESPONSE']._serialized_start=1438 + _globals['_CODEINFORESPONSE']._serialized_end=1674 + _globals['_QUERYCODERESPONSE']._serialized_start=1676 + _globals['_QUERYCODERESPONSE']._serialized_end=1790 + _globals['_QUERYCODESREQUEST']._serialized_start=1792 + _globals['_QUERYCODESREQUEST']._serialized_end=1871 + _globals['_QUERYCODESRESPONSE']._serialized_start=1874 + _globals['_QUERYCODESRESPONSE']._serialized_end=2022 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_start=2024 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_end=2109 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_start=2111 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_end=2229 + _globals['_QUERYPARAMSREQUEST']._serialized_start=2231 + _globals['_QUERYPARAMSREQUEST']._serialized_end=2251 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=2253 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=2327 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_start=2329 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_end=2446 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_start=2448 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_end=2570 + _globals['_QUERY']._serialized_start=2573 + _globals['_QUERY']._serialized_end=4304 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py index 1fc05201..22104afe 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py @@ -19,7 +19,7 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xd1\x01\n\x0cMsgStoreCode\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\xca\x02\n\x16MsgInstantiateContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"Y\n\x1eMsgInstantiateContractResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xeb\x02\n\x17MsgInstantiateContract2\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"Z\n\x1fMsgInstantiateContract2Response\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\x99\x02\n\x12MsgExecuteContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xd5\x01\n\x12MsgMigrateContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xb8\x01\n\x0eMsgUpdateAdmin\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\tnew_admin\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"\x89\x01\n\rMsgClearAdmin\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xd8\x01\n\x1aMsgUpdateInstantiateConfig\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xb8\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xf5\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\'\n\x05\x61\x64min\x18\x06 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"a\n&MsgStoreAndInstantiateContractResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb0\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xb6\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse\"\x9e\x02\n\x1aMsgStoreAndMigrateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract\"a\n\"MsgStoreAndMigrateContractResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\xae\x01\n\x16MsgUpdateContractLabel\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x11\n\tnew_label\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgUpdateContractLabel\" \n\x1eMsgUpdateContractLabelResponse2\xd5\x0e\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponse\x12\x95\x01\n\x1fRemoveCodeUploadParamsAddresses\x12\x34.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses\x1a<.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse\x12\x8c\x01\n\x1c\x41\x64\x64\x43odeUploadParamsAddresses\x12\x31.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses\x1a\x39.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponse\x12}\n\x17StoreAndMigrateContract\x12,.cosmwasm.wasm.v1.MsgStoreAndMigrateContract\x1a\x34.cosmwasm.wasm.v1.MsgStoreAndMigrateContractResponse\x12q\n\x13UpdateContractLabel\x12(.cosmwasm.wasm.v1.MsgUpdateContractLabel\x1a\x30.cosmwasm.wasm.v1.MsgUpdateContractLabelResponse\x1a\x05\x80\xe7\xb0*\x01\x42,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb7\x01\n\x0cMsgStoreCode\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\x96\x02\n\x16MsgInstantiateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"?\n\x1eMsgInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb7\x02\n\x17MsgInstantiateContract2\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"@\n\x1fMsgInstantiateContract2Response\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xe5\x01\n\x12MsgExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xa1\x01\n\x12MsgMigrateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"j\n\x0eMsgUpdateAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"U\n\rMsgClearAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\xbe\x01\n\x1aMsgUpdateInstantiateConfig\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9e\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xdb\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x06 \x01(\t\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"G\n&MsgStoreAndInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x32\xb5\n\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponseB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,18 +28,12 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000' - _MSGSTORECODE.fields_by_name['sender']._options = None - _MSGSTORECODE.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSTORECODE.fields_by_name['wasm_byte_code']._options = None _MSGSTORECODE.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' _MSGSTORECODE._options = None _MSGSTORECODE._serialized_options = b'\202\347\260*\006sender\212\347\260*\021wasm/MsgStoreCode' _MSGSTORECODERESPONSE.fields_by_name['code_id']._options = None _MSGSTORECODERESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _MSGINSTANTIATECONTRACT.fields_by_name['sender']._options = None - _MSGINSTANTIATECONTRACT.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGINSTANTIATECONTRACT.fields_by_name['admin']._options = None - _MSGINSTANTIATECONTRACT.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGINSTANTIATECONTRACT.fields_by_name['code_id']._options = None _MSGINSTANTIATECONTRACT.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGINSTANTIATECONTRACT.fields_by_name['msg']._options = None @@ -48,12 +42,6 @@ _MSGINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGINSTANTIATECONTRACT._options = None _MSGINSTANTIATECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgInstantiateContract' - _MSGINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._options = None - _MSGINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGINSTANTIATECONTRACT2.fields_by_name['sender']._options = None - _MSGINSTANTIATECONTRACT2.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGINSTANTIATECONTRACT2.fields_by_name['admin']._options = None - _MSGINSTANTIATECONTRACT2.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGINSTANTIATECONTRACT2.fields_by_name['code_id']._options = None _MSGINSTANTIATECONTRACT2.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGINSTANTIATECONTRACT2.fields_by_name['msg']._options = None @@ -62,48 +50,22 @@ _MSGINSTANTIATECONTRACT2.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGINSTANTIATECONTRACT2._options = None _MSGINSTANTIATECONTRACT2._serialized_options = b'\202\347\260*\006sender\212\347\260*\034wasm/MsgInstantiateContract2' - _MSGINSTANTIATECONTRACT2RESPONSE.fields_by_name['address']._options = None - _MSGINSTANTIATECONTRACT2RESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGEXECUTECONTRACT.fields_by_name['sender']._options = None - _MSGEXECUTECONTRACT.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGEXECUTECONTRACT.fields_by_name['contract']._options = None - _MSGEXECUTECONTRACT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGEXECUTECONTRACT.fields_by_name['msg']._options = None _MSGEXECUTECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGEXECUTECONTRACT.fields_by_name['funds']._options = None _MSGEXECUTECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGEXECUTECONTRACT._options = None _MSGEXECUTECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgExecuteContract' - _MSGMIGRATECONTRACT.fields_by_name['sender']._options = None - _MSGMIGRATECONTRACT.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGMIGRATECONTRACT.fields_by_name['contract']._options = None - _MSGMIGRATECONTRACT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGMIGRATECONTRACT.fields_by_name['code_id']._options = None _MSGMIGRATECONTRACT.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGMIGRATECONTRACT.fields_by_name['msg']._options = None _MSGMIGRATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGMIGRATECONTRACT._options = None _MSGMIGRATECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgMigrateContract' - _MSGUPDATEADMIN.fields_by_name['sender']._options = None - _MSGUPDATEADMIN.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGUPDATEADMIN.fields_by_name['new_admin']._options = None - _MSGUPDATEADMIN.fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGUPDATEADMIN.fields_by_name['contract']._options = None - _MSGUPDATEADMIN.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEADMIN._options = None _MSGUPDATEADMIN._serialized_options = b'\202\347\260*\006sender\212\347\260*\023wasm/MsgUpdateAdmin' - _MSGCLEARADMIN.fields_by_name['sender']._options = None - _MSGCLEARADMIN.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGCLEARADMIN.fields_by_name['contract']._options = None - _MSGCLEARADMIN.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGCLEARADMIN._options = None _MSGCLEARADMIN._serialized_options = b'\202\347\260*\006sender\212\347\260*\022wasm/MsgClearAdmin' - _ACCESSCONFIGUPDATE.fields_by_name['code_id']._options = None - _ACCESSCONFIGUPDATE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._options = None - _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _MSGUPDATEINSTANTIATECONFIG.fields_by_name['sender']._options = None - _MSGUPDATEINSTANTIATECONFIG.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEINSTANTIATECONFIG.fields_by_name['code_id']._options = None _MSGUPDATEINSTANTIATECONFIG.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGUPDATEINSTANTIATECONFIG._options = None @@ -116,8 +78,6 @@ _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgUpdateParams' _MSGSUDOCONTRACT.fields_by_name['authority']._options = None _MSGSUDOCONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGSUDOCONTRACT.fields_by_name['contract']._options = None - _MSGSUDOCONTRACT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSUDOCONTRACT.fields_by_name['msg']._options = None _MSGSUDOCONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGSUDOCONTRACT._options = None @@ -138,116 +98,64 @@ _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['wasm_byte_code']._options = None _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['admin']._options = None - _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['msg']._options = None _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['funds']._options = None _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGSTOREANDINSTANTIATECONTRACT._options = None _MSGSTOREANDINSTANTIATECONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract' - _MSGSTOREANDINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._options = None - _MSGSTOREANDINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._options = None - _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._options = None - _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' - _MSGADDCODEUPLOADPARAMSADDRESSES._options = None - _MSGADDCODEUPLOADPARAMSADDRESSES._serialized_options = b'\202\347\260*\tauthority\212\347\260*$wasm/MsgAddCodeUploadParamsAddresses' - _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._options = None - _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._options = None - _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' - _MSGREMOVECODEUPLOADPARAMSADDRESSES._options = None - _MSGREMOVECODEUPLOADPARAMSADDRESSES._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'wasm/MsgRemoveCodeUploadParamsAddresses' - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['authority']._options = None - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['wasm_byte_code']._options = None - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['msg']._options = None - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _MSGSTOREANDMIGRATECONTRACT._options = None - _MSGSTOREANDMIGRATECONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*\037wasm/MsgStoreAndMigrateContract' - _MSGSTOREANDMIGRATECONTRACTRESPONSE.fields_by_name['code_id']._options = None - _MSGSTOREANDMIGRATECONTRACTRESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _MSGUPDATECONTRACTLABEL.fields_by_name['sender']._options = None - _MSGUPDATECONTRACTLABEL.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGUPDATECONTRACTLABEL.fields_by_name['contract']._options = None - _MSGUPDATECONTRACTLABEL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGUPDATECONTRACTLABEL._options = None - _MSGUPDATECONTRACTLABEL._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgUpdateContractLabel' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' _globals['_MSGSTORECODE']._serialized_start=203 - _globals['_MSGSTORECODE']._serialized_end=412 - _globals['_MSGSTORECODERESPONSE']._serialized_start=414 - _globals['_MSGSTORECODERESPONSE']._serialized_end=483 - _globals['_MSGINSTANTIATECONTRACT']._serialized_start=486 - _globals['_MSGINSTANTIATECONTRACT']._serialized_end=816 - _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_start=818 - _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_end=907 - _globals['_MSGINSTANTIATECONTRACT2']._serialized_start=910 - _globals['_MSGINSTANTIATECONTRACT2']._serialized_end=1273 - _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_start=1275 - _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_end=1365 - _globals['_MSGEXECUTECONTRACT']._serialized_start=1368 - _globals['_MSGEXECUTECONTRACT']._serialized_end=1649 - _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_start=1651 - _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_end=1693 - _globals['_MSGMIGRATECONTRACT']._serialized_start=1696 - _globals['_MSGMIGRATECONTRACT']._serialized_end=1909 - _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_start=1911 - _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_end=1953 - _globals['_MSGUPDATEADMIN']._serialized_start=1956 - _globals['_MSGUPDATEADMIN']._serialized_end=2140 - _globals['_MSGUPDATEADMINRESPONSE']._serialized_start=2142 - _globals['_MSGUPDATEADMINRESPONSE']._serialized_end=2166 - _globals['_MSGCLEARADMIN']._serialized_start=2169 - _globals['_MSGCLEARADMIN']._serialized_end=2306 - _globals['_MSGCLEARADMINRESPONSE']._serialized_start=2308 - _globals['_MSGCLEARADMINRESPONSE']._serialized_end=2331 - _globals['_ACCESSCONFIGUPDATE']._serialized_start=2333 - _globals['_ACCESSCONFIGUPDATE']._serialized_end=2457 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=2460 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=2676 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=2678 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=2714 - _globals['_MSGUPDATEPARAMS']._serialized_start=2717 - _globals['_MSGUPDATEPARAMS']._serialized_end=2873 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2875 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2900 - _globals['_MSGSUDOCONTRACT']._serialized_start=2903 - _globals['_MSGSUDOCONTRACT']._serialized_end=3087 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=3089 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=3128 - _globals['_MSGPINCODES']._serialized_start=3131 - _globals['_MSGPINCODES']._serialized_end=3276 - _globals['_MSGPINCODESRESPONSE']._serialized_start=3278 - _globals['_MSGPINCODESRESPONSE']._serialized_end=3299 - _globals['_MSGUNPINCODES']._serialized_start=3302 - _globals['_MSGUNPINCODES']._serialized_end=3451 - _globals['_MSGUNPINCODESRESPONSE']._serialized_start=3453 - _globals['_MSGUNPINCODESRESPONSE']._serialized_end=3476 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=3479 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3980 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3982 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=4079 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=4082 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=4258 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4260 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4301 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=4304 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=4486 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4488 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4532 - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=4535 - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=4821 - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=4823 - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=4920 - _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=4923 - _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=5097 - _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=5099 - _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=5131 - _globals['_MSG']._serialized_start=5134 - _globals['_MSG']._serialized_end=7011 + _globals['_MSGSTORECODE']._serialized_end=386 + _globals['_MSGSTORECODERESPONSE']._serialized_start=388 + _globals['_MSGSTORECODERESPONSE']._serialized_end=457 + _globals['_MSGINSTANTIATECONTRACT']._serialized_start=460 + _globals['_MSGINSTANTIATECONTRACT']._serialized_end=738 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_start=740 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_end=803 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_start=806 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_end=1117 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_start=1119 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_end=1183 + _globals['_MSGEXECUTECONTRACT']._serialized_start=1186 + _globals['_MSGEXECUTECONTRACT']._serialized_end=1415 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_start=1417 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_end=1459 + _globals['_MSGMIGRATECONTRACT']._serialized_start=1462 + _globals['_MSGMIGRATECONTRACT']._serialized_end=1623 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_start=1625 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_end=1667 + _globals['_MSGUPDATEADMIN']._serialized_start=1669 + _globals['_MSGUPDATEADMIN']._serialized_end=1775 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_start=1777 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_end=1801 + _globals['_MSGCLEARADMIN']._serialized_start=1803 + _globals['_MSGCLEARADMIN']._serialized_end=1888 + _globals['_MSGCLEARADMINRESPONSE']._serialized_start=1890 + _globals['_MSGCLEARADMINRESPONSE']._serialized_end=1913 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=1916 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=2106 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=2108 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=2144 + _globals['_MSGUPDATEPARAMS']._serialized_start=2147 + _globals['_MSGUPDATEPARAMS']._serialized_end=2303 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2305 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2330 + _globals['_MSGSUDOCONTRACT']._serialized_start=2333 + _globals['_MSGSUDOCONTRACT']._serialized_end=2491 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=2493 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=2532 + _globals['_MSGPINCODES']._serialized_start=2535 + _globals['_MSGPINCODES']._serialized_end=2680 + _globals['_MSGPINCODESRESPONSE']._serialized_start=2682 + _globals['_MSGPINCODESRESPONSE']._serialized_end=2703 + _globals['_MSGUNPINCODES']._serialized_start=2706 + _globals['_MSGUNPINCODES']._serialized_end=2855 + _globals['_MSGUNPINCODESRESPONSE']._serialized_start=2857 + _globals['_MSGUNPINCODESRESPONSE']._serialized_end=2880 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=2883 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3358 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3360 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=3431 + _globals['_MSG']._serialized_start=3434 + _globals['_MSG']._serialized_end=4767 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py index c0074e43..ac3b86e9 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py @@ -80,26 +80,6 @@ def __init__(self, channel): request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, ) - self.RemoveCodeUploadParamsAddresses = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, - ) - self.AddCodeUploadParamsAddresses = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, - ) - self.StoreAndMigrateContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/StoreAndMigrateContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.FromString, - ) - self.UpdateContractLabel = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/UpdateContractLabel', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.FromString, - ) class MsgServicer(object): @@ -144,7 +124,7 @@ def MigrateContract(self, request, context): raise NotImplementedError('Method not implemented!') def UpdateAdmin(self, request, context): - """UpdateAdmin sets a new admin for a smart contract + """UpdateAdmin sets a new admin for a smart contract """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -214,43 +194,6 @@ def StoreAndInstantiateContract(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def RemoveCodeUploadParamsAddresses(self, request, context): - """RemoveCodeUploadParamsAddresses defines a governance operation for - removing addresses from code upload params. - The authority is defined in the keeper. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddCodeUploadParamsAddresses(self, request, context): - """AddCodeUploadParamsAddresses defines a governance operation for - adding addresses to code upload params. - The authority is defined in the keeper. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StoreAndMigrateContract(self, request, context): - """StoreAndMigrateContract defines a governance operation for storing - and migrating the contract. The authority is defined in the keeper. - - Since: 0.42 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateContractLabel(self, request, context): - """UpdateContractLabel sets a new label for a smart contract - - Since: 0.43 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -319,26 +262,6 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.FromString, response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.SerializeToString, ), - 'RemoveCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( - servicer.RemoveCodeUploadParamsAddresses, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.SerializeToString, - ), - 'AddCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( - servicer.AddCodeUploadParamsAddresses, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, - ), - 'StoreAndMigrateContract': grpc.unary_unary_rpc_method_handler( - servicer.StoreAndMigrateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.SerializeToString, - ), - 'UpdateContractLabel': grpc.unary_unary_rpc_method_handler( - servicer.UpdateContractLabel, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( 'cosmwasm.wasm.v1.Msg', rpc_method_handlers) @@ -570,71 +493,3 @@ def StoreAndInstantiateContract(request, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RemoveCodeUploadParamsAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AddCodeUploadParamsAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StoreAndMigrateContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/StoreAndMigrateContract', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateContractLabel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/UpdateContractLabel', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py index e726472e..3c1ecf7c 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py @@ -15,9 +15,10 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\x90\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12+\n\taddresses\x18\x03 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"code_upload_access\"\xa8\xe7\xb0*\x01\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x9b\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12)\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\xc4\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12)\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c*\xf6\x01\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\"\x04\x08\x02\x10\x02*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\xab\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12#\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"address\"\x12\'\n\taddresses\x18\x03 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":\x04\x98\xa0\x1f\x01\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"code_upload_access\"\xa8\xe7\xb0*\x01\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x81\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x90\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\r\n\x05\x61\x64min\x18\x03 \x01(\t\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x88\x01\n\x0f\x45ventCodeStored\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x35\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63hecksum\x18\x04 \x01(\x0c\"\x82\x02\n\x19\x45ventContractInstantiated\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12Z\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12\r\n\x05label\x18\x06 \x01(\t\x12\x0f\n\x07\x63reator\x18\x07 \x01(\t\"s\n\x15\x45ventContractMigrated\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"D\n\x15\x45ventContractAdminSet\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t*\xa9\x02\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x37\n\x18\x41\x43\x43\x45SS_TYPE_ONLY_ADDRESS\x10\x02\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeOnlyAddress\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -32,6 +33,8 @@ _ACCESSTYPE.values_by_name["ACCESS_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \025AccessTypeUnspecified' _ACCESSTYPE.values_by_name["ACCESS_TYPE_NOBODY"]._options = None _ACCESSTYPE.values_by_name["ACCESS_TYPE_NOBODY"]._serialized_options = b'\212\235 \020AccessTypeNobody' + _ACCESSTYPE.values_by_name["ACCESS_TYPE_ONLY_ADDRESS"]._options = None + _ACCESSTYPE.values_by_name["ACCESS_TYPE_ONLY_ADDRESS"]._serialized_options = b'\212\235 \025AccessTypeOnlyAddress' _ACCESSTYPE.values_by_name["ACCESS_TYPE_EVERYBODY"]._options = None _ACCESSTYPE.values_by_name["ACCESS_TYPE_EVERYBODY"]._serialized_options = b'\212\235 \023AccessTypeEverybody' _ACCESSTYPE.values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._options = None @@ -52,8 +55,10 @@ _ACCESSTYPEPARAM._serialized_options = b'\230\240\037\001' _ACCESSCONFIG.fields_by_name['permission']._options = None _ACCESSCONFIG.fields_by_name['permission']._serialized_options = b'\362\336\037\021yaml:\"permission\"' + _ACCESSCONFIG.fields_by_name['address']._options = None + _ACCESSCONFIG.fields_by_name['address']._serialized_options = b'\362\336\037\016yaml:\"address\"' _ACCESSCONFIG.fields_by_name['addresses']._options = None - _ACCESSCONFIG.fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' + _ACCESSCONFIG.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' _ACCESSCONFIG._options = None _ACCESSCONFIG._serialized_options = b'\230\240\037\001' _PARAMS.fields_by_name['code_upload_access']._options = None @@ -62,16 +67,10 @@ _PARAMS.fields_by_name['instantiate_default_permission']._serialized_options = b'\362\336\037%yaml:\"instantiate_default_permission\"' _PARAMS._options = None _PARAMS._serialized_options = b'\230\240\037\000' - _CODEINFO.fields_by_name['creator']._options = None - _CODEINFO.fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' _CODEINFO.fields_by_name['instantiate_config']._options = None _CODEINFO.fields_by_name['instantiate_config']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTINFO.fields_by_name['code_id']._options = None _CONTRACTINFO.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _CONTRACTINFO.fields_by_name['creator']._options = None - _CONTRACTINFO.fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' - _CONTRACTINFO.fields_by_name['admin']._options = None - _CONTRACTINFO.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _CONTRACTINFO.fields_by_name['ibc_port_id']._options = None _CONTRACTINFO.fields_by_name['ibc_port_id']._serialized_options = b'\342\336\037\tIBCPortID' _CONTRACTINFO.fields_by_name['extension']._options = None @@ -84,24 +83,44 @@ _CONTRACTCODEHISTORYENTRY.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MODEL.fields_by_name['key']._options = None _MODEL.fields_by_name['key']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' - _globals['_ACCESSTYPE']._serialized_start=1470 - _globals['_ACCESSTYPE']._serialized_end=1716 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=1719 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2141 - _globals['_ACCESSTYPEPARAM']._serialized_start=145 - _globals['_ACCESSTYPEPARAM']._serialized_end=231 - _globals['_ACCESSCONFIG']._serialized_start=234 - _globals['_ACCESSCONFIG']._serialized_end=378 - _globals['_PARAMS']._serialized_start=381 - _globals['_PARAMS']._serialized_end=608 - _globals['_CODEINFO']._serialized_start=611 - _globals['_CODEINFO']._serialized_end=766 - _globals['_CONTRACTINFO']._serialized_start=769 - _globals['_CONTRACTINFO']._serialized_end=1093 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1096 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1314 - _globals['_ABSOLUTETXPOSITION']._serialized_start=1316 - _globals['_ABSOLUTETXPOSITION']._serialized_end=1376 - _globals['_MODEL']._serialized_start=1378 - _globals['_MODEL']._serialized_end=1467 + _EVENTCODESTORED.fields_by_name['code_id']._options = None + _EVENTCODESTORED.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _EVENTCONTRACTINSTANTIATED.fields_by_name['code_id']._options = None + _EVENTCONTRACTINSTANTIATED.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _EVENTCONTRACTINSTANTIATED.fields_by_name['funds']._options = None + _EVENTCONTRACTINSTANTIATED.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _EVENTCONTRACTINSTANTIATED.fields_by_name['msg']._options = None + _EVENTCONTRACTINSTANTIATED.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _EVENTCONTRACTMIGRATED.fields_by_name['code_id']._options = None + _EVENTCONTRACTMIGRATED.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _EVENTCONTRACTMIGRATED.fields_by_name['msg']._options = None + _EVENTCONTRACTMIGRATED.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _globals['_ACCESSTYPE']._serialized_start=2038 + _globals['_ACCESSTYPE']._serialized_end=2335 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=2338 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2760 + _globals['_ACCESSTYPEPARAM']._serialized_start=177 + _globals['_ACCESSTYPEPARAM']._serialized_end=263 + _globals['_ACCESSCONFIG']._serialized_start=266 + _globals['_ACCESSCONFIG']._serialized_end=437 + _globals['_PARAMS']._serialized_start=440 + _globals['_PARAMS']._serialized_end=667 + _globals['_CODEINFO']._serialized_start=670 + _globals['_CODEINFO']._serialized_end=799 + _globals['_CONTRACTINFO']._serialized_start=802 + _globals['_CONTRACTINFO']._serialized_end=1074 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1077 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1295 + _globals['_ABSOLUTETXPOSITION']._serialized_start=1297 + _globals['_ABSOLUTETXPOSITION']._serialized_end=1357 + _globals['_MODEL']._serialized_start=1359 + _globals['_MODEL']._serialized_end=1448 + _globals['_EVENTCODESTORED']._serialized_start=1451 + _globals['_EVENTCODESTORED']._serialized_end=1587 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_start=1590 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_end=1848 + _globals['_EVENTCONTRACTMIGRATED']._serialized_start=1850 + _globals['_EVENTCONTRACTMIGRATED']._serialized_end=1965 + _globals['_EVENTCONTRACTADMINSET']._serialized_start=1967 + _globals['_EVENTCONTRACTADMINSET']._serialized_end=2035 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py index a7f891f5..97e83397 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/ack.proto\x12\x17ibc.applications.fee.v1\"{\n\x1bIncentivizedAcknowledgement\x12\x1b\n\x13\x61pp_acknowledgement\x18\x01 \x01(\x0c\x12\x1f\n\x17\x66orward_relayer_address\x18\x02 \x01(\t\x12\x1e\n\x16underlying_app_success\x18\x03 \x01(\x08\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/ack.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\"\xe3\x01\n\x1bIncentivizedAcknowledgement\x12;\n\x13\x61pp_acknowledgement\x18\x01 \x01(\x0c\x42\x1e\xf2\xde\x1f\x1ayaml:\"app_acknowledgement\"\x12\x43\n\x17\x66orward_relayer_address\x18\x02 \x01(\tB\"\xf2\xde\x1f\x1eyaml:\"forward_relayer_address\"\x12\x42\n\x16underlying_app_success\x18\x03 \x01(\x08\x42\"\xf2\xde\x1f\x1eyaml:\"underlying_app_successl\"B7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +22,13 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' - _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_start=62 - _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_end=185 + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['app_acknowledgement']._options = None + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['app_acknowledgement']._serialized_options = b'\362\336\037\032yaml:\"app_acknowledgement\"' + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['forward_relayer_address']._options = None + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['forward_relayer_address']._serialized_options = b'\362\336\037\036yaml:\"forward_relayer_address\"' + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['underlying_app_success']._options = None + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['underlying_app_success']._serialized_options = b'\362\336\037\036yaml:\"underlying_app_successl\"' + _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_start=85 + _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_end=312 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py index 0ebc93b5..60f32854 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py @@ -11,14 +11,12 @@ _sym_db = _symbol_database.Default() -from amino import amino_pb2 as amino_dot_amino__pb2 from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/fee.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xd7\x02\n\x03\x46\x65\x65\x12n\n\x08recv_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBA\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\x12m\n\x07\x61\x63k_fee\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBA\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\x12q\n\x0btimeout_fee\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBA\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\"{\n\tPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0erefund_address\x18\x02 \x01(\t\x12\x10\n\x08relayers\x18\x03 \x03(\t:\x13\x82\xe7\xb0*\x0erefund_address\"K\n\nPacketFees\x12=\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\"\x8d\x01\n\x14IdentifiedPacketFees\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12=\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/fee.proto\x12\x17ibc.applications.fee.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xdf\x02\n\x03\x46\x65\x65\x12p\n\x08recv_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBC\xc8\xde\x1f\x00\xf2\xde\x1f\x0fyaml:\"recv_fee\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12n\n\x07\x61\x63k_fee\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBB\xc8\xde\x1f\x00\xf2\xde\x1f\x0eyaml:\"ack_fee\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12v\n\x0btimeout_fee\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xf2\xde\x1f\x12yaml:\"timeout_fee\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\x81\x01\n\tPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x31\n\x0erefund_address\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"refund_address\"\x12\x10\n\x08relayers\x18\x03 \x03(\t\"a\n\nPacketFees\x12S\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x1a\xc8\xde\x1f\x00\xf2\xde\x1f\x12yaml:\"packet_fees\"\"\xb7\x01\n\x14IdentifiedPacketFees\x12J\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x18\xc8\xde\x1f\x00\xf2\xde\x1f\x10yaml:\"packet_id\"\x12S\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x1a\xc8\xde\x1f\x00\xf2\xde\x1f\x12yaml:\"packet_fees\"B7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,29 +24,29 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' _FEE.fields_by_name['recv_fee']._options = None - _FEE.fields_by_name['recv_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins' + _FEE.fields_by_name['recv_fee']._serialized_options = b'\310\336\037\000\362\336\037\017yaml:\"recv_fee\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _FEE.fields_by_name['ack_fee']._options = None - _FEE.fields_by_name['ack_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins' + _FEE.fields_by_name['ack_fee']._serialized_options = b'\310\336\037\000\362\336\037\016yaml:\"ack_fee\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _FEE.fields_by_name['timeout_fee']._options = None - _FEE.fields_by_name['timeout_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins' + _FEE.fields_by_name['timeout_fee']._serialized_options = b'\310\336\037\000\362\336\037\022yaml:\"timeout_fee\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _PACKETFEE.fields_by_name['fee']._options = None _PACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' - _PACKETFEE._options = None - _PACKETFEE._serialized_options = b'\202\347\260*\016refund_address' + _PACKETFEE.fields_by_name['refund_address']._options = None + _PACKETFEE.fields_by_name['refund_address']._serialized_options = b'\362\336\037\025yaml:\"refund_address\"' _PACKETFEES.fields_by_name['packet_fees']._options = None - _PACKETFEES.fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' + _PACKETFEES.fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000\362\336\037\022yaml:\"packet_fees\"' _IDENTIFIEDPACKETFEES.fields_by_name['packet_id']._options = None - _IDENTIFIEDPACKETFEES.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _IDENTIFIEDPACKETFEES.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\362\336\037\020yaml:\"packet_id\"' _IDENTIFIEDPACKETFEES.fields_by_name['packet_fees']._options = None - _IDENTIFIEDPACKETFEES.fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' - _globals['_FEE']._serialized_start=196 - _globals['_FEE']._serialized_end=539 - _globals['_PACKETFEE']._serialized_start=541 - _globals['_PACKETFEE']._serialized_end=664 - _globals['_PACKETFEES']._serialized_start=666 - _globals['_PACKETFEES']._serialized_end=741 - _globals['_IDENTIFIEDPACKETFEES']._serialized_start=744 - _globals['_IDENTIFIEDPACKETFEES']._serialized_end=885 + _IDENTIFIEDPACKETFEES.fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000\362\336\037\022yaml:\"packet_fees\"' + _globals['_FEE']._serialized_start=152 + _globals['_FEE']._serialized_end=503 + _globals['_PACKETFEE']._serialized_start=506 + _globals['_PACKETFEE']._serialized_end=635 + _globals['_PACKETFEES']._serialized_start=637 + _globals['_PACKETFEES']._serialized_end=734 + _globals['_IDENTIFIEDPACKETFEES']._serialized_start=737 + _globals['_IDENTIFIEDPACKETFEES']._serialized_end=920 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py index 410e05a0..a38041c4 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py @@ -16,7 +16,7 @@ from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/fee/v1/genesis.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"\xab\x03\n\x0cGenesisState\x12L\n\x0fidentified_fees\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\x12N\n\x14\x66\x65\x65_enabled_channels\x18\x02 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00\x12I\n\x11registered_payees\x18\x03 \x03(\x0b\x32(.ibc.applications.fee.v1.RegisteredPayeeB\x04\xc8\xde\x1f\x00\x12\x62\n\x1eregistered_counterparty_payees\x18\x04 \x03(\x0b\x32\x34.ibc.applications.fee.v1.RegisteredCounterpartyPayeeB\x04\xc8\xde\x1f\x00\x12N\n\x10\x66orward_relayers\x18\x05 \x03(\x0b\x32..ibc.applications.fee.v1.ForwardRelayerAddressB\x04\xc8\xde\x1f\x00\"8\n\x11\x46\x65\x65\x45nabledChannel\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"E\n\x0fRegisteredPayee\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\r\n\x05payee\x18\x03 \x01(\t\"^\n\x1bRegisteredCounterpartyPayee\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x03 \x01(\t\"`\n\x15\x46orwardRelayerAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x36\n\tpacket_id\x18\x02 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/fee/v1/genesis.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"\xc5\x04\n\x0cGenesisState\x12\x66\n\x0fidentified_fees\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x1e\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"identified_fees\"\x12m\n\x14\x66\x65\x65_enabled_channels\x18\x02 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB#\xc8\xde\x1f\x00\xf2\xde\x1f\x1byaml:\"fee_enabled_channels\"\x12\x65\n\x11registered_payees\x18\x03 \x03(\x0b\x32(.ibc.applications.fee.v1.RegisteredPayeeB \xc8\xde\x1f\x00\xf2\xde\x1f\x18yaml:\"registered_payees\"\x12\x8b\x01\n\x1eregistered_counterparty_payees\x18\x04 \x03(\x0b\x32\x34.ibc.applications.fee.v1.RegisteredCounterpartyPayeeB-\xc8\xde\x1f\x00\xf2\xde\x1f%yaml:\"registered_counterparty_payees\"\x12i\n\x10\x66orward_relayers\x18\x05 \x03(\x0b\x32..ibc.applications.fee.v1.ForwardRelayerAddressB\x1f\xc8\xde\x1f\x00\xf2\xde\x1f\x17yaml:\"forward_relayers\"\"c\n\x11\x46\x65\x65\x45nabledChannel\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\"\\\n\x0fRegisteredPayee\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\r\n\x05payee\x18\x03 \x01(\t\"\x94\x01\n\x1bRegisteredCounterpartyPayee\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\x39\n\x12\x63ounterparty_payee\x18\x03 \x01(\tB\x1d\xf2\xde\x1f\x19yaml:\"counterparty_payee\"\"t\n\x15\x46orwardRelayerAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12J\n\tpacket_id\x18\x02 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x18\xc8\xde\x1f\x00\xf2\xde\x1f\x10yaml:\"packet_id\"B7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,27 +24,37 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' _GENESISSTATE.fields_by_name['identified_fees']._options = None - _GENESISSTATE.fields_by_name['identified_fees']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['identified_fees']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"identified_fees\"' _GENESISSTATE.fields_by_name['fee_enabled_channels']._options = None - _GENESISSTATE.fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000\362\336\037\033yaml:\"fee_enabled_channels\"' _GENESISSTATE.fields_by_name['registered_payees']._options = None - _GENESISSTATE.fields_by_name['registered_payees']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['registered_payees']._serialized_options = b'\310\336\037\000\362\336\037\030yaml:\"registered_payees\"' _GENESISSTATE.fields_by_name['registered_counterparty_payees']._options = None - _GENESISSTATE.fields_by_name['registered_counterparty_payees']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['registered_counterparty_payees']._serialized_options = b'\310\336\037\000\362\336\037%yaml:\"registered_counterparty_payees\"' _GENESISSTATE.fields_by_name['forward_relayers']._options = None - _GENESISSTATE.fields_by_name['forward_relayers']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['forward_relayers']._serialized_options = b'\310\336\037\000\362\336\037\027yaml:\"forward_relayers\"' + _FEEENABLEDCHANNEL.fields_by_name['port_id']._options = None + _FEEENABLEDCHANNEL.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _FEEENABLEDCHANNEL.fields_by_name['channel_id']._options = None + _FEEENABLEDCHANNEL.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _REGISTEREDPAYEE.fields_by_name['channel_id']._options = None + _REGISTEREDPAYEE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _REGISTEREDCOUNTERPARTYPAYEE.fields_by_name['channel_id']._options = None + _REGISTEREDCOUNTERPARTYPAYEE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _REGISTEREDCOUNTERPARTYPAYEE.fields_by_name['counterparty_payee']._options = None + _REGISTEREDCOUNTERPARTYPAYEE.fields_by_name['counterparty_payee']._serialized_options = b'\362\336\037\031yaml:\"counterparty_payee\"' _FORWARDRELAYERADDRESS.fields_by_name['packet_id']._options = None - _FORWARDRELAYERADDRESS.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _FORWARDRELAYERADDRESS.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\362\336\037\020yaml:\"packet_id\"' _globals['_GENESISSTATE']._serialized_start=159 - _globals['_GENESISSTATE']._serialized_end=586 - _globals['_FEEENABLEDCHANNEL']._serialized_start=588 - _globals['_FEEENABLEDCHANNEL']._serialized_end=644 - _globals['_REGISTEREDPAYEE']._serialized_start=646 - _globals['_REGISTEREDPAYEE']._serialized_end=715 - _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_start=717 - _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_end=811 - _globals['_FORWARDRELAYERADDRESS']._serialized_start=813 - _globals['_FORWARDRELAYERADDRESS']._serialized_end=909 + _globals['_GENESISSTATE']._serialized_end=740 + _globals['_FEEENABLEDCHANNEL']._serialized_start=742 + _globals['_FEEENABLEDCHANNEL']._serialized_end=841 + _globals['_REGISTEREDPAYEE']._serialized_start=843 + _globals['_REGISTEREDPAYEE']._serialized_end=935 + _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_start=938 + _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_end=1086 + _globals['_FORWARDRELAYERADDRESS']._serialized_start=1088 + _globals['_FORWARDRELAYERADDRESS']._serialized_end=1204 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py index de02ff7f..f9e450eb 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&ibc/applications/fee/v1/metadata.proto\x12\x17ibc.applications.fee.v1\"4\n\x08Metadata\x12\x13\n\x0b\x66\x65\x65_version\x18\x01 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x02 \x01(\tB7Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&ibc/applications/fee/v1/metadata.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\"d\n\x08Metadata\x12+\n\x0b\x66\x65\x65_version\x18\x01 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"fee_version\"\x12+\n\x0b\x61pp_version\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"app_version\"B7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +22,11 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' - _globals['_METADATA']._serialized_start=67 - _globals['_METADATA']._serialized_end=119 + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' + _METADATA.fields_by_name['fee_version']._options = None + _METADATA.fields_by_name['fee_version']._serialized_options = b'\362\336\037\022yaml:\"fee_version\"' + _METADATA.fields_by_name['app_version']._options = None + _METADATA.fields_by_name['app_version']._serialized_options = b'\362\336\037\022yaml:\"app_version\"' + _globals['_METADATA']._serialized_start=89 + _globals['_METADATA']._serialized_end=189 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py index b8b5b67b..56c2416d 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py @@ -20,7 +20,7 @@ from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#ibc/applications/fee/v1/query.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a%ibc/applications/fee/v1/genesis.proto\x1a!ibc/core/channel/v1/channel.proto\"s\n\x1fQueryIncentivizedPacketsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"\xb2\x01\n QueryIncentivizedPacketsResponse\x12Q\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"n\n\x1eQueryIncentivizedPacketRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"s\n\x1fQueryIncentivizedPacketResponse\x12P\n\x13incentivized_packet\x18\x01 \x01(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\"\xa2\x01\n)QueryIncentivizedPacketsForChannelRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x12\n\nchannel_id\x18\x03 \x01(\t\x12\x14\n\x0cquery_height\x18\x04 \x01(\x04\"\xb6\x01\n*QueryIncentivizedPacketsForChannelResponse\x12K\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFees\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"S\n\x19QueryTotalRecvFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"|\n\x1aQueryTotalRecvFeesResponse\x12^\n\trecv_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"R\n\x18QueryTotalAckFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"z\n\x19QueryTotalAckFeesResponse\x12]\n\x08\x61\x63k_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"V\n\x1cQueryTotalTimeoutFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"\x82\x01\n\x1dQueryTotalTimeoutFeesResponse\x12\x61\n\x0ctimeout_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"8\n\x11QueryPayeeRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"+\n\x12QueryPayeeResponse\x12\x15\n\rpayee_address\x18\x01 \x01(\t\"D\n\x1dQueryCounterpartyPayeeRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"<\n\x1eQueryCounterpartyPayeeResponse\x12\x1a\n\x12\x63ounterparty_payee\x18\x01 \x01(\t\"r\n\x1eQueryFeeEnabledChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"\xae\x01\n\x1fQueryFeeEnabledChannelsResponse\x12N\n\x14\x66\x65\x65_enabled_channels\x18\x01 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"D\n\x1dQueryFeeEnabledChannelRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"5\n\x1eQueryFeeEnabledChannelResponse\x12\x13\n\x0b\x66\x65\x65_enabled\x18\x01 \x01(\x08\x32\xe6\x11\n\x05Query\x12\xb9\x01\n\x13IncentivizedPackets\x12\x38.ibc.applications.fee.v1.QueryIncentivizedPacketsRequest\x1a\x39.ibc.applications.fee.v1.QueryIncentivizedPacketsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/ibc/apps/fee/v1/incentivized_packets\x12\x8f\x02\n\x12IncentivizedPacket\x12\x37.ibc.applications.fee.v1.QueryIncentivizedPacketRequest\x1a\x38.ibc.applications.fee.v1.QueryIncentivizedPacketResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet\x12\xfd\x01\n\x1dIncentivizedPacketsForChannel\x12\x42.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest\x1a\x43.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse\"S\x82\xd3\xe4\x93\x02M\x12K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets\x12\xfc\x01\n\rTotalRecvFees\x12\x32.ibc.applications.fee.v1.QueryTotalRecvFeesRequest\x1a\x33.ibc.applications.fee.v1.QueryTotalRecvFeesResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees\x12\xf8\x01\n\x0cTotalAckFees\x12\x31.ibc.applications.fee.v1.QueryTotalAckFeesRequest\x1a\x32.ibc.applications.fee.v1.QueryTotalAckFeesResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\x12x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees\x12\x88\x02\n\x10TotalTimeoutFees\x12\x35.ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest\x1a\x36.ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse\"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees\x12\xa9\x01\n\x05Payee\x12*.ibc.applications.fee.v1.QueryPayeeRequest\x1a+.ibc.applications.fee.v1.QueryPayeeResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee\x12\xda\x01\n\x11\x43ounterpartyPayee\x12\x36.ibc.applications.fee.v1.QueryCounterpartyPayeeRequest\x1a\x37.ibc.applications.fee.v1.QueryCounterpartyPayeeResponse\"T\x82\xd3\xe4\x93\x02N\x12L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee\x12\xad\x01\n\x12\x46\x65\x65\x45nabledChannels\x12\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest\x1a\x38.ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/fee/v1/fee_enabled\x12\xd0\x01\n\x11\x46\x65\x65\x45nabledChannel\x12\x36.ibc.applications.fee.v1.QueryFeeEnabledChannelRequest\x1a\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabledB7Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#ibc/applications/fee/v1/query.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a%ibc/applications/fee/v1/genesis.proto\x1a!ibc/core/channel/v1/channel.proto\"s\n\x1fQueryIncentivizedPacketsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"u\n QueryIncentivizedPacketsResponse\x12Q\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\"n\n\x1eQueryIncentivizedPacketRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"s\n\x1fQueryIncentivizedPacketResponse\x12P\n\x13incentivized_packet\x18\x01 \x01(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\"\xa2\x01\n)QueryIncentivizedPacketsForChannelRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x12\n\nchannel_id\x18\x03 \x01(\t\x12\x14\n\x0cquery_height\x18\x04 \x01(\x04\"y\n*QueryIncentivizedPacketsForChannelResponse\x12K\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFees\"S\n\x19QueryTotalRecvFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"\x90\x01\n\x1aQueryTotalRecvFeesResponse\x12r\n\trecv_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBD\xc8\xde\x1f\x00\xf2\xde\x1f\x10yaml:\"recv_fees\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"R\n\x18QueryTotalAckFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"\x8d\x01\n\x19QueryTotalAckFeesResponse\x12p\n\x08\x61\x63k_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBC\xc8\xde\x1f\x00\xf2\xde\x1f\x0fyaml:\"ack_fees\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"V\n\x1cQueryTotalTimeoutFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"\x99\x01\n\x1dQueryTotalTimeoutFeesResponse\x12x\n\x0ctimeout_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBG\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"timeout_fees\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"O\n\x11QueryPayeeRequest\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"E\n\x12QueryPayeeResponse\x12/\n\rpayee_address\x18\x01 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"payee_address\"\"[\n\x1dQueryCounterpartyPayeeRequest\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"[\n\x1eQueryCounterpartyPayeeResponse\x12\x39\n\x12\x63ounterparty_payee\x18\x01 \x01(\tB\x1d\xf2\xde\x1f\x19yaml:\"counterparty_payee\"\"r\n\x1eQueryFeeEnabledChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"\x90\x01\n\x1fQueryFeeEnabledChannelsResponse\x12m\n\x14\x66\x65\x65_enabled_channels\x18\x01 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB#\xc8\xde\x1f\x00\xf2\xde\x1f\x1byaml:\"fee_enabled_channels\"\"o\n\x1dQueryFeeEnabledChannelRequest\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\"M\n\x1eQueryFeeEnabledChannelResponse\x12+\n\x0b\x66\x65\x65_enabled\x18\x01 \x01(\x08\x42\x16\xf2\xde\x1f\x12yaml:\"fee_enabled\"2\xe6\x11\n\x05Query\x12\xb9\x01\n\x13IncentivizedPackets\x12\x38.ibc.applications.fee.v1.QueryIncentivizedPacketsRequest\x1a\x39.ibc.applications.fee.v1.QueryIncentivizedPacketsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/ibc/apps/fee/v1/incentivized_packets\x12\x8f\x02\n\x12IncentivizedPacket\x12\x37.ibc.applications.fee.v1.QueryIncentivizedPacketRequest\x1a\x38.ibc.applications.fee.v1.QueryIncentivizedPacketResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet\x12\xfd\x01\n\x1dIncentivizedPacketsForChannel\x12\x42.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest\x1a\x43.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse\"S\x82\xd3\xe4\x93\x02M\x12K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets\x12\xfc\x01\n\rTotalRecvFees\x12\x32.ibc.applications.fee.v1.QueryTotalRecvFeesRequest\x1a\x33.ibc.applications.fee.v1.QueryTotalRecvFeesResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees\x12\xf8\x01\n\x0cTotalAckFees\x12\x31.ibc.applications.fee.v1.QueryTotalAckFeesRequest\x1a\x32.ibc.applications.fee.v1.QueryTotalAckFeesResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\x12x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees\x12\x88\x02\n\x10TotalTimeoutFees\x12\x35.ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest\x1a\x36.ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse\"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees\x12\xa9\x01\n\x05Payee\x12*.ibc.applications.fee.v1.QueryPayeeRequest\x1a+.ibc.applications.fee.v1.QueryPayeeResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee\x12\xda\x01\n\x11\x43ounterpartyPayee\x12\x36.ibc.applications.fee.v1.QueryCounterpartyPayeeRequest\x1a\x37.ibc.applications.fee.v1.QueryCounterpartyPayeeResponse\"T\x82\xd3\xe4\x93\x02N\x12L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee\x12\xad\x01\n\x12\x46\x65\x65\x45nabledChannels\x12\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest\x1a\x38.ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/fee/v1/fee_enabled\x12\xd0\x01\n\x11\x46\x65\x65\x45nabledChannel\x12\x36.ibc.applications.fee.v1.QueryFeeEnabledChannelRequest\x1a\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabledB7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,7 +28,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' _QUERYINCENTIVIZEDPACKETSRESPONSE.fields_by_name['incentivized_packets']._options = None _QUERYINCENTIVIZEDPACKETSRESPONSE.fields_by_name['incentivized_packets']._serialized_options = b'\310\336\037\000' _QUERYINCENTIVIZEDPACKETREQUEST.fields_by_name['packet_id']._options = None @@ -38,17 +38,31 @@ _QUERYTOTALRECVFEESREQUEST.fields_by_name['packet_id']._options = None _QUERYTOTALRECVFEESREQUEST.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _QUERYTOTALRECVFEESRESPONSE.fields_by_name['recv_fees']._options = None - _QUERYTOTALRECVFEESRESPONSE.fields_by_name['recv_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _QUERYTOTALRECVFEESRESPONSE.fields_by_name['recv_fees']._serialized_options = b'\310\336\037\000\362\336\037\020yaml:\"recv_fees\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _QUERYTOTALACKFEESREQUEST.fields_by_name['packet_id']._options = None _QUERYTOTALACKFEESREQUEST.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _QUERYTOTALACKFEESRESPONSE.fields_by_name['ack_fees']._options = None - _QUERYTOTALACKFEESRESPONSE.fields_by_name['ack_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _QUERYTOTALACKFEESRESPONSE.fields_by_name['ack_fees']._serialized_options = b'\310\336\037\000\362\336\037\017yaml:\"ack_fees\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _QUERYTOTALTIMEOUTFEESREQUEST.fields_by_name['packet_id']._options = None _QUERYTOTALTIMEOUTFEESREQUEST.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _QUERYTOTALTIMEOUTFEESRESPONSE.fields_by_name['timeout_fees']._options = None - _QUERYTOTALTIMEOUTFEESRESPONSE.fields_by_name['timeout_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _QUERYTOTALTIMEOUTFEESRESPONSE.fields_by_name['timeout_fees']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"timeout_fees\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _QUERYPAYEEREQUEST.fields_by_name['channel_id']._options = None + _QUERYPAYEEREQUEST.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _QUERYPAYEERESPONSE.fields_by_name['payee_address']._options = None + _QUERYPAYEERESPONSE.fields_by_name['payee_address']._serialized_options = b'\362\336\037\024yaml:\"payee_address\"' + _QUERYCOUNTERPARTYPAYEEREQUEST.fields_by_name['channel_id']._options = None + _QUERYCOUNTERPARTYPAYEEREQUEST.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _QUERYCOUNTERPARTYPAYEERESPONSE.fields_by_name['counterparty_payee']._options = None + _QUERYCOUNTERPARTYPAYEERESPONSE.fields_by_name['counterparty_payee']._serialized_options = b'\362\336\037\031yaml:\"counterparty_payee\"' _QUERYFEEENABLEDCHANNELSRESPONSE.fields_by_name['fee_enabled_channels']._options = None - _QUERYFEEENABLEDCHANNELSRESPONSE.fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000' + _QUERYFEEENABLEDCHANNELSRESPONSE.fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000\362\336\037\033yaml:\"fee_enabled_channels\"' + _QUERYFEEENABLEDCHANNELREQUEST.fields_by_name['port_id']._options = None + _QUERYFEEENABLEDCHANNELREQUEST.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _QUERYFEEENABLEDCHANNELREQUEST.fields_by_name['channel_id']._options = None + _QUERYFEEENABLEDCHANNELREQUEST.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _QUERYFEEENABLEDCHANNELRESPONSE.fields_by_name['fee_enabled']._options = None + _QUERYFEEENABLEDCHANNELRESPONSE.fields_by_name['fee_enabled']._serialized_options = b'\362\336\037\022yaml:\"fee_enabled\"' _QUERY.methods_by_name['IncentivizedPackets']._options = None _QUERY.methods_by_name['IncentivizedPackets']._serialized_options = b'\202\323\344\223\002\'\022%/ibc/apps/fee/v1/incentivized_packets' _QUERY.methods_by_name['IncentivizedPacket']._options = None @@ -71,44 +85,44 @@ _QUERY.methods_by_name['FeeEnabledChannel']._serialized_options = b'\202\323\344\223\002D\022B/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabled' _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_start=301 _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_end=416 - _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_start=419 - _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_end=597 - _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_start=599 - _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_end=709 - _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_start=711 - _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_end=826 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_start=829 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_end=991 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_start=994 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_end=1176 - _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_start=1178 - _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_end=1261 - _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_start=1263 - _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_end=1387 - _globals['_QUERYTOTALACKFEESREQUEST']._serialized_start=1389 - _globals['_QUERYTOTALACKFEESREQUEST']._serialized_end=1471 - _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_start=1473 - _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_end=1595 - _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_start=1597 - _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_end=1683 - _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_start=1686 - _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_end=1816 - _globals['_QUERYPAYEEREQUEST']._serialized_start=1818 - _globals['_QUERYPAYEEREQUEST']._serialized_end=1874 - _globals['_QUERYPAYEERESPONSE']._serialized_start=1876 - _globals['_QUERYPAYEERESPONSE']._serialized_end=1919 - _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_start=1921 - _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_end=1989 - _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_start=1991 - _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_end=2051 - _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_start=2053 - _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_end=2167 - _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_start=2170 - _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_end=2344 - _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_start=2346 - _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_end=2414 - _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_start=2416 - _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_end=2469 - _globals['_QUERY']._serialized_start=2472 - _globals['_QUERY']._serialized_end=4750 + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_start=418 + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_end=535 + _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_start=537 + _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_end=647 + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_start=649 + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_end=764 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_start=767 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_end=929 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_start=931 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_end=1052 + _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_start=1054 + _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_end=1137 + _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_start=1140 + _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_end=1284 + _globals['_QUERYTOTALACKFEESREQUEST']._serialized_start=1286 + _globals['_QUERYTOTALACKFEESREQUEST']._serialized_end=1368 + _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_start=1371 + _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_end=1512 + _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_start=1514 + _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_end=1600 + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_start=1603 + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_end=1756 + _globals['_QUERYPAYEEREQUEST']._serialized_start=1758 + _globals['_QUERYPAYEEREQUEST']._serialized_end=1837 + _globals['_QUERYPAYEERESPONSE']._serialized_start=1839 + _globals['_QUERYPAYEERESPONSE']._serialized_end=1908 + _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_start=1910 + _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_end=2001 + _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_start=2003 + _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_end=2094 + _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_start=2096 + _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_end=2210 + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_start=2213 + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_end=2357 + _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_start=2359 + _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_end=2470 + _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_start=2472 + _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_end=2549 + _globals['_QUERY']._serialized_start=2552 + _globals['_QUERY']._serialized_end=4830 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py index 22673cf8..75e51cdf 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py @@ -11,14 +11,12 @@ _sym_db = _symbol_database.Default() -from amino import amino_pb2 as amino_dot_amino__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.applications.fee.v1 import fee_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_fee__pb2 from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\x89\x01\n\x10MsgRegisterPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgRegisterPayee\"\x1a\n\x18MsgRegisterPayeeResponse\"\xae\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x04 \x01(\t:<\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\'cosmos-sdk/MsgRegisterCounterpartyPayee\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xcc\x01\n\x0fMsgPayPacketFee\x12\x34\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x16\n\x0esource_port_id\x18\x02 \x01(\t\x12\x19\n\x11source_channel_id\x18\x03 \x01(\t\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:.\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgPayPacketFee\"\x19\n\x17MsgPayPacketFeeResponse\"\xcf\x01\n\x14MsgPayPacketFeeAsync\x12;\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x41\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:7\x88\xa0\x1f\x00\x82\xe7\xb0*\npacket_fee\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgPayPacketFeeAsync\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xf6\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"\x8c\x01\n\x10MsgRegisterPayee\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1a\n\x18MsgRegisterPayeeResponse\"\xc4\x01\n\x1cMsgRegisterCounterpartyPayee\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x39\n\x12\x63ounterparty_payee\x18\x04 \x01(\tB\x1d\xf2\xde\x1f\x19yaml:\"counterparty_payee\":\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xda\x01\n\x0fMsgPayPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x31\n\x0esource_port_id\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_port_id\"\x12\x37\n\x11source_channel_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:\"source_channel_id\"\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x19\n\x17MsgPayPacketFeeResponse\"\xbf\x01\n\x14MsgPayPacketFeeAsync\x12J\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x18\xc8\xde\x1f\x00\xf2\xde\x1f\x10yaml:\"packet_id\"\x12Q\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x19\xc8\xde\x1f\x00\xf2\xde\x1f\x11yaml:\"packet_fee\":\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xef\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponseB7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,39 +24,51 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' + _MSGREGISTERPAYEE.fields_by_name['port_id']._options = None + _MSGREGISTERPAYEE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGREGISTERPAYEE.fields_by_name['channel_id']._options = None + _MSGREGISTERPAYEE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _MSGREGISTERPAYEE._options = None - _MSGREGISTERPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\033cosmos-sdk/MsgRegisterPayee' + _MSGREGISTERPAYEE._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['port_id']._options = None + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['channel_id']._options = None + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['counterparty_payee']._options = None + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['counterparty_payee']._serialized_options = b'\362\336\037\031yaml:\"counterparty_payee\"' _MSGREGISTERCOUNTERPARTYPAYEE._options = None - _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\'cosmos-sdk/MsgRegisterCounterpartyPayee' + _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGPAYPACKETFEE.fields_by_name['fee']._options = None - _MSGPAYPACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _MSGPAYPACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' + _MSGPAYPACKETFEE.fields_by_name['source_port_id']._options = None + _MSGPAYPACKETFEE.fields_by_name['source_port_id']._serialized_options = b'\362\336\037\025yaml:\"source_port_id\"' + _MSGPAYPACKETFEE.fields_by_name['source_channel_id']._options = None + _MSGPAYPACKETFEE.fields_by_name['source_channel_id']._serialized_options = b'\362\336\037\030yaml:\"source_channel_id\"' _MSGPAYPACKETFEE._options = None - _MSGPAYPACKETFEE._serialized_options = b'\210\240\037\000\202\347\260*\006signer\212\347\260*\032cosmos-sdk/MsgPayPacketFee' + _MSGPAYPACKETFEE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._options = None - _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\362\336\037\020yaml:\"packet_id\"' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._options = None - _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000\362\336\037\021yaml:\"packet_fee\"' _MSGPAYPACKETFEEASYNC._options = None - _MSGPAYPACKETFEEASYNC._serialized_options = b'\210\240\037\000\202\347\260*\npacket_fee\212\347\260*\037cosmos-sdk/MsgPayPacketFeeAsync' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGREGISTERPAYEE']._serialized_start=198 - _globals['_MSGREGISTERPAYEE']._serialized_end=335 - _globals['_MSGREGISTERPAYEERESPONSE']._serialized_start=337 - _globals['_MSGREGISTERPAYEERESPONSE']._serialized_end=363 - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_start=366 - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_end=540 - _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=542 - _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=580 - _globals['_MSGPAYPACKETFEE']._serialized_start=583 - _globals['_MSGPAYPACKETFEE']._serialized_end=787 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=789 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=814 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=817 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=1024 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=1026 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=1056 - _globals['_MSG']._serialized_start=1059 - _globals['_MSG']._serialized_end=1561 + _MSGPAYPACKETFEEASYNC._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGREGISTERPAYEE']._serialized_start=154 + _globals['_MSGREGISTERPAYEE']._serialized_end=294 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_start=296 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_end=322 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_start=325 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_end=521 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=523 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=561 + _globals['_MSGPAYPACKETFEE']._serialized_start=564 + _globals['_MSGPAYPACKETFEE']._serialized_end=782 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=784 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=809 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=812 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=1003 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=1005 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=1035 + _globals['_MSG']._serialized_start=1038 + _globals['_MSG']._serialized_end=1533 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py index b6fbb7bb..14c1445c 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCibc/applications/interchain_accounts/controller/v1/controller.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\"$\n\x06Params\x12\x1a\n\x12\x63ontroller_enabled\x18\x01 \x01(\x08\x42RZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCibc/applications/interchain_accounts/controller/v1/controller.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\"C\n\x06Params\x12\x39\n\x12\x63ontroller_enabled\x18\x01 \x01(\x08\x42\x1d\xf2\xde\x1f\x19yaml:\"controller_enabled\"BRZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +22,9 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' - _globals['_PARAMS']._serialized_start=123 - _globals['_PARAMS']._serialized_end=159 + DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types' + _PARAMS.fields_by_name['controller_enabled']._options = None + _PARAMS.fields_by_name['controller_enabled']._serialized_options = b'\362\336\037\031yaml:\"controller_enabled\"' + _globals['_PARAMS']._serialized_start=145 + _globals['_PARAMS']._serialized_end=212 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py index e4fc336e..cd26c45a 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py @@ -12,10 +12,11 @@ from ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>ibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x1cgoogle/api/annotations.proto\"E\n\x1dQueryInterchainAccountRequest\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\"1\n\x1eQueryInterchainAccountResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x14\n\x12QueryParamsRequest\"a\n\x13QueryParamsResponse\x12J\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.Params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse\"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsBRZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>ibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\"_\n\x1dQueryInterchainAccountRequest\x12\r\n\x05owner\x18\x01 \x01(\t\x12/\n\rconnection_id\x18\x02 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"connection_id\"\"1\n\x1eQueryInterchainAccountResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x14\n\x12QueryParamsRequest\"a\n\x13QueryParamsResponse\x12J\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.Params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse\"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsBRZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,19 +24,21 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' + DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types' + _QUERYINTERCHAINACCOUNTREQUEST.fields_by_name['connection_id']._options = None + _QUERYINTERCHAINACCOUNTREQUEST.fields_by_name['connection_id']._serialized_options = b'\362\336\037\024yaml:\"connection_id\"' _QUERY.methods_by_name['InterchainAccount']._options = None _QUERY.methods_by_name['InterchainAccount']._serialized_options = b'\202\323\344\223\002X\022V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\0024\0222/ibc/apps/interchain_accounts/controller/v1/params' - _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_start=217 - _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_end=286 - _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_start=288 - _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_end=337 - _globals['_QUERYPARAMSREQUEST']._serialized_start=339 - _globals['_QUERYPARAMSREQUEST']._serialized_end=359 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=361 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=458 - _globals['_QUERY']._serialized_start=461 - _globals['_QUERY']._serialized_end=969 + _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_start=239 + _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_end=334 + _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_start=336 + _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_end=385 + _globals['_QUERYPARAMSREQUEST']._serialized_start=387 + _globals['_QUERYPARAMSREQUEST']._serialized_end=407 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=409 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=506 + _globals['_QUERY']._serialized_start=509 + _globals['_QUERY']._serialized_end=1017 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py index 9abeeb7b..f51dbde0 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py @@ -13,11 +13,9 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.applications.interchain_accounts.v1 import packet_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_v1_dot_packet__pb2 -from ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"e\n\x1cMsgRegisterInterchainAccount\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"Q\n$MsgRegisterInterchainAccountResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\xbc\x01\n\tMsgSendTx\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12_\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00\x12\x18\n\x10relative_timeout\x18\x04 \x01(\x04:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"+\n\x11MsgSendTxResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04:\x04\x88\xa0\x1f\x00\"\x84\x01\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12P\n\x06params\x18\x02 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\x8a\x04\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse\x12\xa0\x01\n\x0cUpdateParams\x12\x43.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams\x1aK.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42RZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\"y\n\x1cMsgRegisterInterchainAccount\x12\r\n\x05owner\x18\x01 \x01(\t\x12/\n\rconnection_id\x18\x02 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"connection_id\"\x12\x0f\n\x07version\x18\x03 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"v\n$MsgRegisterInterchainAccountResponse\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12#\n\x07port_id\x18\x02 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\"\x83\x02\n\tMsgSendTx\x12\r\n\x05owner\x18\x01 \x01(\t\x12/\n\rconnection_id\x18\x02 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"connection_id\"\x12u\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x1a\xc8\xde\x1f\x00\xf2\xde\x1f\x12yaml:\"packet_data\"\x12\x35\n\x10relative_timeout\x18\x04 \x01(\x04\x42\x1b\xf2\xde\x1f\x17yaml:\"relative_timeout\":\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"%\n\x11MsgSendTxResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x32\xe0\x02\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponseBRZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,35 +23,31 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' + DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types' + _MSGREGISTERINTERCHAINACCOUNT.fields_by_name['connection_id']._options = None + _MSGREGISTERINTERCHAINACCOUNT.fields_by_name['connection_id']._serialized_options = b'\362\336\037\024yaml:\"connection_id\"' _MSGREGISTERINTERCHAINACCOUNT._options = None - _MSGREGISTERINTERCHAINACCOUNT._serialized_options = b'\210\240\037\000\202\347\260*\005owner' - _MSGREGISTERINTERCHAINACCOUNTRESPONSE._options = None - _MSGREGISTERINTERCHAINACCOUNTRESPONSE._serialized_options = b'\210\240\037\000' + _MSGREGISTERINTERCHAINACCOUNT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGREGISTERINTERCHAINACCOUNTRESPONSE.fields_by_name['channel_id']._options = None + _MSGREGISTERINTERCHAINACCOUNTRESPONSE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGREGISTERINTERCHAINACCOUNTRESPONSE.fields_by_name['port_id']._options = None + _MSGREGISTERINTERCHAINACCOUNTRESPONSE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGSENDTX.fields_by_name['connection_id']._options = None + _MSGSENDTX.fields_by_name['connection_id']._serialized_options = b'\362\336\037\024yaml:\"connection_id\"' _MSGSENDTX.fields_by_name['packet_data']._options = None - _MSGSENDTX.fields_by_name['packet_data']._serialized_options = b'\310\336\037\000' + _MSGSENDTX.fields_by_name['packet_data']._serialized_options = b'\310\336\037\000\362\336\037\022yaml:\"packet_data\"' + _MSGSENDTX.fields_by_name['relative_timeout']._options = None + _MSGSENDTX.fields_by_name['relative_timeout']._serialized_options = b'\362\336\037\027yaml:\"relative_timeout\"' _MSGSENDTX._options = None - _MSGSENDTX._serialized_options = b'\210\240\037\000\202\347\260*\005owner' - _MSGSENDTXRESPONSE._options = None - _MSGSENDTXRESPONSE._serialized_options = b'\210\240\037\000' - _MSGUPDATEPARAMS.fields_by_name['params']._options = None - _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_start=285 - _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_end=386 - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_start=388 - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_end=469 - _globals['_MSGSENDTX']._serialized_start=472 - _globals['_MSGSENDTX']._serialized_end=660 - _globals['_MSGSENDTXRESPONSE']._serialized_start=662 - _globals['_MSGSENDTXRESPONSE']._serialized_end=705 - _globals['_MSGUPDATEPARAMS']._serialized_start=708 - _globals['_MSGUPDATEPARAMS']._serialized_end=840 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=842 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=867 - _globals['_MSG']._serialized_start=870 - _globals['_MSG']._serialized_end=1392 + _MSGSENDTX._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_start=191 + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_end=312 + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_start=314 + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_end=432 + _globals['_MSGSENDTX']._serialized_start=435 + _globals['_MSGSENDTX']._serialized_end=694 + _globals['_MSGSENDTXRESPONSE']._serialized_start=696 + _globals['_MSGSENDTXRESPONSE']._serialized_end=733 + _globals['_MSG']._serialized_start=736 + _globals['_MSG']._serialized_end=1088 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py index e999014b..cbf4e543 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py @@ -25,11 +25,6 @@ def __init__(self, channel): request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, ) - self.UpdateParams = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - ) class MsgServicer(object): @@ -50,13 +45,6 @@ def SendTx(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -70,11 +58,6 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.FromString, response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.SerializeToString, ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( 'ibc.applications.interchain_accounts.controller.v1.Msg', rpc_method_handlers) @@ -119,20 +102,3 @@ def SendTx(request, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py index 792e89b2..e42ba33a 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py @@ -16,7 +16,7 @@ from ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\xe4\x01\n\x0cGenesisState\x12o\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\x04\xc8\xde\x1f\x00\x12\x63\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB\x04\xc8\xde\x1f\x00\"\xc9\x02\n\x16\x43ontrollerGenesisState\x12]\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00\x12o\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00\x12\r\n\x05ports\x18\x03 \x03(\t\x12P\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00\"\xbc\x02\n\x10HostGenesisState\x12]\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00\x12o\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04port\x18\x03 \x01(\t\x12J\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00\"j\n\rActiveChannel\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x12\n\nchannel_id\x18\x03 \x01(\t\x12\x1d\n\x15is_middleware_enabled\x18\x04 \x01(\x08\"^\n\x1bRegisteredInterchainAccount\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tBOZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\xa6\x02\n\x0cGenesisState\x12\x92\x01\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\'\xc8\xde\x1f\x00\xf2\xde\x1f\x1fyaml:\"controller_genesis_state\"\x12\x80\x01\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"host_genesis_state\"\"\x82\x03\n\x16\x43ontrollerGenesisState\x12w\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x1e\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"active_channels\"\x12\x8d\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\"\xc8\xde\x1f\x00\xf2\xde\x1f\x1ayaml:\"interchain_accounts\"\x12\r\n\x05ports\x18\x03 \x03(\t\x12P\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00\"\xf5\x02\n\x10HostGenesisState\x12w\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x1e\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"active_channels\"\x12\x8d\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\"\xc8\xde\x1f\x00\xf2\xde\x1f\x1ayaml:\"interchain_accounts\"\x12\x0c\n\x04port\x18\x03 \x01(\t\x12J\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00\"\xd1\x01\n\rActiveChannel\x12/\n\rconnection_id\x18\x01 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"connection_id\"\x12#\n\x07port_id\x18\x02 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x03 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12?\n\x15is_middleware_enabled\x18\x04 \x01(\x08\x42 \xf2\xde\x1f\x1cyaml:\"is_middleware_enabled\"\"\xa8\x01\n\x1bRegisteredInterchainAccount\x12/\n\rconnection_id\x18\x01 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"connection_id\"\x12#\n\x07port_id\x18\x02 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12\x33\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"account_address\"BOZMgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/genesis/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,31 +24,45 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types' + DESCRIPTOR._serialized_options = b'ZMgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/genesis/types' _GENESISSTATE.fields_by_name['controller_genesis_state']._options = None - _GENESISSTATE.fields_by_name['controller_genesis_state']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['controller_genesis_state']._serialized_options = b'\310\336\037\000\362\336\037\037yaml:\"controller_genesis_state\"' _GENESISSTATE.fields_by_name['host_genesis_state']._options = None - _GENESISSTATE.fields_by_name['host_genesis_state']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['host_genesis_state']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"host_genesis_state\"' _CONTROLLERGENESISSTATE.fields_by_name['active_channels']._options = None - _CONTROLLERGENESISSTATE.fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' + _CONTROLLERGENESISSTATE.fields_by_name['active_channels']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"active_channels\"' _CONTROLLERGENESISSTATE.fields_by_name['interchain_accounts']._options = None - _CONTROLLERGENESISSTATE.fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' + _CONTROLLERGENESISSTATE.fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000\362\336\037\032yaml:\"interchain_accounts\"' _CONTROLLERGENESISSTATE.fields_by_name['params']._options = None _CONTROLLERGENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _HOSTGENESISSTATE.fields_by_name['active_channels']._options = None - _HOSTGENESISSTATE.fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' + _HOSTGENESISSTATE.fields_by_name['active_channels']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"active_channels\"' _HOSTGENESISSTATE.fields_by_name['interchain_accounts']._options = None - _HOSTGENESISSTATE.fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' + _HOSTGENESISSTATE.fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000\362\336\037\032yaml:\"interchain_accounts\"' _HOSTGENESISSTATE.fields_by_name['params']._options = None _HOSTGENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _ACTIVECHANNEL.fields_by_name['connection_id']._options = None + _ACTIVECHANNEL.fields_by_name['connection_id']._serialized_options = b'\362\336\037\024yaml:\"connection_id\"' + _ACTIVECHANNEL.fields_by_name['port_id']._options = None + _ACTIVECHANNEL.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _ACTIVECHANNEL.fields_by_name['channel_id']._options = None + _ACTIVECHANNEL.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _ACTIVECHANNEL.fields_by_name['is_middleware_enabled']._options = None + _ACTIVECHANNEL.fields_by_name['is_middleware_enabled']._serialized_options = b'\362\336\037\034yaml:\"is_middleware_enabled\"' + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['connection_id']._options = None + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['connection_id']._serialized_options = b'\362\336\037\024yaml:\"connection_id\"' + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['port_id']._options = None + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['account_address']._options = None + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['account_address']._serialized_options = b'\362\336\037\026yaml:\"account_address\"' _globals['_GENESISSTATE']._serialized_start=263 - _globals['_GENESISSTATE']._serialized_end=491 - _globals['_CONTROLLERGENESISSTATE']._serialized_start=494 - _globals['_CONTROLLERGENESISSTATE']._serialized_end=823 - _globals['_HOSTGENESISSTATE']._serialized_start=826 - _globals['_HOSTGENESISSTATE']._serialized_end=1142 - _globals['_ACTIVECHANNEL']._serialized_start=1144 - _globals['_ACTIVECHANNEL']._serialized_end=1250 - _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_start=1252 - _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_end=1346 + _globals['_GENESISSTATE']._serialized_end=557 + _globals['_CONTROLLERGENESISSTATE']._serialized_start=560 + _globals['_CONTROLLERGENESISSTATE']._serialized_end=946 + _globals['_HOSTGENESISSTATE']._serialized_start=949 + _globals['_HOSTGENESISSTATE']._serialized_end=1322 + _globals['_ACTIVECHANNEL']._serialized_start=1325 + _globals['_ACTIVECHANNEL']._serialized_end=1534 + _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_start=1537 + _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_end=1705 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py index 795968ac..736ddb23 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1\"6\n\x06Params\x12\x14\n\x0chost_enabled\x18\x01 \x01(\x08\x12\x16\n\x0e\x61llow_messages\x18\x02 \x03(\tBLZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\"j\n\x06Params\x12-\n\x0chost_enabled\x18\x01 \x01(\x08\x42\x17\xf2\xde\x1f\x13yaml:\"host_enabled\"\x12\x31\n\x0e\x61llow_messages\x18\x02 \x03(\tB\x19\xf2\xde\x1f\x15yaml:\"allow_messages\"BLZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +22,11 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' - _globals['_PARAMS']._serialized_start=105 - _globals['_PARAMS']._serialized_end=159 + DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types' + _PARAMS.fields_by_name['host_enabled']._options = None + _PARAMS.fields_by_name['host_enabled']._serialized_options = b'\362\336\037\023yaml:\"host_enabled\"' + _PARAMS.fields_by_name['allow_messages']._options = None + _PARAMS.fields_by_name['allow_messages']._serialized_options = b'\362\336\037\025yaml:\"allow_messages\"' + _globals['_PARAMS']._serialized_start=127 + _globals['_PARAMS']._serialized_end=233 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py index 700142a4..88ec2d6f 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py @@ -15,7 +15,7 @@ from ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x14\n\x12QueryParamsRequest\"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.Params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsBLZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x14\n\x12QueryParamsRequest\"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.Params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsBLZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,7 +23,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' + DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/interchain_accounts/host/v1/params' _globals['_QUERYPARAMSREQUEST']._serialized_start=193 diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py deleted file mode 100644 index 83486198..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py +++ /dev/null @@ -1,40 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/interchain_accounts/host/v1/tx.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/host/v1/tx.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"~\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12J\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xa3\x01\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42LZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.tx_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' - _MSGUPDATEPARAMS.fields_by_name['params']._options = None - _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=207 - _globals['_MSGUPDATEPARAMS']._serialized_end=333 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=335 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=360 - _globals['_MSG']._serialized_start=363 - _globals['_MSG']._serialized_end=526 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py deleted file mode 100644 index 227b6482..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,70 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from ibc.applications.interchain_accounts.host.v1 import tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UpdateParams = channel.unary_unary( - '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - ) - - -class MsgServicer(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ - - def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.interchain_accounts.host.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', - ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py index 3878bf25..e5d15d83 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py @@ -16,7 +16,7 @@ from cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/v1/account.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xb0\x01\n\x11InterchainAccount\x12<\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01\x12\x15\n\raccount_owner\x18\x02 \x01(\t:F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIBGZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/v1/account.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xe1\x01\n\x11InterchainAccount\x12S\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x1b\xd0\xde\x1f\x01\xf2\xde\x1f\x13yaml:\"base_account\"\x12/\n\raccount_owner\x18\x02 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"account_owner\":F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIBGZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,11 +24,13 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' + DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types' _INTERCHAINACCOUNT.fields_by_name['base_account']._options = None - _INTERCHAINACCOUNT.fields_by_name['base_account']._serialized_options = b'\320\336\037\001' + _INTERCHAINACCOUNT.fields_by_name['base_account']._serialized_options = b'\320\336\037\001\362\336\037\023yaml:\"base_account\"' + _INTERCHAINACCOUNT.fields_by_name['account_owner']._options = None + _INTERCHAINACCOUNT.fields_by_name['account_owner']._serialized_options = b'\362\336\037\024yaml:\"account_owner\"' _INTERCHAINACCOUNT._options = None _INTERCHAINACCOUNT._serialized_options = b'\210\240\037\000\230\240\037\000\312\264-:ibc.applications.interchain_accounts.v1.InterchainAccountI' _globals['_INTERCHAINACCOUNT']._serialized_start=180 - _globals['_INTERCHAINACCOUNT']._serialized_end=356 + _globals['_INTERCHAINACCOUNT']._serialized_end=405 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py index 9d4fd546..a6b21d68 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12\'ibc.applications.interchain_accounts.v1\"\x8d\x01\n\x08Metadata\x12\x0f\n\x07version\x18\x01 \x01(\t\x12 \n\x18\x63ontroller_connection_id\x18\x02 \x01(\t\x12\x1a\n\x12host_connection_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x04 \x01(\t\x12\x10\n\x08\x65ncoding\x18\x05 \x01(\t\x12\x0f\n\x07tx_type\x18\x06 \x01(\tBGZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x14gogoproto/gogo.proto\"\xd1\x01\n\x08Metadata\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x45\n\x18\x63ontroller_connection_id\x18\x02 \x01(\tB#\xf2\xde\x1f\x1fyaml:\"controller_connection_id\"\x12\x39\n\x12host_connection_id\x18\x03 \x01(\tB\x1d\xf2\xde\x1f\x19yaml:\"host_connection_id\"\x12\x0f\n\x07\x61\x64\x64ress\x18\x04 \x01(\t\x12\x10\n\x08\x65ncoding\x18\x05 \x01(\t\x12\x0f\n\x07tx_type\x18\x06 \x01(\tBGZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +22,11 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' - _globals['_METADATA']._serialized_start=100 - _globals['_METADATA']._serialized_end=241 + DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types' + _METADATA.fields_by_name['controller_connection_id']._options = None + _METADATA.fields_by_name['controller_connection_id']._serialized_options = b'\362\336\037\037yaml:\"controller_connection_id\"' + _METADATA.fields_by_name['host_connection_id']._options = None + _METADATA.fields_by_name['host_connection_id']._serialized_options = b'\362\336\037\031yaml:\"host_connection_id\"' + _globals['_METADATA']._serialized_start=122 + _globals['_METADATA']._serialized_end=331 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py index 9558a2e3..072b0f75 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py @@ -15,7 +15,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\"v\n\x1bInterchainAccountPacketData\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.Type\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0c\n\x04memo\x18\x03 \x01(\t\"2\n\x08\x43osmosTx\x12&\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.Any*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42GZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\"v\n\x1bInterchainAccountPacketData\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.Type\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0c\n\x04memo\x18\x03 \x01(\t\"2\n\x08\x43osmosTx\x12&\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.Any*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42GZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,7 +23,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' + DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types' _TYPE._options = None _TYPE._serialized_options = b'\210\243\036\000' _TYPE.values_by_name["TYPE_UNSPECIFIED"]._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py index 4a179837..8e098ec3 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py @@ -16,7 +16,7 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xaf\x01\n\nAllocation\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12`\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x12\n\nallow_list\x18\x04 \x03(\t\"\x84\x01\n\x15TransferAuthorization\x12\x43\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00:&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xe2\x01\n\nAllocation\x12+\n\x0bsource_port\x18\x01 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"source_port\"\x12\x31\n\x0esource_channel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"\x12`\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x12\n\nallow_list\x18\x04 \x03(\t\"\x84\x01\n\x15TransferAuthorization\x12\x43\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00:&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,7 +24,11 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + _ALLOCATION.fields_by_name['source_port']._options = None + _ALLOCATION.fields_by_name['source_port']._serialized_options = b'\362\336\037\022yaml:\"source_port\"' + _ALLOCATION.fields_by_name['source_channel']._options = None + _ALLOCATION.fields_by_name['source_channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' _ALLOCATION.fields_by_name['spend_limit']._options = None _ALLOCATION.fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _TRANSFERAUTHORIZATION.fields_by_name['allocations']._options = None @@ -32,7 +36,7 @@ _TRANSFERAUTHORIZATION._options = None _TRANSFERAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' _globals['_ALLOCATION']._serialized_start=156 - _globals['_ALLOCATION']._serialized_end=331 - _globals['_TRANSFERAUTHORIZATION']._serialized_start=334 - _globals['_TRANSFERAUTHORIZATION']._serialized_end=466 + _globals['_ALLOCATION']._serialized_end=382 + _globals['_TRANSFERAUTHORIZATION']._serialized_start=385 + _globals['_TRANSFERAUTHORIZATION']._serialized_end=517 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py index 2fd299b8..3db422d9 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py @@ -16,7 +16,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\"\x90\x02\n\x0cGenesisState\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12N\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06Traces\x12:\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00\x12\x63\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\"\xd4\x02\n\x0cGenesisState\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12\x65\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB%\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"denom_traces\"\xaa\xdf\x1f\x06Traces\x12:\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00\x12|\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBI\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"total_escrowed\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,13 +24,15 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + _GENESISSTATE.fields_by_name['port_id']._options = None + _GENESISSTATE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' _GENESISSTATE.fields_by_name['denom_traces']._options = None - _GENESISSTATE.fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' + _GENESISSTATE.fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"denom_traces\"\252\337\037\006Traces' _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['total_escrowed']._options = None - _GENESISSTATE.fields_by_name['total_escrowed']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _GENESISSTATE.fields_by_name['total_escrowed']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"total_escrowed\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _globals['_GENESISSTATE']._serialized_start=176 - _globals['_GENESISSTATE']._serialized_end=448 + _globals['_GENESISSTATE']._serialized_end=516 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py index 93917afa..c493bb3a 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py @@ -18,7 +18,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/query.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1cgoogle/api/annotations.proto\"&\n\x16QueryDenomTraceRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"X\n\x17QueryDenomTraceResponse\x12=\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTrace\"U\n\x17QueryDenomTracesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa7\x01\n\x18QueryDenomTracesResponse\x12N\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06Traces\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"K\n\x13QueryParamsResponse\x12\x34\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.Params\"&\n\x15QueryDenomHashRequest\x12\r\n\x05trace\x18\x01 \x01(\t\"&\n\x16QueryDenomHashResponse\x12\x0c\n\x04hash\x18\x01 \x01(\t\"@\n\x19QueryEscrowAddressRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"4\n\x1aQueryEscrowAddressResponse\x12\x16\n\x0e\x65scrow_address\x18\x01 \x01(\t\"0\n\x1fQueryTotalEscrowForDenomRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"S\n QueryTotalEscrowForDenomResponse\x12/\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x32\xd8\x08\n\x05Query\x12\xa8\x01\n\x0b\x44\x65nomTraces\x12\x35.ibc.applications.transfer.v1.QueryDenomTracesRequest\x1a\x36.ibc.applications.transfer.v1.QueryDenomTracesResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/ibc/apps/transfer/v1/denom_traces\x12\xaf\x01\n\nDenomTrace\x12\x34.ibc.applications.transfer.v1.QueryDenomTraceRequest\x1a\x35.ibc.applications.transfer.v1.QueryDenomTraceResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/transfer/v1/denom_traces/{hash=**}\x12\x93\x01\n\x06Params\x12\x30.ibc.applications.transfer.v1.QueryParamsRequest\x1a\x31.ibc.applications.transfer.v1.QueryParamsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/transfer/v1/params\x12\xad\x01\n\tDenomHash\x12\x33.ibc.applications.transfer.v1.QueryDenomHashRequest\x1a\x34.ibc.applications.transfer.v1.QueryDenomHashResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/apps/transfer/v1/denom_hashes/{trace=**}\x12\xd6\x01\n\rEscrowAddress\x12\x37.ibc.applications.transfer.v1.QueryEscrowAddressRequest\x1a\x38.ibc.applications.transfer.v1.QueryEscrowAddressResponse\"R\x82\xd3\xe4\x93\x02L\x12J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address\x12\xd2\x01\n\x13TotalEscrowForDenom\x12=.ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest\x1a>.ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrowB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/query.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1cgoogle/api/annotations.proto\"&\n\x16QueryDenomTraceRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"X\n\x17QueryDenomTraceResponse\x12=\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTrace\"U\n\x17QueryDenomTracesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa7\x01\n\x18QueryDenomTracesResponse\x12N\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06Traces\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"K\n\x13QueryParamsResponse\x12\x34\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.Params\"&\n\x15QueryDenomHashRequest\x12\r\n\x05trace\x18\x01 \x01(\t\"&\n\x16QueryDenomHashResponse\x12\x0c\n\x04hash\x18\x01 \x01(\t\"@\n\x19QueryEscrowAddressRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"4\n\x1aQueryEscrowAddressResponse\x12\x16\n\x0e\x65scrow_address\x18\x01 \x01(\t\"0\n\x1fQueryTotalEscrowForDenomRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"S\n QueryTotalEscrowForDenomResponse\x12/\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x32\xd8\x08\n\x05Query\x12\xaf\x01\n\nDenomTrace\x12\x34.ibc.applications.transfer.v1.QueryDenomTraceRequest\x1a\x35.ibc.applications.transfer.v1.QueryDenomTraceResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/transfer/v1/denom_traces/{hash=**}\x12\xa8\x01\n\x0b\x44\x65nomTraces\x12\x35.ibc.applications.transfer.v1.QueryDenomTracesRequest\x1a\x36.ibc.applications.transfer.v1.QueryDenomTracesResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/ibc/apps/transfer/v1/denom_traces\x12\x93\x01\n\x06Params\x12\x30.ibc.applications.transfer.v1.QueryParamsRequest\x1a\x31.ibc.applications.transfer.v1.QueryParamsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/transfer/v1/params\x12\xad\x01\n\tDenomHash\x12\x33.ibc.applications.transfer.v1.QueryDenomHashRequest\x1a\x34.ibc.applications.transfer.v1.QueryDenomHashResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/apps/transfer/v1/denom_hashes/{trace=**}\x12\xd6\x01\n\rEscrowAddress\x12\x37.ibc.applications.transfer.v1.QueryEscrowAddressRequest\x1a\x38.ibc.applications.transfer.v1.QueryEscrowAddressResponse\"R\x82\xd3\xe4\x93\x02L\x12J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address\x12\xd2\x01\n\x13TotalEscrowForDenom\x12=.ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest\x1a>.ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrowB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,15 +26,15 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' _QUERYDENOMTRACESRESPONSE.fields_by_name['denom_traces']._options = None _QUERYDENOMTRACESRESPONSE.fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' _QUERYTOTALESCROWFORDENOMRESPONSE.fields_by_name['amount']._options = None _QUERYTOTALESCROWFORDENOMRESPONSE.fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _QUERY.methods_by_name['DenomTraces']._options = None - _QUERY.methods_by_name['DenomTraces']._serialized_options = b'\202\323\344\223\002$\022\"/ibc/apps/transfer/v1/denom_traces' _QUERY.methods_by_name['DenomTrace']._options = None _QUERY.methods_by_name['DenomTrace']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/transfer/v1/denom_traces/{hash=**}' + _QUERY.methods_by_name['DenomTraces']._options = None + _QUERY.methods_by_name['DenomTraces']._serialized_options = b'\202\323\344\223\002$\022\"/ibc/apps/transfer/v1/denom_traces' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\036\022\034/ibc/apps/transfer/v1/params' _QUERY.methods_by_name['DenomHash']._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py index c2bce469..74c1b392 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py @@ -15,16 +15,16 @@ def __init__(self, channel): Args: channel: A grpc.Channel. """ - self.DenomTraces = channel.unary_unary( - '/ibc.applications.transfer.v1.Query/DenomTraces', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, - ) self.DenomTrace = channel.unary_unary( '/ibc.applications.transfer.v1.Query/DenomTrace', request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.SerializeToString, response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.FromString, ) + self.DenomTraces = channel.unary_unary( + '/ibc.applications.transfer.v1.Query/DenomTraces', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, + ) self.Params = channel.unary_unary( '/ibc.applications.transfer.v1.Query/Params', request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, @@ -51,15 +51,15 @@ class QueryServicer(object): """Query provides defines the gRPC querier service. """ - def DenomTraces(self, request, context): - """DenomTraces queries all denomination traces. + def DenomTrace(self, request, context): + """DenomTrace queries a denomination trace information. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def DenomTrace(self, request, context): - """DenomTrace queries a denomination trace information. + def DenomTraces(self, request, context): + """DenomTraces queries all denomination traces. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -96,16 +96,16 @@ def TotalEscrowForDenom(self, request, context): def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'DenomTraces': grpc.unary_unary_rpc_method_handler( - servicer.DenomTraces, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.SerializeToString, - ), 'DenomTrace': grpc.unary_unary_rpc_method_handler( servicer.DenomTrace, request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.FromString, response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.SerializeToString, ), + 'DenomTraces': grpc.unary_unary_rpc_method_handler( + servicer.DenomTraces, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.SerializeToString, + ), 'Params': grpc.unary_unary_rpc_method_handler( servicer.Params, request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, @@ -138,7 +138,7 @@ class Query(object): """ @staticmethod - def DenomTraces(request, + def DenomTrace(request, target, options=(), channel_credentials=None, @@ -148,14 +148,14 @@ def DenomTraces(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTraces', - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTrace', + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DenomTrace(request, + def DenomTraces(request, target, options=(), channel_credentials=None, @@ -165,9 +165,9 @@ def DenomTrace(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTrace', - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTraces', + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py index 05953191..db525dc8 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1\".\n\nDenomTrace\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\"7\n\x06Params\x12\x14\n\x0csend_enabled\x18\x01 \x01(\x08\x12\x17\n\x0freceive_enabled\x18\x02 \x01(\x08\x42\x39Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\".\n\nDenomTrace\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\"l\n\x06Params\x12-\n\x0csend_enabled\x18\x01 \x01(\x08\x42\x17\xf2\xde\x1f\x13yaml:\"send_enabled\"\x12\x33\n\x0freceive_enabled\x18\x02 \x01(\x08\x42\x1a\xf2\xde\x1f\x16yaml:\"receive_enabled\"B9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,9 +22,13 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' - _globals['_DENOMTRACE']._serialized_start=77 - _globals['_DENOMTRACE']._serialized_end=123 - _globals['_PARAMS']._serialized_start=125 - _globals['_PARAMS']._serialized_end=180 + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + _PARAMS.fields_by_name['send_enabled']._options = None + _PARAMS.fields_by_name['send_enabled']._serialized_options = b'\362\336\037\023yaml:\"send_enabled\"' + _PARAMS.fields_by_name['receive_enabled']._options = None + _PARAMS.fields_by_name['receive_enabled']._serialized_options = b'\362\336\037\026yaml:\"receive_enabled\"' + _globals['_DENOMTRACE']._serialized_start=99 + _globals['_DENOMTRACE']._serialized_end=145 + _globals['_PARAMS']._serialized_start=147 + _globals['_PARAMS']._serialized_end=255 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py index 39cd7d49..596fc91c 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py @@ -11,15 +11,12 @@ _sym_db = _symbol_database.Default() -from amino import amino_pb2 as amino_dot_amino__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\xa5\x02\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12\x33\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12=\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x19\n\x11timeout_timestamp\x18\x07 \x01(\x04\x12\x0c\n\x04memo\x18\x08 \x01(\t:*\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgTransfer\"-\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04:\x04\x88\xa0\x1f\x00\"n\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12:\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xec\x01\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponse\x12t\n\x0cUpdateParams\x12-.ibc.applications.transfer.v1.MsgUpdateParams\x1a\x35.ibc.applications.transfer.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x39Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\"\xe3\x02\n\x0bMsgTransfer\x12+\n\x0bsource_port\x18\x01 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"source_port\"\x12\x31\n\x0esource_channel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"\x12.\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12Q\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"timeout_height\"\x12\x37\n\x11timeout_timestamp\x18\x07 \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:\"timeout_timestamp\"\x12\x0c\n\x04memo\x18\x08 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\'\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x32o\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponseB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,29 +24,23 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + _MSGTRANSFER.fields_by_name['source_port']._options = None + _MSGTRANSFER.fields_by_name['source_port']._serialized_options = b'\362\336\037\022yaml:\"source_port\"' + _MSGTRANSFER.fields_by_name['source_channel']._options = None + _MSGTRANSFER.fields_by_name['source_channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' _MSGTRANSFER.fields_by_name['token']._options = None - _MSGTRANSFER.fields_by_name['token']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _MSGTRANSFER.fields_by_name['token']._serialized_options = b'\310\336\037\000' _MSGTRANSFER.fields_by_name['timeout_height']._options = None - _MSGTRANSFER.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _MSGTRANSFER.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"timeout_height\"' + _MSGTRANSFER.fields_by_name['timeout_timestamp']._options = None + _MSGTRANSFER.fields_by_name['timeout_timestamp']._serialized_options = b'\362\336\037\030yaml:\"timeout_timestamp\"' _MSGTRANSFER._options = None - _MSGTRANSFER._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\026cosmos-sdk/MsgTransfer' - _MSGTRANSFERRESPONSE._options = None - _MSGTRANSFERRESPONSE._serialized_options = b'\210\240\037\000' - _MSGUPDATEPARAMS.fields_by_name['params']._options = None - _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGTRANSFER']._serialized_start=248 - _globals['_MSGTRANSFER']._serialized_end=541 - _globals['_MSGTRANSFERRESPONSE']._serialized_start=543 - _globals['_MSGTRANSFERRESPONSE']._serialized_end=588 - _globals['_MSGUPDATEPARAMS']._serialized_start=590 - _globals['_MSGUPDATEPARAMS']._serialized_end=700 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=702 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=727 - _globals['_MSG']._serialized_start=730 - _globals['_MSG']._serialized_end=966 + _MSGTRANSFER._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGTRANSFER']._serialized_start=159 + _globals['_MSGTRANSFER']._serialized_end=514 + _globals['_MSGTRANSFERRESPONSE']._serialized_start=516 + _globals['_MSGTRANSFERRESPONSE']._serialized_end=555 + _globals['_MSG']._serialized_start=557 + _globals['_MSG']._serialized_end=668 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py index db422c2b..74bc9aae 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py @@ -20,11 +20,6 @@ def __init__(self, channel): request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, ) - self.UpdateParams = channel.unary_unary( - '/ibc.applications.transfer.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - ) class MsgServicer(object): @@ -38,13 +33,6 @@ def Transfer(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -53,11 +41,6 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.FromString, response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.SerializeToString, ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( 'ibc.applications.transfer.v1.Msg', rpc_method_handlers) @@ -85,20 +68,3 @@ def Transfer(request, ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Msg/UpdateParams', - ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py index 945c0432..63d9a418 100644 --- a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2\"h\n\x17\x46ungibleTokenPacketData\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x0e\n\x06sender\x18\x03 \x01(\t\x12\x10\n\x08receiver\x18\x04 \x01(\t\x12\x0c\n\x04memo\x18\x05 \x01(\tB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2\"h\n\x17\x46ungibleTokenPacketData\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x0e\n\x06sender\x18\x03 \x01(\t\x12\x10\n\x08receiver\x18\x04 \x01(\t\x12\x0c\n\x04memo\x18\x05 \x01(\tB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +21,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' _globals['_FUNGIBLETOKENPACKETDATA']._serialized_start=75 _globals['_FUNGIBLETOKENPACKETDATA']._serialized_end=179 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py index 5a3245de..11ca6c73 100644 --- a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py @@ -15,7 +15,7 @@ from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\"\xd1\x01\n\x07\x43hannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x63onnection_hops\x18\x04 \x03(\t\x12\x0f\n\x07version\x18\x05 \x01(\t:\x04\x88\xa0\x1f\x00\"\x80\x02\n\x11IdentifiedChannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x63onnection_hops\x18\x04 \x03(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x0f\n\x07port_id\x18\x06 \x01(\t\x12\x12\n\nchannel_id\x18\x07 \x01(\t:\x04\x88\xa0\x1f\x00\"9\n\x0c\x43ounterparty\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\xe7\x01\n\x06Packet\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x13\n\x0bsource_port\x18\x02 \x01(\t\x12\x16\n\x0esource_channel\x18\x03 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x04 \x01(\t\x12\x1b\n\x13\x64\x65stination_channel\x18\x05 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x38\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x08 \x01(\x04:\x04\x88\xa0\x1f\x00\"X\n\x0bPacketState\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c:\x04\x88\xa0\x1f\x00\"G\n\x08PacketId\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"@\n\x0f\x41\x63knowledgement\x12\x10\n\x06result\x18\x15 \x01(\x0cH\x00\x12\x0f\n\x05\x65rror\x18\x16 \x01(\tH\x00\x42\n\n\x08response\"N\n\x07Timeout\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x11\n\ttimestamp\x18\x02 \x01(\x04*\xb7\x01\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12\"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\"\xed\x01\n\x07\x43hannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x33\n\x0f\x63onnection_hops\x18\x04 \x03(\tB\x1a\xf2\xde\x1f\x16yaml:\"connection_hops\"\x12\x0f\n\x07version\x18\x05 \x01(\t:\x04\x88\xa0\x1f\x00\"\x9c\x02\n\x11IdentifiedChannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x33\n\x0f\x63onnection_hops\x18\x04 \x03(\tB\x1a\xf2\xde\x1f\x16yaml:\"connection_hops\"\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x0f\n\x07port_id\x18\x06 \x01(\t\x12\x12\n\nchannel_id\x18\x07 \x01(\t:\x04\x88\xa0\x1f\x00\"d\n\x0c\x43ounterparty\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\":\x04\x88\xa0\x1f\x00\"\x8e\x03\n\x06Packet\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12+\n\x0bsource_port\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"source_port\"\x12\x31\n\x0esource_channel\x18\x03 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"\x12\x35\n\x10\x64\x65stination_port\x18\x04 \x01(\tB\x1b\xf2\xde\x1f\x17yaml:\"destination_port\"\x12;\n\x13\x64\x65stination_channel\x18\x05 \x01(\tB\x1e\xf2\xde\x1f\x1ayaml:\"destination_channel\"\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12Q\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"timeout_height\"\x12\x37\n\x11timeout_timestamp\x18\x08 \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:\"timeout_timestamp\":\x04\x88\xa0\x1f\x00\"\x83\x01\n\x0bPacketState\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c:\x04\x88\xa0\x1f\x00\"r\n\x08PacketId\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x10\n\x08sequence\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"@\n\x0f\x41\x63knowledgement\x12\x10\n\x06result\x18\x15 \x01(\x0cH\x00\x12\x0f\n\x05\x65rror\x18\x16 \x01(\tH\x00\x42\n\n\x08response*\xb7\x01\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12\"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,7 +23,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' _STATE._options = None _STATE._serialized_options = b'\210\243\036\000' _STATE.values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._options = None @@ -46,42 +46,64 @@ _ORDER.values_by_name["ORDER_ORDERED"]._serialized_options = b'\212\235 \007ORDERED' _CHANNEL.fields_by_name['counterparty']._options = None _CHANNEL.fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' + _CHANNEL.fields_by_name['connection_hops']._options = None + _CHANNEL.fields_by_name['connection_hops']._serialized_options = b'\362\336\037\026yaml:\"connection_hops\"' _CHANNEL._options = None _CHANNEL._serialized_options = b'\210\240\037\000' _IDENTIFIEDCHANNEL.fields_by_name['counterparty']._options = None _IDENTIFIEDCHANNEL.fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' + _IDENTIFIEDCHANNEL.fields_by_name['connection_hops']._options = None + _IDENTIFIEDCHANNEL.fields_by_name['connection_hops']._serialized_options = b'\362\336\037\026yaml:\"connection_hops\"' _IDENTIFIEDCHANNEL._options = None _IDENTIFIEDCHANNEL._serialized_options = b'\210\240\037\000' + _COUNTERPARTY.fields_by_name['port_id']._options = None + _COUNTERPARTY.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _COUNTERPARTY.fields_by_name['channel_id']._options = None + _COUNTERPARTY.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _COUNTERPARTY._options = None _COUNTERPARTY._serialized_options = b'\210\240\037\000' + _PACKET.fields_by_name['source_port']._options = None + _PACKET.fields_by_name['source_port']._serialized_options = b'\362\336\037\022yaml:\"source_port\"' + _PACKET.fields_by_name['source_channel']._options = None + _PACKET.fields_by_name['source_channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' + _PACKET.fields_by_name['destination_port']._options = None + _PACKET.fields_by_name['destination_port']._serialized_options = b'\362\336\037\027yaml:\"destination_port\"' + _PACKET.fields_by_name['destination_channel']._options = None + _PACKET.fields_by_name['destination_channel']._serialized_options = b'\362\336\037\032yaml:\"destination_channel\"' _PACKET.fields_by_name['timeout_height']._options = None - _PACKET.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000' + _PACKET.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"timeout_height\"' + _PACKET.fields_by_name['timeout_timestamp']._options = None + _PACKET.fields_by_name['timeout_timestamp']._serialized_options = b'\362\336\037\030yaml:\"timeout_timestamp\"' _PACKET._options = None _PACKET._serialized_options = b'\210\240\037\000' + _PACKETSTATE.fields_by_name['port_id']._options = None + _PACKETSTATE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _PACKETSTATE.fields_by_name['channel_id']._options = None + _PACKETSTATE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _PACKETSTATE._options = None _PACKETSTATE._serialized_options = b'\210\240\037\000' + _PACKETID.fields_by_name['port_id']._options = None + _PACKETID.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _PACKETID.fields_by_name['channel_id']._options = None + _PACKETID.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _PACKETID._options = None _PACKETID._serialized_options = b'\210\240\037\000' - _TIMEOUT.fields_by_name['height']._options = None - _TIMEOUT.fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_STATE']._serialized_start=1187 - _globals['_STATE']._serialized_end=1370 - _globals['_ORDER']._serialized_start=1372 - _globals['_ORDER']._serialized_end=1491 + _globals['_STATE']._serialized_start=1460 + _globals['_STATE']._serialized_end=1643 + _globals['_ORDER']._serialized_start=1645 + _globals['_ORDER']._serialized_end=1764 _globals['_CHANNEL']._serialized_start=114 - _globals['_CHANNEL']._serialized_end=323 - _globals['_IDENTIFIEDCHANNEL']._serialized_start=326 - _globals['_IDENTIFIEDCHANNEL']._serialized_end=582 - _globals['_COUNTERPARTY']._serialized_start=584 - _globals['_COUNTERPARTY']._serialized_end=641 - _globals['_PACKET']._serialized_start=644 - _globals['_PACKET']._serialized_end=875 - _globals['_PACKETSTATE']._serialized_start=877 - _globals['_PACKETSTATE']._serialized_end=965 - _globals['_PACKETID']._serialized_start=967 - _globals['_PACKETID']._serialized_end=1038 - _globals['_ACKNOWLEDGEMENT']._serialized_start=1040 - _globals['_ACKNOWLEDGEMENT']._serialized_end=1104 - _globals['_TIMEOUT']._serialized_start=1106 - _globals['_TIMEOUT']._serialized_end=1184 + _globals['_CHANNEL']._serialized_end=351 + _globals['_IDENTIFIEDCHANNEL']._serialized_start=354 + _globals['_IDENTIFIEDCHANNEL']._serialized_end=638 + _globals['_COUNTERPARTY']._serialized_start=640 + _globals['_COUNTERPARTY']._serialized_end=740 + _globals['_PACKET']._serialized_start=743 + _globals['_PACKET']._serialized_end=1141 + _globals['_PACKETSTATE']._serialized_start=1144 + _globals['_PACKETSTATE']._serialized_end=1275 + _globals['_PACKETID']._serialized_start=1277 + _globals['_PACKETID']._serialized_end=1391 + _globals['_ACKNOWLEDGEMENT']._serialized_start=1393 + _globals['_ACKNOWLEDGEMENT']._serialized_end=1457 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py index d02b8e20..8cee2f7d 100644 --- a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py @@ -15,7 +15,7 @@ from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\x83\x04\n\x0cGenesisState\x12S\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xc8\xde\x1f\x00\xfa\xde\x1f\x11IdentifiedChannel\x12@\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12;\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12\x38\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12\x41\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12\x41\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12@\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12\x1d\n\x15next_channel_sequence\x18\x08 \x01(\x04\"G\n\x0ePacketSequence\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x42;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xef\x04\n\x0cGenesisState\x12S\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xc8\xde\x1f\x00\xfa\xde\x1f\x11IdentifiedChannel\x12@\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12;\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12\x38\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12Z\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"send_sequences\"\x12Z\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"recv_sequences\"\x12X\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x1c\xc8\xde\x1f\x00\xf2\xde\x1f\x14yaml:\"ack_sequences\"\x12?\n\x15next_channel_sequence\x18\x08 \x01(\x04\x42 \xf2\xde\x1f\x1cyaml:\"next_channel_sequence\"\"r\n\x0ePacketSequence\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x42;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,7 +23,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' _GENESISSTATE.fields_by_name['channels']._options = None _GENESISSTATE.fields_by_name['channels']._serialized_options = b'\310\336\037\000\372\336\037\021IdentifiedChannel' _GENESISSTATE.fields_by_name['acknowledgements']._options = None @@ -33,13 +33,19 @@ _GENESISSTATE.fields_by_name['receipts']._options = None _GENESISSTATE.fields_by_name['receipts']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['send_sequences']._options = None - _GENESISSTATE.fields_by_name['send_sequences']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['send_sequences']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"send_sequences\"' _GENESISSTATE.fields_by_name['recv_sequences']._options = None - _GENESISSTATE.fields_by_name['recv_sequences']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['recv_sequences']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"recv_sequences\"' _GENESISSTATE.fields_by_name['ack_sequences']._options = None - _GENESISSTATE.fields_by_name['ack_sequences']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['ack_sequences']._serialized_options = b'\310\336\037\000\362\336\037\024yaml:\"ack_sequences\"' + _GENESISSTATE.fields_by_name['next_channel_sequence']._options = None + _GENESISSTATE.fields_by_name['next_channel_sequence']._serialized_options = b'\362\336\037\034yaml:\"next_channel_sequence\"' + _PACKETSEQUENCE.fields_by_name['port_id']._options = None + _PACKETSEQUENCE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _PACKETSEQUENCE.fields_by_name['channel_id']._options = None + _PACKETSEQUENCE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _globals['_GENESISSTATE']._serialized_start=116 - _globals['_GENESISSTATE']._serialized_end=631 - _globals['_PACKETSEQUENCE']._serialized_start=633 - _globals['_PACKETSEQUENCE']._serialized_end=704 + _globals['_GENESISSTATE']._serialized_end=739 + _globals['_PACKETSEQUENCE']._serialized_start=741 + _globals['_PACKETSEQUENCE']._serialized_end=855 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py index 2fea022d..2bb7cb3f 100644 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py @@ -19,7 +19,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\":\n\x13QueryChannelRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x8c\x01\n\x14QueryChannelResponse\x12-\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x14QueryChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc0\x01\n\x15QueryChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"p\n\x1eQueryConnectionChannelsRequest\x12\x12\n\nconnection\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xca\x01\n\x1fQueryConnectionChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"E\n\x1eQueryChannelClientStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\xb4\x01\n\x1fQueryChannelClientStateResponse\x12J\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientState\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"z\n!QueryChannelConsensusStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x17\n\x0frevision_number\x18\x03 \x01(\x04\x12\x17\n\x0frevision_height\x18\x04 \x01(\x04\"\xad\x01\n\"QueryChannelConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"U\n\x1cQueryPacketCommitmentRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"z\n\x1dQueryPacketCommitmentResponse\x12\x12\n\ncommitment\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\x80\x01\n\x1dQueryPacketCommitmentsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc6\x01\n\x1eQueryPacketCommitmentsResponse\x12\x35\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x19QueryPacketReceiptRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"u\n\x1aQueryPacketReceiptResponse\x12\x10\n\x08received\x18\x02 \x01(\x08\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"Z\n!QueryPacketAcknowledgementRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"\x84\x01\n\"QueryPacketAcknowledgementResponse\x12\x17\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\xaa\x01\n\"QueryPacketAcknowledgementsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12#\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04\"\xd0\x01\n#QueryPacketAcknowledgementsResponse\x12:\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"i\n\x1dQueryUnreceivedPacketsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12#\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04\"e\n\x1eQueryUnreceivedPacketsResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"_\n\x1aQueryUnreceivedAcksRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1c\n\x14packet_ack_sequences\x18\x03 \x03(\x04\"b\n\x1bQueryUnreceivedAcksResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"F\n\x1fQueryNextSequenceReceiveRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x88\x01\n QueryNextSequenceReceiveResponse\x12\x1d\n\x15next_sequence_receive\x18\x01 \x01(\x04\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"C\n\x1cQueryNextSequenceSendRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x82\x01\n\x1dQueryNextSequenceSendResponse\x12\x1a\n\x12next_sequence_send\x18\x01 \x01(\x04\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x32\xde\x17\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse\"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse\"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse\"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse\"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse\"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse\"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse\"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence\x12\xd0\x01\n\x10NextSequenceSend\x12\x31.ibc.core.channel.v1.QueryNextSequenceSendRequest\x1a\x32.ibc.core.channel.v1.QueryNextSequenceSendResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_sendB;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\":\n\x13QueryChannelRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x8c\x01\n\x14QueryChannelResponse\x12-\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x14QueryChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc0\x01\n\x15QueryChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"p\n\x1eQueryConnectionChannelsRequest\x12\x12\n\nconnection\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xca\x01\n\x1fQueryConnectionChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"E\n\x1eQueryChannelClientStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\xb4\x01\n\x1fQueryChannelClientStateResponse\x12J\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientState\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"z\n!QueryChannelConsensusStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x17\n\x0frevision_number\x18\x03 \x01(\x04\x12\x17\n\x0frevision_height\x18\x04 \x01(\x04\"\xad\x01\n\"QueryChannelConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"U\n\x1cQueryPacketCommitmentRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"z\n\x1dQueryPacketCommitmentResponse\x12\x12\n\ncommitment\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\x80\x01\n\x1dQueryPacketCommitmentsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc6\x01\n\x1eQueryPacketCommitmentsResponse\x12\x35\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x19QueryPacketReceiptRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"u\n\x1aQueryPacketReceiptResponse\x12\x10\n\x08received\x18\x02 \x01(\x08\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"Z\n!QueryPacketAcknowledgementRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"\x84\x01\n\"QueryPacketAcknowledgementResponse\x12\x17\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\xaa\x01\n\"QueryPacketAcknowledgementsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12#\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04\"\xd0\x01\n#QueryPacketAcknowledgementsResponse\x12:\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"i\n\x1dQueryUnreceivedPacketsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12#\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04\"e\n\x1eQueryUnreceivedPacketsResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"_\n\x1aQueryUnreceivedAcksRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1c\n\x14packet_ack_sequences\x18\x03 \x03(\x04\"b\n\x1bQueryUnreceivedAcksResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"F\n\x1fQueryNextSequenceReceiveRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x88\x01\n QueryNextSequenceReceiveResponse\x12\x1d\n\x15next_sequence_receive\x18\x01 \x01(\x04\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x32\x8b\x16\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse\"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse\"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse\"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse\"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse\"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse\"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse\"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequenceB;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,7 +27,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' _QUERYCHANNELRESPONSE.fields_by_name['proof_height']._options = None _QUERYCHANNELRESPONSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _QUERYCHANNELSRESPONSE.fields_by_name['height']._options = None @@ -54,8 +54,6 @@ _QUERYUNRECEIVEDACKSRESPONSE.fields_by_name['height']._serialized_options = b'\310\336\037\000' _QUERYNEXTSEQUENCERECEIVERESPONSE.fields_by_name['proof_height']._options = None _QUERYNEXTSEQUENCERECEIVERESPONSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _QUERYNEXTSEQUENCESENDRESPONSE.fields_by_name['proof_height']._options = None - _QUERYNEXTSEQUENCESENDRESPONSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _QUERY.methods_by_name['Channel']._options = None _QUERY.methods_by_name['Channel']._serialized_options = b'\202\323\344\223\002<\022:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}' _QUERY.methods_by_name['Channels']._options = None @@ -82,8 +80,6 @@ _QUERY.methods_by_name['UnreceivedAcks']._serialized_options = b'\202\323\344\223\002v\022t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks' _QUERY.methods_by_name['NextSequenceReceive']._options = None _QUERY.methods_by_name['NextSequenceReceive']._serialized_options = b'\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence' - _QUERY.methods_by_name['NextSequenceSend']._options = None - _QUERY.methods_by_name['NextSequenceSend']._serialized_options = b'\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send' _globals['_QUERYCHANNELREQUEST']._serialized_start=247 _globals['_QUERYCHANNELREQUEST']._serialized_end=305 _globals['_QUERYCHANNELRESPONSE']._serialized_start=308 @@ -136,10 +132,6 @@ _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_end=3436 _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_start=3439 _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_end=3575 - _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_start=3577 - _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_end=3644 - _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_start=3647 - _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_end=3777 - _globals['_QUERY']._serialized_start=3780 - _globals['_QUERY']._serialized_end=6818 + _globals['_QUERY']._serialized_start=3578 + _globals['_QUERY']._serialized_end=6405 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py index be5ec4ee..8dcef23a 100644 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py @@ -80,11 +80,6 @@ def __init__(self, channel): request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, ) - self.NextSequenceSend = channel.unary_unary( - '/ibc.core.channel.v1.Query/NextSequenceSend', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, - ) class QueryServicer(object): @@ -190,13 +185,6 @@ def NextSequenceReceive(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def NextSequenceSend(self, request, context): - """NextSequenceSend returns the next send sequence for a given channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { @@ -265,11 +253,6 @@ def add_QueryServicer_to_server(servicer, server): request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.FromString, response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.SerializeToString, ), - 'NextSequenceSend': grpc.unary_unary_rpc_method_handler( - servicer.NextSequenceSend, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( 'ibc.core.channel.v1.Query', rpc_method_handlers) @@ -501,20 +484,3 @@ def NextSequenceReceive(request, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def NextSequenceSend(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.core.channel.v1.Query/NextSequenceSend', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py index 6f14197e..b6475acc 100644 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py @@ -14,10 +14,9 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"{\n\x12MsgChannelOpenInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x33\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"G\n\x1aMsgChannelOpenInitResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\x85\x02\n\x11MsgChannelOpenTry\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x1f\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01\x12\x33\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x12\n\nproof_init\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"F\n\x19MsgChannelOpenTryResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\xe3\x01\n\x11MsgChannelOpenAck\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1f\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\t\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x11\n\tproof_try\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1b\n\x19MsgChannelOpenAckResponse\"\xa8\x01\n\x15MsgChannelOpenConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x11\n\tproof_ack\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"[\n\x13MsgChannelCloseInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xaa\x01\n\x16MsgChannelCloseConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x12\n\nproof_init\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\" \n\x1eMsgChannelCloseConfirmResponse\"\xb5\x01\n\rMsgRecvPacket\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_commitment\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"V\n\x15MsgRecvPacketResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xce\x01\n\nMsgTimeout\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x04 \x01(\x04\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"S\n\x12MsgTimeoutResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xea\x01\n\x11MsgTimeoutOnClose\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_close\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x05 \x01(\x04\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"Z\n\x19MsgTimeoutOnCloseResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xce\x01\n\x12MsgAcknowledgement\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_acked\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"[\n\x1aMsgAcknowledgementResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00*\xa9\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x1a\x04\x88\xa3\x1e\x00\x32\xb6\x08\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponse\x1a\x05\x80\xe7\xb0*\x01\x42;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\"\x88\x01\n\x12MsgChannelOpenInit\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12\x33\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"X\n\x1aMsgChannelOpenInitResponse\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07version\x18\x02 \x01(\t\"\xff\x02\n\x11MsgChannelOpenTry\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12=\n\x13previous_channel_id\x18\x02 \x01(\tB \x18\x01\xf2\xde\x1f\x1ayaml:\"previous_channel_id\"\x12\x33\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12=\n\x14\x63ounterparty_version\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"counterparty_version\"\x12)\n\nproof_init\x18\x05 \x01(\x0c\x42\x15\xf2\xde\x1f\x11yaml:\"proof_init\"\x12M\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"W\n\x19MsgChannelOpenTryResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\"\xf9\x02\n\x11MsgChannelOpenAck\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x43\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\tB\"\xf2\xde\x1f\x1eyaml:\"counterparty_channel_id\"\x12=\n\x14\x63ounterparty_version\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"counterparty_version\"\x12\'\n\tproof_try\x18\x05 \x01(\x0c\x42\x14\xf2\xde\x1f\x10yaml:\"proof_try\"\x12M\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1b\n\x19MsgChannelOpenAckResponse\"\xf9\x01\n\x15MsgChannelOpenConfirm\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\'\n\tproof_ack\x18\x03 \x01(\x0c\x42\x14\xf2\xde\x1f\x10yaml:\"proof_ack\"\x12M\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"\x7f\n\x13MsgChannelCloseInit\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xfc\x01\n\x16MsgChannelCloseConfirm\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12)\n\nproof_init\x18\x03 \x01(\x0c\x42\x15\xf2\xde\x1f\x11yaml:\"proof_init\"\x12M\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\" \n\x1eMsgChannelCloseConfirmResponse\"\xe2\x01\n\rMsgRecvPacket\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x35\n\x10proof_commitment\x18\x02 \x01(\x0c\x42\x1b\xf2\xde\x1f\x17yaml:\"proof_commitment\"\x12M\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"V\n\x15MsgRecvPacketResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\x9a\x02\n\nMsgTimeout\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x35\n\x10proof_unreceived\x18\x02 \x01(\x0c\x42\x1b\xf2\xde\x1f\x17yaml:\"proof_unreceived\"\x12M\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x39\n\x12next_sequence_recv\x18\x04 \x01(\x04\x42\x1d\xf2\xde\x1f\x19yaml:\"next_sequence_recv\"\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"S\n\x12MsgTimeoutResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xce\x02\n\x11MsgTimeoutOnClose\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x35\n\x10proof_unreceived\x18\x02 \x01(\x0c\x42\x1b\xf2\xde\x1f\x17yaml:\"proof_unreceived\"\x12+\n\x0bproof_close\x18\x03 \x01(\x0c\x42\x16\xf2\xde\x1f\x12yaml:\"proof_close\"\x12M\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x39\n\x12next_sequence_recv\x18\x05 \x01(\x04\x42\x1d\xf2\xde\x1f\x19yaml:\"next_sequence_recv\"\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"Z\n\x19MsgTimeoutOnCloseResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xf6\x01\n\x12MsgAcknowledgement\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\x12+\n\x0bproof_acked\x18\x03 \x01(\x0c\x42\x16\xf2\xde\x1f\x12yaml:\"proof_acked\"\x12M\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"[\n\x1aMsgAcknowledgementResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00*\xa9\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x1a\x04\x88\xa3\x1e\x00\x32\xaf\x08\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponseB;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,7 +24,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' _RESPONSERESULTTYPE._options = None _RESPONSERESULTTYPE._serialized_options = b'\210\243\036\000' _RESPONSERESULTTYPE.values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._options = None @@ -34,112 +33,158 @@ _RESPONSERESULTTYPE.values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._serialized_options = b'\212\235 \004NOOP' _RESPONSERESULTTYPE.values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._options = None _RESPONSERESULTTYPE.values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._serialized_options = b'\212\235 \007SUCCESS' + _MSGCHANNELOPENINIT.fields_by_name['port_id']._options = None + _MSGCHANNELOPENINIT.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' _MSGCHANNELOPENINIT.fields_by_name['channel']._options = None _MSGCHANNELOPENINIT.fields_by_name['channel']._serialized_options = b'\310\336\037\000' _MSGCHANNELOPENINIT._options = None - _MSGCHANNELOPENINIT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSGCHANNELOPENINITRESPONSE._options = None - _MSGCHANNELOPENINITRESPONSE._serialized_options = b'\210\240\037\000' + _MSGCHANNELOPENINIT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGCHANNELOPENINITRESPONSE.fields_by_name['channel_id']._options = None + _MSGCHANNELOPENINITRESPONSE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGCHANNELOPENTRY.fields_by_name['port_id']._options = None + _MSGCHANNELOPENTRY.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' _MSGCHANNELOPENTRY.fields_by_name['previous_channel_id']._options = None - _MSGCHANNELOPENTRY.fields_by_name['previous_channel_id']._serialized_options = b'\030\001' + _MSGCHANNELOPENTRY.fields_by_name['previous_channel_id']._serialized_options = b'\030\001\362\336\037\032yaml:\"previous_channel_id\"' _MSGCHANNELOPENTRY.fields_by_name['channel']._options = None _MSGCHANNELOPENTRY.fields_by_name['channel']._serialized_options = b'\310\336\037\000' + _MSGCHANNELOPENTRY.fields_by_name['counterparty_version']._options = None + _MSGCHANNELOPENTRY.fields_by_name['counterparty_version']._serialized_options = b'\362\336\037\033yaml:\"counterparty_version\"' + _MSGCHANNELOPENTRY.fields_by_name['proof_init']._options = None + _MSGCHANNELOPENTRY.fields_by_name['proof_init']._serialized_options = b'\362\336\037\021yaml:\"proof_init\"' _MSGCHANNELOPENTRY.fields_by_name['proof_height']._options = None - _MSGCHANNELOPENTRY.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGCHANNELOPENTRY.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGCHANNELOPENTRY._options = None - _MSGCHANNELOPENTRY._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSGCHANNELOPENTRYRESPONSE._options = None - _MSGCHANNELOPENTRYRESPONSE._serialized_options = b'\210\240\037\000' + _MSGCHANNELOPENTRY._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGCHANNELOPENTRYRESPONSE.fields_by_name['channel_id']._options = None + _MSGCHANNELOPENTRYRESPONSE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGCHANNELOPENACK.fields_by_name['port_id']._options = None + _MSGCHANNELOPENACK.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGCHANNELOPENACK.fields_by_name['channel_id']._options = None + _MSGCHANNELOPENACK.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGCHANNELOPENACK.fields_by_name['counterparty_channel_id']._options = None + _MSGCHANNELOPENACK.fields_by_name['counterparty_channel_id']._serialized_options = b'\362\336\037\036yaml:\"counterparty_channel_id\"' + _MSGCHANNELOPENACK.fields_by_name['counterparty_version']._options = None + _MSGCHANNELOPENACK.fields_by_name['counterparty_version']._serialized_options = b'\362\336\037\033yaml:\"counterparty_version\"' + _MSGCHANNELOPENACK.fields_by_name['proof_try']._options = None + _MSGCHANNELOPENACK.fields_by_name['proof_try']._serialized_options = b'\362\336\037\020yaml:\"proof_try\"' _MSGCHANNELOPENACK.fields_by_name['proof_height']._options = None - _MSGCHANNELOPENACK.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGCHANNELOPENACK.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGCHANNELOPENACK._options = None - _MSGCHANNELOPENACK._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCHANNELOPENACK._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGCHANNELOPENCONFIRM.fields_by_name['port_id']._options = None + _MSGCHANNELOPENCONFIRM.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGCHANNELOPENCONFIRM.fields_by_name['channel_id']._options = None + _MSGCHANNELOPENCONFIRM.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGCHANNELOPENCONFIRM.fields_by_name['proof_ack']._options = None + _MSGCHANNELOPENCONFIRM.fields_by_name['proof_ack']._serialized_options = b'\362\336\037\020yaml:\"proof_ack\"' _MSGCHANNELOPENCONFIRM.fields_by_name['proof_height']._options = None - _MSGCHANNELOPENCONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGCHANNELOPENCONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGCHANNELOPENCONFIRM._options = None - _MSGCHANNELOPENCONFIRM._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCHANNELOPENCONFIRM._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGCHANNELCLOSEINIT.fields_by_name['port_id']._options = None + _MSGCHANNELCLOSEINIT.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGCHANNELCLOSEINIT.fields_by_name['channel_id']._options = None + _MSGCHANNELCLOSEINIT.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _MSGCHANNELCLOSEINIT._options = None - _MSGCHANNELCLOSEINIT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCHANNELCLOSEINIT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGCHANNELCLOSECONFIRM.fields_by_name['port_id']._options = None + _MSGCHANNELCLOSECONFIRM.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGCHANNELCLOSECONFIRM.fields_by_name['channel_id']._options = None + _MSGCHANNELCLOSECONFIRM.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_init']._options = None + _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_init']._serialized_options = b'\362\336\037\021yaml:\"proof_init\"' _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_height']._options = None - _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGCHANNELCLOSECONFIRM._options = None - _MSGCHANNELCLOSECONFIRM._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCHANNELCLOSECONFIRM._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGRECVPACKET.fields_by_name['packet']._options = None _MSGRECVPACKET.fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _MSGRECVPACKET.fields_by_name['proof_commitment']._options = None + _MSGRECVPACKET.fields_by_name['proof_commitment']._serialized_options = b'\362\336\037\027yaml:\"proof_commitment\"' _MSGRECVPACKET.fields_by_name['proof_height']._options = None - _MSGRECVPACKET.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGRECVPACKET.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGRECVPACKET._options = None - _MSGRECVPACKET._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGRECVPACKET._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGRECVPACKETRESPONSE._options = None _MSGRECVPACKETRESPONSE._serialized_options = b'\210\240\037\000' _MSGTIMEOUT.fields_by_name['packet']._options = None _MSGTIMEOUT.fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _MSGTIMEOUT.fields_by_name['proof_unreceived']._options = None + _MSGTIMEOUT.fields_by_name['proof_unreceived']._serialized_options = b'\362\336\037\027yaml:\"proof_unreceived\"' _MSGTIMEOUT.fields_by_name['proof_height']._options = None - _MSGTIMEOUT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGTIMEOUT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' + _MSGTIMEOUT.fields_by_name['next_sequence_recv']._options = None + _MSGTIMEOUT.fields_by_name['next_sequence_recv']._serialized_options = b'\362\336\037\031yaml:\"next_sequence_recv\"' _MSGTIMEOUT._options = None - _MSGTIMEOUT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGTIMEOUT._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGTIMEOUTRESPONSE._options = None _MSGTIMEOUTRESPONSE._serialized_options = b'\210\240\037\000' _MSGTIMEOUTONCLOSE.fields_by_name['packet']._options = None _MSGTIMEOUTONCLOSE.fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _MSGTIMEOUTONCLOSE.fields_by_name['proof_unreceived']._options = None + _MSGTIMEOUTONCLOSE.fields_by_name['proof_unreceived']._serialized_options = b'\362\336\037\027yaml:\"proof_unreceived\"' + _MSGTIMEOUTONCLOSE.fields_by_name['proof_close']._options = None + _MSGTIMEOUTONCLOSE.fields_by_name['proof_close']._serialized_options = b'\362\336\037\022yaml:\"proof_close\"' _MSGTIMEOUTONCLOSE.fields_by_name['proof_height']._options = None - _MSGTIMEOUTONCLOSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGTIMEOUTONCLOSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' + _MSGTIMEOUTONCLOSE.fields_by_name['next_sequence_recv']._options = None + _MSGTIMEOUTONCLOSE.fields_by_name['next_sequence_recv']._serialized_options = b'\362\336\037\031yaml:\"next_sequence_recv\"' _MSGTIMEOUTONCLOSE._options = None - _MSGTIMEOUTONCLOSE._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGTIMEOUTONCLOSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGTIMEOUTONCLOSERESPONSE._options = None _MSGTIMEOUTONCLOSERESPONSE._serialized_options = b'\210\240\037\000' _MSGACKNOWLEDGEMENT.fields_by_name['packet']._options = None _MSGACKNOWLEDGEMENT.fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _MSGACKNOWLEDGEMENT.fields_by_name['proof_acked']._options = None + _MSGACKNOWLEDGEMENT.fields_by_name['proof_acked']._serialized_options = b'\362\336\037\022yaml:\"proof_acked\"' _MSGACKNOWLEDGEMENT.fields_by_name['proof_height']._options = None - _MSGACKNOWLEDGEMENT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGACKNOWLEDGEMENT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGACKNOWLEDGEMENT._options = None - _MSGACKNOWLEDGEMENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGACKNOWLEDGEMENT._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGACKNOWLEDGEMENTRESPONSE._options = None _MSGACKNOWLEDGEMENTRESPONSE._serialized_options = b'\210\240\037\000' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_RESPONSERESULTTYPE']._serialized_start=2694 - _globals['_RESPONSERESULTTYPE']._serialized_end=2863 - _globals['_MSGCHANNELOPENINIT']._serialized_start=168 - _globals['_MSGCHANNELOPENINIT']._serialized_end=291 - _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_start=293 - _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_end=364 - _globals['_MSGCHANNELOPENTRY']._serialized_start=367 - _globals['_MSGCHANNELOPENTRY']._serialized_end=628 - _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_start=630 - _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_end=700 - _globals['_MSGCHANNELOPENACK']._serialized_start=703 - _globals['_MSGCHANNELOPENACK']._serialized_end=930 - _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_start=932 - _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_end=959 - _globals['_MSGCHANNELOPENCONFIRM']._serialized_start=962 - _globals['_MSGCHANNELOPENCONFIRM']._serialized_end=1130 - _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_start=1132 - _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_end=1163 - _globals['_MSGCHANNELCLOSEINIT']._serialized_start=1165 - _globals['_MSGCHANNELCLOSEINIT']._serialized_end=1256 - _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_start=1258 - _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_end=1287 - _globals['_MSGCHANNELCLOSECONFIRM']._serialized_start=1290 - _globals['_MSGCHANNELCLOSECONFIRM']._serialized_end=1460 - _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_start=1462 - _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_end=1494 - _globals['_MSGRECVPACKET']._serialized_start=1497 - _globals['_MSGRECVPACKET']._serialized_end=1678 - _globals['_MSGRECVPACKETRESPONSE']._serialized_start=1680 - _globals['_MSGRECVPACKETRESPONSE']._serialized_end=1766 - _globals['_MSGTIMEOUT']._serialized_start=1769 - _globals['_MSGTIMEOUT']._serialized_end=1975 - _globals['_MSGTIMEOUTRESPONSE']._serialized_start=1977 - _globals['_MSGTIMEOUTRESPONSE']._serialized_end=2060 - _globals['_MSGTIMEOUTONCLOSE']._serialized_start=2063 - _globals['_MSGTIMEOUTONCLOSE']._serialized_end=2297 - _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_start=2299 - _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_end=2389 - _globals['_MSGACKNOWLEDGEMENT']._serialized_start=2392 - _globals['_MSGACKNOWLEDGEMENT']._serialized_end=2598 - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_start=2600 - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_end=2691 - _globals['_MSG']._serialized_start=2866 - _globals['_MSG']._serialized_end=3944 + _globals['_RESPONSERESULTTYPE']._serialized_start=3449 + _globals['_RESPONSERESULTTYPE']._serialized_end=3618 + _globals['_MSGCHANNELOPENINIT']._serialized_start=144 + _globals['_MSGCHANNELOPENINIT']._serialized_end=280 + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_start=282 + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_end=370 + _globals['_MSGCHANNELOPENTRY']._serialized_start=373 + _globals['_MSGCHANNELOPENTRY']._serialized_end=756 + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_start=758 + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_end=845 + _globals['_MSGCHANNELOPENACK']._serialized_start=848 + _globals['_MSGCHANNELOPENACK']._serialized_end=1225 + _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_start=1227 + _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_end=1254 + _globals['_MSGCHANNELOPENCONFIRM']._serialized_start=1257 + _globals['_MSGCHANNELOPENCONFIRM']._serialized_end=1506 + _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_start=1508 + _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_end=1539 + _globals['_MSGCHANNELCLOSEINIT']._serialized_start=1541 + _globals['_MSGCHANNELCLOSEINIT']._serialized_end=1668 + _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_start=1670 + _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_end=1699 + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_start=1702 + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_end=1954 + _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_start=1956 + _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_end=1988 + _globals['_MSGRECVPACKET']._serialized_start=1991 + _globals['_MSGRECVPACKET']._serialized_end=2217 + _globals['_MSGRECVPACKETRESPONSE']._serialized_start=2219 + _globals['_MSGRECVPACKETRESPONSE']._serialized_end=2305 + _globals['_MSGTIMEOUT']._serialized_start=2308 + _globals['_MSGTIMEOUT']._serialized_end=2590 + _globals['_MSGTIMEOUTRESPONSE']._serialized_start=2592 + _globals['_MSGTIMEOUTRESPONSE']._serialized_end=2675 + _globals['_MSGTIMEOUTONCLOSE']._serialized_start=2678 + _globals['_MSGTIMEOUTONCLOSE']._serialized_end=3012 + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_start=3014 + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_end=3104 + _globals['_MSGACKNOWLEDGEMENT']._serialized_start=3107 + _globals['_MSGACKNOWLEDGEMENT']._serialized_end=3353 + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_start=3355 + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_end=3446 + _globals['_MSG']._serialized_start=3621 + _globals['_MSG']._serialized_end=4692 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/client_pb2.py b/pyinjective/proto/ibc/core/client/v1/client_pb2.py index e6e836cd..4fe05b02 100644 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/client_pb2.py @@ -11,13 +11,13 @@ _sym_db = _symbol_database.Default() -from cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 -from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/client/v1/client.proto\x12\x12ibc.core.client.v1\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"V\n\x15IdentifiedClientState\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"{\n\x18\x43onsensusStateWithHeight\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"x\n\x15\x43lientConsensusStates\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12L\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\"D\n\x06Height\x12\x17\n\x0frevision_number\x18\x01 \x01(\x04\x12\x17\n\x0frevision_height\x18\x02 \x01(\x04:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"!\n\x06Params\x12\x17\n\x0f\x61llowed_clients\x18\x01 \x03(\t\"\xd8\x01\n\x14\x43lientUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x37\n\x11subject_client_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:\"subject_client_id\"\x12=\n\x14substitute_client_id\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"substitute_client_id\":$\x18\x01\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xec\x01\n\x0fUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00\x12U\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:\"upgraded_client_state\":,\x18\x01\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/client/v1/client.proto\x12\x12ibc.core.client.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x85\x01\n\x15IdentifiedClientState\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12\x43\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x17\xf2\xde\x1f\x13yaml:\"client_state\"\"\x97\x01\n\x18\x43onsensusStateWithHeight\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12I\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\"\"\xa9\x01\n\x15\x43lientConsensusStates\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12g\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x1f\xc8\xde\x1f\x00\xf2\xde\x1f\x17yaml:\"consensus_states\"\"\xd6\x01\n\x14\x43lientUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x37\n\x11subject_client_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:\"subject_client_id\"\x12=\n\x14substitute_client_id\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"substitute_client_id\":\"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xea\x01\n\x0fUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00\x12U\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:\"upgraded_client_state\":*\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"|\n\x06Height\x12\x33\n\x0frevision_number\x18\x01 \x01(\x04\x42\x1a\xf2\xde\x1f\x16yaml:\"revision_number\"\x12\x33\n\x0frevision_height\x18\x02 \x01(\x04\x42\x1a\xf2\xde\x1f\x16yaml:\"revision_height\":\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"=\n\x06Params\x12\x33\n\x0f\x61llowed_clients\x18\x01 \x03(\tB\x1a\xf2\xde\x1f\x16yaml:\"allowed_clients\"B:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,37 +25,51 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' + _IDENTIFIEDCLIENTSTATE.fields_by_name['client_id']._options = None + _IDENTIFIEDCLIENTSTATE.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' + _IDENTIFIEDCLIENTSTATE.fields_by_name['client_state']._options = None + _IDENTIFIEDCLIENTSTATE.fields_by_name['client_state']._serialized_options = b'\362\336\037\023yaml:\"client_state\"' _CONSENSUSSTATEWITHHEIGHT.fields_by_name['height']._options = None _CONSENSUSSTATEWITHHEIGHT.fields_by_name['height']._serialized_options = b'\310\336\037\000' + _CONSENSUSSTATEWITHHEIGHT.fields_by_name['consensus_state']._options = None + _CONSENSUSSTATEWITHHEIGHT.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' + _CLIENTCONSENSUSSTATES.fields_by_name['client_id']._options = None + _CLIENTCONSENSUSSTATES.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' _CLIENTCONSENSUSSTATES.fields_by_name['consensus_states']._options = None - _CLIENTCONSENSUSSTATES.fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000' - _HEIGHT._options = None - _HEIGHT._serialized_options = b'\210\240\037\000\230\240\037\000' + _CLIENTCONSENSUSSTATES.fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000\362\336\037\027yaml:\"consensus_states\"' _CLIENTUPDATEPROPOSAL.fields_by_name['subject_client_id']._options = None _CLIENTUPDATEPROPOSAL.fields_by_name['subject_client_id']._serialized_options = b'\362\336\037\030yaml:\"subject_client_id\"' _CLIENTUPDATEPROPOSAL.fields_by_name['substitute_client_id']._options = None _CLIENTUPDATEPROPOSAL.fields_by_name['substitute_client_id']._serialized_options = b'\362\336\037\033yaml:\"substitute_client_id\"' _CLIENTUPDATEPROPOSAL._options = None - _CLIENTUPDATEPROPOSAL._serialized_options = b'\030\001\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _CLIENTUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _UPGRADEPROPOSAL.fields_by_name['plan']._options = None _UPGRADEPROPOSAL.fields_by_name['plan']._serialized_options = b'\310\336\037\000' _UPGRADEPROPOSAL.fields_by_name['upgraded_client_state']._options = None _UPGRADEPROPOSAL.fields_by_name['upgraded_client_state']._serialized_options = b'\362\336\037\034yaml:\"upgraded_client_state\"' _UPGRADEPROPOSAL._options = None - _UPGRADEPROPOSAL._serialized_options = b'\030\001\210\240\037\000\230\240\037\000\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_IDENTIFIEDCLIENTSTATE']._serialized_start=169 - _globals['_IDENTIFIEDCLIENTSTATE']._serialized_end=255 - _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_start=257 - _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_end=380 - _globals['_CLIENTCONSENSUSSTATES']._serialized_start=382 - _globals['_CLIENTCONSENSUSSTATES']._serialized_end=502 - _globals['_HEIGHT']._serialized_start=504 - _globals['_HEIGHT']._serialized_end=572 - _globals['_PARAMS']._serialized_start=574 - _globals['_PARAMS']._serialized_end=607 - _globals['_CLIENTUPDATEPROPOSAL']._serialized_start=610 - _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=826 - _globals['_UPGRADEPROPOSAL']._serialized_start=829 - _globals['_UPGRADEPROPOSAL']._serialized_end=1065 + _UPGRADEPROPOSAL._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content' + _HEIGHT.fields_by_name['revision_number']._options = None + _HEIGHT.fields_by_name['revision_number']._serialized_options = b'\362\336\037\026yaml:\"revision_number\"' + _HEIGHT.fields_by_name['revision_height']._options = None + _HEIGHT.fields_by_name['revision_height']._serialized_options = b'\362\336\037\026yaml:\"revision_height\"' + _HEIGHT._options = None + _HEIGHT._serialized_options = b'\210\240\037\000\230\240\037\000' + _PARAMS.fields_by_name['allowed_clients']._options = None + _PARAMS.fields_by_name['allowed_clients']._serialized_options = b'\362\336\037\026yaml:\"allowed_clients\"' + _globals['_IDENTIFIEDCLIENTSTATE']._serialized_start=170 + _globals['_IDENTIFIEDCLIENTSTATE']._serialized_end=303 + _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_start=306 + _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_end=457 + _globals['_CLIENTCONSENSUSSTATES']._serialized_start=460 + _globals['_CLIENTCONSENSUSSTATES']._serialized_end=629 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_start=632 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=846 + _globals['_UPGRADEPROPOSAL']._serialized_start=849 + _globals['_UPGRADEPROPOSAL']._serialized_end=1083 + _globals['_HEIGHT']._serialized_start=1085 + _globals['_HEIGHT']._serialized_end=1209 + _globals['_PARAMS']._serialized_start=1211 + _globals['_PARAMS']._serialized_end=1272 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py index 26f63a9e..a334463d 100644 --- a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py @@ -15,7 +15,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"\x8d\x03\n\x0cGenesisState\x12Z\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12\x64\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16\x43lientsConsensusStates\x12M\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x04\xc8\xde\x1f\x00\x12\x30\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00\x12\x1c\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\x1c\n\x14next_client_sequence\x18\x06 \x01(\x04\"3\n\x0fGenesisMetadata\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c:\x04\x88\xa0\x1f\x00\"r\n\x19IdentifiedGenesisMetadata\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x42\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x04\xc8\xde\x1f\x00\x42:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"\xff\x03\n\x0cGenesisState\x12Z\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12\x80\x01\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB:\xc8\xde\x1f\x00\xf2\xde\x1f\x18yaml:\"clients_consensus\"\xaa\xdf\x1f\x16\x43lientsConsensusStates\x12h\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x1f\xc8\xde\x1f\x00\xf2\xde\x1f\x17yaml:\"clients_metadata\"\x12\x30\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00\x12\x35\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x42\x1b\xf2\xde\x1f\x17yaml:\"create_localhost\"\x12=\n\x14next_client_sequence\x18\x06 \x01(\x04\x42\x1f\xf2\xde\x1f\x1byaml:\"next_client_sequence\"\"3\n\x0fGenesisMetadata\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c:\x04\x88\xa0\x1f\x00\"\xa2\x01\n\x19IdentifiedGenesisMetadata\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12\\\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x1e\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"client_metadata\"B:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,25 +23,29 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' _GENESISSTATE.fields_by_name['clients']._options = None _GENESISSTATE.fields_by_name['clients']._serialized_options = b'\310\336\037\000\252\337\037\026IdentifiedClientStates' _GENESISSTATE.fields_by_name['clients_consensus']._options = None - _GENESISSTATE.fields_by_name['clients_consensus']._serialized_options = b'\310\336\037\000\252\337\037\026ClientsConsensusStates' + _GENESISSTATE.fields_by_name['clients_consensus']._serialized_options = b'\310\336\037\000\362\336\037\030yaml:\"clients_consensus\"\252\337\037\026ClientsConsensusStates' _GENESISSTATE.fields_by_name['clients_metadata']._options = None - _GENESISSTATE.fields_by_name['clients_metadata']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['clients_metadata']._serialized_options = b'\310\336\037\000\362\336\037\027yaml:\"clients_metadata\"' _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['create_localhost']._options = None - _GENESISSTATE.fields_by_name['create_localhost']._serialized_options = b'\030\001' + _GENESISSTATE.fields_by_name['create_localhost']._serialized_options = b'\362\336\037\027yaml:\"create_localhost\"' + _GENESISSTATE.fields_by_name['next_client_sequence']._options = None + _GENESISSTATE.fields_by_name['next_client_sequence']._serialized_options = b'\362\336\037\033yaml:\"next_client_sequence\"' _GENESISMETADATA._options = None _GENESISMETADATA._serialized_options = b'\210\240\037\000' + _IDENTIFIEDGENESISMETADATA.fields_by_name['client_id']._options = None + _IDENTIFIEDGENESISMETADATA.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' _IDENTIFIEDGENESISMETADATA.fields_by_name['client_metadata']._options = None - _IDENTIFIEDGENESISMETADATA.fields_by_name['client_metadata']._serialized_options = b'\310\336\037\000' + _IDENTIFIEDGENESISMETADATA.fields_by_name['client_metadata']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"client_metadata\"' _globals['_GENESISSTATE']._serialized_start=112 - _globals['_GENESISSTATE']._serialized_end=509 - _globals['_GENESISMETADATA']._serialized_start=511 - _globals['_GENESISMETADATA']._serialized_end=562 - _globals['_IDENTIFIEDGENESISMETADATA']._serialized_start=564 - _globals['_IDENTIFIEDGENESISMETADATA']._serialized_end=678 + _globals['_GENESISSTATE']._serialized_end=623 + _globals['_GENESISMETADATA']._serialized_start=625 + _globals['_GENESISMETADATA']._serialized_end=676 + _globals['_IDENTIFIEDGENESISMETADATA']._serialized_start=679 + _globals['_IDENTIFIEDGENESISMETADATA']._serialized_end=841 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/query_pb2.py b/pyinjective/proto/ibc/core/client/v1/query_pb2.py index 942dbf5b..f9180f2e 100644 --- a/pyinjective/proto/ibc/core/client/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/query_pb2.py @@ -18,7 +18,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\",\n\x17QueryClientStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"\x8d\x01\n\x18QueryClientStateResponse\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"V\n\x18QueryClientStatesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xba\x01\n\x19QueryClientStatesResponse\x12`\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"x\n\x1aQueryConsensusStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x17\n\x0frevision_number\x18\x02 \x01(\x04\x12\x17\n\x0frevision_height\x18\x03 \x01(\x04\x12\x15\n\rlatest_height\x18\x04 \x01(\x08\"\x93\x01\n\x1bQueryConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"l\n\x1bQueryConsensusStatesRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa9\x01\n\x1cQueryConsensusStatesResponse\x12L\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"r\n!QueryConsensusStateHeightsRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa4\x01\n\"QueryConsensusStateHeightsResponse\x12\x41\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"-\n\x18QueryClientStatusRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"+\n\x19QueryClientStatusResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"\x1a\n\x18QueryClientParamsRequest\"G\n\x19QueryClientParamsResponse\x12*\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.Params\"!\n\x1fQueryUpgradedClientStateRequest\"W\n QueryUpgradedClientStateResponse\x12\x33\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\"$\n\"QueryUpgradedConsensusStateRequest\"]\n#QueryUpgradedConsensusStateResponse\x12\x36\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any2\xd1\x0c\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse\")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse\"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_statesB:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\",\n\x17QueryClientStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"\x8d\x01\n\x18QueryClientStateResponse\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"V\n\x18QueryClientStatesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xba\x01\n\x19QueryClientStatesResponse\x12`\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"x\n\x1aQueryConsensusStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x17\n\x0frevision_number\x18\x02 \x01(\x04\x12\x17\n\x0frevision_height\x18\x03 \x01(\x04\x12\x15\n\rlatest_height\x18\x04 \x01(\x08\"\x93\x01\n\x1bQueryConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"l\n\x1bQueryConsensusStatesRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa9\x01\n\x1cQueryConsensusStatesResponse\x12L\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"r\n!QueryConsensusStateHeightsRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa4\x01\n\"QueryConsensusStateHeightsResponse\x12\x41\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"-\n\x18QueryClientStatusRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"+\n\x19QueryClientStatusResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"\x1a\n\x18QueryClientParamsRequest\"G\n\x19QueryClientParamsResponse\x12*\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.Params\"!\n\x1fQueryUpgradedClientStateRequest\"W\n QueryUpgradedClientStateResponse\x12\x33\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\"$\n\"QueryUpgradedConsensusStateRequest\"]\n#QueryUpgradedConsensusStateResponse\x12\x36\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any2\xd1\x0c\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse\")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse\"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_statesB:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,7 +26,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' _QUERYCLIENTSTATERESPONSE.fields_by_name['proof_height']._options = None _QUERYCLIENTSTATERESPONSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _QUERYCLIENTSTATESRESPONSE.fields_by_name['client_states']._options = None diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py index 50fb6af7..ad4976d8 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py @@ -11,14 +11,11 @@ _sym_db = _symbol_database.Default() -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\"\x8d\x01\n\x0fMsgCreateClient\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgCreateClientResponse\"s\n\x0fMsgUpdateClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12,\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateClientResponse\"\xe6\x01\n\x10MsgUpgradeClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x1c\n\x14proof_upgrade_client\x18\x04 \x01(\x0c\x12%\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0c\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgUpgradeClientResponse\"y\n\x15MsgSubmitMisbehaviour\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x11\x18\x01\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"l\n\x10MsgRecoverClient\x12\x19\n\x11subject_client_id\x18\x01 \x01(\t\x12\x1c\n\x14substitute_client_id\x18\x02 \x01(\t\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgRecoverClientResponse\"\x9b\x01\n\x15MsgIBCSoftwareUpgrade\x12\x30\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00\x12\x33\n\x15upgraded_client_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0b\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgIBCSoftwareUpgradeResponse\"d\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xea\x05\n\x03Msg\x12`\n\x0c\x43reateClient\x12#.ibc.core.client.v1.MsgCreateClient\x1a+.ibc.core.client.v1.MsgCreateClientResponse\x12`\n\x0cUpdateClient\x12#.ibc.core.client.v1.MsgUpdateClient\x1a+.ibc.core.client.v1.MsgUpdateClientResponse\x12\x63\n\rUpgradeClient\x12$.ibc.core.client.v1.MsgUpgradeClient\x1a,.ibc.core.client.v1.MsgUpgradeClientResponse\x12r\n\x12SubmitMisbehaviour\x12).ibc.core.client.v1.MsgSubmitMisbehaviour\x1a\x31.ibc.core.client.v1.MsgSubmitMisbehaviourResponse\x12\x63\n\rRecoverClient\x12$.ibc.core.client.v1.MsgRecoverClient\x1a,.ibc.core.client.v1.MsgRecoverClientResponse\x12r\n\x12IBCSoftwareUpgrade\x12).ibc.core.client.v1.MsgIBCSoftwareUpgrade\x1a\x31.ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse\x12\x66\n\x12UpdateClientParams\x12#.ibc.core.client.v1.MsgUpdateParams\x1a+.ibc.core.client.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xbb\x01\n\x0fMsgCreateClient\x12\x43\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x17\xf2\xde\x1f\x13yaml:\"client_state\"\x12I\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\"\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x19\n\x17MsgCreateClientResponse\"\x82\x01\n\x0fMsgUpdateClient\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12,\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x19\n\x17MsgUpdateClientResponse\"\xf5\x02\n\x10MsgUpgradeClient\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12\x43\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x17\xf2\xde\x1f\x13yaml:\"client_state\"\x12I\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\"\x12=\n\x14proof_upgrade_client\x18\x04 \x01(\x0c\x42\x1f\xf2\xde\x1f\x1byaml:\"proof_upgrade_client\"\x12O\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0c\x42(\xf2\xde\x1f$yaml:\"proof_upgrade_consensus_state\"\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1a\n\x18MsgUpgradeClientResponse\"\x90\x01\n\x15MsgSubmitMisbehaviour\x12)\n\tclient_id\x18\x01 \x01(\tB\x16\x18\x01\xf2\xde\x1f\x10yaml:\"client_id\"\x12.\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01\x12\x12\n\x06signer\x18\x03 \x01(\tB\x02\x18\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1f\n\x1dMsgSubmitMisbehaviourResponse2\xa2\x03\n\x03Msg\x12`\n\x0c\x43reateClient\x12#.ibc.core.client.v1.MsgCreateClient\x1a+.ibc.core.client.v1.MsgCreateClientResponse\x12`\n\x0cUpdateClient\x12#.ibc.core.client.v1.MsgUpdateClient\x1a+.ibc.core.client.v1.MsgUpdateClientResponse\x12\x63\n\rUpgradeClient\x12$.ibc.core.client.v1.MsgUpgradeClient\x1a,.ibc.core.client.v1.MsgUpgradeClientResponse\x12r\n\x12SubmitMisbehaviour\x12).ibc.core.client.v1.MsgSubmitMisbehaviour\x1a\x31.ibc.core.client.v1.MsgSubmitMisbehaviourResponseB:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,55 +23,53 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' + _MSGCREATECLIENT.fields_by_name['client_state']._options = None + _MSGCREATECLIENT.fields_by_name['client_state']._serialized_options = b'\362\336\037\023yaml:\"client_state\"' + _MSGCREATECLIENT.fields_by_name['consensus_state']._options = None + _MSGCREATECLIENT.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' _MSGCREATECLIENT._options = None - _MSGCREATECLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCREATECLIENT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGUPDATECLIENT.fields_by_name['client_id']._options = None + _MSGUPDATECLIENT.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' _MSGUPDATECLIENT._options = None - _MSGUPDATECLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGUPDATECLIENT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGUPGRADECLIENT.fields_by_name['client_id']._options = None + _MSGUPGRADECLIENT.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' + _MSGUPGRADECLIENT.fields_by_name['client_state']._options = None + _MSGUPGRADECLIENT.fields_by_name['client_state']._serialized_options = b'\362\336\037\023yaml:\"client_state\"' + _MSGUPGRADECLIENT.fields_by_name['consensus_state']._options = None + _MSGUPGRADECLIENT.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' + _MSGUPGRADECLIENT.fields_by_name['proof_upgrade_client']._options = None + _MSGUPGRADECLIENT.fields_by_name['proof_upgrade_client']._serialized_options = b'\362\336\037\033yaml:\"proof_upgrade_client\"' + _MSGUPGRADECLIENT.fields_by_name['proof_upgrade_consensus_state']._options = None + _MSGUPGRADECLIENT.fields_by_name['proof_upgrade_consensus_state']._serialized_options = b'\362\336\037$yaml:\"proof_upgrade_consensus_state\"' _MSGUPGRADECLIENT._options = None - _MSGUPGRADECLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGUPGRADECLIENT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGSUBMITMISBEHAVIOUR.fields_by_name['client_id']._options = None + _MSGSUBMITMISBEHAVIOUR.fields_by_name['client_id']._serialized_options = b'\030\001\362\336\037\020yaml:\"client_id\"' + _MSGSUBMITMISBEHAVIOUR.fields_by_name['misbehaviour']._options = None + _MSGSUBMITMISBEHAVIOUR.fields_by_name['misbehaviour']._serialized_options = b'\030\001' + _MSGSUBMITMISBEHAVIOUR.fields_by_name['signer']._options = None + _MSGSUBMITMISBEHAVIOUR.fields_by_name['signer']._serialized_options = b'\030\001' _MSGSUBMITMISBEHAVIOUR._options = None - _MSGSUBMITMISBEHAVIOUR._serialized_options = b'\030\001\210\240\037\000\202\347\260*\006signer' - _MSGRECOVERCLIENT._options = None - _MSGRECOVERCLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSGIBCSOFTWAREUPGRADE.fields_by_name['plan']._options = None - _MSGIBCSOFTWAREUPGRADE.fields_by_name['plan']._serialized_options = b'\310\336\037\000' - _MSGIBCSOFTWAREUPGRADE._options = None - _MSGIBCSOFTWAREUPGRADE._serialized_options = b'\202\347\260*\006signer' - _MSGUPDATEPARAMS.fields_by_name['params']._options = None - _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATECLIENT']._serialized_start=197 - _globals['_MSGCREATECLIENT']._serialized_end=338 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=340 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=365 - _globals['_MSGUPDATECLIENT']._serialized_start=367 - _globals['_MSGUPDATECLIENT']._serialized_end=482 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=484 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=509 - _globals['_MSGUPGRADECLIENT']._serialized_start=512 - _globals['_MSGUPGRADECLIENT']._serialized_end=742 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=744 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=770 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=772 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=893 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=895 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=926 - _globals['_MSGRECOVERCLIENT']._serialized_start=928 - _globals['_MSGRECOVERCLIENT']._serialized_end=1036 - _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_start=1038 - _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_end=1064 - _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_start=1067 - _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_end=1222 - _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_start=1224 - _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_end=1255 - _globals['_MSGUPDATEPARAMS']._serialized_start=1257 - _globals['_MSGUPDATEPARAMS']._serialized_end=1357 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1359 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1384 - _globals['_MSG']._serialized_start=1387 - _globals['_MSG']._serialized_end=2133 + _MSGSUBMITMISBEHAVIOUR._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCREATECLIENT']._serialized_start=101 + _globals['_MSGCREATECLIENT']._serialized_end=288 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=290 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=315 + _globals['_MSGUPDATECLIENT']._serialized_start=318 + _globals['_MSGUPDATECLIENT']._serialized_end=448 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=450 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=475 + _globals['_MSGUPGRADECLIENT']._serialized_start=478 + _globals['_MSGUPGRADECLIENT']._serialized_end=851 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=853 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=879 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=882 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=1026 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=1028 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=1059 + _globals['_MSG']._serialized_start=1062 + _globals['_MSG']._serialized_end=1480 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py index 9fc38cbf..c1d0d56b 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py @@ -35,21 +35,6 @@ def __init__(self, channel): request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.SerializeToString, response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.FromString, ) - self.RecoverClient = channel.unary_unary( - '/ibc.core.client.v1.Msg/RecoverClient', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.FromString, - ) - self.IBCSoftwareUpgrade = channel.unary_unary( - '/ibc.core.client.v1.Msg/IBCSoftwareUpgrade', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.FromString, - ) - self.UpdateClientParams = channel.unary_unary( - '/ibc.core.client.v1.Msg/UpdateClientParams', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - ) class MsgServicer(object): @@ -84,27 +69,6 @@ def SubmitMisbehaviour(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def RecoverClient(self, request, context): - """RecoverClient defines a rpc handler method for MsgRecoverClient. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def IBCSoftwareUpgrade(self, request, context): - """IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateClientParams(self, request, context): - """UpdateClientParams defines a rpc handler method for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -128,21 +92,6 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.FromString, response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.SerializeToString, ), - 'RecoverClient': grpc.unary_unary_rpc_method_handler( - servicer.RecoverClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.SerializeToString, - ), - 'IBCSoftwareUpgrade': grpc.unary_unary_rpc_method_handler( - servicer.IBCSoftwareUpgrade, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.SerializeToString, - ), - 'UpdateClientParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateClientParams, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( 'ibc.core.client.v1.Msg', rpc_method_handlers) @@ -221,54 +170,3 @@ def SubmitMisbehaviour(request, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RecoverClient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.core.client.v1.Msg/RecoverClient', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def IBCSoftwareUpgrade(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.core.client.v1.Msg/IBCSoftwareUpgrade', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateClientParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.core.client.v1.Msg/UpdateClientParams', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py index ed3dd692..e72176e5 100644 --- a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py +++ b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py @@ -15,7 +15,7 @@ from cosmos.ics23.v1 import proofs_pb2 as cosmos_dot_ics23_dot_v1_dot_proofs__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'ibc/core/commitment/v1/commitment.proto\x12\x16ibc.core.commitment.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\" \n\nMerkleRoot\x12\x0c\n\x04hash\x18\x01 \x01(\x0c:\x04\x88\xa0\x1f\x00\"\"\n\x0cMerklePrefix\x12\x12\n\nkey_prefix\x18\x01 \x01(\x0c\"\x1e\n\nMerklePath\x12\x10\n\x08key_path\x18\x01 \x03(\t\"?\n\x0bMerkleProof\x12\x30\n\x06proofs\x18\x01 \x03(\x0b\x32 .cosmos.ics23.v1.CommitmentProofB>ZZZZZZ\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse\"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB>Z\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse\"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB>Z\n\x15\x63ounterparty_versions\x18\x06 \x03(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12\x36\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x12\n\nproof_init\x18\x08 \x01(\x0c\x12\x14\n\x0cproof_client\x18\t \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\n \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\x0b \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x0c \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\r \x01(\x0c:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1e\n\x1cMsgConnectionOpenTryResponse\"\xaa\x03\n\x14MsgConnectionOpenAck\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\"\n\x1a\x63ounterparty_connection_id\x18\x02 \x01(\t\x12\x30\n\x07version\x18\x03 \x01(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12*\n\x0c\x63lient_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x36\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x11\n\tproof_try\x18\x06 \x01(\x0c\x12\x14\n\x0cproof_client\x18\x07 \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\x08 \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\t \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\n \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\x0b \x01(\x0c:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1e\n\x1cMsgConnectionOpenAckResponse\"\x9d\x01\n\x18MsgConnectionOpenConfirm\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x11\n\tproof_ack\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\"\n MsgConnectionOpenConfirmResponse\"h\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12\x34\n\x06params\x18\x02 \x01(\x0b\x32\x1e.ibc.core.connection.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xf4\x04\n\x03Msg\x12z\n\x12\x43onnectionOpenInit\x12-.ibc.core.connection.v1.MsgConnectionOpenInit\x1a\x35.ibc.core.connection.v1.MsgConnectionOpenInitResponse\x12w\n\x11\x43onnectionOpenTry\x12,.ibc.core.connection.v1.MsgConnectionOpenTry\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenTryResponse\x12w\n\x11\x43onnectionOpenAck\x12,.ibc.core.connection.v1.MsgConnectionOpenAck\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenAckResponse\x12\x83\x01\n\x15\x43onnectionOpenConfirm\x12\x30.ibc.core.connection.v1.MsgConnectionOpenConfirm\x1a\x38.ibc.core.connection.v1.MsgConnectionOpenConfirmResponse\x12r\n\x16UpdateConnectionParams\x12\'.ibc.core.connection.v1.MsgUpdateParams\x1a/.ibc.core.connection.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42>ZZ\n\x0e\x63lient_genesis\x18\x01 \x01(\x0b\x32 .ibc.core.client.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x12\x46\n\x12\x63onnection_genesis\x18\x02 \x01(\x0b\x32$.ibc.core.connection.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x12@\n\x0f\x63hannel_genesis\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x42\x30Z.github.com/cosmos/ibc-go/v8/modules/core/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/types/v1/genesis.proto\x12\x11ibc.core.types.v1\x1a\x14gogoproto/gogo.proto\x1a ibc/core/client/v1/genesis.proto\x1a$ibc/core/connection/v1/genesis.proto\x1a!ibc/core/channel/v1/genesis.proto\"\xa8\x02\n\x0cGenesisState\x12W\n\x0e\x63lient_genesis\x18\x01 \x01(\x0b\x32 .ibc.core.client.v1.GenesisStateB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"client_genesis\"\x12\x63\n\x12\x63onnection_genesis\x18\x02 \x01(\x0b\x32$.ibc.core.connection.v1.GenesisStateB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"connection_genesis\"\x12Z\n\x0f\x63hannel_genesis\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.GenesisStateB\x1e\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"channel_genesis\"B0Z.github.com/cosmos/ibc-go/v7/modules/core/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,13 +25,13 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z.github.com/cosmos/ibc-go/v8/modules/core/types' + DESCRIPTOR._serialized_options = b'Z.github.com/cosmos/ibc-go/v7/modules/core/types' _GENESISSTATE.fields_by_name['client_genesis']._options = None - _GENESISSTATE.fields_by_name['client_genesis']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['client_genesis']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"client_genesis\"' _GENESISSTATE.fields_by_name['connection_genesis']._options = None - _GENESISSTATE.fields_by_name['connection_genesis']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['connection_genesis']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"connection_genesis\"' _GENESISSTATE.fields_by_name['channel_genesis']._options = None - _GENESISSTATE.fields_by_name['channel_genesis']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['channel_genesis']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"channel_genesis\"' _globals['_GENESISSTATE']._serialized_start=184 - _globals['_GENESISSTATE']._serialized_end=400 + _globals['_GENESISSTATE']._serialized_end=480 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py b/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py index 8c151712..12e7aacf 100644 --- a/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py +++ b/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py @@ -15,7 +15,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-ibc/lightclients/localhost/v2/localhost.proto\x12\x1dibc.lightclients.localhost.v2\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"L\n\x0b\x43lientState\x12\x37\n\rlatest_height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00:\x04\x88\xa0\x1f\x00\x42JZHgithub.com/cosmos/ibc-go/v8/modules/light-clients/09-localhost;localhostb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-ibc/lightclients/localhost/v2/localhost.proto\x12\x1dibc.lightclients.localhost.v2\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"L\n\x0b\x43lientState\x12\x37\n\rlatest_height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00:\x04\x88\xa0\x1f\x00\x42JZHgithub.com/cosmos/ibc-go/v7/modules/light-clients/09-localhost;localhostb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,7 +23,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZHgithub.com/cosmos/ibc-go/v8/modules/light-clients/09-localhost;localhost' + DESCRIPTOR._serialized_options = b'ZHgithub.com/cosmos/ibc-go/v7/modules/light-clients/09-localhost;localhost' _CLIENTSTATE.fields_by_name['latest_height']._options = None _CLIENTSTATE.fields_by_name['latest_height']._serialized_options = b'\310\336\037\000' _CLIENTSTATE._options = None diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py index 1ee37bff..20c2f4b8 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py @@ -17,7 +17,7 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v2/solomachine.proto\x12\x1fibc.lightclients.solomachine.v2\x1a\'ibc/core/connection/v1/connection.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa7\x01\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\tis_frozen\x18\x02 \x01(\x08\x12H\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v2.ConsensusState\x12#\n\x1b\x61llow_update_after_proposal\x18\x04 \x01(\x08:\x04\x88\xa0\x1f\x00\"h\n\x0e\x43onsensusState\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"\x8d\x01\n\x06Header\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12,\n\x0enew_public_key\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x05 \x01(\t:\x04\x88\xa0\x1f\x00\"\xcd\x01\n\x0cMisbehaviour\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12H\n\rsignature_one\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndData\x12H\n\rsignature_two\x18\x04 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndData:\x04\x88\xa0\x1f\x00\"\x8a\x01\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12<\n\tdata_type\x18\x02 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataType\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"K\n\x18TimestampedSignatureData\x12\x16\n\x0esignature_data\x18\x01 \x01(\x0c\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"\x97\x01\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12<\n\tdata_type\x18\x04 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataType\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"V\n\nHeaderData\x12)\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"Q\n\x0f\x43lientStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x04\x88\xa0\x1f\x00\"W\n\x12\x43onsensusStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x04\x88\xa0\x1f\x00\"d\n\x13\x43onnectionStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x39\n\nconnection\x18\x02 \x01(\x0b\x32%.ibc.core.connection.v1.ConnectionEnd:\x04\x88\xa0\x1f\x00\"U\n\x10\x43hannelStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12-\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel:\x04\x88\xa0\x1f\x00\"8\n\x14PacketCommitmentData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x12\n\ncommitment\x18\x02 \x01(\x0c\"B\n\x19PacketAcknowledgementData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\"(\n\x18PacketReceiptAbsenceData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\";\n\x14NextSequenceRecvData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x15\n\rnext_seq_recv\x18\x02 \x01(\x04*\x8c\x04\n\x08\x44\x61taType\x12\x38\n#DATA_TYPE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12&\n\x16\x44\x41TA_TYPE_CLIENT_STATE\x10\x01\x1a\n\x8a\x9d \x06\x43LIENT\x12,\n\x19\x44\x41TA_TYPE_CONSENSUS_STATE\x10\x02\x1a\r\x8a\x9d \tCONSENSUS\x12.\n\x1a\x44\x41TA_TYPE_CONNECTION_STATE\x10\x03\x1a\x0e\x8a\x9d \nCONNECTION\x12(\n\x17\x44\x41TA_TYPE_CHANNEL_STATE\x10\x04\x1a\x0b\x8a\x9d \x07\x43HANNEL\x12\x35\n\x1b\x44\x41TA_TYPE_PACKET_COMMITMENT\x10\x05\x1a\x14\x8a\x9d \x10PACKETCOMMITMENT\x12?\n DATA_TYPE_PACKET_ACKNOWLEDGEMENT\x10\x06\x1a\x19\x8a\x9d \x15PACKETACKNOWLEDGEMENT\x12>\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x42Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v2/solomachine.proto\x12\x1fibc.lightclients.solomachine.v2\x1a\'ibc/core/connection/v1/connection.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\x81\x02\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\'\n\tis_frozen\x18\x02 \x01(\x08\x42\x14\xf2\xde\x1f\x10yaml:\"is_frozen\"\x12\x64\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v2.ConsensusStateB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\"\x12K\n\x1b\x61llow_update_after_proposal\x18\x04 \x01(\x08\x42&\xf2\xde\x1f\"yaml:\"allow_update_after_proposal\":\x04\x88\xa0\x1f\x00\"\x7f\n\x0e\x43onsensusState\x12?\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x15\xf2\xde\x1f\x11yaml:\"public_key\"\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"\xc4\x01\n\x06Header\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12G\n\x0enew_public_key\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB\x19\xf2\xde\x1f\x15yaml:\"new_public_key\"\x12\x33\n\x0fnew_diversifier\x18\x05 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_diversifier\":\x04\x88\xa0\x1f\x00\"\x97\x02\n\x0cMisbehaviour\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x62\n\rsignature_one\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndDataB\x18\xf2\xde\x1f\x14yaml:\"signature_one\"\x12\x62\n\rsignature_two\x18\x04 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndDataB\x18\xf2\xde\x1f\x14yaml:\"signature_two\":\x04\x88\xa0\x1f\x00\"\xa0\x01\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12R\n\tdata_type\x18\x02 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataTypeB\x14\xf2\xde\x1f\x10yaml:\"data_type\"\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"f\n\x18TimestampedSignatureData\x12\x31\n\x0esignature_data\x18\x01 \x01(\x0c\x42\x19\xf2\xde\x1f\x15yaml:\"signature_data\"\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"\xad\x01\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12R\n\tdata_type\x18\x04 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataTypeB\x14\xf2\xde\x1f\x10yaml:\"data_type\"\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"\x8a\x01\n\nHeaderData\x12\x41\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x16\xf2\xde\x1f\x12yaml:\"new_pub_key\"\x12\x33\n\x0fnew_diversifier\x18\x02 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_diversifier\":\x04\x88\xa0\x1f\x00\"j\n\x0f\x43lientStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x43\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x17\xf2\xde\x1f\x13yaml:\"client_state\":\x04\x88\xa0\x1f\x00\"s\n\x12\x43onsensusStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12I\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\":\x04\x88\xa0\x1f\x00\"d\n\x13\x43onnectionStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x39\n\nconnection\x18\x02 \x01(\x0b\x32%.ibc.core.connection.v1.ConnectionEnd:\x04\x88\xa0\x1f\x00\"U\n\x10\x43hannelStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12-\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel:\x04\x88\xa0\x1f\x00\"8\n\x14PacketCommitmentData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x12\n\ncommitment\x18\x02 \x01(\x0c\"B\n\x19PacketAcknowledgementData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\"(\n\x18PacketReceiptAbsenceData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\"U\n\x14NextSequenceRecvData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12/\n\rnext_seq_recv\x18\x02 \x01(\x04\x42\x18\xf2\xde\x1f\x14yaml:\"next_seq_recv\"*\x8c\x04\n\x08\x44\x61taType\x12\x38\n#DATA_TYPE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12&\n\x16\x44\x41TA_TYPE_CLIENT_STATE\x10\x01\x1a\n\x8a\x9d \x06\x43LIENT\x12,\n\x19\x44\x41TA_TYPE_CONSENSUS_STATE\x10\x02\x1a\r\x8a\x9d \tCONSENSUS\x12.\n\x1a\x44\x41TA_TYPE_CONNECTION_STATE\x10\x03\x1a\x0e\x8a\x9d \nCONNECTION\x12(\n\x17\x44\x41TA_TYPE_CHANNEL_STATE\x10\x04\x1a\x0b\x8a\x9d \x07\x43HANNEL\x12\x35\n\x1b\x44\x41TA_TYPE_PACKET_COMMITMENT\x10\x05\x1a\x14\x8a\x9d \x10PACKETCOMMITMENT\x12?\n DATA_TYPE_PACKET_ACKNOWLEDGEMENT\x10\x06\x1a\x19\x8a\x9d \x15PACKETACKNOWLEDGEMENT\x12>\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x42Z@github.com/cosmos/ibc-go/v7/modules/core/02-client/migrations/v7b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,7 +25,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7' + DESCRIPTOR._serialized_options = b'Z@github.com/cosmos/ibc-go/v7/modules/core/02-client/migrations/v7' _DATATYPE._options = None _DATATYPE._serialized_options = b'\210\243\036\000' _DATATYPE.values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._options = None @@ -48,62 +48,96 @@ _DATATYPE.values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._serialized_options = b'\212\235 \020NEXTSEQUENCERECV' _DATATYPE.values_by_name["DATA_TYPE_HEADER"]._options = None _DATATYPE.values_by_name["DATA_TYPE_HEADER"]._serialized_options = b'\212\235 \006HEADER' + _CLIENTSTATE.fields_by_name['is_frozen']._options = None + _CLIENTSTATE.fields_by_name['is_frozen']._serialized_options = b'\362\336\037\020yaml:\"is_frozen\"' + _CLIENTSTATE.fields_by_name['consensus_state']._options = None + _CLIENTSTATE.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' + _CLIENTSTATE.fields_by_name['allow_update_after_proposal']._options = None + _CLIENTSTATE.fields_by_name['allow_update_after_proposal']._serialized_options = b'\362\336\037\"yaml:\"allow_update_after_proposal\"' _CLIENTSTATE._options = None _CLIENTSTATE._serialized_options = b'\210\240\037\000' + _CONSENSUSSTATE.fields_by_name['public_key']._options = None + _CONSENSUSSTATE.fields_by_name['public_key']._serialized_options = b'\362\336\037\021yaml:\"public_key\"' _CONSENSUSSTATE._options = None _CONSENSUSSTATE._serialized_options = b'\210\240\037\000' + _HEADER.fields_by_name['new_public_key']._options = None + _HEADER.fields_by_name['new_public_key']._serialized_options = b'\362\336\037\025yaml:\"new_public_key\"' + _HEADER.fields_by_name['new_diversifier']._options = None + _HEADER.fields_by_name['new_diversifier']._serialized_options = b'\362\336\037\026yaml:\"new_diversifier\"' _HEADER._options = None _HEADER._serialized_options = b'\210\240\037\000' + _MISBEHAVIOUR.fields_by_name['client_id']._options = None + _MISBEHAVIOUR.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' + _MISBEHAVIOUR.fields_by_name['signature_one']._options = None + _MISBEHAVIOUR.fields_by_name['signature_one']._serialized_options = b'\362\336\037\024yaml:\"signature_one\"' + _MISBEHAVIOUR.fields_by_name['signature_two']._options = None + _MISBEHAVIOUR.fields_by_name['signature_two']._serialized_options = b'\362\336\037\024yaml:\"signature_two\"' _MISBEHAVIOUR._options = None _MISBEHAVIOUR._serialized_options = b'\210\240\037\000' + _SIGNATUREANDDATA.fields_by_name['data_type']._options = None + _SIGNATUREANDDATA.fields_by_name['data_type']._serialized_options = b'\362\336\037\020yaml:\"data_type\"' _SIGNATUREANDDATA._options = None _SIGNATUREANDDATA._serialized_options = b'\210\240\037\000' + _TIMESTAMPEDSIGNATUREDATA.fields_by_name['signature_data']._options = None + _TIMESTAMPEDSIGNATUREDATA.fields_by_name['signature_data']._serialized_options = b'\362\336\037\025yaml:\"signature_data\"' _TIMESTAMPEDSIGNATUREDATA._options = None _TIMESTAMPEDSIGNATUREDATA._serialized_options = b'\210\240\037\000' + _SIGNBYTES.fields_by_name['data_type']._options = None + _SIGNBYTES.fields_by_name['data_type']._serialized_options = b'\362\336\037\020yaml:\"data_type\"' _SIGNBYTES._options = None _SIGNBYTES._serialized_options = b'\210\240\037\000' + _HEADERDATA.fields_by_name['new_pub_key']._options = None + _HEADERDATA.fields_by_name['new_pub_key']._serialized_options = b'\362\336\037\022yaml:\"new_pub_key\"' + _HEADERDATA.fields_by_name['new_diversifier']._options = None + _HEADERDATA.fields_by_name['new_diversifier']._serialized_options = b'\362\336\037\026yaml:\"new_diversifier\"' _HEADERDATA._options = None _HEADERDATA._serialized_options = b'\210\240\037\000' + _CLIENTSTATEDATA.fields_by_name['client_state']._options = None + _CLIENTSTATEDATA.fields_by_name['client_state']._serialized_options = b'\362\336\037\023yaml:\"client_state\"' _CLIENTSTATEDATA._options = None _CLIENTSTATEDATA._serialized_options = b'\210\240\037\000' + _CONSENSUSSTATEDATA.fields_by_name['consensus_state']._options = None + _CONSENSUSSTATEDATA.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' _CONSENSUSSTATEDATA._options = None _CONSENSUSSTATEDATA._serialized_options = b'\210\240\037\000' _CONNECTIONSTATEDATA._options = None _CONNECTIONSTATEDATA._serialized_options = b'\210\240\037\000' _CHANNELSTATEDATA._options = None _CHANNELSTATEDATA._serialized_options = b'\210\240\037\000' - _globals['_DATATYPE']._serialized_start=1890 - _globals['_DATATYPE']._serialized_end=2414 + _NEXTSEQUENCERECVDATA.fields_by_name['next_seq_recv']._options = None + _NEXTSEQUENCERECVDATA.fields_by_name['next_seq_recv']._serialized_options = b'\362\336\037\024yaml:\"next_seq_recv\"' + _globals['_DATATYPE']._serialized_start=2335 + _globals['_DATATYPE']._serialized_end=2859 _globals['_CLIENTSTATE']._serialized_start=212 - _globals['_CLIENTSTATE']._serialized_end=379 - _globals['_CONSENSUSSTATE']._serialized_start=381 - _globals['_CONSENSUSSTATE']._serialized_end=485 - _globals['_HEADER']._serialized_start=488 - _globals['_HEADER']._serialized_end=629 - _globals['_MISBEHAVIOUR']._serialized_start=632 - _globals['_MISBEHAVIOUR']._serialized_end=837 - _globals['_SIGNATUREANDDATA']._serialized_start=840 - _globals['_SIGNATUREANDDATA']._serialized_end=978 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=980 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1055 - _globals['_SIGNBYTES']._serialized_start=1058 - _globals['_SIGNBYTES']._serialized_end=1209 - _globals['_HEADERDATA']._serialized_start=1211 - _globals['_HEADERDATA']._serialized_end=1297 - _globals['_CLIENTSTATEDATA']._serialized_start=1299 - _globals['_CLIENTSTATEDATA']._serialized_end=1380 - _globals['_CONSENSUSSTATEDATA']._serialized_start=1382 - _globals['_CONSENSUSSTATEDATA']._serialized_end=1469 - _globals['_CONNECTIONSTATEDATA']._serialized_start=1471 - _globals['_CONNECTIONSTATEDATA']._serialized_end=1571 - _globals['_CHANNELSTATEDATA']._serialized_start=1573 - _globals['_CHANNELSTATEDATA']._serialized_end=1658 - _globals['_PACKETCOMMITMENTDATA']._serialized_start=1660 - _globals['_PACKETCOMMITMENTDATA']._serialized_end=1716 - _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_start=1718 - _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_end=1784 - _globals['_PACKETRECEIPTABSENCEDATA']._serialized_start=1786 - _globals['_PACKETRECEIPTABSENCEDATA']._serialized_end=1826 - _globals['_NEXTSEQUENCERECVDATA']._serialized_start=1828 - _globals['_NEXTSEQUENCERECVDATA']._serialized_end=1887 + _globals['_CLIENTSTATE']._serialized_end=469 + _globals['_CONSENSUSSTATE']._serialized_start=471 + _globals['_CONSENSUSSTATE']._serialized_end=598 + _globals['_HEADER']._serialized_start=601 + _globals['_HEADER']._serialized_end=797 + _globals['_MISBEHAVIOUR']._serialized_start=800 + _globals['_MISBEHAVIOUR']._serialized_end=1079 + _globals['_SIGNATUREANDDATA']._serialized_start=1082 + _globals['_SIGNATUREANDDATA']._serialized_end=1242 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=1244 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1346 + _globals['_SIGNBYTES']._serialized_start=1349 + _globals['_SIGNBYTES']._serialized_end=1522 + _globals['_HEADERDATA']._serialized_start=1525 + _globals['_HEADERDATA']._serialized_end=1663 + _globals['_CLIENTSTATEDATA']._serialized_start=1665 + _globals['_CLIENTSTATEDATA']._serialized_end=1771 + _globals['_CONSENSUSSTATEDATA']._serialized_start=1773 + _globals['_CONSENSUSSTATEDATA']._serialized_end=1888 + _globals['_CONNECTIONSTATEDATA']._serialized_start=1890 + _globals['_CONNECTIONSTATEDATA']._serialized_end=1990 + _globals['_CHANNELSTATEDATA']._serialized_start=1992 + _globals['_CHANNELSTATEDATA']._serialized_end=2077 + _globals['_PACKETCOMMITMENTDATA']._serialized_start=2079 + _globals['_PACKETCOMMITMENTDATA']._serialized_end=2135 + _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_start=2137 + _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_end=2203 + _globals['_PACKETRECEIPTABSENCEDATA']._serialized_start=2205 + _globals['_PACKETRECEIPTABSENCEDATA']._serialized_end=2245 + _globals['_NEXTSEQUENCERECVDATA']._serialized_start=2247 + _globals['_NEXTSEQUENCERECVDATA']._serialized_end=2332 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py index 97cee5ce..591ad2cc 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py @@ -15,7 +15,7 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\x82\x01\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\tis_frozen\x18\x02 \x01(\x08\x12H\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusState:\x04\x88\xa0\x1f\x00\"h\n\x0e\x43onsensusState\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"{\n\x06Header\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12,\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x04 \x01(\t:\x04\x88\xa0\x1f\x00\"\xba\x01\n\x0cMisbehaviour\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12H\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndData\x12H\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndData:\x04\x88\xa0\x1f\x00\"Z\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"K\n\x18TimestampedSignatureData\x12\x16\n\x0esignature_data\x18\x01 \x01(\x0c\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"g\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"V\n\nHeaderData\x12)\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\x42NZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachineb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xb4\x01\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\'\n\tis_frozen\x18\x02 \x01(\x08\x42\x14\xf2\xde\x1f\x10yaml:\"is_frozen\"\x12\x64\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusStateB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\":\x04\x88\xa0\x1f\x00\"\x7f\n\x0e\x43onsensusState\x12?\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x15\xf2\xde\x1f\x11yaml:\"public_key\"\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"\xb2\x01\n\x06Header\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12G\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB\x19\xf2\xde\x1f\x15yaml:\"new_public_key\"\x12\x33\n\x0fnew_diversifier\x18\x04 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_diversifier\":\x04\x88\xa0\x1f\x00\"\xee\x01\n\x0cMisbehaviour\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x62\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataB\x18\xf2\xde\x1f\x14yaml:\"signature_one\"\x12\x62\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataB\x18\xf2\xde\x1f\x14yaml:\"signature_two\":\x04\x88\xa0\x1f\x00\"Z\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"f\n\x18TimestampedSignatureData\x12\x31\n\x0esignature_data\x18\x01 \x01(\x0c\x42\x19\xf2\xde\x1f\x15yaml:\"signature_data\"\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"g\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"\x8a\x01\n\nHeaderData\x12\x41\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x16\xf2\xde\x1f\x12yaml:\"new_pub_key\"\x12\x33\n\x0fnew_diversifier\x18\x02 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_diversifier\":\x04\x88\xa0\x1f\x00\x42NZLgithub.com/cosmos/ibc-go/v7/modules/light-clients/06-solomachine;solomachineb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,37 +23,57 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine' + DESCRIPTOR._serialized_options = b'ZLgithub.com/cosmos/ibc-go/v7/modules/light-clients/06-solomachine;solomachine' + _CLIENTSTATE.fields_by_name['is_frozen']._options = None + _CLIENTSTATE.fields_by_name['is_frozen']._serialized_options = b'\362\336\037\020yaml:\"is_frozen\"' + _CLIENTSTATE.fields_by_name['consensus_state']._options = None + _CLIENTSTATE.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' _CLIENTSTATE._options = None _CLIENTSTATE._serialized_options = b'\210\240\037\000' + _CONSENSUSSTATE.fields_by_name['public_key']._options = None + _CONSENSUSSTATE.fields_by_name['public_key']._serialized_options = b'\362\336\037\021yaml:\"public_key\"' _CONSENSUSSTATE._options = None _CONSENSUSSTATE._serialized_options = b'\210\240\037\000' + _HEADER.fields_by_name['new_public_key']._options = None + _HEADER.fields_by_name['new_public_key']._serialized_options = b'\362\336\037\025yaml:\"new_public_key\"' + _HEADER.fields_by_name['new_diversifier']._options = None + _HEADER.fields_by_name['new_diversifier']._serialized_options = b'\362\336\037\026yaml:\"new_diversifier\"' _HEADER._options = None _HEADER._serialized_options = b'\210\240\037\000' + _MISBEHAVIOUR.fields_by_name['signature_one']._options = None + _MISBEHAVIOUR.fields_by_name['signature_one']._serialized_options = b'\362\336\037\024yaml:\"signature_one\"' + _MISBEHAVIOUR.fields_by_name['signature_two']._options = None + _MISBEHAVIOUR.fields_by_name['signature_two']._serialized_options = b'\362\336\037\024yaml:\"signature_two\"' _MISBEHAVIOUR._options = None _MISBEHAVIOUR._serialized_options = b'\210\240\037\000' _SIGNATUREANDDATA._options = None _SIGNATUREANDDATA._serialized_options = b'\210\240\037\000' + _TIMESTAMPEDSIGNATUREDATA.fields_by_name['signature_data']._options = None + _TIMESTAMPEDSIGNATUREDATA.fields_by_name['signature_data']._serialized_options = b'\362\336\037\025yaml:\"signature_data\"' _TIMESTAMPEDSIGNATUREDATA._options = None _TIMESTAMPEDSIGNATUREDATA._serialized_options = b'\210\240\037\000' _SIGNBYTES._options = None _SIGNBYTES._serialized_options = b'\210\240\037\000' + _HEADERDATA.fields_by_name['new_pub_key']._options = None + _HEADERDATA.fields_by_name['new_pub_key']._serialized_options = b'\362\336\037\022yaml:\"new_pub_key\"' + _HEADERDATA.fields_by_name['new_diversifier']._options = None + _HEADERDATA.fields_by_name['new_diversifier']._serialized_options = b'\362\336\037\026yaml:\"new_diversifier\"' _HEADERDATA._options = None _HEADERDATA._serialized_options = b'\210\240\037\000' _globals['_CLIENTSTATE']._serialized_start=136 - _globals['_CLIENTSTATE']._serialized_end=266 - _globals['_CONSENSUSSTATE']._serialized_start=268 - _globals['_CONSENSUSSTATE']._serialized_end=372 - _globals['_HEADER']._serialized_start=374 - _globals['_HEADER']._serialized_end=497 - _globals['_MISBEHAVIOUR']._serialized_start=500 - _globals['_MISBEHAVIOUR']._serialized_end=686 - _globals['_SIGNATUREANDDATA']._serialized_start=688 - _globals['_SIGNATUREANDDATA']._serialized_end=778 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=780 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=855 - _globals['_SIGNBYTES']._serialized_start=857 - _globals['_SIGNBYTES']._serialized_end=960 - _globals['_HEADERDATA']._serialized_start=962 - _globals['_HEADERDATA']._serialized_end=1048 + _globals['_CLIENTSTATE']._serialized_end=316 + _globals['_CONSENSUSSTATE']._serialized_start=318 + _globals['_CONSENSUSSTATE']._serialized_end=445 + _globals['_HEADER']._serialized_start=448 + _globals['_HEADER']._serialized_end=626 + _globals['_MISBEHAVIOUR']._serialized_start=629 + _globals['_MISBEHAVIOUR']._serialized_end=867 + _globals['_SIGNATUREANDDATA']._serialized_start=869 + _globals['_SIGNATUREANDDATA']._serialized_end=959 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=961 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1063 + _globals['_SIGNBYTES']._serialized_start=1065 + _globals['_SIGNBYTES']._serialized_end=1168 + _globals['_HEADERDATA']._serialized_start=1171 + _globals['_HEADERDATA']._serialized_end=1309 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py index c83e7969..30a58918 100644 --- a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py +++ b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py @@ -21,7 +21,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto\"\xb2\x04\n\x0b\x43lientState\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\x12\x43\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x04\xc8\xde\x1f\x00\x12<\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12=\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12<\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x37\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x37\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12/\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpec\x12\x14\n\x0cupgrade_path\x18\t \x03(\t\x12%\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42\x02\x18\x01\x12+\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42\x02\x18\x01:\x04\x88\xa0\x1f\x00\"\xdb\x01\n\x0e\x43onsensusState\x12\x37\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\x04root\x18\x02 \x01(\x0b\x32\".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00\x12R\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes:\x04\x88\xa0\x1f\x00\"\xb9\x01\n\x0cMisbehaviour\x12\x15\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x45\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header1\x12\x45\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header2:\x04\x88\xa0\x1f\x00\"\xf2\x01\n\x06Header\x12;\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x04\xd0\xde\x1f\x01\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x38\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12:\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"2\n\x08\x46raction\x12\x11\n\tnumerator\x18\x01 \x01(\x04\x12\x13\n\x0b\x64\x65nominator\x18\x02 \x01(\x04\x42LZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermintb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto\"\xc6\x06\n\x0b\x43lientState\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\x12Y\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x1a\xc8\xde\x1f\x00\xf2\xde\x1f\x12yaml:\"trust_level\"\x12V\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\"\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"trusting_period\"\x98\xdf\x1f\x01\x12X\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB#\xc8\xde\x1f\x00\xf2\xde\x1f\x17yaml:\"unbonding_period\"\x98\xdf\x1f\x01\x12V\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\"\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"max_clock_drift\"\x98\xdf\x1f\x01\x12O\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1c\xc8\xde\x1f\x00\xf2\xde\x1f\x14yaml:\"frozen_height\"\x12O\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1c\xc8\xde\x1f\x00\xf2\xde\x1f\x14yaml:\"latest_height\"\x12G\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpecB\x16\xf2\xde\x1f\x12yaml:\"proof_specs\"\x12-\n\x0cupgrade_path\x18\t \x03(\tB\x17\xf2\xde\x1f\x13yaml:\"upgrade_path\"\x12I\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42&\x18\x01\xf2\xde\x1f yaml:\"allow_update_after_expiry\"\x12U\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42,\x18\x01\xf2\xde\x1f&yaml:\"allow_update_after_misbehaviour\":\x04\x88\xa0\x1f\x00\"\xfa\x01\n\x0e\x43onsensusState\x12\x37\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\x04root\x18\x02 \x01(\x0b\x32\".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00\x12q\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42S\xf2\xde\x1f\x1byaml:\"next_validators_hash\"\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes:\x04\x88\xa0\x1f\x00\"\xf3\x01\n\x0cMisbehaviour\x12)\n\tclient_id\x18\x01 \x01(\tB\x16\x18\x01\xf2\xde\x1f\x10yaml:\"client_id\"\x12X\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x1e\xe2\xde\x1f\x07Header1\xf2\xde\x1f\x0fyaml:\"header_1\"\x12X\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x1e\xe2\xde\x1f\x07Header2\xf2\xde\x1f\x0fyaml:\"header_2\":\x04\x88\xa0\x1f\x00\"\xdc\x02\n\x06Header\x12S\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x1c\xd0\xde\x1f\x01\xf2\xde\x1f\x14yaml:\"signed_header\"\x12O\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetB\x18\xf2\xde\x1f\x14yaml:\"validator_set\"\x12Q\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"trusted_height\"\x12Y\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetB\x1d\xf2\xde\x1f\x19yaml:\"trusted_validators\"\"2\n\x08\x46raction\x12\x11\n\tnumerator\x18\x01 \x01(\x04\x12\x13\n\x0b\x64\x65nominator\x18\x02 \x01(\x04\x42LZJgithub.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint;tendermintb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -29,23 +29,27 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint' + DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint;tendermint' _CLIENTSTATE.fields_by_name['trust_level']._options = None - _CLIENTSTATE.fields_by_name['trust_level']._serialized_options = b'\310\336\037\000' + _CLIENTSTATE.fields_by_name['trust_level']._serialized_options = b'\310\336\037\000\362\336\037\022yaml:\"trust_level\"' _CLIENTSTATE.fields_by_name['trusting_period']._options = None - _CLIENTSTATE.fields_by_name['trusting_period']._serialized_options = b'\310\336\037\000\230\337\037\001' + _CLIENTSTATE.fields_by_name['trusting_period']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"trusting_period\"\230\337\037\001' _CLIENTSTATE.fields_by_name['unbonding_period']._options = None - _CLIENTSTATE.fields_by_name['unbonding_period']._serialized_options = b'\310\336\037\000\230\337\037\001' + _CLIENTSTATE.fields_by_name['unbonding_period']._serialized_options = b'\310\336\037\000\362\336\037\027yaml:\"unbonding_period\"\230\337\037\001' _CLIENTSTATE.fields_by_name['max_clock_drift']._options = None - _CLIENTSTATE.fields_by_name['max_clock_drift']._serialized_options = b'\310\336\037\000\230\337\037\001' + _CLIENTSTATE.fields_by_name['max_clock_drift']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"max_clock_drift\"\230\337\037\001' _CLIENTSTATE.fields_by_name['frozen_height']._options = None - _CLIENTSTATE.fields_by_name['frozen_height']._serialized_options = b'\310\336\037\000' + _CLIENTSTATE.fields_by_name['frozen_height']._serialized_options = b'\310\336\037\000\362\336\037\024yaml:\"frozen_height\"' _CLIENTSTATE.fields_by_name['latest_height']._options = None - _CLIENTSTATE.fields_by_name['latest_height']._serialized_options = b'\310\336\037\000' + _CLIENTSTATE.fields_by_name['latest_height']._serialized_options = b'\310\336\037\000\362\336\037\024yaml:\"latest_height\"' + _CLIENTSTATE.fields_by_name['proof_specs']._options = None + _CLIENTSTATE.fields_by_name['proof_specs']._serialized_options = b'\362\336\037\022yaml:\"proof_specs\"' + _CLIENTSTATE.fields_by_name['upgrade_path']._options = None + _CLIENTSTATE.fields_by_name['upgrade_path']._serialized_options = b'\362\336\037\023yaml:\"upgrade_path\"' _CLIENTSTATE.fields_by_name['allow_update_after_expiry']._options = None - _CLIENTSTATE.fields_by_name['allow_update_after_expiry']._serialized_options = b'\030\001' + _CLIENTSTATE.fields_by_name['allow_update_after_expiry']._serialized_options = b'\030\001\362\336\037 yaml:\"allow_update_after_expiry\"' _CLIENTSTATE.fields_by_name['allow_update_after_misbehaviour']._options = None - _CLIENTSTATE.fields_by_name['allow_update_after_misbehaviour']._serialized_options = b'\030\001' + _CLIENTSTATE.fields_by_name['allow_update_after_misbehaviour']._serialized_options = b'\030\001\362\336\037&yaml:\"allow_update_after_misbehaviour\"' _CLIENTSTATE._options = None _CLIENTSTATE._serialized_options = b'\210\240\037\000' _CONSENSUSSTATE.fields_by_name['timestamp']._options = None @@ -53,29 +57,33 @@ _CONSENSUSSTATE.fields_by_name['root']._options = None _CONSENSUSSTATE.fields_by_name['root']._serialized_options = b'\310\336\037\000' _CONSENSUSSTATE.fields_by_name['next_validators_hash']._options = None - _CONSENSUSSTATE.fields_by_name['next_validators_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' + _CONSENSUSSTATE.fields_by_name['next_validators_hash']._serialized_options = b'\362\336\037\033yaml:\"next_validators_hash\"\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' _CONSENSUSSTATE._options = None _CONSENSUSSTATE._serialized_options = b'\210\240\037\000' _MISBEHAVIOUR.fields_by_name['client_id']._options = None - _MISBEHAVIOUR.fields_by_name['client_id']._serialized_options = b'\030\001' + _MISBEHAVIOUR.fields_by_name['client_id']._serialized_options = b'\030\001\362\336\037\020yaml:\"client_id\"' _MISBEHAVIOUR.fields_by_name['header_1']._options = None - _MISBEHAVIOUR.fields_by_name['header_1']._serialized_options = b'\342\336\037\007Header1' + _MISBEHAVIOUR.fields_by_name['header_1']._serialized_options = b'\342\336\037\007Header1\362\336\037\017yaml:\"header_1\"' _MISBEHAVIOUR.fields_by_name['header_2']._options = None - _MISBEHAVIOUR.fields_by_name['header_2']._serialized_options = b'\342\336\037\007Header2' + _MISBEHAVIOUR.fields_by_name['header_2']._serialized_options = b'\342\336\037\007Header2\362\336\037\017yaml:\"header_2\"' _MISBEHAVIOUR._options = None _MISBEHAVIOUR._serialized_options = b'\210\240\037\000' _HEADER.fields_by_name['signed_header']._options = None - _HEADER.fields_by_name['signed_header']._serialized_options = b'\320\336\037\001' + _HEADER.fields_by_name['signed_header']._serialized_options = b'\320\336\037\001\362\336\037\024yaml:\"signed_header\"' + _HEADER.fields_by_name['validator_set']._options = None + _HEADER.fields_by_name['validator_set']._serialized_options = b'\362\336\037\024yaml:\"validator_set\"' _HEADER.fields_by_name['trusted_height']._options = None - _HEADER.fields_by_name['trusted_height']._serialized_options = b'\310\336\037\000' + _HEADER.fields_by_name['trusted_height']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"trusted_height\"' + _HEADER.fields_by_name['trusted_validators']._options = None + _HEADER.fields_by_name['trusted_validators']._serialized_options = b'\362\336\037\031yaml:\"trusted_validators\"' _globals['_CLIENTSTATE']._serialized_start=339 - _globals['_CLIENTSTATE']._serialized_end=901 - _globals['_CONSENSUSSTATE']._serialized_start=904 - _globals['_CONSENSUSSTATE']._serialized_end=1123 - _globals['_MISBEHAVIOUR']._serialized_start=1126 - _globals['_MISBEHAVIOUR']._serialized_end=1311 - _globals['_HEADER']._serialized_start=1314 - _globals['_HEADER']._serialized_end=1556 - _globals['_FRACTION']._serialized_start=1558 - _globals['_FRACTION']._serialized_end=1608 + _globals['_CLIENTSTATE']._serialized_end=1177 + _globals['_CONSENSUSSTATE']._serialized_start=1180 + _globals['_CONSENSUSSTATE']._serialized_end=1430 + _globals['_MISBEHAVIOUR']._serialized_start=1433 + _globals['_MISBEHAVIOUR']._serialized_end=1676 + _globals['_HEADER']._serialized_start=1679 + _globals['_HEADER']._serialized_end=2027 + _globals['_FRACTION']._serialized_start=2029 + _globals['_FRACTION']._serialized_end=2079 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2.py b/pyinjective/proto/injective/wasmx/v1/events_pb2.py new file mode 100644 index 00000000..98439a5e --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/events_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/events.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"r\n\x16\x45ventContractExecution\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x10\n\x08response\x18\x02 \x01(\x0c\x12\x13\n\x0bother_error\x18\x03 \x01(\t\x12\x17\n\x0f\x65xecution_error\x18\x04 \x01(\t\"\xf9\x01\n\x17\x45ventContractRegistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode\"5\n\x19\x45ventContractDeregistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _globals['_EVENTCONTRACTEXECUTION']._serialized_start=144 + _globals['_EVENTCONTRACTEXECUTION']._serialized_end=258 + _globals['_EVENTCONTRACTREGISTERED']._serialized_start=261 + _globals['_EVENTCONTRACTREGISTERED']._serialized_end=510 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_start=512 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_end=565 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py similarity index 100% rename from pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2_grpc.py rename to pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py diff --git a/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py new file mode 100644 index 00000000..458ed453 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/genesis.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto\"u\n\x1dRegisteredContractWithAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x43\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract\"\x97\x01\n\x0cGenesisState\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\x12U\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.genesis_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _GENESISSTATE.fields_by_name['params']._options = None + _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['registered_contracts']._options = None + _GENESISSTATE.fields_by_name['registered_contracts']._serialized_options = b'\310\336\037\000' + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_start=110 + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_end=227 + _globals['_GENESISSTATE']._serialized_start=230 + _globals['_GENESISSTATE']._serialized_end=381 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/version/v1/version_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py similarity index 100% rename from pyinjective/proto/tendermint/services/version/v1/version_pb2_grpc.py rename to pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py new file mode 100644 index 00000000..5c0d113c --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/proposal.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmwasm.wasm.v1 import proposal_pb2 as cosmwasm_dot_wasm_dot_v1_dot_proposal__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1f\x63osmwasm/wasm/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"\xcf\x01\n#ContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd5\x01\n(BatchContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12]\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x84\x01\n#BatchContractDeregistrationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tcontracts\x18\x03 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb0\x02\n\x1b\x43ontractRegistrationRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12<\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.proposal_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._options = None + _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _CONTRACTREGISTRATIONREQUESTPROPOSAL._options = None + _CONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._options = None + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._serialized_options = b'\310\336\037\000' + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._options = None + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCONTRACTDEREGISTRATIONPROPOSAL._options = None + _BATCHCONTRACTDEREGISTRATIONPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _CONTRACTREGISTRATIONREQUEST._options = None + _CONTRACTREGISTRATIONREQUEST._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._options = None + _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._serialized_options = b'\310\336\037\000' + _BATCHSTORECODEPROPOSAL._options = None + _BATCHSTORECODEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_FUNDINGMODE']._serialized_start=1172 + _globals['_FUNDINGMODE']._serialized_end=1243 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=140 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=347 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=350 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=563 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_start=566 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_end=698 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_start=701 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_end=1005 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_start=1008 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_end=1170 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2.py b/pyinjective/proto/injective/wasmx/v1/query_pb2.py new file mode 100644 index 00000000..5edd5832 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/query.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import genesis_pb2 as injective_dot_wasmx_dot_v1_dot_genesis__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto\"\x19\n\x17QueryWasmxParamsRequest\"L\n\x18QueryWasmxParamsResponse\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\"\x19\n\x17QueryModuleStateRequest\"K\n\x18QueryModuleStateResponse\x12/\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisState\"@\n$QueryContractRegistrationInfoRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"a\n%QueryContractRegistrationInfoResponse\x12\x38\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/wasmx/v1/module_stateBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.query_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _QUERYWASMXPARAMSRESPONSE.fields_by_name['params']._options = None + _QUERYWASMXPARAMSRESPONSE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _QUERY.methods_by_name['WasmxParams']._options = None + _QUERY.methods_by_name['WasmxParams']._serialized_options = b'\202\323\344\223\002\034\022\032/injective/wasmx/v1/params' + _QUERY.methods_by_name['ContractRegistrationInfo']._options = None + _QUERY.methods_by_name['ContractRegistrationInfo']._serialized_options = b'\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}' + _QUERY.methods_by_name['WasmxModuleState']._options = None + _QUERY.methods_by_name['WasmxModuleState']._serialized_options = b'\202\323\344\223\002\"\022 /injective/wasmx/v1/module_state' + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_start=172 + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_end=197 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_start=199 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_end=275 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=277 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=302 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=304 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=379 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_start=381 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_end=445 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_start=447 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_end=544 + _globals['_QUERY']._serialized_start=547 + _globals['_QUERY']._serialized_end=1063 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py new file mode 100644 index 00000000..d43e993c --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py @@ -0,0 +1,138 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from injective.wasmx.v1 import query_pb2 as injective_dot_wasmx_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.WasmxParams = channel.unary_unary( + '/injective.wasmx.v1.Query/WasmxParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + ) + self.ContractRegistrationInfo = channel.unary_unary( + '/injective.wasmx.v1.Query/ContractRegistrationInfo', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + ) + self.WasmxModuleState = channel.unary_unary( + '/injective.wasmx.v1.Query/WasmxModuleState', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + ) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def WasmxParams(self, request, context): + """Retrieves wasmx params + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ContractRegistrationInfo(self, request, context): + """Retrieves contract registration info + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def WasmxModuleState(self, request, context): + """Retrieves the entire wasmx module's state + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'WasmxParams': grpc.unary_unary_rpc_method_handler( + servicer.WasmxParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.SerializeToString, + ), + 'ContractRegistrationInfo': grpc.unary_unary_rpc_method_handler( + servicer.ContractRegistrationInfo, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.SerializeToString, + ), + 'WasmxModuleState': grpc.unary_unary_rpc_method_handler( + servicer.WasmxModuleState, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def WasmxParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/WasmxParams', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ContractRegistrationInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/ContractRegistrationInfo', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def WasmxModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/WasmxModuleState', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py new file mode 100644 index 00000000..205467f5 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py @@ -0,0 +1,77 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/tx.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\"e\n\x18MsgExecuteContractCompat\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x0b\n\x03msg\x18\x03 \x01(\t\x12\r\n\x05\x66unds\x18\x04 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"0\n MsgExecuteContractCompatResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x8d\x01\n\x11MsgUpdateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x11\n\tgas_limit\x18\x03 \x01(\x04\x12\x11\n\tgas_price\x18\x04 \x01(\x04\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1b\n\x19MsgUpdateContractResponse\"L\n\x13MsgActivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgActivateContractResponse\"N\n\x15MsgDeactivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgDeactivateContractResponse\"\x80\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x90\x01\n\x13MsgRegisterContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgRegisterContractResponse2\xba\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponseBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.tx_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _MSGEXECUTECONTRACTCOMPAT._options = None + _MSGEXECUTECONTRACTCOMPAT._serialized_options = b'\202\347\260*\006sender' + _MSGUPDATECONTRACT.fields_by_name['admin_address']._options = None + _MSGUPDATECONTRACT.fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _MSGUPDATECONTRACT._options = None + _MSGUPDATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGACTIVATECONTRACT._options = None + _MSGACTIVATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGDEACTIVATECONTRACT._options = None + _MSGDEACTIVATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGUPDATEPARAMS.fields_by_name['authority']._options = None + _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATEPARAMS.fields_by_name['params']._options = None + _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _MSGUPDATEPARAMS._options = None + _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSGREGISTERCONTRACT.fields_by_name['contract_registration_request']._options = None + _MSGREGISTERCONTRACT.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _MSGREGISTERCONTRACT._options = None + _MSGREGISTERCONTRACT._serialized_options = b'\202\347\260*\006sender' + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_start=219 + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_end=320 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_start=322 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_end=370 + _globals['_MSGUPDATECONTRACT']._serialized_start=373 + _globals['_MSGUPDATECONTRACT']._serialized_end=514 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_start=516 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_end=543 + _globals['_MSGACTIVATECONTRACT']._serialized_start=545 + _globals['_MSGACTIVATECONTRACT']._serialized_end=621 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_start=623 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_end=652 + _globals['_MSGDEACTIVATECONTRACT']._serialized_start=654 + _globals['_MSGDEACTIVATECONTRACT']._serialized_end=732 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_start=734 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_end=765 + _globals['_MSGUPDATEPARAMS']._serialized_start=768 + _globals['_MSGUPDATEPARAMS']._serialized_end=896 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=898 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=923 + _globals['_MSGREGISTERCONTRACT']._serialized_start=926 + _globals['_MSGREGISTERCONTRACT']._serialized_end=1070 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_start=1072 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_end=1101 + _globals['_MSG']._serialized_start=1104 + _globals['_MSG']._serialized_end=1802 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..fe1b58d0 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py @@ -0,0 +1,234 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from injective.wasmx.v1 import tx_pb2 as injective_dot_wasmx_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the wasmx Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdateRegistryContractParams = channel.unary_unary( + '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + ) + self.ActivateRegistryContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/ActivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + ) + self.DeactivateRegistryContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + ) + self.ExecuteContractCompat = channel.unary_unary( + '/injective.wasmx.v1.Msg/ExecuteContractCompat', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + ) + self.UpdateParams = channel.unary_unary( + '/injective.wasmx.v1.Msg/UpdateParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + ) + self.RegisterContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/RegisterContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + ) + + +class MsgServicer(object): + """Msg defines the wasmx Msg service. + """ + + def UpdateRegistryContractParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ActivateRegistryContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeactivateRegistryContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExecuteContractCompat(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RegisterContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdateRegistryContractParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateRegistryContractParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.SerializeToString, + ), + 'ActivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.ActivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.SerializeToString, + ), + 'DeactivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.DeactivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.SerializeToString, + ), + 'ExecuteContractCompat': grpc.unary_unary_rpc_method_handler( + servicer.ExecuteContractCompat, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'RegisterContract': grpc.unary_unary_rpc_method_handler( + servicer.RegisterContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the wasmx Msg service. + """ + + @staticmethod + def UpdateRegistryContractParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ActivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/ActivateRegistryContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DeactivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ExecuteContractCompat(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/ExecuteContractCompat', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/UpdateParams', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def RegisterContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/RegisterContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py new file mode 100644 index 00000000..707f0df4 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/wasmx.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a!injective/wasmx/v1/proposal.proto\"\x86\x01\n\x06Params\x12\x1c\n\x14is_execution_enabled\x18\x01 \x01(\x08\x12!\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04\x12\x1e\n\x16max_contract_gas_limit\x18\x03 \x01(\x04\x12\x15\n\rmin_gas_price\x18\x04 \x01(\x04:\x04\xe8\xa0\x1f\x01\"\xde\x01\n\x12RegisteredContract\x12\x11\n\tgas_limit\x18\x01 \x01(\x04\x12\x11\n\tgas_price\x18\x02 \x01(\x04\x12\x15\n\ris_executable\x18\x03 \x01(\x08\x12\x15\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x1d\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x32\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x04\xe8\xa0\x1f\x01\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.wasmx_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _PARAMS._options = None + _PARAMS._serialized_options = b'\350\240\037\001' + _REGISTEREDCONTRACT.fields_by_name['code_id']._options = None + _REGISTEREDCONTRACT.fields_by_name['code_id']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT.fields_by_name['admin_address']._options = None + _REGISTEREDCONTRACT.fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT.fields_by_name['granter_address']._options = None + _REGISTEREDCONTRACT.fields_by_name['granter_address']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT._options = None + _REGISTEREDCONTRACT._serialized_options = b'\350\240\037\001' + _globals['_PARAMS']._serialized_start=112 + _globals['_PARAMS']._serialized_end=246 + _globals['_REGISTEREDCONTRACT']._serialized_start=249 + _globals['_REGISTEREDCONTRACT']._serialized_end=471 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/tendermint/abci/types_pb2.py b/pyinjective/proto/tendermint/abci/types_pb2.py index 60486546..d8a81353 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2.py +++ b/pyinjective/proto/tendermint/abci/types_pb2.py @@ -12,14 +12,14 @@ from tendermint.crypto import proof_pb2 as tendermint_dot_crypto_dot_proof__pb2 +from tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 from tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 from tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 -from tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btendermint/abci/types.proto\x12\x0ftendermint.abci\x1a\x1dtendermint/crypto/proof.proto\x1a\x1ctendermint/crypto/keys.proto\x1a\x1dtendermint/types/params.proto\x1a tendermint/types/validator.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\xf2\x07\n\x07Request\x12,\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00\x12.\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00\x12,\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00\x12\x37\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00\x12.\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00\x12\x33\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00\x12\x30\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00\x12?\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00\x12?\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00\x12H\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00\x12J\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00\x12\x43\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00\x12\x43\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00\x12\x39\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32\".tendermint.abci.RequestExtendVoteH\x00\x12L\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00\x12?\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00\x42\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\x1e\n\x0bRequestEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0e\n\x0cRequestFlush\"`\n\x0bRequestInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x15\n\rblock_version\x18\x02 \x01(\x04\x12\x13\n\x0bp2p_version\x18\x03 \x01(\x04\x12\x14\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\t\"\x82\x02\n\x10RequestInitChain\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\x12;\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0c\x12\x16\n\x0einitial_height\x18\x06 \x01(\x03\"I\n\x0cRequestQuery\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\r\n\x05prove\x18\x04 \x01(\x08\"H\n\x0eRequestCheckTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxType\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"U\n\x14RequestOfferSnapshot\x12+\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.Snapshot\x12\x10\n\x08\x61pp_hash\x18\x02 \x01(\x0c\"I\n\x18RequestLoadSnapshotChunk\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05\x63hunk\x18\x03 \x01(\r\"I\n\x19RequestApplySnapshotChunk\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x63hunk\x18\x02 \x01(\x0c\x12\x0e\n\x06sender\x18\x03 \x01(\t\"\xb6\x02\n\x16RequestPrepareProposal\x12\x14\n\x0cmax_tx_bytes\x18\x01 \x01(\x03\x12\x0b\n\x03txs\x18\x02 \x03(\x0c\x12\x44\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xa9\x02\n\x16RequestProcessProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12?\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xa4\x02\n\x11RequestExtendVote\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\x32\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x0b\n\x03txs\x18\x04 \x03(\x0c\x12?\n\x14proposed_last_commit\x18\x05 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x06 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"m\n\x1aRequestVerifyVoteExtension\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x16\n\x0evote_extension\x18\x04 \x01(\x0c\"\xa6\x02\n\x14RequestFinalizeBlock\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12>\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xbc\x08\n\x08Response\x12\x37\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00\x12-\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00\x12/\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00\x12-\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00\x12\x38\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00\x12/\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00\x12\x34\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00\x12\x31\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00\x12@\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00\x12@\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00\x12I\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00\x12K\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00\x12\x44\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00\x12\x44\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00\x12:\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00\x12M\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00\x12@\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00\x42\x07\n\x05valueJ\x04\x08\x05\x10\x06J\x04\x08\x08\x10\tJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0c\"\"\n\x11ResponseException\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x1f\n\x0cResponseEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0f\n\rResponseFlush\"z\n\x0cResponseInfo\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x03 \x01(\x04\x12\x19\n\x11last_block_height\x18\x04 \x01(\x03\x12\x1b\n\x13last_block_app_hash\x18\x05 \x01(\x0c\"\x9e\x01\n\x11ResponseInitChain\x12;\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x10\n\x08\x61pp_hash\x18\x03 \x01(\x0c\"\xb6\x01\n\rResponseQuery\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\r\n\x05index\x18\x05 \x01(\x03\x12\x0b\n\x03key\x18\x06 \x01(\x0c\x12\r\n\x05value\x18\x07 \x01(\x0c\x12.\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOps\x12\x0e\n\x06height\x18\t \x01(\x03\x12\x11\n\tcodespace\x18\n \x01(\t\"\x80\x02\n\x0fResponseCheckTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\tJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error\"3\n\x0eResponseCommit\x12\x15\n\rretain_height\x18\x03 \x01(\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"E\n\x15ResponseListSnapshots\x12,\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.Snapshot\"\xb6\x01\n\x15ResponseOfferSnapshot\x12=\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.Result\"^\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x11\n\rREJECT_FORMAT\x10\x04\x12\x11\n\rREJECT_SENDER\x10\x05\"*\n\x19ResponseLoadSnapshotChunk\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c\"\xf2\x01\n\x1aResponseApplySnapshotChunk\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.Result\x12\x16\n\x0erefetch_chunks\x18\x02 \x03(\r\x12\x16\n\x0ereject_senders\x18\x03 \x03(\t\"`\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\t\n\x05RETRY\x10\x03\x12\x12\n\x0eRETRY_SNAPSHOT\x10\x04\x12\x13\n\x0fREJECT_SNAPSHOT\x10\x05\"&\n\x17ResponsePrepareProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\x99\x01\n\x17ResponseProcessProposal\x12G\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatus\"5\n\x0eProposalStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\",\n\x12ResponseExtendVote\x12\x16\n\x0evote_extension\x18\x01 \x01(\x0c\"\x9d\x01\n\x1bResponseVerifyVoteExtension\x12I\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus\"3\n\x0cVerifyStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\"\xa5\x02\n\x15ResponseFinalizeBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x31\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x41\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12\x10\n\x08\x61pp_hash\x18\x05 \x01(\x0c\"K\n\nCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12.\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00\"[\n\x12\x45xtendedCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12\x36\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00\"h\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12Q\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitempty\";\n\x0e\x45ventAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\r\n\x05index\x18\x03 \x01(\x08\"\xd6\x01\n\x0c\x45xecTxResult\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t\"j\n\x08TxResult\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\r\x12\n\n\x02tx\x18\x03 \x01(\x0c\x12\x33\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00\"+\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x03 \x01(\x03\"U\n\x0fValidatorUpdate\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\r\n\x05power\x18\x02 \x01(\x03\"{\n\x08VoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x34\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xb8\x01\n\x10\x45xtendedVoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x16\n\x0evote_extension\x18\x03 \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\x04 \x01(\x0c\x12\x34\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xd2\x01\n\x0bMisbehavior\x12.\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorType\x12\x33\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1a\n\x12total_voting_power\x18\x05 \x01(\x03\"Z\n\x08Snapshot\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c*9\n\x0b\x43heckTxType\x12\x10\n\x03NEW\x10\x00\x1a\x07\x8a\x9d \x03New\x12\x18\n\x07RECHECK\x10\x01\x1a\x0b\x8a\x9d \x07Recheck*K\n\x0fMisbehaviorType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x44UPLICATE_VOTE\x10\x01\x12\x17\n\x13LIGHT_CLIENT_ATTACK\x10\x02\x32\x9d\x0b\n\x04\x41\x42\x43I\x12\x43\n\x04\x45\x63ho\x12\x1c.tendermint.abci.RequestEcho\x1a\x1d.tendermint.abci.ResponseEcho\x12\x46\n\x05\x46lush\x12\x1d.tendermint.abci.RequestFlush\x1a\x1e.tendermint.abci.ResponseFlush\x12\x43\n\x04Info\x12\x1c.tendermint.abci.RequestInfo\x1a\x1d.tendermint.abci.ResponseInfo\x12L\n\x07\x43heckTx\x12\x1f.tendermint.abci.RequestCheckTx\x1a .tendermint.abci.ResponseCheckTx\x12\x46\n\x05Query\x12\x1d.tendermint.abci.RequestQuery\x1a\x1e.tendermint.abci.ResponseQuery\x12I\n\x06\x43ommit\x12\x1e.tendermint.abci.RequestCommit\x1a\x1f.tendermint.abci.ResponseCommit\x12R\n\tInitChain\x12!.tendermint.abci.RequestInitChain\x1a\".tendermint.abci.ResponseInitChain\x12^\n\rListSnapshots\x12%.tendermint.abci.RequestListSnapshots\x1a&.tendermint.abci.ResponseListSnapshots\x12^\n\rOfferSnapshot\x12%.tendermint.abci.RequestOfferSnapshot\x1a&.tendermint.abci.ResponseOfferSnapshot\x12j\n\x11LoadSnapshotChunk\x12).tendermint.abci.RequestLoadSnapshotChunk\x1a*.tendermint.abci.ResponseLoadSnapshotChunk\x12m\n\x12\x41pplySnapshotChunk\x12*.tendermint.abci.RequestApplySnapshotChunk\x1a+.tendermint.abci.ResponseApplySnapshotChunk\x12\x64\n\x0fPrepareProposal\x12\'.tendermint.abci.RequestPrepareProposal\x1a(.tendermint.abci.ResponsePrepareProposal\x12\x64\n\x0fProcessProposal\x12\'.tendermint.abci.RequestProcessProposal\x1a(.tendermint.abci.ResponseProcessProposal\x12U\n\nExtendVote\x12\".tendermint.abci.RequestExtendVote\x1a#.tendermint.abci.ResponseExtendVote\x12p\n\x13VerifyVoteExtension\x12+.tendermint.abci.RequestVerifyVoteExtension\x1a,.tendermint.abci.ResponseVerifyVoteExtension\x12^\n\rFinalizeBlock\x12%.tendermint.abci.RequestFinalizeBlock\x1a&.tendermint.abci.ResponseFinalizeBlockB)Z\'github.com/cometbft/cometbft/abci/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btendermint/abci/types.proto\x12\x0ftendermint.abci\x1a\x1dtendermint/crypto/proof.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ctendermint/crypto/keys.proto\x1a\x1dtendermint/types/params.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\xc1\x07\n\x07Request\x12,\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00\x12.\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00\x12,\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00\x12\x37\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00\x12.\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00\x12\x39\n\x0b\x62\x65gin_block\x18\x07 \x01(\x0b\x32\".tendermint.abci.RequestBeginBlockH\x00\x12\x33\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00\x12\x37\n\ndeliver_tx\x18\t \x01(\x0b\x32!.tendermint.abci.RequestDeliverTxH\x00\x12\x35\n\tend_block\x18\n \x01(\x0b\x32 .tendermint.abci.RequestEndBlockH\x00\x12\x30\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00\x12?\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00\x12?\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00\x12H\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00\x12J\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00\x12\x43\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00\x12\x43\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00\x42\x07\n\x05valueJ\x04\x08\x04\x10\x05\"\x1e\n\x0bRequestEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0e\n\x0cRequestFlush\"`\n\x0bRequestInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x15\n\rblock_version\x18\x02 \x01(\x04\x12\x13\n\x0bp2p_version\x18\x03 \x01(\x04\x12\x14\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\t\"\x82\x02\n\x10RequestInitChain\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\x12;\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0c\x12\x16\n\x0einitial_height\x18\x06 \x01(\x03\"I\n\x0cRequestQuery\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\r\n\x05prove\x18\x04 \x01(\x08\"\xd0\x01\n\x11RequestBeginBlock\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12.\n\x06header\x18\x02 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12;\n\x10last_commit_info\x18\x03 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12@\n\x14\x62yzantine_validators\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\"H\n\x0eRequestCheckTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxType\"\x1e\n\x10RequestDeliverTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\"!\n\x0fRequestEndBlock\x12\x0e\n\x06height\x18\x01 \x01(\x03\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"U\n\x14RequestOfferSnapshot\x12+\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.Snapshot\x12\x10\n\x08\x61pp_hash\x18\x02 \x01(\x0c\"I\n\x18RequestLoadSnapshotChunk\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05\x63hunk\x18\x03 \x01(\r\"I\n\x19RequestApplySnapshotChunk\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x63hunk\x18\x02 \x01(\x0c\x12\x0e\n\x06sender\x18\x03 \x01(\t\"\xb6\x02\n\x16RequestPrepareProposal\x12\x14\n\x0cmax_tx_bytes\x18\x01 \x01(\x03\x12\x0b\n\x03txs\x18\x02 \x03(\x0c\x12\x44\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xa9\x02\n\x16RequestProcessProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12?\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\x8b\x08\n\x08Response\x12\x37\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00\x12-\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00\x12/\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00\x12-\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00\x12\x38\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00\x12/\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00\x12:\n\x0b\x62\x65gin_block\x18\x08 \x01(\x0b\x32#.tendermint.abci.ResponseBeginBlockH\x00\x12\x34\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00\x12\x38\n\ndeliver_tx\x18\n \x01(\x0b\x32\".tendermint.abci.ResponseDeliverTxH\x00\x12\x36\n\tend_block\x18\x0b \x01(\x0b\x32!.tendermint.abci.ResponseEndBlockH\x00\x12\x31\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00\x12@\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00\x12@\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00\x12I\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00\x12K\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00\x12\x44\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00\x12\x44\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00\x42\x07\n\x05valueJ\x04\x08\x05\x10\x06\"\"\n\x11ResponseException\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x1f\n\x0cResponseEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0f\n\rResponseFlush\"z\n\x0cResponseInfo\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x03 \x01(\x04\x12\x19\n\x11last_block_height\x18\x04 \x01(\x03\x12\x1b\n\x13last_block_app_hash\x18\x05 \x01(\x0c\"\x9e\x01\n\x11ResponseInitChain\x12;\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x10\n\x08\x61pp_hash\x18\x03 \x01(\x0c\"\xb6\x01\n\rResponseQuery\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\r\n\x05index\x18\x05 \x01(\x03\x12\x0b\n\x03key\x18\x06 \x01(\x0c\x12\r\n\x05value\x18\x07 \x01(\x0c\x12.\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOps\x12\x0e\n\x06height\x18\t \x01(\x03\x12\x11\n\tcodespace\x18\n \x01(\t\"V\n\x12ResponseBeginBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"\x92\x02\n\x0fResponseCheckTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t\x12\x0e\n\x06sender\x18\t \x01(\t\x12\x10\n\x08priority\x18\n \x01(\x03\x12\x15\n\rmempool_error\x18\x0b \x01(\t\"\xdb\x01\n\x11ResponseDeliverTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t\"\xdb\x01\n\x10ResponseEndBlock\x12\x41\n\x11validator_updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x02 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12@\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"5\n\x0eResponseCommit\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x15\n\rretain_height\x18\x03 \x01(\x03\"E\n\x15ResponseListSnapshots\x12,\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.Snapshot\"\xb6\x01\n\x15ResponseOfferSnapshot\x12=\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.Result\"^\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x11\n\rREJECT_FORMAT\x10\x04\x12\x11\n\rREJECT_SENDER\x10\x05\"*\n\x19ResponseLoadSnapshotChunk\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c\"\xf2\x01\n\x1aResponseApplySnapshotChunk\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.Result\x12\x16\n\x0erefetch_chunks\x18\x02 \x03(\r\x12\x16\n\x0ereject_senders\x18\x03 \x03(\t\"`\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\t\n\x05RETRY\x10\x03\x12\x12\n\x0eRETRY_SNAPSHOT\x10\x04\x12\x13\n\x0fREJECT_SNAPSHOT\x10\x05\"&\n\x17ResponsePrepareProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\x99\x01\n\x17ResponseProcessProposal\x12G\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatus\"5\n\x0eProposalStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\"K\n\nCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12.\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00\"[\n\x12\x45xtendedCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12\x36\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00\"h\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12Q\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitempty\";\n\x0e\x45ventAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\r\n\x05index\x18\x03 \x01(\x08\"o\n\x08TxResult\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\r\x12\n\n\x02tx\x18\x03 \x01(\x0c\x12\x38\n\x06result\x18\x04 \x01(\x0b\x32\".tendermint.abci.ResponseDeliverTxB\x04\xc8\xde\x1f\x00\"+\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x03 \x01(\x03\"U\n\x0fValidatorUpdate\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\r\n\x05power\x18\x02 \x01(\x03\"Z\n\x08VoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x19\n\x11signed_last_block\x18\x02 \x01(\x08\"z\n\x10\x45xtendedVoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x19\n\x11signed_last_block\x18\x02 \x01(\x08\x12\x16\n\x0evote_extension\x18\x03 \x01(\x0c\"\xd2\x01\n\x0bMisbehavior\x12.\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorType\x12\x33\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1a\n\x12total_voting_power\x18\x05 \x01(\x03\"Z\n\x08Snapshot\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c*9\n\x0b\x43heckTxType\x12\x10\n\x03NEW\x10\x00\x1a\x07\x8a\x9d \x03New\x12\x18\n\x07RECHECK\x10\x01\x1a\x0b\x8a\x9d \x07Recheck*K\n\x0fMisbehaviorType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x44UPLICATE_VOTE\x10\x01\x12\x17\n\x13LIGHT_CLIENT_ATTACK\x10\x02\x32\xfb\n\n\x0f\x41\x42\x43IApplication\x12\x43\n\x04\x45\x63ho\x12\x1c.tendermint.abci.RequestEcho\x1a\x1d.tendermint.abci.ResponseEcho\x12\x46\n\x05\x46lush\x12\x1d.tendermint.abci.RequestFlush\x1a\x1e.tendermint.abci.ResponseFlush\x12\x43\n\x04Info\x12\x1c.tendermint.abci.RequestInfo\x1a\x1d.tendermint.abci.ResponseInfo\x12R\n\tDeliverTx\x12!.tendermint.abci.RequestDeliverTx\x1a\".tendermint.abci.ResponseDeliverTx\x12L\n\x07\x43heckTx\x12\x1f.tendermint.abci.RequestCheckTx\x1a .tendermint.abci.ResponseCheckTx\x12\x46\n\x05Query\x12\x1d.tendermint.abci.RequestQuery\x1a\x1e.tendermint.abci.ResponseQuery\x12I\n\x06\x43ommit\x12\x1e.tendermint.abci.RequestCommit\x1a\x1f.tendermint.abci.ResponseCommit\x12R\n\tInitChain\x12!.tendermint.abci.RequestInitChain\x1a\".tendermint.abci.ResponseInitChain\x12U\n\nBeginBlock\x12\".tendermint.abci.RequestBeginBlock\x1a#.tendermint.abci.ResponseBeginBlock\x12O\n\x08\x45ndBlock\x12 .tendermint.abci.RequestEndBlock\x1a!.tendermint.abci.ResponseEndBlock\x12^\n\rListSnapshots\x12%.tendermint.abci.RequestListSnapshots\x1a&.tendermint.abci.ResponseListSnapshots\x12^\n\rOfferSnapshot\x12%.tendermint.abci.RequestOfferSnapshot\x1a&.tendermint.abci.ResponseOfferSnapshot\x12j\n\x11LoadSnapshotChunk\x12).tendermint.abci.RequestLoadSnapshotChunk\x1a*.tendermint.abci.ResponseLoadSnapshotChunk\x12m\n\x12\x41pplySnapshotChunk\x12*.tendermint.abci.RequestApplySnapshotChunk\x1a+.tendermint.abci.ResponseApplySnapshotChunk\x12\x64\n\x0fPrepareProposal\x12\'.tendermint.abci.RequestPrepareProposal\x1a(.tendermint.abci.ResponsePrepareProposal\x12\x64\n\x0fProcessProposal\x12\'.tendermint.abci.RequestProcessProposal\x1a(.tendermint.abci.ResponseProcessProposalB)Z\'github.com/cometbft/cometbft/abci/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -36,6 +36,12 @@ _REQUESTINITCHAIN.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' _REQUESTINITCHAIN.fields_by_name['validators']._options = None _REQUESTINITCHAIN.fields_by_name['validators']._serialized_options = b'\310\336\037\000' + _REQUESTBEGINBLOCK.fields_by_name['header']._options = None + _REQUESTBEGINBLOCK.fields_by_name['header']._serialized_options = b'\310\336\037\000' + _REQUESTBEGINBLOCK.fields_by_name['last_commit_info']._options = None + _REQUESTBEGINBLOCK.fields_by_name['last_commit_info']._serialized_options = b'\310\336\037\000' + _REQUESTBEGINBLOCK.fields_by_name['byzantine_validators']._options = None + _REQUESTBEGINBLOCK.fields_by_name['byzantine_validators']._serialized_options = b'\310\336\037\000' _REQUESTPREPAREPROPOSAL.fields_by_name['local_last_commit']._options = None _REQUESTPREPAREPROPOSAL.fields_by_name['local_last_commit']._serialized_options = b'\310\336\037\000' _REQUESTPREPAREPROPOSAL.fields_by_name['misbehavior']._options = None @@ -48,34 +54,24 @@ _REQUESTPROCESSPROPOSAL.fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' _REQUESTPROCESSPROPOSAL.fields_by_name['time']._options = None _REQUESTPROCESSPROPOSAL.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _REQUESTEXTENDVOTE.fields_by_name['time']._options = None - _REQUESTEXTENDVOTE.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _REQUESTEXTENDVOTE.fields_by_name['proposed_last_commit']._options = None - _REQUESTEXTENDVOTE.fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' - _REQUESTEXTENDVOTE.fields_by_name['misbehavior']._options = None - _REQUESTEXTENDVOTE.fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _REQUESTFINALIZEBLOCK.fields_by_name['decided_last_commit']._options = None - _REQUESTFINALIZEBLOCK.fields_by_name['decided_last_commit']._serialized_options = b'\310\336\037\000' - _REQUESTFINALIZEBLOCK.fields_by_name['misbehavior']._options = None - _REQUESTFINALIZEBLOCK.fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _REQUESTFINALIZEBLOCK.fields_by_name['time']._options = None - _REQUESTFINALIZEBLOCK.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' _RESPONSEINITCHAIN.fields_by_name['validators']._options = None _RESPONSEINITCHAIN.fields_by_name['validators']._serialized_options = b'\310\336\037\000' + _RESPONSEBEGINBLOCK.fields_by_name['events']._options = None + _RESPONSEBEGINBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' _RESPONSECHECKTX.fields_by_name['events']._options = None _RESPONSECHECKTX.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _RESPONSEFINALIZEBLOCK.fields_by_name['events']._options = None - _RESPONSEFINALIZEBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _RESPONSEFINALIZEBLOCK.fields_by_name['validator_updates']._options = None - _RESPONSEFINALIZEBLOCK.fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' + _RESPONSEDELIVERTX.fields_by_name['events']._options = None + _RESPONSEDELIVERTX.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _RESPONSEENDBLOCK.fields_by_name['validator_updates']._options = None + _RESPONSEENDBLOCK.fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' + _RESPONSEENDBLOCK.fields_by_name['events']._options = None + _RESPONSEENDBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' _COMMITINFO.fields_by_name['votes']._options = None _COMMITINFO.fields_by_name['votes']._serialized_options = b'\310\336\037\000' _EXTENDEDCOMMITINFO.fields_by_name['votes']._options = None _EXTENDEDCOMMITINFO.fields_by_name['votes']._serialized_options = b'\310\336\037\000' _EVENT.fields_by_name['attributes']._options = None _EVENT.fields_by_name['attributes']._serialized_options = b'\310\336\037\000\352\336\037\024attributes,omitempty' - _EXECTXRESULT.fields_by_name['events']._options = None - _EXECTXRESULT.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' _TXRESULT.fields_by_name['result']._options = None _TXRESULT.fields_by_name['result']._serialized_options = b'\310\336\037\000' _VALIDATORUPDATE.fields_by_name['pub_key']._options = None @@ -88,112 +84,108 @@ _MISBEHAVIOR.fields_by_name['validator']._serialized_options = b'\310\336\037\000' _MISBEHAVIOR.fields_by_name['time']._options = None _MISBEHAVIOR.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_CHECKTXTYPE']._serialized_start=8001 - _globals['_CHECKTXTYPE']._serialized_end=8058 - _globals['_MISBEHAVIORTYPE']._serialized_start=8060 - _globals['_MISBEHAVIORTYPE']._serialized_end=8135 - _globals['_REQUEST']._serialized_start=230 - _globals['_REQUEST']._serialized_end=1240 - _globals['_REQUESTECHO']._serialized_start=1242 - _globals['_REQUESTECHO']._serialized_end=1272 - _globals['_REQUESTFLUSH']._serialized_start=1274 - _globals['_REQUESTFLUSH']._serialized_end=1288 - _globals['_REQUESTINFO']._serialized_start=1290 - _globals['_REQUESTINFO']._serialized_end=1386 - _globals['_REQUESTINITCHAIN']._serialized_start=1389 - _globals['_REQUESTINITCHAIN']._serialized_end=1647 - _globals['_REQUESTQUERY']._serialized_start=1649 - _globals['_REQUESTQUERY']._serialized_end=1722 - _globals['_REQUESTCHECKTX']._serialized_start=1724 - _globals['_REQUESTCHECKTX']._serialized_end=1796 - _globals['_REQUESTCOMMIT']._serialized_start=1798 - _globals['_REQUESTCOMMIT']._serialized_end=1813 - _globals['_REQUESTLISTSNAPSHOTS']._serialized_start=1815 - _globals['_REQUESTLISTSNAPSHOTS']._serialized_end=1837 - _globals['_REQUESTOFFERSNAPSHOT']._serialized_start=1839 - _globals['_REQUESTOFFERSNAPSHOT']._serialized_end=1924 - _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_start=1926 - _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_end=1999 - _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_start=2001 - _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_end=2074 - _globals['_REQUESTPREPAREPROPOSAL']._serialized_start=2077 - _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2387 - _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2390 - _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=2687 - _globals['_REQUESTEXTENDVOTE']._serialized_start=2690 - _globals['_REQUESTEXTENDVOTE']._serialized_end=2982 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_start=2984 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_end=3093 - _globals['_REQUESTFINALIZEBLOCK']._serialized_start=3096 - _globals['_REQUESTFINALIZEBLOCK']._serialized_end=3390 - _globals['_RESPONSE']._serialized_start=3393 - _globals['_RESPONSE']._serialized_end=4477 - _globals['_RESPONSEEXCEPTION']._serialized_start=4479 - _globals['_RESPONSEEXCEPTION']._serialized_end=4513 - _globals['_RESPONSEECHO']._serialized_start=4515 - _globals['_RESPONSEECHO']._serialized_end=4546 - _globals['_RESPONSEFLUSH']._serialized_start=4548 - _globals['_RESPONSEFLUSH']._serialized_end=4563 - _globals['_RESPONSEINFO']._serialized_start=4565 - _globals['_RESPONSEINFO']._serialized_end=4687 - _globals['_RESPONSEINITCHAIN']._serialized_start=4690 - _globals['_RESPONSEINITCHAIN']._serialized_end=4848 - _globals['_RESPONSEQUERY']._serialized_start=4851 - _globals['_RESPONSEQUERY']._serialized_end=5033 - _globals['_RESPONSECHECKTX']._serialized_start=5036 - _globals['_RESPONSECHECKTX']._serialized_end=5292 - _globals['_RESPONSECOMMIT']._serialized_start=5294 - _globals['_RESPONSECOMMIT']._serialized_end=5345 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=5347 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=5416 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=5419 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=5601 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=5507 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=5601 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=5603 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=5645 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=5648 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=5890 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=5794 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=5890 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=5892 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=5930 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=5933 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=6086 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=6033 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=6086 - _globals['_RESPONSEEXTENDVOTE']._serialized_start=6088 - _globals['_RESPONSEEXTENDVOTE']._serialized_end=6132 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_start=6135 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_end=6292 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_start=6241 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_end=6292 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_start=6295 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_end=6588 - _globals['_COMMITINFO']._serialized_start=6590 - _globals['_COMMITINFO']._serialized_end=6665 - _globals['_EXTENDEDCOMMITINFO']._serialized_start=6667 - _globals['_EXTENDEDCOMMITINFO']._serialized_end=6758 - _globals['_EVENT']._serialized_start=6760 - _globals['_EVENT']._serialized_end=6864 - _globals['_EVENTATTRIBUTE']._serialized_start=6866 - _globals['_EVENTATTRIBUTE']._serialized_end=6925 - _globals['_EXECTXRESULT']._serialized_start=6928 - _globals['_EXECTXRESULT']._serialized_end=7142 - _globals['_TXRESULT']._serialized_start=7144 - _globals['_TXRESULT']._serialized_end=7250 - _globals['_VALIDATOR']._serialized_start=7252 - _globals['_VALIDATOR']._serialized_end=7295 - _globals['_VALIDATORUPDATE']._serialized_start=7297 - _globals['_VALIDATORUPDATE']._serialized_end=7382 - _globals['_VOTEINFO']._serialized_start=7384 - _globals['_VOTEINFO']._serialized_end=7507 - _globals['_EXTENDEDVOTEINFO']._serialized_start=7510 - _globals['_EXTENDEDVOTEINFO']._serialized_end=7694 - _globals['_MISBEHAVIOR']._serialized_start=7697 - _globals['_MISBEHAVIOR']._serialized_end=7907 - _globals['_SNAPSHOT']._serialized_start=7909 - _globals['_SNAPSHOT']._serialized_end=7999 - _globals['_ABCI']._serialized_start=8138 - _globals['_ABCI']._serialized_end=9575 + _globals['_CHECKTXTYPE']._serialized_start=7216 + _globals['_CHECKTXTYPE']._serialized_end=7273 + _globals['_MISBEHAVIORTYPE']._serialized_start=7275 + _globals['_MISBEHAVIORTYPE']._serialized_end=7350 + _globals['_REQUEST']._serialized_start=226 + _globals['_REQUEST']._serialized_end=1187 + _globals['_REQUESTECHO']._serialized_start=1189 + _globals['_REQUESTECHO']._serialized_end=1219 + _globals['_REQUESTFLUSH']._serialized_start=1221 + _globals['_REQUESTFLUSH']._serialized_end=1235 + _globals['_REQUESTINFO']._serialized_start=1237 + _globals['_REQUESTINFO']._serialized_end=1333 + _globals['_REQUESTINITCHAIN']._serialized_start=1336 + _globals['_REQUESTINITCHAIN']._serialized_end=1594 + _globals['_REQUESTQUERY']._serialized_start=1596 + _globals['_REQUESTQUERY']._serialized_end=1669 + _globals['_REQUESTBEGINBLOCK']._serialized_start=1672 + _globals['_REQUESTBEGINBLOCK']._serialized_end=1880 + _globals['_REQUESTCHECKTX']._serialized_start=1882 + _globals['_REQUESTCHECKTX']._serialized_end=1954 + _globals['_REQUESTDELIVERTX']._serialized_start=1956 + _globals['_REQUESTDELIVERTX']._serialized_end=1986 + _globals['_REQUESTENDBLOCK']._serialized_start=1988 + _globals['_REQUESTENDBLOCK']._serialized_end=2021 + _globals['_REQUESTCOMMIT']._serialized_start=2023 + _globals['_REQUESTCOMMIT']._serialized_end=2038 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_start=2040 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_end=2062 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_start=2064 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_end=2149 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_start=2151 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_end=2224 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_start=2226 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_end=2299 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_start=2302 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2612 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2615 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=2912 + _globals['_RESPONSE']._serialized_start=2915 + _globals['_RESPONSE']._serialized_end=3950 + _globals['_RESPONSEEXCEPTION']._serialized_start=3952 + _globals['_RESPONSEEXCEPTION']._serialized_end=3986 + _globals['_RESPONSEECHO']._serialized_start=3988 + _globals['_RESPONSEECHO']._serialized_end=4019 + _globals['_RESPONSEFLUSH']._serialized_start=4021 + _globals['_RESPONSEFLUSH']._serialized_end=4036 + _globals['_RESPONSEINFO']._serialized_start=4038 + _globals['_RESPONSEINFO']._serialized_end=4160 + _globals['_RESPONSEINITCHAIN']._serialized_start=4163 + _globals['_RESPONSEINITCHAIN']._serialized_end=4321 + _globals['_RESPONSEQUERY']._serialized_start=4324 + _globals['_RESPONSEQUERY']._serialized_end=4506 + _globals['_RESPONSEBEGINBLOCK']._serialized_start=4508 + _globals['_RESPONSEBEGINBLOCK']._serialized_end=4594 + _globals['_RESPONSECHECKTX']._serialized_start=4597 + _globals['_RESPONSECHECKTX']._serialized_end=4871 + _globals['_RESPONSEDELIVERTX']._serialized_start=4874 + _globals['_RESPONSEDELIVERTX']._serialized_end=5093 + _globals['_RESPONSEENDBLOCK']._serialized_start=5096 + _globals['_RESPONSEENDBLOCK']._serialized_end=5315 + _globals['_RESPONSECOMMIT']._serialized_start=5317 + _globals['_RESPONSECOMMIT']._serialized_end=5370 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=5372 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=5441 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=5444 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=5626 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=5532 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=5626 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=5628 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=5670 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=5673 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=5915 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=5819 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=5915 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=5917 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=5955 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=5958 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=6111 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=6058 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=6111 + _globals['_COMMITINFO']._serialized_start=6113 + _globals['_COMMITINFO']._serialized_end=6188 + _globals['_EXTENDEDCOMMITINFO']._serialized_start=6190 + _globals['_EXTENDEDCOMMITINFO']._serialized_end=6281 + _globals['_EVENT']._serialized_start=6283 + _globals['_EVENT']._serialized_end=6387 + _globals['_EVENTATTRIBUTE']._serialized_start=6389 + _globals['_EVENTATTRIBUTE']._serialized_end=6448 + _globals['_TXRESULT']._serialized_start=6450 + _globals['_TXRESULT']._serialized_end=6561 + _globals['_VALIDATOR']._serialized_start=6563 + _globals['_VALIDATOR']._serialized_end=6606 + _globals['_VALIDATORUPDATE']._serialized_start=6608 + _globals['_VALIDATORUPDATE']._serialized_end=6693 + _globals['_VOTEINFO']._serialized_start=6695 + _globals['_VOTEINFO']._serialized_end=6785 + _globals['_EXTENDEDVOTEINFO']._serialized_start=6787 + _globals['_EXTENDEDVOTEINFO']._serialized_end=6909 + _globals['_MISBEHAVIOR']._serialized_start=6912 + _globals['_MISBEHAVIOR']._serialized_end=7122 + _globals['_SNAPSHOT']._serialized_start=7124 + _globals['_SNAPSHOT']._serialized_end=7214 + _globals['_ABCIAPPLICATION']._serialized_start=7353 + _globals['_ABCIAPPLICATION']._serialized_end=8756 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py index 788fb2bb..24094065 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py @@ -5,9 +5,9 @@ from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 -class ABCIStub(object): - """NOTE: When using custom types, mind the warnings. - https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues +class ABCIApplicationStub(object): + """---------------------------------------- + Service Definition """ @@ -18,90 +18,90 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Echo = channel.unary_unary( - '/tendermint.abci.ABCI/Echo', + '/tendermint.abci.ABCIApplication/Echo', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, ) self.Flush = channel.unary_unary( - '/tendermint.abci.ABCI/Flush', + '/tendermint.abci.ABCIApplication/Flush', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, ) self.Info = channel.unary_unary( - '/tendermint.abci.ABCI/Info', + '/tendermint.abci.ABCIApplication/Info', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, ) + self.DeliverTx = channel.unary_unary( + '/tendermint.abci.ABCIApplication/DeliverTx', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestDeliverTx.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseDeliverTx.FromString, + ) self.CheckTx = channel.unary_unary( - '/tendermint.abci.ABCI/CheckTx', + '/tendermint.abci.ABCIApplication/CheckTx', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, ) self.Query = channel.unary_unary( - '/tendermint.abci.ABCI/Query', + '/tendermint.abci.ABCIApplication/Query', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, ) self.Commit = channel.unary_unary( - '/tendermint.abci.ABCI/Commit', + '/tendermint.abci.ABCIApplication/Commit', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, ) self.InitChain = channel.unary_unary( - '/tendermint.abci.ABCI/InitChain', + '/tendermint.abci.ABCIApplication/InitChain', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, ) + self.BeginBlock = channel.unary_unary( + '/tendermint.abci.ABCIApplication/BeginBlock', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestBeginBlock.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseBeginBlock.FromString, + ) + self.EndBlock = channel.unary_unary( + '/tendermint.abci.ABCIApplication/EndBlock', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEndBlock.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEndBlock.FromString, + ) self.ListSnapshots = channel.unary_unary( - '/tendermint.abci.ABCI/ListSnapshots', + '/tendermint.abci.ABCIApplication/ListSnapshots', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, ) self.OfferSnapshot = channel.unary_unary( - '/tendermint.abci.ABCI/OfferSnapshot', + '/tendermint.abci.ABCIApplication/OfferSnapshot', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, ) self.LoadSnapshotChunk = channel.unary_unary( - '/tendermint.abci.ABCI/LoadSnapshotChunk', + '/tendermint.abci.ABCIApplication/LoadSnapshotChunk', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, ) self.ApplySnapshotChunk = channel.unary_unary( - '/tendermint.abci.ABCI/ApplySnapshotChunk', + '/tendermint.abci.ABCIApplication/ApplySnapshotChunk', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, ) self.PrepareProposal = channel.unary_unary( - '/tendermint.abci.ABCI/PrepareProposal', + '/tendermint.abci.ABCIApplication/PrepareProposal', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, ) self.ProcessProposal = channel.unary_unary( - '/tendermint.abci.ABCI/ProcessProposal', + '/tendermint.abci.ABCIApplication/ProcessProposal', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, ) - self.ExtendVote = channel.unary_unary( - '/tendermint.abci.ABCI/ExtendVote', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, - ) - self.VerifyVoteExtension = channel.unary_unary( - '/tendermint.abci.ABCI/VerifyVoteExtension', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, - ) - self.FinalizeBlock = channel.unary_unary( - '/tendermint.abci.ABCI/FinalizeBlock', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, - ) -class ABCIServicer(object): - """NOTE: When using custom types, mind the warnings. - https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues +class ABCIApplicationServicer(object): + """---------------------------------------- + Service Definition """ @@ -123,86 +123,86 @@ def Info(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def CheckTx(self, request, context): + def DeliverTx(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def Query(self, request, context): + def CheckTx(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def Commit(self, request, context): + def Query(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def InitChain(self, request, context): + def Commit(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def ListSnapshots(self, request, context): + def InitChain(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def OfferSnapshot(self, request, context): + def BeginBlock(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def LoadSnapshotChunk(self, request, context): + def EndBlock(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def ApplySnapshotChunk(self, request, context): + def ListSnapshots(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def PrepareProposal(self, request, context): + def OfferSnapshot(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def ProcessProposal(self, request, context): + def LoadSnapshotChunk(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def ExtendVote(self, request, context): + def ApplySnapshotChunk(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def VerifyVoteExtension(self, request, context): + def PrepareProposal(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def FinalizeBlock(self, request, context): + def ProcessProposal(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') -def add_ABCIServicer_to_server(servicer, server): +def add_ABCIApplicationServicer_to_server(servicer, server): rpc_method_handlers = { 'Echo': grpc.unary_unary_rpc_method_handler( servicer.Echo, @@ -219,6 +219,11 @@ def add_ABCIServicer_to_server(servicer, server): request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.FromString, response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.SerializeToString, ), + 'DeliverTx': grpc.unary_unary_rpc_method_handler( + servicer.DeliverTx, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestDeliverTx.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseDeliverTx.SerializeToString, + ), 'CheckTx': grpc.unary_unary_rpc_method_handler( servicer.CheckTx, request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.FromString, @@ -239,6 +244,16 @@ def add_ABCIServicer_to_server(servicer, server): request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.FromString, response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.SerializeToString, ), + 'BeginBlock': grpc.unary_unary_rpc_method_handler( + servicer.BeginBlock, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestBeginBlock.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseBeginBlock.SerializeToString, + ), + 'EndBlock': grpc.unary_unary_rpc_method_handler( + servicer.EndBlock, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestEndBlock.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseEndBlock.SerializeToString, + ), 'ListSnapshots': grpc.unary_unary_rpc_method_handler( servicer.ListSnapshots, request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.FromString, @@ -269,31 +284,16 @@ def add_ABCIServicer_to_server(servicer, server): request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.FromString, response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.SerializeToString, ), - 'ExtendVote': grpc.unary_unary_rpc_method_handler( - servicer.ExtendVote, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.SerializeToString, - ), - 'VerifyVoteExtension': grpc.unary_unary_rpc_method_handler( - servicer.VerifyVoteExtension, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.SerializeToString, - ), - 'FinalizeBlock': grpc.unary_unary_rpc_method_handler( - servicer.FinalizeBlock, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.abci.ABCI', rpc_method_handlers) + 'tendermint.abci.ABCIApplication', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) # This class is part of an EXPERIMENTAL API. -class ABCI(object): - """NOTE: When using custom types, mind the warnings. - https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues +class ABCIApplication(object): + """---------------------------------------- + Service Definition """ @@ -308,7 +308,7 @@ def Echo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Echo', + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Echo', tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, options, channel_credentials, @@ -325,7 +325,7 @@ def Flush(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Flush', + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Flush', tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, options, channel_credentials, @@ -342,14 +342,14 @@ def Info(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Info', + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Info', tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def CheckTx(request, + def DeliverTx(request, target, options=(), channel_credentials=None, @@ -359,14 +359,14 @@ def CheckTx(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/CheckTx', - tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/DeliverTx', + tendermint_dot_abci_dot_types__pb2.RequestDeliverTx.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseDeliverTx.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def Query(request, + def CheckTx(request, target, options=(), channel_credentials=None, @@ -376,14 +376,14 @@ def Query(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Query', - tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/CheckTx', + tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def Commit(request, + def Query(request, target, options=(), channel_credentials=None, @@ -393,14 +393,14 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Commit', - tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Query', + tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def InitChain(request, + def Commit(request, target, options=(), channel_credentials=None, @@ -410,14 +410,14 @@ def InitChain(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/InitChain', - tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Commit', + tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListSnapshots(request, + def InitChain(request, target, options=(), channel_credentials=None, @@ -427,14 +427,14 @@ def ListSnapshots(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ListSnapshots', - tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/InitChain', + tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def OfferSnapshot(request, + def BeginBlock(request, target, options=(), channel_credentials=None, @@ -444,14 +444,14 @@ def OfferSnapshot(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/OfferSnapshot', - tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/BeginBlock', + tendermint_dot_abci_dot_types__pb2.RequestBeginBlock.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseBeginBlock.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def LoadSnapshotChunk(request, + def EndBlock(request, target, options=(), channel_credentials=None, @@ -461,14 +461,14 @@ def LoadSnapshotChunk(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/LoadSnapshotChunk', - tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/EndBlock', + tendermint_dot_abci_dot_types__pb2.RequestEndBlock.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseEndBlock.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ApplySnapshotChunk(request, + def ListSnapshots(request, target, options=(), channel_credentials=None, @@ -478,14 +478,14 @@ def ApplySnapshotChunk(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ApplySnapshotChunk', - tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/ListSnapshots', + tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def PrepareProposal(request, + def OfferSnapshot(request, target, options=(), channel_credentials=None, @@ -495,14 +495,14 @@ def PrepareProposal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/PrepareProposal', - tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/OfferSnapshot', + tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ProcessProposal(request, + def LoadSnapshotChunk(request, target, options=(), channel_credentials=None, @@ -512,14 +512,14 @@ def ProcessProposal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ProcessProposal', - tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/LoadSnapshotChunk', + tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ExtendVote(request, + def ApplySnapshotChunk(request, target, options=(), channel_credentials=None, @@ -529,14 +529,14 @@ def ExtendVote(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ExtendVote', - tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/ApplySnapshotChunk', + tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def VerifyVoteExtension(request, + def PrepareProposal(request, target, options=(), channel_credentials=None, @@ -546,14 +546,14 @@ def VerifyVoteExtension(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/VerifyVoteExtension', - tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/PrepareProposal', + tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def FinalizeBlock(request, + def ProcessProposal(request, target, options=(), channel_credentials=None, @@ -563,8 +563,8 @@ def FinalizeBlock(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/FinalizeBlock', - tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/ProcessProposal', + tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/blocksync/types_pb2.py b/pyinjective/proto/tendermint/blocksync/types_pb2.py index 7211647e..49da45e5 100644 --- a/pyinjective/proto/tendermint/blocksync/types_pb2.py +++ b/pyinjective/proto/tendermint/blocksync/types_pb2.py @@ -12,10 +12,9 @@ from tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 -from tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/blocksync/types.proto\x12\x14tendermint.blocksync\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"\x1e\n\x0c\x42lockRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"!\n\x0fNoBlockResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\"m\n\rBlockResponse\x12&\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x17.tendermint.types.Block\x12\x34\n\next_commit\x18\x02 \x01(\x0b\x32 .tendermint.types.ExtendedCommit\"\x0f\n\rStatusRequest\".\n\x0eStatusResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61se\x18\x02 \x01(\x03\"\xd0\x02\n\x07Message\x12;\n\rblock_request\x18\x01 \x01(\x0b\x32\".tendermint.blocksync.BlockRequestH\x00\x12\x42\n\x11no_block_response\x18\x02 \x01(\x0b\x32%.tendermint.blocksync.NoBlockResponseH\x00\x12=\n\x0e\x62lock_response\x18\x03 \x01(\x0b\x32#.tendermint.blocksync.BlockResponseH\x00\x12=\n\x0estatus_request\x18\x04 \x01(\x0b\x32#.tendermint.blocksync.StatusRequestH\x00\x12?\n\x0fstatus_response\x18\x05 \x01(\x0b\x32$.tendermint.blocksync.StatusResponseH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/blocksyncb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/blocksync/types.proto\x12\x14tendermint.blocksync\x1a\x1ctendermint/types/block.proto\"\x1e\n\x0c\x42lockRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"!\n\x0fNoBlockResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\"7\n\rBlockResponse\x12&\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x17.tendermint.types.Block\"\x0f\n\rStatusRequest\".\n\x0eStatusResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61se\x18\x02 \x01(\x03\"\xd0\x02\n\x07Message\x12;\n\rblock_request\x18\x01 \x01(\x0b\x32\".tendermint.blocksync.BlockRequestH\x00\x12\x42\n\x11no_block_response\x18\x02 \x01(\x0b\x32%.tendermint.blocksync.NoBlockResponseH\x00\x12=\n\x0e\x62lock_response\x18\x03 \x01(\x0b\x32#.tendermint.blocksync.BlockResponseH\x00\x12=\n\x0estatus_request\x18\x04 \x01(\x0b\x32#.tendermint.blocksync.StatusRequestH\x00\x12?\n\x0fstatus_response\x18\x05 \x01(\x0b\x32$.tendermint.blocksync.StatusResponseH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/blocksyncb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,16 +23,16 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/blocksync' - _globals['_BLOCKREQUEST']._serialized_start=118 - _globals['_BLOCKREQUEST']._serialized_end=148 - _globals['_NOBLOCKRESPONSE']._serialized_start=150 - _globals['_NOBLOCKRESPONSE']._serialized_end=183 - _globals['_BLOCKRESPONSE']._serialized_start=185 - _globals['_BLOCKRESPONSE']._serialized_end=294 - _globals['_STATUSREQUEST']._serialized_start=296 - _globals['_STATUSREQUEST']._serialized_end=311 - _globals['_STATUSRESPONSE']._serialized_start=313 - _globals['_STATUSRESPONSE']._serialized_end=359 - _globals['_MESSAGE']._serialized_start=362 - _globals['_MESSAGE']._serialized_end=698 + _globals['_BLOCKREQUEST']._serialized_start=88 + _globals['_BLOCKREQUEST']._serialized_end=118 + _globals['_NOBLOCKRESPONSE']._serialized_start=120 + _globals['_NOBLOCKRESPONSE']._serialized_end=153 + _globals['_BLOCKRESPONSE']._serialized_start=155 + _globals['_BLOCKRESPONSE']._serialized_end=210 + _globals['_STATUSREQUEST']._serialized_start=212 + _globals['_STATUSREQUEST']._serialized_end=227 + _globals['_STATUSRESPONSE']._serialized_start=229 + _globals['_STATUSRESPONSE']._serialized_end=275 + _globals['_MESSAGE']._serialized_start=278 + _globals['_MESSAGE']._serialized_end=614 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/consensus/types_pb2.py b/pyinjective/proto/tendermint/consensus/types_pb2.py index 8cf67304..2dabf594 100644 --- a/pyinjective/proto/tendermint/consensus/types_pb2.py +++ b/pyinjective/proto/tendermint/consensus/types_pb2.py @@ -16,7 +16,7 @@ from tendermint.libs.bits import types_pb2 as tendermint_dot_libs_dot_bits_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/consensus/types.proto\x12\x14tendermint.consensus\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/libs/bits/types.proto\"x\n\x0cNewRoundStep\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\r\x12 \n\x18seconds_since_start_time\x18\x04 \x01(\x03\x12\x19\n\x11last_commit_round\x18\x05 \x01(\x05\"\xbc\x01\n\rNewValidBlock\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x44\n\x15\x62lock_part_set_header\x18\x03 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\x12\x33\n\x0b\x62lock_parts\x18\x04 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArray\x12\x11\n\tis_commit\x18\x05 \x01(\x08\">\n\x08Proposal\x12\x32\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00\"u\n\x0bProposalPOL\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x1a\n\x12proposal_pol_round\x18\x02 \x01(\x05\x12:\n\x0cproposal_pol\x18\x03 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"V\n\tBlockPart\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12*\n\x04part\x18\x03 \x01(\x0b\x32\x16.tendermint.types.PartB\x04\xc8\xde\x1f\x00\",\n\x04Vote\x12$\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\"f\n\x07HasVote\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\r\n\x05index\x18\x04 \x01(\x05\"D\n\x14HasProposalBlockPart\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\r\n\x05index\x18\x03 \x01(\x05\"\x9a\x01\n\x0cVoteSetMaj23\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\"\xce\x01\n\x0bVoteSetBits\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x33\n\x05votes\x18\x05 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"\xdc\x04\n\x07Message\x12<\n\x0enew_round_step\x18\x01 \x01(\x0b\x32\".tendermint.consensus.NewRoundStepH\x00\x12>\n\x0fnew_valid_block\x18\x02 \x01(\x0b\x32#.tendermint.consensus.NewValidBlockH\x00\x12\x32\n\x08proposal\x18\x03 \x01(\x0b\x32\x1e.tendermint.consensus.ProposalH\x00\x12\x39\n\x0cproposal_pol\x18\x04 \x01(\x0b\x32!.tendermint.consensus.ProposalPOLH\x00\x12\x35\n\nblock_part\x18\x05 \x01(\x0b\x32\x1f.tendermint.consensus.BlockPartH\x00\x12*\n\x04vote\x18\x06 \x01(\x0b\x32\x1a.tendermint.consensus.VoteH\x00\x12\x31\n\x08has_vote\x18\x07 \x01(\x0b\x32\x1d.tendermint.consensus.HasVoteH\x00\x12<\n\x0evote_set_maj23\x18\x08 \x01(\x0b\x32\".tendermint.consensus.VoteSetMaj23H\x00\x12:\n\rvote_set_bits\x18\t \x01(\x0b\x32!.tendermint.consensus.VoteSetBitsH\x00\x12M\n\x17has_proposal_block_part\x18\n \x01(\x0b\x32*.tendermint.consensus.HasProposalBlockPartH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/consensusb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/consensus/types.proto\x12\x14tendermint.consensus\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/libs/bits/types.proto\"x\n\x0cNewRoundStep\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\r\x12 \n\x18seconds_since_start_time\x18\x04 \x01(\x03\x12\x19\n\x11last_commit_round\x18\x05 \x01(\x05\"\xbc\x01\n\rNewValidBlock\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x44\n\x15\x62lock_part_set_header\x18\x03 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\x12\x33\n\x0b\x62lock_parts\x18\x04 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArray\x12\x11\n\tis_commit\x18\x05 \x01(\x08\">\n\x08Proposal\x12\x32\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00\"u\n\x0bProposalPOL\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x1a\n\x12proposal_pol_round\x18\x02 \x01(\x05\x12:\n\x0cproposal_pol\x18\x03 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"V\n\tBlockPart\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12*\n\x04part\x18\x03 \x01(\x0b\x32\x16.tendermint.types.PartB\x04\xc8\xde\x1f\x00\",\n\x04Vote\x12$\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\"f\n\x07HasVote\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\r\n\x05index\x18\x04 \x01(\x05\"\x9a\x01\n\x0cVoteSetMaj23\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\"\xce\x01\n\x0bVoteSetBits\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x33\n\x05votes\x18\x05 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"\x8d\x04\n\x07Message\x12<\n\x0enew_round_step\x18\x01 \x01(\x0b\x32\".tendermint.consensus.NewRoundStepH\x00\x12>\n\x0fnew_valid_block\x18\x02 \x01(\x0b\x32#.tendermint.consensus.NewValidBlockH\x00\x12\x32\n\x08proposal\x18\x03 \x01(\x0b\x32\x1e.tendermint.consensus.ProposalH\x00\x12\x39\n\x0cproposal_pol\x18\x04 \x01(\x0b\x32!.tendermint.consensus.ProposalPOLH\x00\x12\x35\n\nblock_part\x18\x05 \x01(\x0b\x32\x1f.tendermint.consensus.BlockPartH\x00\x12*\n\x04vote\x18\x06 \x01(\x0b\x32\x1a.tendermint.consensus.VoteH\x00\x12\x31\n\x08has_vote\x18\x07 \x01(\x0b\x32\x1d.tendermint.consensus.HasVoteH\x00\x12<\n\x0evote_set_maj23\x18\x08 \x01(\x0b\x32\".tendermint.consensus.VoteSetMaj23H\x00\x12:\n\rvote_set_bits\x18\t \x01(\x0b\x32!.tendermint.consensus.VoteSetBitsH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/consensusb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -53,12 +53,10 @@ _globals['_VOTE']._serialized_end=772 _globals['_HASVOTE']._serialized_start=774 _globals['_HASVOTE']._serialized_end=876 - _globals['_HASPROPOSALBLOCKPART']._serialized_start=878 - _globals['_HASPROPOSALBLOCKPART']._serialized_end=946 - _globals['_VOTESETMAJ23']._serialized_start=949 - _globals['_VOTESETMAJ23']._serialized_end=1103 - _globals['_VOTESETBITS']._serialized_start=1106 - _globals['_VOTESETBITS']._serialized_end=1312 - _globals['_MESSAGE']._serialized_start=1315 - _globals['_MESSAGE']._serialized_end=1919 + _globals['_VOTESETMAJ23']._serialized_start=879 + _globals['_VOTESETMAJ23']._serialized_end=1033 + _globals['_VOTESETBITS']._serialized_start=1036 + _globals['_VOTESETBITS']._serialized_end=1242 + _globals['_MESSAGE']._serialized_start=1245 + _globals['_MESSAGE']._serialized_end=1770 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/rpc/grpc/types_pb2.py b/pyinjective/proto/tendermint/rpc/grpc/types_pb2.py new file mode 100644 index 00000000..a4874a82 --- /dev/null +++ b/pyinjective/proto/tendermint/rpc/grpc/types_pb2.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/rpc/grpc/types.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ftendermint/rpc/grpc/types.proto\x12\x13tendermint.rpc.grpc\x1a\x1btendermint/abci/types.proto\"\r\n\x0bRequestPing\" \n\x12RequestBroadcastTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\"\x0e\n\x0cResponsePing\"\x81\x01\n\x13ResponseBroadcastTx\x12\x32\n\x08\x63heck_tx\x18\x01 \x01(\x0b\x32 .tendermint.abci.ResponseCheckTx\x12\x36\n\ndeliver_tx\x18\x02 \x01(\x0b\x32\".tendermint.abci.ResponseDeliverTx2\xbd\x01\n\x0c\x42roadcastAPI\x12K\n\x04Ping\x12 .tendermint.rpc.grpc.RequestPing\x1a!.tendermint.rpc.grpc.ResponsePing\x12`\n\x0b\x42roadcastTx\x12\'.tendermint.rpc.grpc.RequestBroadcastTx\x1a(.tendermint.rpc.grpc.ResponseBroadcastTxB0Z.github.com/cometbft/cometbft/rpc/grpc;coregrpcb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.rpc.grpc.types_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z.github.com/cometbft/cometbft/rpc/grpc;coregrpc' + _globals['_REQUESTPING']._serialized_start=85 + _globals['_REQUESTPING']._serialized_end=98 + _globals['_REQUESTBROADCASTTX']._serialized_start=100 + _globals['_REQUESTBROADCASTTX']._serialized_end=132 + _globals['_RESPONSEPING']._serialized_start=134 + _globals['_RESPONSEPING']._serialized_end=148 + _globals['_RESPONSEBROADCASTTX']._serialized_start=151 + _globals['_RESPONSEBROADCASTTX']._serialized_end=280 + _globals['_BROADCASTAPI']._serialized_start=283 + _globals['_BROADCASTAPI']._serialized_end=472 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/rpc/grpc/types_pb2_grpc.py b/pyinjective/proto/tendermint/rpc/grpc/types_pb2_grpc.py new file mode 100644 index 00000000..25950d5c --- /dev/null +++ b/pyinjective/proto/tendermint/rpc/grpc/types_pb2_grpc.py @@ -0,0 +1,108 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from tendermint.rpc.grpc import types_pb2 as tendermint_dot_rpc_dot_grpc_dot_types__pb2 + + +class BroadcastAPIStub(object): + """---------------------------------------- + Service Definition + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Ping = channel.unary_unary( + '/tendermint.rpc.grpc.BroadcastAPI/Ping', + request_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestPing.SerializeToString, + response_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponsePing.FromString, + ) + self.BroadcastTx = channel.unary_unary( + '/tendermint.rpc.grpc.BroadcastAPI/BroadcastTx', + request_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestBroadcastTx.SerializeToString, + response_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponseBroadcastTx.FromString, + ) + + +class BroadcastAPIServicer(object): + """---------------------------------------- + Service Definition + + """ + + def Ping(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BroadcastTx(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_BroadcastAPIServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Ping': grpc.unary_unary_rpc_method_handler( + servicer.Ping, + request_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestPing.FromString, + response_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponsePing.SerializeToString, + ), + 'BroadcastTx': grpc.unary_unary_rpc_method_handler( + servicer.BroadcastTx, + request_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestBroadcastTx.FromString, + response_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponseBroadcastTx.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'tendermint.rpc.grpc.BroadcastAPI', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class BroadcastAPI(object): + """---------------------------------------- + Service Definition + + """ + + @staticmethod + def Ping(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.rpc.grpc.BroadcastAPI/Ping', + tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestPing.SerializeToString, + tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponsePing.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def BroadcastTx(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.rpc.grpc.BroadcastAPI/BroadcastTx', + tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestBroadcastTx.SerializeToString, + tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponseBroadcastTx.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_pb2.py b/pyinjective/proto/tendermint/services/block/v1/block_pb2.py deleted file mode 100644 index 7f25f3f4..00000000 --- a/pyinjective/proto/tendermint/services/block/v1/block_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/block/v1/block.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 -from tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(tendermint/services/block/v1/block.proto\x12\x1ctendermint.services.block.v1\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"$\n\x12GetByHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"j\n\x13GetByHeightResponse\x12+\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockID\x12&\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.Block\"\x12\n\x10GetLatestRequest\"h\n\x11GetLatestResponse\x12+\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockID\x12&\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.Block\"\x18\n\x16GetLatestHeightRequest\")\n\x17GetLatestHeightResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x42\x41Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block.v1.block_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1' - _globals['_GETBYHEIGHTREQUEST']._serialized_start=134 - _globals['_GETBYHEIGHTREQUEST']._serialized_end=170 - _globals['_GETBYHEIGHTRESPONSE']._serialized_start=172 - _globals['_GETBYHEIGHTRESPONSE']._serialized_end=278 - _globals['_GETLATESTREQUEST']._serialized_start=280 - _globals['_GETLATESTREQUEST']._serialized_end=298 - _globals['_GETLATESTRESPONSE']._serialized_start=300 - _globals['_GETLATESTRESPONSE']._serialized_end=404 - _globals['_GETLATESTHEIGHTREQUEST']._serialized_start=406 - _globals['_GETLATESTHEIGHTREQUEST']._serialized_end=430 - _globals['_GETLATESTHEIGHTRESPONSE']._serialized_start=432 - _globals['_GETLATESTHEIGHTRESPONSE']._serialized_end=473 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py deleted file mode 100644 index 3d5428ad..00000000 --- a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/block/v1/block_service.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.services.block.v1 import block_pb2 as tendermint_dot_services_dot_block_dot_v1_dot_block__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0tendermint/services/block/v1/block_service.proto\x12\x1ctendermint.services.block.v1\x1a(tendermint/services/block/v1/block.proto2\xf3\x02\n\x0c\x42lockService\x12r\n\x0bGetByHeight\x12\x30.tendermint.services.block.v1.GetByHeightRequest\x1a\x31.tendermint.services.block.v1.GetByHeightResponse\x12l\n\tGetLatest\x12..tendermint.services.block.v1.GetLatestRequest\x1a/.tendermint.services.block.v1.GetLatestResponse\x12\x80\x01\n\x0fGetLatestHeight\x12\x34.tendermint.services.block.v1.GetLatestHeightRequest\x1a\x35.tendermint.services.block.v1.GetLatestHeightResponse0\x01\x42\x41Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block.v1.block_service_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1' - _globals['_BLOCKSERVICE']._serialized_start=125 - _globals['_BLOCKSERVICE']._serialized_end=496 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py deleted file mode 100644 index 4e204eb6..00000000 --- a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py +++ /dev/null @@ -1,141 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from tendermint.services.block.v1 import block_pb2 as tendermint_dot_services_dot_block_dot_v1_dot_block__pb2 - - -class BlockServiceStub(object): - """BlockService provides information about blocks - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetByHeight = channel.unary_unary( - '/tendermint.services.block.v1.BlockService/GetByHeight', - request_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightResponse.FromString, - ) - self.GetLatest = channel.unary_unary( - '/tendermint.services.block.v1.BlockService/GetLatest', - request_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestResponse.FromString, - ) - self.GetLatestHeight = channel.unary_stream( - '/tendermint.services.block.v1.BlockService/GetLatestHeight', - request_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightResponse.FromString, - ) - - -class BlockServiceServicer(object): - """BlockService provides information about blocks - """ - - def GetByHeight(self, request, context): - """GetBlock retrieves the block information at a particular height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetLatest(self, request, context): - """GetLatest retrieves the latest block. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetLatestHeight(self, request, context): - """GetLatestHeight returns a stream of the latest block heights committed by - the network. This is a long-lived stream that is only terminated by the - server if an error occurs. The caller is expected to handle such - disconnections and automatically reconnect. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_BlockServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetByHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetByHeight, - request_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightResponse.SerializeToString, - ), - 'GetLatest': grpc.unary_unary_rpc_method_handler( - servicer.GetLatest, - request_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestRequest.FromString, - response_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestResponse.SerializeToString, - ), - 'GetLatestHeight': grpc.unary_stream_rpc_method_handler( - servicer.GetLatestHeight, - request_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.services.block.v1.BlockService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class BlockService(object): - """BlockService provides information about blocks - """ - - @staticmethod - def GetByHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.block.v1.BlockService/GetByHeight', - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightRequest.SerializeToString, - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetLatest(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.block.v1.BlockService/GetLatest', - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestRequest.SerializeToString, - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetLatestHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/tendermint.services.block.v1.BlockService/GetLatestHeight', - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightRequest.SerializeToString, - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py deleted file mode 100644 index bda9a9d6..00000000 --- a/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/block_results/v1/block_results.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 -from tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8tendermint/services/block_results/v1/block_results.proto\x12$tendermint.services.block_results.v1\x1a\x1btendermint/abci/types.proto\x1a\x1dtendermint/types/params.proto\"(\n\x16GetBlockResultsRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"\x1e\n\x1cGetLatestBlockResultsRequest\"\xa7\x02\n\x17GetBlockResultsResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x32\n\x0btxs_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x35\n\x15\x66inalize_block_events\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.Event\x12;\n\x11validator_updates\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdate\x12\x42\n\x17\x63onsensus_param_updates\x18\x05 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12\x10\n\x08\x61pp_hash\x18\x06 \x01(\x0c\x42IZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block_results.v1.block_results_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1' - _globals['_GETBLOCKRESULTSREQUEST']._serialized_start=158 - _globals['_GETBLOCKRESULTSREQUEST']._serialized_end=198 - _globals['_GETLATESTBLOCKRESULTSREQUEST']._serialized_start=200 - _globals['_GETLATESTBLOCKRESULTSREQUEST']._serialized_end=230 - _globals['_GETBLOCKRESULTSRESPONSE']._serialized_start=233 - _globals['_GETBLOCKRESULTSRESPONSE']._serialized_end=528 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py deleted file mode 100644 index 37d3214f..00000000 --- a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/block_results/v1/block_results_service.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.services.block_results.v1 import block_results_pb2 as tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@tendermint/services/block_results/v1/block_results_service.proto\x12$tendermint.services.block_results.v1\x1a\x38tendermint/services/block_results/v1/block_results.proto2\xc3\x02\n\x13\x42lockResultsService\x12\x8e\x01\n\x0fGetBlockResults\x12<.tendermint.services.block_results.v1.GetBlockResultsRequest\x1a=.tendermint.services.block_results.v1.GetBlockResultsResponse\x12\x9a\x01\n\x15GetLatestBlockResults\x12\x42.tendermint.services.block_results.v1.GetLatestBlockResultsRequest\x1a=.tendermint.services.block_results.v1.GetBlockResultsResponseBIZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block_results.v1.block_results_service_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1' - _globals['_BLOCKRESULTSSERVICE']._serialized_start=165 - _globals['_BLOCKRESULTSSERVICE']._serialized_end=488 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py deleted file mode 100644 index 12b3e5da..00000000 --- a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py +++ /dev/null @@ -1,107 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from tendermint.services.block_results.v1 import block_results_pb2 as tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2 - - -class BlockResultsServiceStub(object): - """ - BlockResultService provides the block results of a given or latestheight. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetBlockResults = channel.unary_unary( - '/tendermint.services.block_results.v1.BlockResultsService/GetBlockResults', - request_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, - ) - self.GetLatestBlockResults = channel.unary_unary( - '/tendermint.services.block_results.v1.BlockResultsService/GetLatestBlockResults', - request_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetLatestBlockResultsRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, - ) - - -class BlockResultsServiceServicer(object): - """ - BlockResultService provides the block results of a given or latestheight. - """ - - def GetBlockResults(self, request, context): - """GetBlockResults returns the BlockResults of the requested height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetLatestBlockResults(self, request, context): - """GetLatestBlockResults returns the BlockResults of the latest committed height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_BlockResultsServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetBlockResults': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockResults, - request_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsRequest.FromString, - response_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.SerializeToString, - ), - 'GetLatestBlockResults': grpc.unary_unary_rpc_method_handler( - servicer.GetLatestBlockResults, - request_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetLatestBlockResultsRequest.FromString, - response_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.services.block_results.v1.BlockResultsService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class BlockResultsService(object): - """ - BlockResultService provides the block results of a given or latestheight. - """ - - @staticmethod - def GetBlockResults(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.block_results.v1.BlockResultsService/GetBlockResults', - tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsRequest.SerializeToString, - tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetLatestBlockResults(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.block_results.v1.BlockResultsService/GetLatestBlockResults', - tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetLatestBlockResultsRequest.SerializeToString, - tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py b/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py deleted file mode 100644 index 8f0a166f..00000000 --- a/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/pruning/v1/pruning.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,tendermint/services/pruning/v1/pruning.proto\x12\x1etendermint.services.pruning.v1\"-\n\x1bSetBlockRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"\x1e\n\x1cSetBlockRetainHeightResponse\"\x1d\n\x1bGetBlockRetainHeightRequest\"`\n\x1cGetBlockRetainHeightResponse\x12\x19\n\x11\x61pp_retain_height\x18\x01 \x01(\x04\x12%\n\x1dpruning_service_retain_height\x18\x02 \x01(\x04\"4\n\"SetBlockResultsRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"%\n#SetBlockResultsRetainHeightResponse\"$\n\"GetBlockResultsRetainHeightRequest\"L\n#GetBlockResultsRetainHeightResponse\x12%\n\x1dpruning_service_retain_height\x18\x01 \x01(\x04\"1\n\x1fSetTxIndexerRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"\"\n SetTxIndexerRetainHeightResponse\"!\n\x1fGetTxIndexerRetainHeightRequest\"2\n GetTxIndexerRetainHeightResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\"4\n\"SetBlockIndexerRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"%\n#SetBlockIndexerRetainHeightResponse\"$\n\"GetBlockIndexerRetainHeightRequest\"5\n#GetBlockIndexerRetainHeightResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.pruning.v1.pruning_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _globals['_SETBLOCKRETAINHEIGHTREQUEST']._serialized_start=80 - _globals['_SETBLOCKRETAINHEIGHTREQUEST']._serialized_end=125 - _globals['_SETBLOCKRETAINHEIGHTRESPONSE']._serialized_start=127 - _globals['_SETBLOCKRETAINHEIGHTRESPONSE']._serialized_end=157 - _globals['_GETBLOCKRETAINHEIGHTREQUEST']._serialized_start=159 - _globals['_GETBLOCKRETAINHEIGHTREQUEST']._serialized_end=188 - _globals['_GETBLOCKRETAINHEIGHTRESPONSE']._serialized_start=190 - _globals['_GETBLOCKRETAINHEIGHTRESPONSE']._serialized_end=286 - _globals['_SETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_start=288 - _globals['_SETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_end=340 - _globals['_SETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_start=342 - _globals['_SETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_end=379 - _globals['_GETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_start=381 - _globals['_GETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_end=417 - _globals['_GETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_start=419 - _globals['_GETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_end=495 - _globals['_SETTXINDEXERRETAINHEIGHTREQUEST']._serialized_start=497 - _globals['_SETTXINDEXERRETAINHEIGHTREQUEST']._serialized_end=546 - _globals['_SETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_start=548 - _globals['_SETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_end=582 - _globals['_GETTXINDEXERRETAINHEIGHTREQUEST']._serialized_start=584 - _globals['_GETTXINDEXERRETAINHEIGHTREQUEST']._serialized_end=617 - _globals['_GETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_start=619 - _globals['_GETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_end=669 - _globals['_SETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_start=671 - _globals['_SETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_end=723 - _globals['_SETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_start=725 - _globals['_SETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_end=762 - _globals['_GETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_start=764 - _globals['_GETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_end=800 - _globals['_GETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_start=802 - _globals['_GETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_end=855 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py deleted file mode 100644 index 32f20cb6..00000000 --- a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/pruning/v1/service.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.services.pruning.v1 import pruning_pb2 as tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,tendermint/services/pruning/v1/service.proto\x12\x1etendermint.services.pruning.v1\x1a,tendermint/services/pruning/v1/pruning.proto2\x9c\n\n\x0ePruningService\x12\x91\x01\n\x14SetBlockRetainHeight\x12;.tendermint.services.pruning.v1.SetBlockRetainHeightRequest\x1a<.tendermint.services.pruning.v1.SetBlockRetainHeightResponse\x12\x91\x01\n\x14GetBlockRetainHeight\x12;.tendermint.services.pruning.v1.GetBlockRetainHeightRequest\x1a<.tendermint.services.pruning.v1.GetBlockRetainHeightResponse\x12\xa6\x01\n\x1bSetBlockResultsRetainHeight\x12\x42.tendermint.services.pruning.v1.SetBlockResultsRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.SetBlockResultsRetainHeightResponse\x12\xa6\x01\n\x1bGetBlockResultsRetainHeight\x12\x42.tendermint.services.pruning.v1.GetBlockResultsRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.GetBlockResultsRetainHeightResponse\x12\x9d\x01\n\x18SetTxIndexerRetainHeight\x12?.tendermint.services.pruning.v1.SetTxIndexerRetainHeightRequest\x1a@.tendermint.services.pruning.v1.SetTxIndexerRetainHeightResponse\x12\x9d\x01\n\x18GetTxIndexerRetainHeight\x12?.tendermint.services.pruning.v1.GetTxIndexerRetainHeightRequest\x1a@.tendermint.services.pruning.v1.GetTxIndexerRetainHeightResponse\x12\xa6\x01\n\x1bSetBlockIndexerRetainHeight\x12\x42.tendermint.services.pruning.v1.SetBlockIndexerRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.SetBlockIndexerRetainHeightResponse\x12\xa6\x01\n\x1bGetBlockIndexerRetainHeight\x12\x42.tendermint.services.pruning.v1.GetBlockIndexerRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.GetBlockIndexerRetainHeightResponseb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.pruning.v1.service_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _globals['_PRUNINGSERVICE']._serialized_start=127 - _globals['_PRUNINGSERVICE']._serialized_end=1435 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py deleted file mode 100644 index 1f680821..00000000 --- a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py +++ /dev/null @@ -1,326 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from tendermint.services.pruning.v1 import pruning_pb2 as tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2 - - -class PruningServiceStub(object): - """PruningService provides privileged access to specialized pruning - functionality on the CometBFT node to help control node storage. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.SetBlockRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/SetBlockRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightResponse.FromString, - ) - self.GetBlockRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/GetBlockRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightResponse.FromString, - ) - self.SetBlockResultsRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/SetBlockResultsRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightResponse.FromString, - ) - self.GetBlockResultsRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/GetBlockResultsRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightResponse.FromString, - ) - self.SetTxIndexerRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/SetTxIndexerRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightResponse.FromString, - ) - self.GetTxIndexerRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/GetTxIndexerRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightResponse.FromString, - ) - self.SetBlockIndexerRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/SetBlockIndexerRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightResponse.FromString, - ) - self.GetBlockIndexerRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/GetBlockIndexerRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightResponse.FromString, - ) - - -class PruningServiceServicer(object): - """PruningService provides privileged access to specialized pruning - functionality on the CometBFT node to help control node storage. - """ - - def SetBlockRetainHeight(self, request, context): - """SetBlockRetainHeightRequest indicates to the node that it can safely - prune all block data up to the specified retain height. - - The lower of this retain height and that set by the application in its - Commit response will be used by the node to determine which heights' data - can be pruned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBlockRetainHeight(self, request, context): - """GetBlockRetainHeight returns information about the retain height - parameters used by the node to influence block retention/pruning. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SetBlockResultsRetainHeight(self, request, context): - """SetBlockResultsRetainHeightRequest indicates to the node that it can - safely prune all block results data up to the specified height. - - The node will always store the block results for the latest height to - help facilitate crash recovery. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBlockResultsRetainHeight(self, request, context): - """GetBlockResultsRetainHeight returns information about the retain height - parameters used by the node to influence block results retention/pruning. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SetTxIndexerRetainHeight(self, request, context): - """SetTxIndexerRetainHeightRequest indicates to the node that it can safely - prune all tx indices up to the specified retain height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTxIndexerRetainHeight(self, request, context): - """GetTxIndexerRetainHeight returns information about the retain height - parameters used by the node to influence TxIndexer pruning - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SetBlockIndexerRetainHeight(self, request, context): - """SetBlockIndexerRetainHeightRequest indicates to the node that it can safely - prune all block indices up to the specified retain height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBlockIndexerRetainHeight(self, request, context): - """GetBlockIndexerRetainHeight returns information about the retain height - parameters used by the node to influence BlockIndexer pruning - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PruningServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'SetBlockRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.SetBlockRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightResponse.SerializeToString, - ), - 'GetBlockRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightResponse.SerializeToString, - ), - 'SetBlockResultsRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.SetBlockResultsRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightResponse.SerializeToString, - ), - 'GetBlockResultsRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockResultsRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightResponse.SerializeToString, - ), - 'SetTxIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.SetTxIndexerRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightResponse.SerializeToString, - ), - 'GetTxIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetTxIndexerRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightResponse.SerializeToString, - ), - 'SetBlockIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.SetBlockIndexerRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightResponse.SerializeToString, - ), - 'GetBlockIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockIndexerRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.services.pruning.v1.PruningService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PruningService(object): - """PruningService provides privileged access to specialized pruning - functionality on the CometBFT node to help control node storage. - """ - - @staticmethod - def SetBlockRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetBlockRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBlockRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetBlockRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SetBlockResultsRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetBlockResultsRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBlockResultsRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetBlockResultsRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SetTxIndexerRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetTxIndexerRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetTxIndexerRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetTxIndexerRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SetBlockIndexerRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetBlockIndexerRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBlockIndexerRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetBlockIndexerRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/services/version/v1/version_pb2.py b/pyinjective/proto/tendermint/services/version/v1/version_pb2.py deleted file mode 100644 index 8d6d2b53..00000000 --- a/pyinjective/proto/tendermint/services/version/v1/version_pb2.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/version/v1/version.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,tendermint/services/version/v1/version.proto\x12\x1etendermint.services.version.v1\"\x13\n\x11GetVersionRequest\"L\n\x12GetVersionResponse\x12\x0c\n\x04node\x18\x01 \x01(\t\x12\x0c\n\x04\x61\x62\x63i\x18\x02 \x01(\t\x12\x0b\n\x03p2p\x18\x03 \x01(\x04\x12\r\n\x05\x62lock\x18\x04 \x01(\x04\x42\x43ZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.version.v1.version_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1' - _globals['_GETVERSIONREQUEST']._serialized_start=80 - _globals['_GETVERSIONREQUEST']._serialized_end=99 - _globals['_GETVERSIONRESPONSE']._serialized_start=101 - _globals['_GETVERSIONRESPONSE']._serialized_end=177 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py deleted file mode 100644 index 29d57e42..00000000 --- a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/version/v1/version_service.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.services.version.v1 import version_pb2 as tendermint_dot_services_dot_version_dot_v1_dot_version__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4tendermint/services/version/v1/version_service.proto\x12\x1etendermint.services.version.v1\x1a,tendermint/services/version/v1/version.proto2\x85\x01\n\x0eVersionService\x12s\n\nGetVersion\x12\x31.tendermint.services.version.v1.GetVersionRequest\x1a\x32.tendermint.services.version.v1.GetVersionResponseBCZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.version.v1.version_service_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1' - _globals['_VERSIONSERVICE']._serialized_start=135 - _globals['_VERSIONSERVICE']._serialized_end=268 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py deleted file mode 100644 index 4fa841b2..00000000 --- a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py +++ /dev/null @@ -1,89 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from tendermint.services.version.v1 import version_pb2 as tendermint_dot_services_dot_version_dot_v1_dot_version__pb2 - - -class VersionServiceStub(object): - """VersionService simply provides version information about the node and the - protocols it uses. - - The intention with this service is to offer a stable interface through which - clients can access version information. This means that the version of the - service should be kept stable at v1, with GetVersionResponse evolving only - in non-breaking ways. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetVersion = channel.unary_unary( - '/tendermint.services.version.v1.VersionService/GetVersion', - request_serializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionResponse.FromString, - ) - - -class VersionServiceServicer(object): - """VersionService simply provides version information about the node and the - protocols it uses. - - The intention with this service is to offer a stable interface through which - clients can access version information. This means that the version of the - service should be kept stable at v1, with GetVersionResponse evolving only - in non-breaking ways. - """ - - def GetVersion(self, request, context): - """GetVersion retrieves version information about the node and the protocols - it implements. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_VersionServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetVersion': grpc.unary_unary_rpc_method_handler( - servicer.GetVersion, - request_deserializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionRequest.FromString, - response_serializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.services.version.v1.VersionService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class VersionService(object): - """VersionService simply provides version information about the node and the - protocols it uses. - - The intention with this service is to offer a stable interface through which - clients can access version information. This means that the version of the - service should be kept stable at v1, with GetVersionResponse evolving only - in non-breaking ways. - """ - - @staticmethod - def GetVersion(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.version.v1.VersionService/GetVersion', - tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionRequest.SerializeToString, - tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/state/types_pb2.py b/pyinjective/proto/tendermint/state/types_pb2.py index dcb7fd4e..c022c7cd 100644 --- a/pyinjective/proto/tendermint/state/types_pb2.py +++ b/pyinjective/proto/tendermint/state/types_pb2.py @@ -20,7 +20,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/state/types.proto\x12\x10tendermint.state\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\x1a\x1dtendermint/types/params.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbb\x01\n\x13LegacyABCIResponses\x12\x32\n\x0b\x64\x65liver_txs\x18\x01 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x35\n\tend_block\x18\x02 \x01(\x0b\x32\".tendermint.state.ResponseEndBlock\x12\x39\n\x0b\x62\x65gin_block\x18\x03 \x01(\x0b\x32$.tendermint.state.ResponseBeginBlock\"V\n\x12ResponseBeginBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"\xdb\x01\n\x10ResponseEndBlock\x12\x41\n\x11validator_updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x02 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12@\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"d\n\x0eValidatorsInfo\x12\x35\n\rvalidator_set\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"u\n\x13\x43onsensusParamsInfo\x12\x41\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"\xb2\x01\n\x11\x41\x42\x43IResponsesInfo\x12\x44\n\x15legacy_abci_responses\x18\x01 \x01(\x0b\x32%.tendermint.state.LegacyABCIResponses\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12G\n\x17response_finalize_block\x18\x03 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlock\"S\n\x07Version\x12\x36\n\tconsensus\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x10\n\x08software\x18\x02 \x01(\t\"\xfd\x04\n\x05State\x12\x30\n\x07version\x18\x01 \x01(\x0b\x32\x19.tendermint.state.VersionB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x16\n\x0einitial_height\x18\x0e \x01(\x03\x12\x19\n\x11last_block_height\x18\x03 \x01(\x03\x12\x45\n\rlast_block_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x13\xc8\xde\x1f\x00\xe2\xde\x1f\x0bLastBlockID\x12=\n\x0flast_block_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x37\n\x0fnext_validators\x18\x06 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x32\n\nvalidators\x18\x07 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x37\n\x0flast_validators\x18\x08 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12&\n\x1elast_height_validators_changed\x18\t \x01(\x03\x12\x41\n\x10\x63onsensus_params\x18\n \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12,\n$last_height_consensus_params_changed\x18\x0b \x01(\x03\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\r \x01(\x0c\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/stateb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/state/types.proto\x12\x10tendermint.state\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\x1a\x1dtendermint/types/params.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb8\x01\n\rABCIResponses\x12\x37\n\x0b\x64\x65liver_txs\x18\x01 \x03(\x0b\x32\".tendermint.abci.ResponseDeliverTx\x12\x34\n\tend_block\x18\x02 \x01(\x0b\x32!.tendermint.abci.ResponseEndBlock\x12\x38\n\x0b\x62\x65gin_block\x18\x03 \x01(\x0b\x32#.tendermint.abci.ResponseBeginBlock\"d\n\x0eValidatorsInfo\x12\x35\n\rvalidator_set\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"u\n\x13\x43onsensusParamsInfo\x12\x41\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"\\\n\x11\x41\x42\x43IResponsesInfo\x12\x37\n\x0e\x61\x62\x63i_responses\x18\x01 \x01(\x0b\x32\x1f.tendermint.state.ABCIResponses\x12\x0e\n\x06height\x18\x02 \x01(\x03\"S\n\x07Version\x12\x36\n\tconsensus\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x10\n\x08software\x18\x02 \x01(\t\"\xfd\x04\n\x05State\x12\x30\n\x07version\x18\x01 \x01(\x0b\x32\x19.tendermint.state.VersionB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x16\n\x0einitial_height\x18\x0e \x01(\x03\x12\x19\n\x11last_block_height\x18\x03 \x01(\x03\x12\x45\n\rlast_block_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x13\xc8\xde\x1f\x00\xe2\xde\x1f\x0bLastBlockID\x12=\n\x0flast_block_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x37\n\x0fnext_validators\x18\x06 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x32\n\nvalidators\x18\x07 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x37\n\x0flast_validators\x18\x08 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12&\n\x1elast_height_validators_changed\x18\t \x01(\x03\x12\x41\n\x10\x63onsensus_params\x18\n \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12,\n$last_height_consensus_params_changed\x18\x0b \x01(\x03\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\r \x01(\x0c\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/stateb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -29,12 +29,6 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/state' - _RESPONSEBEGINBLOCK.fields_by_name['events']._options = None - _RESPONSEBEGINBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _RESPONSEENDBLOCK.fields_by_name['validator_updates']._options = None - _RESPONSEENDBLOCK.fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' - _RESPONSEENDBLOCK.fields_by_name['events']._options = None - _RESPONSEENDBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' _CONSENSUSPARAMSINFO.fields_by_name['consensus_params']._options = None _CONSENSUSPARAMSINFO.fields_by_name['consensus_params']._serialized_options = b'\310\336\037\000' _VERSION.fields_by_name['consensus']._options = None @@ -49,20 +43,16 @@ _STATE.fields_by_name['last_block_time']._serialized_options = b'\310\336\037\000\220\337\037\001' _STATE.fields_by_name['consensus_params']._options = None _STATE.fields_by_name['consensus_params']._serialized_options = b'\310\336\037\000' - _globals['_LEGACYABCIRESPONSES']._serialized_start=262 - _globals['_LEGACYABCIRESPONSES']._serialized_end=449 - _globals['_RESPONSEBEGINBLOCK']._serialized_start=451 - _globals['_RESPONSEBEGINBLOCK']._serialized_end=537 - _globals['_RESPONSEENDBLOCK']._serialized_start=540 - _globals['_RESPONSEENDBLOCK']._serialized_end=759 - _globals['_VALIDATORSINFO']._serialized_start=761 - _globals['_VALIDATORSINFO']._serialized_end=861 - _globals['_CONSENSUSPARAMSINFO']._serialized_start=863 - _globals['_CONSENSUSPARAMSINFO']._serialized_end=980 - _globals['_ABCIRESPONSESINFO']._serialized_start=983 - _globals['_ABCIRESPONSESINFO']._serialized_end=1161 - _globals['_VERSION']._serialized_start=1163 - _globals['_VERSION']._serialized_end=1246 - _globals['_STATE']._serialized_start=1249 - _globals['_STATE']._serialized_end=1886 + _globals['_ABCIRESPONSES']._serialized_start=262 + _globals['_ABCIRESPONSES']._serialized_end=446 + _globals['_VALIDATORSINFO']._serialized_start=448 + _globals['_VALIDATORSINFO']._serialized_end=548 + _globals['_CONSENSUSPARAMSINFO']._serialized_start=550 + _globals['_CONSENSUSPARAMSINFO']._serialized_end=667 + _globals['_ABCIRESPONSESINFO']._serialized_start=669 + _globals['_ABCIRESPONSESINFO']._serialized_end=761 + _globals['_VERSION']._serialized_start=763 + _globals['_VERSION']._serialized_end=846 + _globals['_STATE']._serialized_start=849 + _globals['_STATE']._serialized_end=1486 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/canonical_pb2.py b/pyinjective/proto/tendermint/types/canonical_pb2.py index 9b458430..d83e84e3 100644 --- a/pyinjective/proto/tendermint/types/canonical_pb2.py +++ b/pyinjective/proto/tendermint/types/canonical_pb2.py @@ -16,7 +16,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/canonical.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"i\n\x10\x43\x61nonicalBlockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12G\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32(.tendermint.types.CanonicalPartSetHeaderB\x04\xc8\xde\x1f\x00\"5\n\x16\x43\x61nonicalPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"\x9d\x02\n\x11\x43\x61nonicalProposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x1f\n\tpol_round\x18\x04 \x01(\x03\x42\x0c\xe2\xde\x1f\x08POLRound\x12\x41\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x07 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\"\xf8\x01\n\rCanonicalVote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x41\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x06 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\"\\\n\x16\x43\x61nonicalVoteExtension\x12\x11\n\textension\x18\x01 \x01(\x0c\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x10\n\x08\x63hain_id\x18\x04 \x01(\tB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/canonical.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"i\n\x10\x43\x61nonicalBlockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12G\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32(.tendermint.types.CanonicalPartSetHeaderB\x04\xc8\xde\x1f\x00\"5\n\x16\x43\x61nonicalPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"\x9d\x02\n\x11\x43\x61nonicalProposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x1f\n\tpol_round\x18\x04 \x01(\x03\x42\x0c\xe2\xde\x1f\x08POLRound\x12\x41\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x07 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\"\xf8\x01\n\rCanonicalVote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x41\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x06 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -49,6 +49,4 @@ _globals['_CANONICALPROPOSAL']._serialized_end=587 _globals['_CANONICALVOTE']._serialized_start=590 _globals['_CANONICALVOTE']._serialized_end=838 - _globals['_CANONICALVOTEEXTENSION']._serialized_start=840 - _globals['_CANONICALVOTEEXTENSION']._serialized_end=932 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/params_pb2.py b/pyinjective/proto/tendermint/types/params_pb2.py index 15f9d769..69bc2c14 100644 --- a/pyinjective/proto/tendermint/types/params_pb2.py +++ b/pyinjective/proto/tendermint/types/params_pb2.py @@ -15,7 +15,7 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\"\x87\x02\n\x0f\x43onsensusParams\x12,\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParams\x12\x32\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParams\x12\x34\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParams\x12\x30\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParams\x12*\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParams\"7\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03J\x04\x08\x03\x10\x04\"~\n\x0e\x45videnceParams\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\x03\x12=\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03\"2\n\x0fValidatorParams\x12\x15\n\rpub_key_types\x18\x01 \x03(\t:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"&\n\rVersionParams\x12\x0b\n\x03\x61pp\x18\x01 \x01(\x04:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\">\n\x0cHashedParams\x12\x17\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03\x12\x15\n\rblock_max_gas\x18\x02 \x01(\x03\"3\n\nABCIParams\x12%\n\x1dvote_extensions_enable_height\x18\x01 \x01(\x03\x42\x39Z3github.com/cometbft/cometbft/proto/tendermint/types\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\"\xdb\x01\n\x0f\x43onsensusParams\x12,\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParams\x12\x32\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParams\x12\x34\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParams\x12\x30\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParams\"7\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03J\x04\x08\x03\x10\x04\"~\n\x0e\x45videnceParams\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\x03\x12=\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03\"2\n\x0fValidatorParams\x12\x15\n\rpub_key_types\x18\x01 \x03(\t:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"&\n\rVersionParams\x12\x0b\n\x03\x61pp\x18\x01 \x01(\x04:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\">\n\x0cHashedParams\x12\x17\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03\x12\x15\n\rblock_max_gas\x18\x02 \x01(\x03\x42\x39Z3github.com/cometbft/cometbft/proto/tendermint/types\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -31,17 +31,15 @@ _VERSIONPARAMS._options = None _VERSIONPARAMS._serialized_options = b'\270\240\037\001\350\240\037\001' _globals['_CONSENSUSPARAMS']._serialized_start=106 - _globals['_CONSENSUSPARAMS']._serialized_end=369 - _globals['_BLOCKPARAMS']._serialized_start=371 - _globals['_BLOCKPARAMS']._serialized_end=426 - _globals['_EVIDENCEPARAMS']._serialized_start=428 - _globals['_EVIDENCEPARAMS']._serialized_end=554 - _globals['_VALIDATORPARAMS']._serialized_start=556 - _globals['_VALIDATORPARAMS']._serialized_end=606 - _globals['_VERSIONPARAMS']._serialized_start=608 - _globals['_VERSIONPARAMS']._serialized_end=646 - _globals['_HASHEDPARAMS']._serialized_start=648 - _globals['_HASHEDPARAMS']._serialized_end=710 - _globals['_ABCIPARAMS']._serialized_start=712 - _globals['_ABCIPARAMS']._serialized_end=763 + _globals['_CONSENSUSPARAMS']._serialized_end=325 + _globals['_BLOCKPARAMS']._serialized_start=327 + _globals['_BLOCKPARAMS']._serialized_end=382 + _globals['_EVIDENCEPARAMS']._serialized_start=384 + _globals['_EVIDENCEPARAMS']._serialized_end=510 + _globals['_VALIDATORPARAMS']._serialized_start=512 + _globals['_VALIDATORPARAMS']._serialized_end=562 + _globals['_VERSIONPARAMS']._serialized_start=564 + _globals['_VERSIONPARAMS']._serialized_end=602 + _globals['_HASHEDPARAMS']._serialized_start=604 + _globals['_HASHEDPARAMS']._serialized_end=666 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/types_pb2.py b/pyinjective/proto/tendermint/types/types_pb2.py index f700382a..e8d691b6 100644 --- a/pyinjective/proto/tendermint/types/types_pb2.py +++ b/pyinjective/proto/tendermint/types/types_pb2.py @@ -18,7 +18,7 @@ from tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\",\n\rPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"S\n\x04Part\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x62ytes\x18\x02 \x01(\x0c\x12-\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00\"W\n\x07\x42lockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12>\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\"\xb3\x03\n\x06Header\x12\x34\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\x0c\"\x13\n\x04\x44\x61ta\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\xc2\x02\n\x04Vote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x19\n\x11validator_address\x18\x06 \x01(\x0c\x12\x17\n\x0fvalidator_index\x18\x07 \x01(\x05\x12\x11\n\tsignature\x18\x08 \x01(\x0c\x12\x11\n\textension\x18\t \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\n \x01(\x0c\"\x9c\x01\n\x06\x43ommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x35\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\tCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\"\xb5\x01\n\x0e\x45xtendedCommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x46\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00\"\xe0\x01\n\x11\x45xtendedCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\x12\x11\n\textension\x18\x05 \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\x06 \x01(\x0c\"\xf5\x01\n\x08Proposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x11\n\tpol_round\x18\x04 \x01(\x05\x12<\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x07 \x01(\x0c\"b\n\x0cSignedHeader\x12(\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.Header\x12(\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.Commit\"z\n\nLightBlock\x12\x35\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeader\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"\x9e\x01\n\tBlockMeta\x12<\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12\x0f\n\x07num_txs\x18\x04 \x01(\x03\"S\n\x07TxProof\x12\x11\n\troot_hash\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\'\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.Proof*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\",\n\rPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"S\n\x04Part\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x62ytes\x18\x02 \x01(\x0c\x12-\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00\"W\n\x07\x42lockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12>\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\"\xb3\x03\n\x06Header\x12\x34\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\x0c\"\x13\n\x04\x44\x61ta\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\x92\x02\n\x04Vote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x19\n\x11validator_address\x18\x06 \x01(\x0c\x12\x17\n\x0fvalidator_index\x18\x07 \x01(\x05\x12\x11\n\tsignature\x18\x08 \x01(\x0c\"\x9c\x01\n\x06\x43ommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x35\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\tCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\"\xf5\x01\n\x08Proposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x11\n\tpol_round\x18\x04 \x01(\x05\x12<\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x07 \x01(\x0c\"b\n\x0cSignedHeader\x12(\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.Header\x12(\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.Commit\"z\n\nLightBlock\x12\x35\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeader\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"\x9e\x01\n\tBlockMeta\x12<\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12\x0f\n\x07num_txs\x18\x04 \x01(\x03\"S\n\x07TxProof\x12\x11\n\troot_hash\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\'\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.Proof*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,6 +27,16 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' + _BLOCKIDFLAG._options = None + _BLOCKIDFLAG._serialized_options = b'\210\243\036\000\250\244\036\001' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._serialized_options = b'\212\235 \021BlockIDFlagAbsent' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._serialized_options = b'\212\235 \021BlockIDFlagCommit' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' _SIGNEDMSGTYPE._options = None _SIGNEDMSGTYPE._serialized_options = b'\210\243\036\000\250\244\036\001' _SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._options = None @@ -59,12 +69,6 @@ _COMMIT.fields_by_name['signatures']._serialized_options = b'\310\336\037\000' _COMMITSIG.fields_by_name['timestamp']._options = None _COMMITSIG.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _EXTENDEDCOMMIT.fields_by_name['block_id']._options = None - _EXTENDEDCOMMIT.fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _EXTENDEDCOMMIT.fields_by_name['extended_signatures']._options = None - _EXTENDEDCOMMIT.fields_by_name['extended_signatures']._serialized_options = b'\310\336\037\000' - _EXTENDEDCOMMITSIG.fields_by_name['timestamp']._options = None - _EXTENDEDCOMMITSIG.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' _PROPOSAL.fields_by_name['block_id']._options = None _PROPOSAL.fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' _PROPOSAL.fields_by_name['timestamp']._options = None @@ -73,8 +77,10 @@ _BLOCKMETA.fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' _BLOCKMETA.fields_by_name['header']._options = None _BLOCKMETA.fields_by_name['header']._serialized_options = b'\310\336\037\000' - _globals['_SIGNEDMSGTYPE']._serialized_start=2666 - _globals['_SIGNEDMSGTYPE']._serialized_end=2881 + _globals['_BLOCKIDFLAG']._serialized_start=2207 + _globals['_BLOCKIDFLAG']._serialized_end=2422 + _globals['_SIGNEDMSGTYPE']._serialized_start=2425 + _globals['_SIGNEDMSGTYPE']._serialized_end=2640 _globals['_PARTSETHEADER']._serialized_start=202 _globals['_PARTSETHEADER']._serialized_end=246 _globals['_PART']._serialized_start=248 @@ -86,23 +92,19 @@ _globals['_DATA']._serialized_start=860 _globals['_DATA']._serialized_end=879 _globals['_VOTE']._serialized_start=882 - _globals['_VOTE']._serialized_end=1204 - _globals['_COMMIT']._serialized_start=1207 - _globals['_COMMIT']._serialized_end=1363 - _globals['_COMMITSIG']._serialized_start=1366 - _globals['_COMMITSIG']._serialized_end=1534 - _globals['_EXTENDEDCOMMIT']._serialized_start=1537 - _globals['_EXTENDEDCOMMIT']._serialized_end=1718 - _globals['_EXTENDEDCOMMITSIG']._serialized_start=1721 - _globals['_EXTENDEDCOMMITSIG']._serialized_end=1945 - _globals['_PROPOSAL']._serialized_start=1948 - _globals['_PROPOSAL']._serialized_end=2193 - _globals['_SIGNEDHEADER']._serialized_start=2195 - _globals['_SIGNEDHEADER']._serialized_end=2293 - _globals['_LIGHTBLOCK']._serialized_start=2295 - _globals['_LIGHTBLOCK']._serialized_end=2417 - _globals['_BLOCKMETA']._serialized_start=2420 - _globals['_BLOCKMETA']._serialized_end=2578 - _globals['_TXPROOF']._serialized_start=2580 - _globals['_TXPROOF']._serialized_end=2663 + _globals['_VOTE']._serialized_end=1156 + _globals['_COMMIT']._serialized_start=1159 + _globals['_COMMIT']._serialized_end=1315 + _globals['_COMMITSIG']._serialized_start=1318 + _globals['_COMMITSIG']._serialized_end=1486 + _globals['_PROPOSAL']._serialized_start=1489 + _globals['_PROPOSAL']._serialized_end=1734 + _globals['_SIGNEDHEADER']._serialized_start=1736 + _globals['_SIGNEDHEADER']._serialized_end=1834 + _globals['_LIGHTBLOCK']._serialized_start=1836 + _globals['_LIGHTBLOCK']._serialized_end=1958 + _globals['_BLOCKMETA']._serialized_start=1961 + _globals['_BLOCKMETA']._serialized_end=2119 + _globals['_TXPROOF']._serialized_start=2121 + _globals['_TXPROOF']._serialized_end=2204 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/validator_pb2.py b/pyinjective/proto/tendermint/types/validator_pb2.py index 42296a18..a01384e0 100644 --- a/pyinjective/proto/tendermint/types/validator_pb2.py +++ b/pyinjective/proto/tendermint/types/validator_pb2.py @@ -15,7 +15,7 @@ from tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\x8a\x01\n\x0cValidatorSet\x12/\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12-\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03\"\x82\x01\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x33\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cvoting_power\x18\x03 \x01(\x03\x12\x19\n\x11proposer_priority\x18\x04 \x01(\x03\"V\n\x0fSimpleValidator\x12-\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKey\x12\x14\n\x0cvoting_power\x18\x02 \x01(\x03*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\x8a\x01\n\x0cValidatorSet\x12/\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12-\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03\"\x82\x01\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x33\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cvoting_power\x18\x03 \x01(\x03\x12\x19\n\x11proposer_priority\x18\x04 \x01(\x03\"V\n\x0fSimpleValidator\x12-\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKey\x12\x14\n\x0cvoting_power\x18\x02 \x01(\x03\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,20 +24,8 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' - _BLOCKIDFLAG._options = None - _BLOCKIDFLAG._serialized_options = b'\210\243\036\000\250\244\036\001' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._serialized_options = b'\212\235 \021BlockIDFlagAbsent' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._serialized_options = b'\212\235 \021BlockIDFlagCommit' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' _VALIDATOR.fields_by_name['pub_key']._options = None _VALIDATOR.fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' - _globals['_BLOCKIDFLAG']._serialized_start=469 - _globals['_BLOCKIDFLAG']._serialized_end=684 _globals['_VALIDATORSET']._serialized_start=107 _globals['_VALIDATORSET']._serialized_end=245 _globals['_VALIDATOR']._serialized_start=248 diff --git a/pyinjective/proto/testpb/bank_pb2.py b/pyinjective/proto/testpb/bank_pb2.py new file mode 100644 index 00000000..51393809 --- /dev/null +++ b/pyinjective/proto/testpb/bank_pb2.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: testpb/bank.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos.orm.v1 import orm_pb2 as cosmos_dot_orm_dot_v1_dot_orm__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11testpb/bank.proto\x12\x06testpb\x1a\x17\x63osmos/orm/v1/orm.proto\"_\n\x07\x42\x61lance\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\x04:$\xf2\x9e\xd3\x8e\x03\x1e\n\x0f\n\raddress,denom\x12\t\n\x05\x64\x65nom\x10\x01\x18\x01\":\n\x06Supply\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x04:\x11\xf2\x9e\xd3\x8e\x03\x0b\n\x07\n\x05\x64\x65nom\x18\x02\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'testpb.bank_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + _BALANCE._options = None + _BALANCE._serialized_options = b'\362\236\323\216\003\036\n\017\n\raddress,denom\022\t\n\005denom\020\001\030\001' + _SUPPLY._options = None + _SUPPLY._serialized_options = b'\362\236\323\216\003\013\n\007\n\005denom\030\002' + _globals['_BALANCE']._serialized_start=54 + _globals['_BALANCE']._serialized_end=149 + _globals['_SUPPLY']._serialized_start=151 + _globals['_SUPPLY']._serialized_end=209 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/testpb/bank_pb2_grpc.py b/pyinjective/proto/testpb/bank_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/testpb/bank_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/testpb/bank_query_pb2.py b/pyinjective/proto/testpb/bank_query_pb2.py new file mode 100644 index 00000000..631ec75c --- /dev/null +++ b/pyinjective/proto/testpb/bank_query_pb2.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: testpb/bank_query.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from testpb import bank_pb2 as testpb_dot_bank__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17testpb/bank_query.proto\x12\x06testpb\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11testpb/bank.proto\"3\n\x11GetBalanceRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"4\n\x12GetBalanceResponse\x12\x1e\n\x05value\x18\x01 \x01(\x0b\x32\x0f.testpb.Balance\"\xd8\x04\n\x12ListBalanceRequest\x12;\n\x0cprefix_query\x18\x01 \x01(\x0b\x32#.testpb.ListBalanceRequest.IndexKeyH\x00\x12<\n\x0brange_query\x18\x02 \x01(\x0b\x32%.testpb.ListBalanceRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1a\x8f\x02\n\x08IndexKey\x12I\n\raddress_denom\x18\x01 \x01(\x0b\x32\x30.testpb.ListBalanceRequest.IndexKey.AddressDenomH\x00\x12:\n\x05\x64\x65nom\x18\x02 \x01(\x0b\x32).testpb.ListBalanceRequest.IndexKey.DenomH\x00\x1aN\n\x0c\x41\x64\x64ressDenom\x12\x14\n\x07\x61\x64\x64ress\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05\x64\x65nom\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\n\n\x08_addressB\x08\n\x06_denom\x1a%\n\x05\x44\x65nom\x12\x12\n\x05\x64\x65nom\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_denomB\x05\n\x03key\x1ap\n\nRangeQuery\x12\x31\n\x04\x66rom\x18\x01 \x01(\x0b\x32#.testpb.ListBalanceRequest.IndexKey\x12/\n\x02to\x18\x02 \x01(\x0b\x32#.testpb.ListBalanceRequest.IndexKeyB\x07\n\x05query\"s\n\x13ListBalanceResponse\x12\x1f\n\x06values\x18\x01 \x03(\x0b\x32\x0f.testpb.Balance\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"!\n\x10GetSupplyRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"2\n\x11GetSupplyResponse\x12\x1d\n\x05value\x18\x01 \x01(\x0b\x32\x0e.testpb.Supply\"\xb6\x03\n\x11ListSupplyRequest\x12:\n\x0cprefix_query\x18\x01 \x01(\x0b\x32\".testpb.ListSupplyRequest.IndexKeyH\x00\x12;\n\x0brange_query\x18\x02 \x01(\x0b\x32$.testpb.ListSupplyRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1as\n\x08IndexKey\x12\x39\n\x05\x64\x65nom\x18\x01 \x01(\x0b\x32(.testpb.ListSupplyRequest.IndexKey.DenomH\x00\x1a%\n\x05\x44\x65nom\x12\x12\n\x05\x64\x65nom\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_denomB\x05\n\x03key\x1an\n\nRangeQuery\x12\x30\n\x04\x66rom\x18\x01 \x01(\x0b\x32\".testpb.ListSupplyRequest.IndexKey\x12.\n\x02to\x18\x02 \x01(\x0b\x32\".testpb.ListSupplyRequest.IndexKeyB\x07\n\x05query\"q\n\x12ListSupplyResponse\x12\x1e\n\x06values\x18\x01 \x03(\x0b\x32\x0e.testpb.Supply\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xae\x02\n\x10\x42\x61nkQueryService\x12\x45\n\nGetBalance\x12\x19.testpb.GetBalanceRequest\x1a\x1a.testpb.GetBalanceResponse\"\x00\x12H\n\x0bListBalance\x12\x1a.testpb.ListBalanceRequest\x1a\x1b.testpb.ListBalanceResponse\"\x00\x12\x42\n\tGetSupply\x12\x18.testpb.GetSupplyRequest\x1a\x19.testpb.GetSupplyResponse\"\x00\x12\x45\n\nListSupply\x12\x19.testpb.ListSupplyRequest\x1a\x1a.testpb.ListSupplyResponse\"\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'testpb.bank_query_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + _globals['_GETBALANCEREQUEST']._serialized_start=98 + _globals['_GETBALANCEREQUEST']._serialized_end=149 + _globals['_GETBALANCERESPONSE']._serialized_start=151 + _globals['_GETBALANCERESPONSE']._serialized_end=203 + _globals['_LISTBALANCEREQUEST']._serialized_start=206 + _globals['_LISTBALANCEREQUEST']._serialized_end=806 + _globals['_LISTBALANCEREQUEST_INDEXKEY']._serialized_start=412 + _globals['_LISTBALANCEREQUEST_INDEXKEY']._serialized_end=683 + _globals['_LISTBALANCEREQUEST_INDEXKEY_ADDRESSDENOM']._serialized_start=559 + _globals['_LISTBALANCEREQUEST_INDEXKEY_ADDRESSDENOM']._serialized_end=637 + _globals['_LISTBALANCEREQUEST_INDEXKEY_DENOM']._serialized_start=639 + _globals['_LISTBALANCEREQUEST_INDEXKEY_DENOM']._serialized_end=676 + _globals['_LISTBALANCEREQUEST_RANGEQUERY']._serialized_start=685 + _globals['_LISTBALANCEREQUEST_RANGEQUERY']._serialized_end=797 + _globals['_LISTBALANCERESPONSE']._serialized_start=808 + _globals['_LISTBALANCERESPONSE']._serialized_end=923 + _globals['_GETSUPPLYREQUEST']._serialized_start=925 + _globals['_GETSUPPLYREQUEST']._serialized_end=958 + _globals['_GETSUPPLYRESPONSE']._serialized_start=960 + _globals['_GETSUPPLYRESPONSE']._serialized_end=1010 + _globals['_LISTSUPPLYREQUEST']._serialized_start=1013 + _globals['_LISTSUPPLYREQUEST']._serialized_end=1451 + _globals['_LISTSUPPLYREQUEST_INDEXKEY']._serialized_start=1215 + _globals['_LISTSUPPLYREQUEST_INDEXKEY']._serialized_end=1330 + _globals['_LISTSUPPLYREQUEST_INDEXKEY_DENOM']._serialized_start=639 + _globals['_LISTSUPPLYREQUEST_INDEXKEY_DENOM']._serialized_end=676 + _globals['_LISTSUPPLYREQUEST_RANGEQUERY']._serialized_start=1332 + _globals['_LISTSUPPLYREQUEST_RANGEQUERY']._serialized_end=1442 + _globals['_LISTSUPPLYRESPONSE']._serialized_start=1453 + _globals['_LISTSUPPLYRESPONSE']._serialized_end=1566 + _globals['_BANKQUERYSERVICE']._serialized_start=1569 + _globals['_BANKQUERYSERVICE']._serialized_end=1871 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/testpb/bank_query_pb2_grpc.py b/pyinjective/proto/testpb/bank_query_pb2_grpc.py new file mode 100644 index 00000000..8fbae869 --- /dev/null +++ b/pyinjective/proto/testpb/bank_query_pb2_grpc.py @@ -0,0 +1,172 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from testpb import bank_query_pb2 as testpb_dot_bank__query__pb2 + + +class BankQueryServiceStub(object): + """BankQueryService queries the state of the tables specified by testpb/bank.proto. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetBalance = channel.unary_unary( + '/testpb.BankQueryService/GetBalance', + request_serializer=testpb_dot_bank__query__pb2.GetBalanceRequest.SerializeToString, + response_deserializer=testpb_dot_bank__query__pb2.GetBalanceResponse.FromString, + ) + self.ListBalance = channel.unary_unary( + '/testpb.BankQueryService/ListBalance', + request_serializer=testpb_dot_bank__query__pb2.ListBalanceRequest.SerializeToString, + response_deserializer=testpb_dot_bank__query__pb2.ListBalanceResponse.FromString, + ) + self.GetSupply = channel.unary_unary( + '/testpb.BankQueryService/GetSupply', + request_serializer=testpb_dot_bank__query__pb2.GetSupplyRequest.SerializeToString, + response_deserializer=testpb_dot_bank__query__pb2.GetSupplyResponse.FromString, + ) + self.ListSupply = channel.unary_unary( + '/testpb.BankQueryService/ListSupply', + request_serializer=testpb_dot_bank__query__pb2.ListSupplyRequest.SerializeToString, + response_deserializer=testpb_dot_bank__query__pb2.ListSupplyResponse.FromString, + ) + + +class BankQueryServiceServicer(object): + """BankQueryService queries the state of the tables specified by testpb/bank.proto. + """ + + def GetBalance(self, request, context): + """Get queries the Balance table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListBalance(self, request, context): + """ListBalance queries the Balance table using prefix and range queries against defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetSupply(self, request, context): + """Get queries the Supply table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListSupply(self, request, context): + """ListSupply queries the Supply table using prefix and range queries against defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_BankQueryServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetBalance': grpc.unary_unary_rpc_method_handler( + servicer.GetBalance, + request_deserializer=testpb_dot_bank__query__pb2.GetBalanceRequest.FromString, + response_serializer=testpb_dot_bank__query__pb2.GetBalanceResponse.SerializeToString, + ), + 'ListBalance': grpc.unary_unary_rpc_method_handler( + servicer.ListBalance, + request_deserializer=testpb_dot_bank__query__pb2.ListBalanceRequest.FromString, + response_serializer=testpb_dot_bank__query__pb2.ListBalanceResponse.SerializeToString, + ), + 'GetSupply': grpc.unary_unary_rpc_method_handler( + servicer.GetSupply, + request_deserializer=testpb_dot_bank__query__pb2.GetSupplyRequest.FromString, + response_serializer=testpb_dot_bank__query__pb2.GetSupplyResponse.SerializeToString, + ), + 'ListSupply': grpc.unary_unary_rpc_method_handler( + servicer.ListSupply, + request_deserializer=testpb_dot_bank__query__pb2.ListSupplyRequest.FromString, + response_serializer=testpb_dot_bank__query__pb2.ListSupplyResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'testpb.BankQueryService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class BankQueryService(object): + """BankQueryService queries the state of the tables specified by testpb/bank.proto. + """ + + @staticmethod + def GetBalance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.BankQueryService/GetBalance', + testpb_dot_bank__query__pb2.GetBalanceRequest.SerializeToString, + testpb_dot_bank__query__pb2.GetBalanceResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListBalance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.BankQueryService/ListBalance', + testpb_dot_bank__query__pb2.ListBalanceRequest.SerializeToString, + testpb_dot_bank__query__pb2.ListBalanceResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetSupply(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.BankQueryService/GetSupply', + testpb_dot_bank__query__pb2.GetSupplyRequest.SerializeToString, + testpb_dot_bank__query__pb2.GetSupplyResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListSupply(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.BankQueryService/ListSupply', + testpb_dot_bank__query__pb2.ListSupplyRequest.SerializeToString, + testpb_dot_bank__query__pb2.ListSupplyResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/testpb/test_schema_pb2.py b/pyinjective/proto/testpb/test_schema_pb2.py new file mode 100644 index 00000000..ded03ec6 --- /dev/null +++ b/pyinjective/proto/testpb/test_schema_pb2.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: testpb/test_schema.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from cosmos.orm.v1 import orm_pb2 as cosmos_dot_orm_dot_v1_dot_orm__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18testpb/test_schema.proto\x12\x06testpb\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x17\x63osmos/orm/v1/orm.proto\"\xc0\x04\n\x0c\x45xampleTable\x12\x0b\n\x03u32\x18\x01 \x01(\r\x12\x0b\n\x03u64\x18\x02 \x01(\x04\x12\x0b\n\x03str\x18\x03 \x01(\t\x12\n\n\x02\x62z\x18\x04 \x01(\x0c\x12&\n\x02ts\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\x03\x64ur\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0b\n\x03i32\x18\x07 \x01(\x05\x12\x0b\n\x03s32\x18\x08 \x01(\x11\x12\x0c\n\x04sf32\x18\t \x01(\x0f\x12\x0b\n\x03i64\x18\n \x01(\x03\x12\x0b\n\x03s64\x18\x0b \x01(\x12\x12\x0c\n\x04sf64\x18\x0c \x01(\x10\x12\x0b\n\x03\x66\x33\x32\x18\r \x01(\x07\x12\x0b\n\x03\x66\x36\x34\x18\x0e \x01(\x06\x12\t\n\x01\x62\x18\x0f \x01(\x08\x12\x17\n\x01\x65\x18\x10 \x01(\x0e\x32\x0c.testpb.Enum\x12\x10\n\x08repeated\x18\x11 \x03(\r\x12*\n\x03map\x18\x12 \x03(\x0b\x32\x1d.testpb.ExampleTable.MapEntry\x12\x30\n\x03msg\x18\x13 \x01(\x0b\x32#.testpb.ExampleTable.ExampleMessage\x12\x0f\n\x05oneof\x18\x14 \x01(\rH\x00\x1a*\n\x08MapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1a*\n\x0e\x45xampleMessage\x12\x0b\n\x03\x66oo\x18\x01 \x01(\t\x12\x0b\n\x03\x62\x61r\x18\x02 \x01(\x05:?\xf2\x9e\xd3\x8e\x03\x39\n\r\n\x0bu32,i64,str\x12\r\n\x07u64,str\x10\x01\x18\x01\x12\x0b\n\x07str,u32\x10\x02\x12\n\n\x06\x62z,str\x10\x03\x18\x01\x42\x05\n\x03sum\"X\n\x19\x45xampleAutoIncrementTable\x12\n\n\x02id\x18\x01 \x01(\x04\x12\t\n\x01x\x18\x02 \x01(\t\x12\t\n\x01y\x18\x03 \x01(\x05:\x19\xf2\x9e\xd3\x8e\x03\x13\n\x06\n\x02id\x10\x01\x12\x07\n\x01x\x10\x01\x18\x01\x18\x03\"6\n\x10\x45xampleSingleton\x12\x0b\n\x03\x66oo\x18\x01 \x01(\t\x12\x0b\n\x03\x62\x61r\x18\x02 \x01(\x05:\x08\xfa\x9e\xd3\x8e\x03\x02\x08\x02\"n\n\x10\x45xampleTimestamp\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0c\n\x04name\x18\x02 \x01(\t\x12&\n\x02ts\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x18\xf2\x9e\xd3\x8e\x03\x12\n\x06\n\x02id\x10\x01\x12\x06\n\x02ts\x10\x01\x18\x04\"a\n\rSimpleExample\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06unique\x18\x02 \x01(\t\x12\x12\n\nnot_unique\x18\x03 \x01(\t:\x1e\xf2\x9e\xd3\x8e\x03\x18\n\x06\n\x04name\x12\x0c\n\x06unique\x10\x01\x18\x01\x18\x05\"F\n\x17\x45xampleAutoIncFieldName\x12\x0b\n\x03\x66oo\x18\x01 \x01(\x04\x12\x0b\n\x03\x62\x61r\x18\x02 \x01(\x04:\x11\xf2\x9e\xd3\x8e\x03\x0b\n\x07\n\x03\x66oo\x10\x01\x18\x06*d\n\x04\x45num\x12\x14\n\x10\x45NUM_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NUM_ONE\x10\x01\x12\x0c\n\x08\x45NUM_TWO\x10\x02\x12\r\n\tENUM_FIVE\x10\x05\x12\x1b\n\x0e\x45NUM_NEG_THREE\x10\xfd\xff\xff\xff\xff\xff\xff\xff\xff\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'testpb.test_schema_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + _EXAMPLETABLE_MAPENTRY._options = None + _EXAMPLETABLE_MAPENTRY._serialized_options = b'8\001' + _EXAMPLETABLE._options = None + _EXAMPLETABLE._serialized_options = b'\362\236\323\216\0039\n\r\n\013u32,i64,str\022\r\n\007u64,str\020\001\030\001\022\013\n\007str,u32\020\002\022\n\n\006bz,str\020\003\030\001' + _EXAMPLEAUTOINCREMENTTABLE._options = None + _EXAMPLEAUTOINCREMENTTABLE._serialized_options = b'\362\236\323\216\003\023\n\006\n\002id\020\001\022\007\n\001x\020\001\030\001\030\003' + _EXAMPLESINGLETON._options = None + _EXAMPLESINGLETON._serialized_options = b'\372\236\323\216\003\002\010\002' + _EXAMPLETIMESTAMP._options = None + _EXAMPLETIMESTAMP._serialized_options = b'\362\236\323\216\003\022\n\006\n\002id\020\001\022\006\n\002ts\020\001\030\004' + _SIMPLEEXAMPLE._options = None + _SIMPLEEXAMPLE._serialized_options = b'\362\236\323\216\003\030\n\006\n\004name\022\014\n\006unique\020\001\030\001\030\005' + _EXAMPLEAUTOINCFIELDNAME._options = None + _EXAMPLEAUTOINCFIELDNAME._serialized_options = b'\362\236\323\216\003\013\n\007\n\003foo\020\001\030\006' + _globals['_ENUM']._serialized_start=1134 + _globals['_ENUM']._serialized_end=1234 + _globals['_EXAMPLETABLE']._serialized_start=127 + _globals['_EXAMPLETABLE']._serialized_end=703 + _globals['_EXAMPLETABLE_MAPENTRY']._serialized_start=545 + _globals['_EXAMPLETABLE_MAPENTRY']._serialized_end=587 + _globals['_EXAMPLETABLE_EXAMPLEMESSAGE']._serialized_start=589 + _globals['_EXAMPLETABLE_EXAMPLEMESSAGE']._serialized_end=631 + _globals['_EXAMPLEAUTOINCREMENTTABLE']._serialized_start=705 + _globals['_EXAMPLEAUTOINCREMENTTABLE']._serialized_end=793 + _globals['_EXAMPLESINGLETON']._serialized_start=795 + _globals['_EXAMPLESINGLETON']._serialized_end=849 + _globals['_EXAMPLETIMESTAMP']._serialized_start=851 + _globals['_EXAMPLETIMESTAMP']._serialized_end=961 + _globals['_SIMPLEEXAMPLE']._serialized_start=963 + _globals['_SIMPLEEXAMPLE']._serialized_end=1060 + _globals['_EXAMPLEAUTOINCFIELDNAME']._serialized_start=1062 + _globals['_EXAMPLEAUTOINCFIELDNAME']._serialized_end=1132 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/testpb/test_schema_pb2_grpc.py b/pyinjective/proto/testpb/test_schema_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/testpb/test_schema_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/testpb/test_schema_query_pb2.py b/pyinjective/proto/testpb/test_schema_query_pb2.py new file mode 100644 index 00000000..f880628b --- /dev/null +++ b/pyinjective/proto/testpb/test_schema_query_pb2.py @@ -0,0 +1,127 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: testpb/test_schema_query.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from testpb import test_schema_pb2 as testpb_dot_test__schema__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etestpb/test_schema_query.proto\x12\x06testpb\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x18testpb/test_schema.proto\"?\n\x16GetExampleTableRequest\x12\x0b\n\x03u32\x18\x01 \x01(\r\x12\x0b\n\x03i64\x18\x02 \x01(\x03\x12\x0b\n\x03str\x18\x03 \x01(\t\">\n\x17GetExampleTableResponse\x12#\n\x05value\x18\x01 \x01(\x0b\x32\x14.testpb.ExampleTable\":\n\x1eGetExampleTableByU64StrRequest\x12\x0b\n\x03u64\x18\x01 \x01(\x04\x12\x0b\n\x03str\x18\x02 \x01(\t\"F\n\x1fGetExampleTableByU64StrResponse\x12#\n\x05value\x18\x01 \x01(\x0b\x32\x14.testpb.ExampleTable\"\x9e\x07\n\x17ListExampleTableRequest\x12@\n\x0cprefix_query\x18\x01 \x01(\x0b\x32(.testpb.ListExampleTableRequest.IndexKeyH\x00\x12\x41\n\x0brange_query\x18\x02 \x01(\x0b\x32*.testpb.ListExampleTableRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1a\xbc\x04\n\x08IndexKey\x12K\n\ru_32_i_64_str\x18\x01 \x01(\x0b\x32\x32.testpb.ListExampleTableRequest.IndexKey.U32I64StrH\x00\x12\x43\n\x08u_64_str\x18\x02 \x01(\x0b\x32/.testpb.ListExampleTableRequest.IndexKey.U64StrH\x00\x12\x43\n\x08str_u_32\x18\x03 \x01(\x0b\x32/.testpb.ListExampleTableRequest.IndexKey.StrU32H\x00\x12@\n\x06\x62z_str\x18\x04 \x01(\x0b\x32..testpb.ListExampleTableRequest.IndexKey.BzStrH\x00\x1aY\n\tU32I64Str\x12\x10\n\x03u32\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x10\n\x03i64\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12\x10\n\x03str\x18\x03 \x01(\tH\x02\x88\x01\x01\x42\x06\n\x04_u32B\x06\n\x04_i64B\x06\n\x04_str\x1a<\n\x06U64Str\x12\x10\n\x03u64\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03str\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x06\n\x04_u64B\x06\n\x04_str\x1a<\n\x06StrU32\x12\x10\n\x03str\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03u32\x18\x02 \x01(\rH\x01\x88\x01\x01\x42\x06\n\x04_strB\x06\n\x04_u32\x1a\x39\n\x05\x42zStr\x12\x0f\n\x02\x62z\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x10\n\x03str\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x05\n\x03_bzB\x06\n\x04_strB\x05\n\x03key\x1az\n\nRangeQuery\x12\x36\n\x04\x66rom\x18\x01 \x01(\x0b\x32(.testpb.ListExampleTableRequest.IndexKey\x12\x34\n\x02to\x18\x02 \x01(\x0b\x32(.testpb.ListExampleTableRequest.IndexKeyB\x07\n\x05query\"}\n\x18ListExampleTableResponse\x12$\n\x06values\x18\x01 \x03(\x0b\x32\x14.testpb.ExampleTable\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"1\n#GetExampleAutoIncrementTableRequest\x12\n\n\x02id\x18\x01 \x01(\x04\"X\n$GetExampleAutoIncrementTableResponse\x12\x30\n\x05value\x18\x01 \x01(\x0b\x32!.testpb.ExampleAutoIncrementTable\"3\n&GetExampleAutoIncrementTableByXRequest\x12\t\n\x01x\x18\x01 \x01(\t\"[\n\'GetExampleAutoIncrementTableByXResponse\x12\x30\n\x05value\x18\x01 \x01(\x0b\x32!.testpb.ExampleAutoIncrementTable\"\xfc\x04\n$ListExampleAutoIncrementTableRequest\x12M\n\x0cprefix_query\x18\x01 \x01(\x0b\x32\x35.testpb.ListExampleAutoIncrementTableRequest.IndexKeyH\x00\x12N\n\x0brange_query\x18\x02 \x01(\x0b\x32\x37.testpb.ListExampleAutoIncrementTableRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1a\xd8\x01\n\x08IndexKey\x12\x46\n\x02id\x18\x01 \x01(\x0b\x32\x38.testpb.ListExampleAutoIncrementTableRequest.IndexKey.IdH\x00\x12\x44\n\x01x\x18\x02 \x01(\x0b\x32\x37.testpb.ListExampleAutoIncrementTableRequest.IndexKey.XH\x00\x1a\x1c\n\x02Id\x12\x0f\n\x02id\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\x05\n\x03_id\x1a\x19\n\x01X\x12\x0e\n\x01x\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x04\n\x02_xB\x05\n\x03key\x1a\x94\x01\n\nRangeQuery\x12\x43\n\x04\x66rom\x18\x01 \x01(\x0b\x32\x35.testpb.ListExampleAutoIncrementTableRequest.IndexKey\x12\x41\n\x02to\x18\x02 \x01(\x0b\x32\x35.testpb.ListExampleAutoIncrementTableRequest.IndexKeyB\x07\n\x05query\"\x97\x01\n%ListExampleAutoIncrementTableResponse\x12\x31\n\x06values\x18\x01 \x03(\x0b\x32!.testpb.ExampleAutoIncrementTable\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x1c\n\x1aGetExampleSingletonRequest\"F\n\x1bGetExampleSingletonResponse\x12\'\n\x05value\x18\x01 \x01(\x0b\x32\x18.testpb.ExampleSingleton\"(\n\x1aGetExampleTimestampRequest\x12\n\n\x02id\x18\x01 \x01(\x04\"F\n\x1bGetExampleTimestampResponse\x12\'\n\x05value\x18\x01 \x01(\x0b\x32\x18.testpb.ExampleTimestamp\"\xde\x04\n\x1bListExampleTimestampRequest\x12\x44\n\x0cprefix_query\x18\x01 \x01(\x0b\x32,.testpb.ListExampleTimestampRequest.IndexKeyH\x00\x12\x45\n\x0brange_query\x18\x02 \x01(\x0b\x32..testpb.ListExampleTimestampRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1a\xe7\x01\n\x08IndexKey\x12=\n\x02id\x18\x01 \x01(\x0b\x32/.testpb.ListExampleTimestampRequest.IndexKey.IdH\x00\x12=\n\x02ts\x18\x02 \x01(\x0b\x32/.testpb.ListExampleTimestampRequest.IndexKey.TsH\x00\x1a\x1c\n\x02Id\x12\x0f\n\x02id\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\x05\n\x03_id\x1a\x38\n\x02Ts\x12+\n\x02ts\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x42\x05\n\x03_tsB\x05\n\x03key\x1a\x82\x01\n\nRangeQuery\x12:\n\x04\x66rom\x18\x01 \x01(\x0b\x32,.testpb.ListExampleTimestampRequest.IndexKey\x12\x38\n\x02to\x18\x02 \x01(\x0b\x32,.testpb.ListExampleTimestampRequest.IndexKeyB\x07\n\x05query\"\x85\x01\n\x1cListExampleTimestampResponse\x12(\n\x06values\x18\x01 \x03(\x0b\x32\x18.testpb.ExampleTimestamp\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\'\n\x17GetSimpleExampleRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"@\n\x18GetSimpleExampleResponse\x12$\n\x05value\x18\x01 \x01(\x0b\x32\x15.testpb.SimpleExample\"1\n\x1fGetSimpleExampleByUniqueRequest\x12\x0e\n\x06unique\x18\x01 \x01(\t\"H\n GetSimpleExampleByUniqueResponse\x12$\n\x05value\x18\x01 \x01(\x0b\x32\x15.testpb.SimpleExample\"\xca\x04\n\x18ListSimpleExampleRequest\x12\x41\n\x0cprefix_query\x18\x01 \x01(\x0b\x32).testpb.ListSimpleExampleRequest.IndexKeyH\x00\x12\x42\n\x0brange_query\x18\x02 \x01(\x0b\x32+.testpb.ListSimpleExampleRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1a\xe3\x01\n\x08IndexKey\x12>\n\x04name\x18\x01 \x01(\x0b\x32..testpb.ListSimpleExampleRequest.IndexKey.NameH\x00\x12\x42\n\x06unique\x18\x02 \x01(\x0b\x32\x30.testpb.ListSimpleExampleRequest.IndexKey.UniqueH\x00\x1a\"\n\x04Name\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_name\x1a(\n\x06Unique\x12\x13\n\x06unique\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\t\n\x07_uniqueB\x05\n\x03key\x1a|\n\nRangeQuery\x12\x37\n\x04\x66rom\x18\x01 \x01(\x0b\x32).testpb.ListSimpleExampleRequest.IndexKey\x12\x35\n\x02to\x18\x02 \x01(\x0b\x32).testpb.ListSimpleExampleRequest.IndexKeyB\x07\n\x05query\"\x7f\n\x19ListSimpleExampleResponse\x12%\n\x06values\x18\x01 \x03(\x0b\x32\x15.testpb.SimpleExample\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"0\n!GetExampleAutoIncFieldNameRequest\x12\x0b\n\x03\x66oo\x18\x01 \x01(\x04\"T\n\"GetExampleAutoIncFieldNameResponse\x12.\n\x05value\x18\x01 \x01(\x0b\x32\x1f.testpb.ExampleAutoIncFieldName\"\x93\x04\n\"ListExampleAutoIncFieldNameRequest\x12K\n\x0cprefix_query\x18\x01 \x01(\x0b\x32\x33.testpb.ListExampleAutoIncFieldNameRequest.IndexKeyH\x00\x12L\n\x0brange_query\x18\x02 \x01(\x0b\x32\x35.testpb.ListExampleAutoIncFieldNameRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1az\n\x08IndexKey\x12\x46\n\x03\x66oo\x18\x01 \x01(\x0b\x32\x37.testpb.ListExampleAutoIncFieldNameRequest.IndexKey.FooH\x00\x1a\x1f\n\x03\x46oo\x12\x10\n\x03\x66oo\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\x06\n\x04_fooB\x05\n\x03key\x1a\x90\x01\n\nRangeQuery\x12\x41\n\x04\x66rom\x18\x01 \x01(\x0b\x32\x33.testpb.ListExampleAutoIncFieldNameRequest.IndexKey\x12?\n\x02to\x18\x02 \x01(\x0b\x32\x33.testpb.ListExampleAutoIncFieldNameRequest.IndexKeyB\x07\n\x05query\"\x93\x01\n#ListExampleAutoIncFieldNameResponse\x12/\n\x06values\x18\x01 \x03(\x0b\x32\x1f.testpb.ExampleAutoIncFieldName\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xf9\x0b\n\x16TestSchemaQueryService\x12T\n\x0fGetExampleTable\x12\x1e.testpb.GetExampleTableRequest\x1a\x1f.testpb.GetExampleTableResponse\"\x00\x12l\n\x17GetExampleTableByU64Str\x12&.testpb.GetExampleTableByU64StrRequest\x1a\'.testpb.GetExampleTableByU64StrResponse\"\x00\x12W\n\x10ListExampleTable\x12\x1f.testpb.ListExampleTableRequest\x1a .testpb.ListExampleTableResponse\"\x00\x12{\n\x1cGetExampleAutoIncrementTable\x12+.testpb.GetExampleAutoIncrementTableRequest\x1a,.testpb.GetExampleAutoIncrementTableResponse\"\x00\x12\x84\x01\n\x1fGetExampleAutoIncrementTableByX\x12..testpb.GetExampleAutoIncrementTableByXRequest\x1a/.testpb.GetExampleAutoIncrementTableByXResponse\"\x00\x12~\n\x1dListExampleAutoIncrementTable\x12,.testpb.ListExampleAutoIncrementTableRequest\x1a-.testpb.ListExampleAutoIncrementTableResponse\"\x00\x12`\n\x13GetExampleSingleton\x12\".testpb.GetExampleSingletonRequest\x1a#.testpb.GetExampleSingletonResponse\"\x00\x12`\n\x13GetExampleTimestamp\x12\".testpb.GetExampleTimestampRequest\x1a#.testpb.GetExampleTimestampResponse\"\x00\x12\x63\n\x14ListExampleTimestamp\x12#.testpb.ListExampleTimestampRequest\x1a$.testpb.ListExampleTimestampResponse\"\x00\x12W\n\x10GetSimpleExample\x12\x1f.testpb.GetSimpleExampleRequest\x1a .testpb.GetSimpleExampleResponse\"\x00\x12o\n\x18GetSimpleExampleByUnique\x12\'.testpb.GetSimpleExampleByUniqueRequest\x1a(.testpb.GetSimpleExampleByUniqueResponse\"\x00\x12Z\n\x11ListSimpleExample\x12 .testpb.ListSimpleExampleRequest\x1a!.testpb.ListSimpleExampleResponse\"\x00\x12u\n\x1aGetExampleAutoIncFieldName\x12).testpb.GetExampleAutoIncFieldNameRequest\x1a*.testpb.GetExampleAutoIncFieldNameResponse\"\x00\x12x\n\x1bListExampleAutoIncFieldName\x12*.testpb.ListExampleAutoIncFieldNameRequest\x1a+.testpb.ListExampleAutoIncFieldNameResponse\"\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'testpb.test_schema_query_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + _globals['_GETEXAMPLETABLEREQUEST']._serialized_start=145 + _globals['_GETEXAMPLETABLEREQUEST']._serialized_end=208 + _globals['_GETEXAMPLETABLERESPONSE']._serialized_start=210 + _globals['_GETEXAMPLETABLERESPONSE']._serialized_end=272 + _globals['_GETEXAMPLETABLEBYU64STRREQUEST']._serialized_start=274 + _globals['_GETEXAMPLETABLEBYU64STRREQUEST']._serialized_end=332 + _globals['_GETEXAMPLETABLEBYU64STRRESPONSE']._serialized_start=334 + _globals['_GETEXAMPLETABLEBYU64STRRESPONSE']._serialized_end=404 + _globals['_LISTEXAMPLETABLEREQUEST']._serialized_start=407 + _globals['_LISTEXAMPLETABLEREQUEST']._serialized_end=1333 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY']._serialized_start=628 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY']._serialized_end=1200 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_U32I64STR']._serialized_start=921 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_U32I64STR']._serialized_end=1010 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_U64STR']._serialized_start=1012 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_U64STR']._serialized_end=1072 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_STRU32']._serialized_start=1074 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_STRU32']._serialized_end=1134 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_BZSTR']._serialized_start=1136 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_BZSTR']._serialized_end=1193 + _globals['_LISTEXAMPLETABLEREQUEST_RANGEQUERY']._serialized_start=1202 + _globals['_LISTEXAMPLETABLEREQUEST_RANGEQUERY']._serialized_end=1324 + _globals['_LISTEXAMPLETABLERESPONSE']._serialized_start=1335 + _globals['_LISTEXAMPLETABLERESPONSE']._serialized_end=1460 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEREQUEST']._serialized_start=1462 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEREQUEST']._serialized_end=1511 + _globals['_GETEXAMPLEAUTOINCREMENTTABLERESPONSE']._serialized_start=1513 + _globals['_GETEXAMPLEAUTOINCREMENTTABLERESPONSE']._serialized_end=1601 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEBYXREQUEST']._serialized_start=1603 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEBYXREQUEST']._serialized_end=1654 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEBYXRESPONSE']._serialized_start=1656 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEBYXRESPONSE']._serialized_end=1747 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST']._serialized_start=1750 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST']._serialized_end=2386 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY']._serialized_start=2010 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY']._serialized_end=2226 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY_ID']._serialized_start=2164 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY_ID']._serialized_end=2192 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY_X']._serialized_start=2194 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY_X']._serialized_end=2219 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_RANGEQUERY']._serialized_start=2229 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_RANGEQUERY']._serialized_end=2377 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLERESPONSE']._serialized_start=2389 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLERESPONSE']._serialized_end=2540 + _globals['_GETEXAMPLESINGLETONREQUEST']._serialized_start=2542 + _globals['_GETEXAMPLESINGLETONREQUEST']._serialized_end=2570 + _globals['_GETEXAMPLESINGLETONRESPONSE']._serialized_start=2572 + _globals['_GETEXAMPLESINGLETONRESPONSE']._serialized_end=2642 + _globals['_GETEXAMPLETIMESTAMPREQUEST']._serialized_start=2644 + _globals['_GETEXAMPLETIMESTAMPREQUEST']._serialized_end=2684 + _globals['_GETEXAMPLETIMESTAMPRESPONSE']._serialized_start=2686 + _globals['_GETEXAMPLETIMESTAMPRESPONSE']._serialized_end=2756 + _globals['_LISTEXAMPLETIMESTAMPREQUEST']._serialized_start=2759 + _globals['_LISTEXAMPLETIMESTAMPREQUEST']._serialized_end=3365 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY']._serialized_start=2992 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY']._serialized_end=3223 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY_ID']._serialized_start=2164 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY_ID']._serialized_end=2192 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY_TS']._serialized_start=3160 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY_TS']._serialized_end=3216 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_RANGEQUERY']._serialized_start=3226 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_RANGEQUERY']._serialized_end=3356 + _globals['_LISTEXAMPLETIMESTAMPRESPONSE']._serialized_start=3368 + _globals['_LISTEXAMPLETIMESTAMPRESPONSE']._serialized_end=3501 + _globals['_GETSIMPLEEXAMPLEREQUEST']._serialized_start=3503 + _globals['_GETSIMPLEEXAMPLEREQUEST']._serialized_end=3542 + _globals['_GETSIMPLEEXAMPLERESPONSE']._serialized_start=3544 + _globals['_GETSIMPLEEXAMPLERESPONSE']._serialized_end=3608 + _globals['_GETSIMPLEEXAMPLEBYUNIQUEREQUEST']._serialized_start=3610 + _globals['_GETSIMPLEEXAMPLEBYUNIQUEREQUEST']._serialized_end=3659 + _globals['_GETSIMPLEEXAMPLEBYUNIQUERESPONSE']._serialized_start=3661 + _globals['_GETSIMPLEEXAMPLEBYUNIQUERESPONSE']._serialized_end=3733 + _globals['_LISTSIMPLEEXAMPLEREQUEST']._serialized_start=3736 + _globals['_LISTSIMPLEEXAMPLEREQUEST']._serialized_end=4322 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY']._serialized_start=3960 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY']._serialized_end=4187 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY_NAME']._serialized_start=4104 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY_NAME']._serialized_end=4138 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY_UNIQUE']._serialized_start=4140 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY_UNIQUE']._serialized_end=4180 + _globals['_LISTSIMPLEEXAMPLEREQUEST_RANGEQUERY']._serialized_start=4189 + _globals['_LISTSIMPLEEXAMPLEREQUEST_RANGEQUERY']._serialized_end=4313 + _globals['_LISTSIMPLEEXAMPLERESPONSE']._serialized_start=4324 + _globals['_LISTSIMPLEEXAMPLERESPONSE']._serialized_end=4451 + _globals['_GETEXAMPLEAUTOINCFIELDNAMEREQUEST']._serialized_start=4453 + _globals['_GETEXAMPLEAUTOINCFIELDNAMEREQUEST']._serialized_end=4501 + _globals['_GETEXAMPLEAUTOINCFIELDNAMERESPONSE']._serialized_start=4503 + _globals['_GETEXAMPLEAUTOINCFIELDNAMERESPONSE']._serialized_end=4587 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST']._serialized_start=4590 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST']._serialized_end=5121 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_INDEXKEY']._serialized_start=4843 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_INDEXKEY']._serialized_end=4965 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_INDEXKEY_FOO']._serialized_start=4927 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_INDEXKEY_FOO']._serialized_end=4958 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_RANGEQUERY']._serialized_start=4968 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_RANGEQUERY']._serialized_end=5112 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMERESPONSE']._serialized_start=5124 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMERESPONSE']._serialized_end=5271 + _globals['_TESTSCHEMAQUERYSERVICE']._serialized_start=5274 + _globals['_TESTSCHEMAQUERYSERVICE']._serialized_end=6803 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/testpb/test_schema_query_pb2_grpc.py b/pyinjective/proto/testpb/test_schema_query_pb2_grpc.py new file mode 100644 index 00000000..a2ec41d7 --- /dev/null +++ b/pyinjective/proto/testpb/test_schema_query_pb2_grpc.py @@ -0,0 +1,514 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from testpb import test_schema_query_pb2 as testpb_dot_test__schema__query__pb2 + + +class TestSchemaQueryServiceStub(object): + """TestSchemaQueryService queries the state of the tables specified by testpb/test_schema.proto. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetExampleTable = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleTable', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleTableRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTableResponse.FromString, + ) + self.GetExampleTableByU64Str = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleTableByU64Str', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrResponse.FromString, + ) + self.ListExampleTable = channel.unary_unary( + '/testpb.TestSchemaQueryService/ListExampleTable', + request_serializer=testpb_dot_test__schema__query__pb2.ListExampleTableRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.ListExampleTableResponse.FromString, + ) + self.GetExampleAutoIncrementTable = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleAutoIncrementTable', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableResponse.FromString, + ) + self.GetExampleAutoIncrementTableByX = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleAutoIncrementTableByX', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXResponse.FromString, + ) + self.ListExampleAutoIncrementTable = channel.unary_unary( + '/testpb.TestSchemaQueryService/ListExampleAutoIncrementTable', + request_serializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableResponse.FromString, + ) + self.GetExampleSingleton = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleSingleton', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleSingletonRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleSingletonResponse.FromString, + ) + self.GetExampleTimestamp = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleTimestamp', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleTimestampRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTimestampResponse.FromString, + ) + self.ListExampleTimestamp = channel.unary_unary( + '/testpb.TestSchemaQueryService/ListExampleTimestamp', + request_serializer=testpb_dot_test__schema__query__pb2.ListExampleTimestampRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.ListExampleTimestampResponse.FromString, + ) + self.GetSimpleExample = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetSimpleExample', + request_serializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleResponse.FromString, + ) + self.GetSimpleExampleByUnique = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetSimpleExampleByUnique', + request_serializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueResponse.FromString, + ) + self.ListSimpleExample = channel.unary_unary( + '/testpb.TestSchemaQueryService/ListSimpleExample', + request_serializer=testpb_dot_test__schema__query__pb2.ListSimpleExampleRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.ListSimpleExampleResponse.FromString, + ) + self.GetExampleAutoIncFieldName = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleAutoIncFieldName', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameResponse.FromString, + ) + self.ListExampleAutoIncFieldName = channel.unary_unary( + '/testpb.TestSchemaQueryService/ListExampleAutoIncFieldName', + request_serializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameResponse.FromString, + ) + + +class TestSchemaQueryServiceServicer(object): + """TestSchemaQueryService queries the state of the tables specified by testpb/test_schema.proto. + """ + + def GetExampleTable(self, request, context): + """Get queries the ExampleTable table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleTableByU64Str(self, request, context): + """GetExampleTableByU64Str queries the ExampleTable table by its U64Str index + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListExampleTable(self, request, context): + """ListExampleTable queries the ExampleTable table using prefix and range queries against defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleAutoIncrementTable(self, request, context): + """Get queries the ExampleAutoIncrementTable table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleAutoIncrementTableByX(self, request, context): + """GetExampleAutoIncrementTableByX queries the ExampleAutoIncrementTable table by its X index + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListExampleAutoIncrementTable(self, request, context): + """ListExampleAutoIncrementTable queries the ExampleAutoIncrementTable table using prefix and range queries against + defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleSingleton(self, request, context): + """GetExampleSingleton queries the ExampleSingleton singleton. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleTimestamp(self, request, context): + """Get queries the ExampleTimestamp table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListExampleTimestamp(self, request, context): + """ListExampleTimestamp queries the ExampleTimestamp table using prefix and range queries against defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetSimpleExample(self, request, context): + """Get queries the SimpleExample table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetSimpleExampleByUnique(self, request, context): + """GetSimpleExampleByUnique queries the SimpleExample table by its Unique index + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListSimpleExample(self, request, context): + """ListSimpleExample queries the SimpleExample table using prefix and range queries against defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleAutoIncFieldName(self, request, context): + """Get queries the ExampleAutoIncFieldName table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListExampleAutoIncFieldName(self, request, context): + """ListExampleAutoIncFieldName queries the ExampleAutoIncFieldName table using prefix and range queries against + defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_TestSchemaQueryServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetExampleTable': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleTable, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTableRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleTableResponse.SerializeToString, + ), + 'GetExampleTableByU64Str': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleTableByU64Str, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrResponse.SerializeToString, + ), + 'ListExampleTable': grpc.unary_unary_rpc_method_handler( + servicer.ListExampleTable, + request_deserializer=testpb_dot_test__schema__query__pb2.ListExampleTableRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.ListExampleTableResponse.SerializeToString, + ), + 'GetExampleAutoIncrementTable': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleAutoIncrementTable, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableResponse.SerializeToString, + ), + 'GetExampleAutoIncrementTableByX': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleAutoIncrementTableByX, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXResponse.SerializeToString, + ), + 'ListExampleAutoIncrementTable': grpc.unary_unary_rpc_method_handler( + servicer.ListExampleAutoIncrementTable, + request_deserializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableResponse.SerializeToString, + ), + 'GetExampleSingleton': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleSingleton, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleSingletonRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleSingletonResponse.SerializeToString, + ), + 'GetExampleTimestamp': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleTimestamp, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTimestampRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleTimestampResponse.SerializeToString, + ), + 'ListExampleTimestamp': grpc.unary_unary_rpc_method_handler( + servicer.ListExampleTimestamp, + request_deserializer=testpb_dot_test__schema__query__pb2.ListExampleTimestampRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.ListExampleTimestampResponse.SerializeToString, + ), + 'GetSimpleExample': grpc.unary_unary_rpc_method_handler( + servicer.GetSimpleExample, + request_deserializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleResponse.SerializeToString, + ), + 'GetSimpleExampleByUnique': grpc.unary_unary_rpc_method_handler( + servicer.GetSimpleExampleByUnique, + request_deserializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueResponse.SerializeToString, + ), + 'ListSimpleExample': grpc.unary_unary_rpc_method_handler( + servicer.ListSimpleExample, + request_deserializer=testpb_dot_test__schema__query__pb2.ListSimpleExampleRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.ListSimpleExampleResponse.SerializeToString, + ), + 'GetExampleAutoIncFieldName': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleAutoIncFieldName, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameResponse.SerializeToString, + ), + 'ListExampleAutoIncFieldName': grpc.unary_unary_rpc_method_handler( + servicer.ListExampleAutoIncFieldName, + request_deserializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'testpb.TestSchemaQueryService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class TestSchemaQueryService(object): + """TestSchemaQueryService queries the state of the tables specified by testpb/test_schema.proto. + """ + + @staticmethod + def GetExampleTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleTable', + testpb_dot_test__schema__query__pb2.GetExampleTableRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleTableResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleTableByU64Str(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleTableByU64Str', + testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListExampleTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/ListExampleTable', + testpb_dot_test__schema__query__pb2.ListExampleTableRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.ListExampleTableResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleAutoIncrementTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleAutoIncrementTable', + testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleAutoIncrementTableByX(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleAutoIncrementTableByX', + testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListExampleAutoIncrementTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/ListExampleAutoIncrementTable', + testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleSingleton(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleSingleton', + testpb_dot_test__schema__query__pb2.GetExampleSingletonRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleSingletonResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleTimestamp(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleTimestamp', + testpb_dot_test__schema__query__pb2.GetExampleTimestampRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleTimestampResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListExampleTimestamp(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/ListExampleTimestamp', + testpb_dot_test__schema__query__pb2.ListExampleTimestampRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.ListExampleTimestampResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetSimpleExample(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetSimpleExample', + testpb_dot_test__schema__query__pb2.GetSimpleExampleRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetSimpleExampleResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetSimpleExampleByUnique(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetSimpleExampleByUnique', + testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListSimpleExample(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/ListSimpleExample', + testpb_dot_test__schema__query__pb2.ListSimpleExampleRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.ListSimpleExampleResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleAutoIncFieldName(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleAutoIncFieldName', + testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListExampleAutoIncFieldName(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/ListExampleAutoIncFieldName', + testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) From 38da231f7221dcdf4633776601314f5a80478247 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 15 Nov 2023 12:03:54 -0300 Subject: [PATCH 47/83] (fix) Updated version number in pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 58ce21f0..bd6f6333 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.0.1-rc2" +version = "1.0.1-rc3" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" From 4b9e3e20b1a02c1bc2eb2e8891a1830de1047e58 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 15 Nov 2023 12:22:05 -0300 Subject: [PATCH 48/83] (fix) Added pytest configuration to pyproject.toml, sepcifying the testpath to ignore proto tests in the proto/ directory --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index bd6f6333..90016724 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -99,6 +99,9 @@ skip_empty = true fail_under = 50 precision = 2 +[tool.pytest.ini_options] +testpaths = ["tests"] + [build-system] requires = ["poetry-core"] From a549e62a0ebf8eeb65301a58e39f53fd085ddfcf Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 17 Nov 2023 16:58:08 -0300 Subject: [PATCH 49/83] (feat) Added exchange derivative module gRPC requests to the low level API components. Created the unit tests for the new functionality. Added new functions in AsyncClient using the API components and deprecated the old functions --- .../derivative_exchange_rpc/11_Trades.py | 12 +- .../13_SubaccountOrdersList.py | 6 +- .../14_SubaccountTradesList.py | 7 +- .../15_FundingPayments.py | 10 +- .../17_FundingRates.py | 4 +- .../derivative_exchange_rpc/18_Orderbooks.py | 20 - .../19_Binary_Options_Markets.py | 2 +- .../derivative_exchange_rpc/1_Market.py | 2 +- .../20_Binary_Options_Market.py | 2 +- .../21_Historical_Orders.py | 11 +- .../22_OrderbooksV2.py | 2 +- .../23_LiquidablePositions.py | 17 +- .../derivative_exchange_rpc/2_Markets.py | 4 +- .../derivative_exchange_rpc/4_Orderbook.py | 2 +- .../6_StreamOrderbookUpdate.py | 28 +- .../derivative_exchange_rpc/7_Positions.py | 9 +- pyinjective/async_client.py | 292 +++- .../grpc/indexer_grpc_derivative_api.py | 291 ++++ pyinjective/core/market.py | 1 + .../configurable_derivative_query_servicer.py | 83 ++ .../grpc/test_indexer_grpc_derivative_api.py | 1236 +++++++++++++++++ tests/rpc_fixtures/configurable_servicers.py | 29 - tests/test_async_client.py | 20 +- .../test_async_client_deprecation_warnings.py | 290 ++++ 24 files changed, 2251 insertions(+), 129 deletions(-) delete mode 100644 examples/exchange_client/derivative_exchange_rpc/18_Orderbooks.py create mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py create mode 100644 tests/client/indexer/configurable_derivative_query_servicer.py create mode 100644 tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py delete mode 100644 tests/rpc_fixtures/configurable_servicers.py diff --git a/examples/exchange_client/derivative_exchange_rpc/11_Trades.py b/examples/exchange_client/derivative_exchange_rpc/11_Trades.py index 5ae822a9..3befd828 100644 --- a/examples/exchange_client/derivative_exchange_rpc/11_Trades.py +++ b/examples/exchange_client/derivative_exchange_rpc/11_Trades.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -8,9 +9,14 @@ async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" - subaccount_id = "0xc6fe5d33615a1c52c08018c47e8bc53646a0e101000000000000000000000000" - trades = await client.get_derivative_trades(market_id=market_id, subaccount_id=subaccount_id) + market_ids = ["0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"] + subaccount_ids = ["0xc6fe5d33615a1c52c08018c47e8bc53646a0e101000000000000000000000000"] + skip = 0 + limit = 4 + pagination = PaginationOption(skip=skip, limit=limit) + trades = await client.fetch_derivative_trades( + market_ids=market_ids, subaccount_ids=subaccount_ids, pagination=pagination + ) print(trades) diff --git a/examples/exchange_client/derivative_exchange_rpc/13_SubaccountOrdersList.py b/examples/exchange_client/derivative_exchange_rpc/13_SubaccountOrdersList.py index a7f06db7..d219a0a2 100644 --- a/examples/exchange_client/derivative_exchange_rpc/13_SubaccountOrdersList.py +++ b/examples/exchange_client/derivative_exchange_rpc/13_SubaccountOrdersList.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -12,8 +13,9 @@ async def main() -> None: market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" skip = 1 limit = 2 - orders = await client.get_derivative_subaccount_orders( - subaccount_id=subaccount_id, market_id=market_id, skip=skip, limit=limit + pagination = PaginationOption(skip=skip, limit=limit) + orders = await client.fetch_subaccount_orders_list( + subaccount_id=subaccount_id, market_id=market_id, pagination=pagination ) print(orders) diff --git a/examples/exchange_client/derivative_exchange_rpc/14_SubaccountTradesList.py b/examples/exchange_client/derivative_exchange_rpc/14_SubaccountTradesList.py index 4cd55f06..c1e703e3 100644 --- a/examples/exchange_client/derivative_exchange_rpc/14_SubaccountTradesList.py +++ b/examples/exchange_client/derivative_exchange_rpc/14_SubaccountTradesList.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -14,13 +15,13 @@ async def main() -> None: direction = "sell" skip = 10 limit = 2 - trades = await client.get_derivative_subaccount_trades( + pagination = PaginationOption(skip=skip, limit=limit) + trades = await client.fetch_subaccount_trades_list( subaccount_id=subaccount_id, market_id=market_id, execution_type=execution_type, direction=direction, - skip=skip, - limit=limit, + pagination=pagination, ) print(trades) diff --git a/examples/exchange_client/derivative_exchange_rpc/15_FundingPayments.py b/examples/exchange_client/derivative_exchange_rpc/15_FundingPayments.py index 8f352c9e..5321d723 100644 --- a/examples/exchange_client/derivative_exchange_rpc/15_FundingPayments.py +++ b/examples/exchange_client/derivative_exchange_rpc/15_FundingPayments.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -8,15 +9,16 @@ async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" + market_ids = ["0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"] subaccount_id = "0xc6fe5d33615a1c52c08018c47e8bc53646a0e101000000000000000000000000" skip = 0 limit = 3 end_time = 1676426400125 - funding = await client.get_funding_payments( - market_id=market_id, subaccount_id=subaccount_id, skip=skip, limit=limit, end_time=end_time + pagination = PaginationOption(skip=skip, limit=limit, end_time=end_time) + funding_payments = await client.fetch_funding_payments( + market_ids=market_ids, subaccount_id=subaccount_id, pagination=pagination ) - print(funding) + print(funding_payments) if __name__ == "__main__": diff --git a/examples/exchange_client/derivative_exchange_rpc/17_FundingRates.py b/examples/exchange_client/derivative_exchange_rpc/17_FundingRates.py index 2a8cbcd1..f7bc3b7f 100644 --- a/examples/exchange_client/derivative_exchange_rpc/17_FundingRates.py +++ b/examples/exchange_client/derivative_exchange_rpc/17_FundingRates.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -12,7 +13,8 @@ async def main() -> None: skip = 0 limit = 3 end_time = 1675717201465 - funding_rates = await client.get_funding_rates(market_id=market_id, skip=skip, limit=limit, end_time=end_time) + pagination = PaginationOption(skip=skip, limit=limit, end_time=end_time) + funding_rates = await client.fetch_funding_rates(market_id=market_id, pagination=pagination) print(funding_rates) diff --git a/examples/exchange_client/derivative_exchange_rpc/18_Orderbooks.py b/examples/exchange_client/derivative_exchange_rpc/18_Orderbooks.py deleted file mode 100644 index 49b00e02..00000000 --- a/examples/exchange_client/derivative_exchange_rpc/18_Orderbooks.py +++ /dev/null @@ -1,20 +0,0 @@ -import asyncio - -from pyinjective.async_client import AsyncClient -from pyinjective.core.network import Network - - -async def main() -> None: - # select network: local, testnet, mainnet - network = Network.testnet() - client = AsyncClient(network) - market_ids = [ - "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - "0xd5e4b12b19ecf176e4e14b42944731c27677819d2ed93be4104ad7025529c7ff", - ] - markets = await client.get_derivative_orderbooks(market_ids=market_ids) - print(markets) - - -if __name__ == "__main__": - asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/exchange_client/derivative_exchange_rpc/19_Binary_Options_Markets.py b/examples/exchange_client/derivative_exchange_rpc/19_Binary_Options_Markets.py index 9ed36e38..97b90bca 100644 --- a/examples/exchange_client/derivative_exchange_rpc/19_Binary_Options_Markets.py +++ b/examples/exchange_client/derivative_exchange_rpc/19_Binary_Options_Markets.py @@ -9,7 +9,7 @@ async def main() -> None: client = AsyncClient(network) market_status = "active" quote_denom = "peggy0xdAC17F958D2ee523a2206206994597C13D831ec7" - market = await client.get_binary_options_markets(market_status=market_status, quote_denom=quote_denom) + market = await client.fetch_binary_options_markets(market_status=market_status, quote_denom=quote_denom) print(market) diff --git a/examples/exchange_client/derivative_exchange_rpc/1_Market.py b/examples/exchange_client/derivative_exchange_rpc/1_Market.py index f0cdf499..dd5b2091 100644 --- a/examples/exchange_client/derivative_exchange_rpc/1_Market.py +++ b/examples/exchange_client/derivative_exchange_rpc/1_Market.py @@ -9,7 +9,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" - market = await client.get_derivative_market(market_id=market_id) + market = await client.fetch_derivative_market(market_id=market_id) print(market) diff --git a/examples/exchange_client/derivative_exchange_rpc/20_Binary_Options_Market.py b/examples/exchange_client/derivative_exchange_rpc/20_Binary_Options_Market.py index 6c14d93a..18edbbed 100644 --- a/examples/exchange_client/derivative_exchange_rpc/20_Binary_Options_Market.py +++ b/examples/exchange_client/derivative_exchange_rpc/20_Binary_Options_Market.py @@ -8,7 +8,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) market_id = "0x175513943b8677368d138e57bcd6bef53170a0da192e7eaa8c2cd4509b54f8db" - market = await client.get_binary_options_market(market_id=market_id) + market = await client.fetch_binary_options_market(market_id=market_id) print(market) diff --git a/examples/exchange_client/derivative_exchange_rpc/21_Historical_Orders.py b/examples/exchange_client/derivative_exchange_rpc/21_Historical_Orders.py index 9dc22f6f..3e8641ae 100644 --- a/examples/exchange_client/derivative_exchange_rpc/21_Historical_Orders.py +++ b/examples/exchange_client/derivative_exchange_rpc/21_Historical_Orders.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -8,17 +9,17 @@ async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" + market_ids = ["0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"] subaccount_id = "0x295639d56c987f0e24d21bb167872b3542a6e05a000000000000000000000000" is_conditional = "false" skip = 10 limit = 3 - orders = await client.get_historical_derivative_orders( - market_id=market_id, + pagination = PaginationOption(skip=skip, limit=limit) + orders = await client.fetch_derivative_orders_history( subaccount_id=subaccount_id, - skip=skip, - limit=limit, + market_ids=market_ids, is_conditional=is_conditional, + pagination=pagination, ) print(orders) diff --git a/examples/exchange_client/derivative_exchange_rpc/22_OrderbooksV2.py b/examples/exchange_client/derivative_exchange_rpc/22_OrderbooksV2.py index 40ae4598..def49ded 100644 --- a/examples/exchange_client/derivative_exchange_rpc/22_OrderbooksV2.py +++ b/examples/exchange_client/derivative_exchange_rpc/22_OrderbooksV2.py @@ -12,7 +12,7 @@ async def main() -> None: "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", "0xd5e4b12b19ecf176e4e14b42944731c27677819d2ed93be4104ad7025529c7ff", ] - orderbooks = await client.get_derivative_orderbooksV2(market_ids=market_ids) + orderbooks = await client.fetch_derivative_orderbooks_v2(market_ids=market_ids) print(orderbooks) diff --git a/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py b/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py index e87f67b1..55e76492 100644 --- a/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py +++ b/examples/exchange_client/derivative_exchange_rpc/23_LiquidablePositions.py @@ -1,8 +1,7 @@ import asyncio -from google.protobuf import json_format - from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -12,18 +11,12 @@ async def main() -> None: market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" skip = 10 limit = 3 - positions = await client.get_derivative_liquidable_positions( + pagination = PaginationOption(skip=skip, limit=limit) + positions = await client.fetch_derivative_liquidable_positions( market_id=market_id, - skip=skip, - limit=limit, - ) - print( - json_format.MessageToJson( - message=positions, - including_default_value_fields=True, - preserving_proto_field_name=True, - ) + pagination=pagination, ) + print(positions) if __name__ == "__main__": diff --git a/examples/exchange_client/derivative_exchange_rpc/2_Markets.py b/examples/exchange_client/derivative_exchange_rpc/2_Markets.py index 949695e1..b5a5999a 100644 --- a/examples/exchange_client/derivative_exchange_rpc/2_Markets.py +++ b/examples/exchange_client/derivative_exchange_rpc/2_Markets.py @@ -8,9 +8,9 @@ async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - market_status = "active" + market_statuses = ["active"] quote_denom = "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5" - market = await client.get_derivative_markets(market_status=market_status, quote_denom=quote_denom) + market = await client.fetch_derivative_markets(market_statuses=market_statuses, quote_denom=quote_denom) print(market) diff --git a/examples/exchange_client/derivative_exchange_rpc/4_Orderbook.py b/examples/exchange_client/derivative_exchange_rpc/4_Orderbook.py index 49602701..01443459 100644 --- a/examples/exchange_client/derivative_exchange_rpc/4_Orderbook.py +++ b/examples/exchange_client/derivative_exchange_rpc/4_Orderbook.py @@ -9,7 +9,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" - market = await client.get_derivative_orderbook(market_id=market_id) + market = await client.fetch_derivative_orderbook_v2(market_id=market_id) print(market) diff --git a/examples/exchange_client/derivative_exchange_rpc/6_StreamOrderbookUpdate.py b/examples/exchange_client/derivative_exchange_rpc/6_StreamOrderbookUpdate.py index 235e75d2..9ae95620 100644 --- a/examples/exchange_client/derivative_exchange_rpc/6_StreamOrderbookUpdate.py +++ b/examples/exchange_client/derivative_exchange_rpc/6_StreamOrderbookUpdate.py @@ -24,24 +24,24 @@ def __init__(self, market_id: str): async def load_orderbook_snapshot(async_client: AsyncClient, orderbook: Orderbook): # load the snapshot - res = await async_client.get_derivative_orderbooksV2(market_ids=[orderbook.market_id]) - for snapshot in res.orderbooks: - if snapshot.market_id != orderbook.market_id: + res = await async_client.fetch_derivative_orderbooks_v2(market_ids=[orderbook.market_id]) + for snapshot in res["orderbooks"]: + if snapshot["marketId"] != orderbook.market_id: raise Exception("unexpected snapshot") - orderbook.sequence = int(snapshot.orderbook.sequence) + orderbook.sequence = int(snapshot["orderbook"]["sequence"]) - for buy in snapshot.orderbook.buys: - orderbook.levels["buys"][buy.price] = PriceLevel( - price=Decimal(buy.price), - quantity=Decimal(buy.quantity), - timestamp=buy.timestamp, + for buy in snapshot["orderbook"]["buys"]: + orderbook.levels["buys"][buy["price"]] = PriceLevel( + price=Decimal(buy["price"]), + quantity=Decimal(buy["quantity"]), + timestamp=int(buy["timestamp"]), ) - for sell in snapshot.orderbook.sells: - orderbook.levels["sells"][sell.price] = PriceLevel( - price=Decimal(sell.price), - quantity=Decimal(sell.quantity), - timestamp=sell.timestamp, + for sell in snapshot["orderbook"]["sells"]: + orderbook.levels["sells"][sell["price"]] = PriceLevel( + price=Decimal(sell["price"]), + quantity=Decimal(sell["quantity"]), + timestamp=int(sell["timestamp"]), ) break diff --git a/examples/exchange_client/derivative_exchange_rpc/7_Positions.py b/examples/exchange_client/derivative_exchange_rpc/7_Positions.py index fddd7b3a..e0ffb8b1 100644 --- a/examples/exchange_client/derivative_exchange_rpc/7_Positions.py +++ b/examples/exchange_client/derivative_exchange_rpc/7_Positions.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -17,13 +18,13 @@ async def main() -> None: subaccount_total_positions = False skip = 4 limit = 4 - positions = await client.get_derivative_positions( + pagination = PaginationOption(skip=skip, limit=limit) + positions = await client.fetch_derivative_positions( market_ids=market_ids, - ubaccount_id=subaccount_id, + subaccount_id=subaccount_id, direction=direction, subaccount_total_positions=subaccount_total_positions, - skip=skip, - limit=limit, + pagination=pagination, ) print(positions) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 8e6b3c5c..cef3c829 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -14,6 +14,7 @@ from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi 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_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 @@ -187,6 +188,12 @@ def __init__( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_derivative_api = IndexerGrpcDerivativeApi( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) self.exchange_insurance_api = IndexerGrpcInsuranceApi( channel=self.exchange_channel, metadata_provider=lambda: self.network.exchange_metadata( @@ -1440,16 +1447,37 @@ async def fetch_spot_subaccount_trades_list( # 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): req = derivative_exchange_rpc_pb.StreamMarketRequest(market_ids=kwargs.get("market_ids")) metadata = await self.network.exchange_metadata( @@ -1458,18 +1486,32 @@ async def stream_derivative_markets(self, **kwargs): 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 get_derivative_orderbooks(self, market_ids: List): - req = derivative_exchange_rpc_pb.OrderbooksV2Request(market_ids=market_ids) - return await self.stubDerivativeExchange.OrderbooksV2(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): + 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"), @@ -1488,7 +1530,37 @@ async def get_derivative_orders(self, market_id: str, **kwargs): ) 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) @@ -1514,7 +1586,39 @@ async def get_historical_derivative_orders(self, market_id: Optional[str] = None ) 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"), @@ -1533,6 +1637,30 @@ async def get_derivative_trades(self, **kwargs): ) 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( + 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]): req = derivative_exchange_rpc_pb.StreamOrderbookV2Request(market_ids=market_ids) metadata = await self.network.exchange_metadata( @@ -1592,6 +1720,10 @@ async def stream_derivative_trades(self, **kwargs): 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` instead + """ + warn("This method is deprecated. Use fetch_derivative_positions instead", DeprecationWarning, stacklevel=2) req = derivative_exchange_rpc_pb.PositionsRequest( market_id=kwargs.get("market_id"), market_ids=kwargs.get("market_ids"), @@ -1603,6 +1735,22 @@ async def get_derivative_positions(self, **kwargs): ) return await self.stubDerivativeExchange.Positions(req) + async def fetch_derivative_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]: + return await self.exchange_derivative_api.fetch_positions( + 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): req = derivative_exchange_rpc_pb.StreamPositionsRequest( market_id=kwargs.get("market_id"), @@ -1616,6 +1764,14 @@ async def stream_derivative_positions(self, **kwargs): return self.stubDerivativeExchange.StreamPositions(request=req, metadata=metadata) 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"), @@ -1623,7 +1779,25 @@ async def get_derivative_liquidable_positions(self, **kwargs): ) 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): + """ + 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"), @@ -1632,7 +1806,25 @@ async def get_derivative_subaccount_orders(self, subaccount_id: str, **kwargs): ) 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"), @@ -1643,7 +1835,27 @@ async def get_derivative_subaccount_trades(self, subaccount_id: str, **kwargs): ) return await self.stubDerivativeExchange.SubaccountTradesList(req) + 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]: + 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"), @@ -1654,7 +1866,21 @@ async def get_funding_payments(self, subaccount_id: str, **kwargs): ) 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"), @@ -1663,7 +1889,18 @@ async def get_funding_rates(self, market_id: str, **kwargs): ) 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"), @@ -1672,10 +1909,29 @@ async def get_binary_options_markets(self, **kwargs): ) 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): @@ -1738,7 +1994,8 @@ async def _initialize_tokens_and_markets(self): valid_markets = ( market_info for market_info in markets_info - if len(market_info["baseTokenMeta"]["symbol"]) > 0 and len(market_info["quoteTokenMeta"]["symbol"]) > 0 + if len(market_info.get("baseTokenMeta", {}).get("symbol", "")) > 0 + and len(market_info.get("quoteTokenMeta", {}).get("symbol", "")) > 0 ) for market_info in valid_markets: @@ -1782,9 +2039,11 @@ async def _initialize_tokens_and_markets(self): spot_markets[market.id] = market - markets_info = (await self.get_derivative_markets(market_status="active")).markets + markets_info = (await self.fetch_derivative_markets(market_statuses=["active"]))["markets"] valid_markets = ( - market_info for market_info in markets_info if len(market_info["quoteTokenMeta"]["symbol"]) > 0 + market_info + for market_info in markets_info + if len(market_info.get("quoteTokenMeta", {}).get("symbol", "")) > 0 ) for market_info in valid_markets: @@ -1819,7 +2078,7 @@ async def _initialize_tokens_and_markets(self): derivative_markets[market.id] = market - markets_info = (await self.get_binary_options_markets(market_status="active")).markets + markets_info = (await self.fetch_binary_options_markets(market_status="active"))["markets"] for market_info in markets_info: quote_token = tokens_by_denom.get(market_info["quoteDenom"], None) @@ -1839,6 +2098,9 @@ async def _initialize_tokens_and_markets(self): service_provider_fee=Decimal(market_info["serviceProviderFee"]), min_price_tick_size=Decimal(market_info["minPriceTickSize"]), min_quantity_tick_size=Decimal(market_info["minQuantityTickSize"]), + settlement_price=None + if market_info["settlementPrice"] == "" + else Decimal(market_info["settlementPrice"]), ) binary_option_markets[market.id] = market @@ -1848,15 +2110,17 @@ async def _initialize_tokens_and_markets(self): self._derivative_markets = derivative_markets self._binary_option_markets = binary_option_markets - def _token_representation(self, symbol: str, token_meta, denom: str, all_tokens: Dict[str, Token]) -> Token: + def _token_representation( + self, symbol: str, token_meta: Dict[str, Any], denom: str, all_tokens: Dict[str, Token] + ) -> Token: token = Token( - name=token_meta.name, + name=token_meta["name"], symbol=symbol, denom=denom, - address=token_meta.address, - decimals=token_meta.decimals, - logo=token_meta.logo, - updated=token_meta.updated_at, + address=token_meta["address"], + decimals=token_meta["decimals"], + logo=token_meta["logo"], + updated=int(token_meta["updatedAt"]), ) existing_token = all_tokens.get(token.symbol, None) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py new file mode 100644 index 00000000..a79f9cac --- /dev/null +++ b/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py @@ -0,0 +1,291 @@ +from typing import Any, Callable, Dict, List, Optional + +from grpc.aio import Channel + +from pyinjective.client.model.pagination import PaginationOption +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, metadata_provider: Callable): + self._stub = self._stub = exchange_derivative_grpc.InjectiveDerivativeExchangeRPCStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + 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_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 _execute_call(self, call: Callable, request) -> Dict[str, Any]: + return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/market.py b/pyinjective/core/market.py index 228a3a52..3faf21d2 100644 --- a/pyinjective/core/market.py +++ b/pyinjective/core/market.py @@ -125,6 +125,7 @@ class BinaryOptionMarket: service_provider_fee: Decimal min_price_tick_size: Decimal min_quantity_tick_size: Decimal + settlement_price: Optional[Decimal] = None def quantity_to_chain_format(self, human_readable_value: Decimal, special_denom: Optional[Denom] = None) -> Decimal: # Binary option markets do not have a base market to provide the number of decimals diff --git a/tests/client/indexer/configurable_derivative_query_servicer.py b/tests/client/indexer/configurable_derivative_query_servicer.py new file mode 100644 index 00000000..083e431e --- /dev/null +++ b/tests/client/indexer/configurable_derivative_query_servicer.py @@ -0,0 +1,83 @@ +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.liquidable_positions_responses = deque() + self.funding_payments_responses = deque() + self.funding_rates_responses = deque() + self.trades_responses = deque() + self.subaccount_orders_list_responses = deque() + self.subaccount_trades_list_responses = deque() + self.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 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 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() diff --git a/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py b/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py new file mode 100644 index 00000000..4ba28c2b --- /dev/null +++ b/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py @@ -0,0 +1,1236 @@ +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 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, + ) + + derivative_servicer.markets_responses.append( + exchange_derivative_pb.MarketsResponse( + markets=[market], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + "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, + ) + + derivative_servicer.market_responses.append( + exchange_derivative_pb.MarketResponse( + market=market, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + "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", + ) + 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) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + } + ], + "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", + ) + + derivative_servicer.binary_options_market_responses.append( + exchange_derivative_pb.BinaryOptionsMarketResponse(market=market) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + } + } + + 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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_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]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/rpc_fixtures/configurable_servicers.py b/tests/rpc_fixtures/configurable_servicers.py deleted file mode 100644 index 8c46dd2d..00000000 --- a/tests/rpc_fixtures/configurable_servicers.py +++ /dev/null @@ -1,29 +0,0 @@ -from collections import deque - -from pyinjective.proto.exchange import injective_derivative_exchange_rpc_pb2, injective_spot_exchange_rpc_pb2 -from pyinjective.proto.exchange.injective_derivative_exchange_rpc_pb2_grpc import InjectiveDerivativeExchangeRPCServicer -from pyinjective.proto.exchange.injective_spot_exchange_rpc_pb2_grpc import InjectiveSpotExchangeRPCServicer - - -class ConfigurableInjectiveSpotExchangeRPCServicer(InjectiveSpotExchangeRPCServicer): - def __init__(self): - super().__init__() - self.markets_queue = deque() - - async def Markets(self, request: injective_spot_exchange_rpc_pb2.MarketsRequest, context=None): - return self.markets_queue.pop() - - -class ConfigurableInjectiveDerivativeExchangeRPCServicer(InjectiveDerivativeExchangeRPCServicer): - def __init__(self): - super().__init__() - self.markets_queue = deque() - self.binary_option_markets_queue = deque() - - async def Markets(self, request: injective_derivative_exchange_rpc_pb2.MarketsRequest, context=None): - return self.markets_queue.pop() - - async def BinaryOptionsMarkets( - self, request: injective_derivative_exchange_rpc_pb2.BinaryOptionsMarketsRequest, context=None - ): - return self.binary_option_markets_queue.pop() diff --git a/tests/test_async_client.py b/tests/test_async_client.py index ac18c6f5..7780e088 100644 --- a/tests/test_async_client.py +++ b/tests/test_async_client.py @@ -5,10 +5,8 @@ from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network from pyinjective.proto.exchange import injective_derivative_exchange_rpc_pb2, injective_spot_exchange_rpc_pb2 -from tests.rpc_fixtures.configurable_servicers import ( - ConfigurableInjectiveDerivativeExchangeRPCServicer, - ConfigurableInjectiveSpotExchangeRPCServicer, -) +from tests.client.indexer.configurable_derivative_query_servicer import ConfigurableDerivativeQueryServicer +from tests.client.indexer.configurable_spot_query_servicer import ConfigurableSpotQueryServicer from tests.rpc_fixtures.markets_fixtures import ape_token_meta # noqa: F401 from tests.rpc_fixtures.markets_fixtures import ape_usdt_spot_market_meta # noqa: F401 from tests.rpc_fixtures.markets_fixtures import btc_usdt_perp_market_meta # noqa: F401 @@ -24,12 +22,12 @@ @pytest.fixture def spot_servicer(): - return ConfigurableInjectiveSpotExchangeRPCServicer() + return ConfigurableSpotQueryServicer() @pytest.fixture def derivative_servicer(): - return ConfigurableInjectiveDerivativeExchangeRPCServicer() + return ConfigurableDerivativeQueryServicer() class TestAsyncClient: @@ -81,15 +79,15 @@ async def test_initialize_tokens_and_markets( btc_usdt_perp_market_meta, first_match_bet_market_meta, ): - spot_servicer.markets_queue.append( + spot_servicer.markets_responses.append( injective_spot_exchange_rpc_pb2.MarketsResponse( markets=[inj_usdt_spot_market_meta, ape_usdt_spot_market_meta] ) ) - derivative_servicer.markets_queue.append( + derivative_servicer.markets_responses.append( injective_derivative_exchange_rpc_pb2.MarketsResponse(markets=[btc_usdt_perp_market_meta]) ) - derivative_servicer.binary_option_markets_queue.append( + derivative_servicer.binary_options_markets_responses.append( injective_derivative_exchange_rpc_pb2.BinaryOptionsMarketsResponse(markets=[first_match_bet_market_meta]) ) @@ -98,8 +96,8 @@ async def test_initialize_tokens_and_markets( insecure=False, ) - client.stubSpotExchange = spot_servicer - client.stubDerivativeExchange = derivative_servicer + client.exchange_spot_api._stub = spot_servicer + client.exchange_derivative_api._stub = derivative_servicer await client._initialize_tokens_and_markets() diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 4bbf2cab..0d6e7bc0 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -10,6 +10,7 @@ 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_insurance_rpc_pb2 as exchange_insurance_pb, injective_meta_rpc_pb2 as exchange_meta_pb, injective_oracle_rpc_pb2 as exchange_oracle_pb, @@ -21,6 +22,7 @@ from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer 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_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 @@ -53,6 +55,11 @@ def bank_servicer(): return ConfigurableBankQueryServicer() +@pytest.fixture +def derivative_servicer(): + return ConfigurableDerivativeQueryServicer() + + @pytest.fixture def insurance_servicer(): return ConfigurableInsuranceQueryServicer() @@ -945,3 +952,286 @@ async def test_stream_historical_spot_orders_deprecation_warning( assert ( str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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=[]) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_positions 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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_orders_history instead" From f5d44a5e9743e788da9a390fff1b999854c3a125 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 22 Nov 2023 11:47:54 -0300 Subject: [PATCH 50/83] (feat) Improved markets and tokens parsing to ensure there are no duplicates --- pyinjective/async_client.py | 81 +++++++++++++----------- tests/model_fixtures/markets_fixtures.py | 2 +- tests/rpc_fixtures/markets_fixtures.py | 2 +- 3 files changed, 45 insertions(+), 40 deletions(-) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 44b72d14..7540f6f9 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -120,17 +120,18 @@ def __init__( self._initialize_timeout_height_sync_task() self._tokens_and_markets_initialization_lock = asyncio.Lock() - self._tokens: Optional[Dict[str, Token]] = None + self._tokens_by_denom: Optional[Dict[str, Token]] = None + self._tokens_by_symbol: Optional[Dict[str, Token]] = None self._spot_markets: Optional[Dict[str, SpotMarket]] = None self._derivative_markets: Optional[Dict[str, DerivativeMarket]] = None self._binary_option_markets: Optional[Dict[str, BinaryOptionMarket]] = None async def all_tokens(self) -> Dict[str, Token]: - if self._tokens is None: + if self._tokens_by_symbol is None: async with self._tokens_and_markets_initialization_lock: - if self._tokens is None: + if self._tokens_by_symbol is None: await self._initialize_tokens_and_markets() - return deepcopy(self._tokens) + return deepcopy(self._tokens_by_symbol) async def all_spot_markets(self) -> Dict[str, SpotMarket]: if self._spot_markets is None: @@ -968,7 +969,7 @@ async def _initialize_tokens_and_markets(self): spot_markets = dict() derivative_markets = dict() binary_option_markets = dict() - tokens = dict() + tokens_by_symbol = dict() tokens_by_denom = dict() markets_info = (await self.get_spot_markets(market_status="active")).markets valid_markets = ( @@ -989,19 +990,16 @@ async def _initialize_tokens_and_markets(self): symbol=base_token_symbol, token_meta=market_info.base_token_meta, denom=market_info.base_denom, - all_tokens=tokens, + tokens_by_denom=tokens_by_denom, + tokens_by_symbol=tokens_by_symbol, ) - if base_token.denom not in tokens_by_denom: - tokens_by_denom[base_token.denom] = base_token - quote_token = self._token_representation( symbol=quote_token_symbol, token_meta=market_info.quote_token_meta, denom=market_info.quote_denom, - all_tokens=tokens, + tokens_by_denom=tokens_by_denom, + tokens_by_symbol=tokens_by_symbol, ) - if quote_token.denom not in tokens_by_denom: - tokens_by_denom[quote_token.denom] = quote_token market = SpotMarket( id=market_info.market_id, @@ -1029,10 +1027,9 @@ async def _initialize_tokens_and_markets(self): symbol=quote_token_symbol, token_meta=market_info.quote_token_meta, denom=market_info.quote_denom, - all_tokens=tokens, + tokens_by_denom=tokens_by_denom, + tokens_by_symbol=tokens_by_symbol, ) - if quote_token.denom not in tokens_by_denom: - tokens_by_denom[quote_token.denom] = quote_token market = DerivativeMarket( id=market_info.market_id, @@ -1078,33 +1075,41 @@ async def _initialize_tokens_and_markets(self): binary_option_markets[market.id] = market - self._tokens = tokens + self._tokens_by_denom = tokens_by_denom + self._tokens_by_symbol = tokens_by_symbol self._spot_markets = spot_markets self._derivative_markets = derivative_markets self._binary_option_markets = binary_option_markets - def _token_representation(self, symbol: str, token_meta, denom: str, all_tokens: Dict[str, Token]) -> Token: - token = Token( - name=token_meta.name, - symbol=symbol, - denom=denom, - address=token_meta.address, - decimals=token_meta.decimals, - logo=token_meta.logo, - updated=token_meta.updated_at, - ) - - existing_token = all_tokens.get(token.symbol, None) - if existing_token is None: - all_tokens[token.symbol] = token - existing_token = token - elif existing_token.denom != denom: - existing_token = all_tokens.get(token.name, None) - if existing_token is None: - all_tokens[token.name] = token - existing_token = token - - return existing_token + def _token_representation( + self, + symbol: str, + token_meta, + denom: str, + tokens_by_denom: Dict[str, Token], + tokens_by_symbol: Dict[str, Token], + ) -> Token: + if denom not in tokens_by_denom: + unique_symbol = denom + for symbol_candidate in [symbol, token_meta.symbol, token_meta.name]: + if symbol_candidate not in tokens_by_symbol: + unique_symbol = symbol_candidate + break + + token = Token( + name=token_meta.name, + symbol=symbol, + denom=denom, + address=token_meta.address, + decimals=token_meta.decimals, + logo=token_meta.logo, + updated=token_meta.updated_at, + ) + + tokens_by_denom[denom] = token + tokens_by_symbol[unique_symbol] = token + + return tokens_by_denom[denom] def _chain_cookie_metadata_requestor(self) -> Coroutine: request = tendermint_query.GetLatestBlockRequest() diff --git a/tests/model_fixtures/markets_fixtures.py b/tests/model_fixtures/markets_fixtures.py index 15b35021..47c0bd4f 100644 --- a/tests/model_fixtures/markets_fixtures.py +++ b/tests/model_fixtures/markets_fixtures.py @@ -11,7 +11,7 @@ def inj_token(): token = Token( name="Injective Protocol", symbol="INJ", - denom="peggy0x44C21afAaF20c270EBbF5914Cfc3b5022173FEB7", + denom="inj", address="0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30", decimals=18, logo="https://static.alchemyapi.io/images/assets/7226.png", diff --git a/tests/rpc_fixtures/markets_fixtures.py b/tests/rpc_fixtures/markets_fixtures.py index 534ec8d7..69f835df 100644 --- a/tests/rpc_fixtures/markets_fixtures.py +++ b/tests/rpc_fixtures/markets_fixtures.py @@ -111,7 +111,7 @@ def inj_usdt_spot_market_meta(inj_token_meta, usdt_token_meta): market_id="0x7a57e705bb4e09c88aecfc295569481dbf2fe1d5efe364651fbe72385938e9b0", market_status="active", ticker="INJ/USDT", - base_denom="peggy0x44C21afAaF20c270EBbF5914Cfc3b5022173FEB7", + base_denom="inj", base_token_meta=inj_token_meta, quote_denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", quote_token_meta=usdt_token_meta, From 0edbb81408042e110590e6de4fb9a993e059838c Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 27 Nov 2023 13:01:28 -0300 Subject: [PATCH 51/83] (feat) Added low level API component for exchange derivative streams. Added unit tests for the new functionality. Included new functions in AsyncClient using the low level API components, and marked the old functions as deprecated --- .../10_StreamHistoricalOrders.py | 30 +- .../12_StreamTrades.py | 35 +- .../14_SubaccountTradesList.py | 2 +- .../derivative_exchange_rpc/3_StreamMarket.py | 29 +- .../5_StreamOrderbooks.py | 32 +- .../6_StreamOrderbookUpdate.py | 138 ++-- .../9_StreamPositions.py | 35 +- pyinjective/async_client.py | 214 +++++- .../indexer_grpc_derivative_stream.py | 196 +++++ .../configurable_derivative_query_servicer.py | 44 ++ .../test_indexer_grpc_derivative_stream.py | 709 ++++++++++++++++++ .../test_async_client_deprecation_warnings.py | 140 +++- 12 files changed, 1521 insertions(+), 83 deletions(-) create mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_derivative_stream.py create mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_derivative_stream.py diff --git a/examples/exchange_client/derivative_exchange_rpc/10_StreamHistoricalOrders.py b/examples/exchange_client/derivative_exchange_rpc/10_StreamHistoricalOrders.py index b58448d2..140639fe 100644 --- a/examples/exchange_client/derivative_exchange_rpc/10_StreamHistoricalOrders.py +++ b/examples/exchange_client/derivative_exchange_rpc/10_StreamHistoricalOrders.py @@ -1,17 +1,41 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def order_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to derivative orders history updates ({exception})") + + +def stream_closed_processor(): + print("The derivative orders history updates stream has been closed") + + async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" - orders = await client.stream_historical_derivative_orders(market_id=market_id) - async for order in orders: - print(order) + + task = asyncio.get_event_loop().create_task( + client.listen_derivative_orders_history_updates( + callback=order_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + market_id=market_id, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/examples/exchange_client/derivative_exchange_rpc/12_StreamTrades.py b/examples/exchange_client/derivative_exchange_rpc/12_StreamTrades.py index 8d6246bb..9ccf11de 100644 --- a/examples/exchange_client/derivative_exchange_rpc/12_StreamTrades.py +++ b/examples/exchange_client/derivative_exchange_rpc/12_StreamTrades.py @@ -1,21 +1,46 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def market_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to derivative trades updates ({exception})") + + +def stream_closed_processor(): + print("The derivative trades updates stream has been closed") + + async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) market_ids = [ "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - "0xd5e4b12b19ecf176e4e14b42944731c27677819d2ed93be4104ad7025529c7ff", + "0x70bc8d7feab38b23d5fdfb12b9c3726e400c265edbcbf449b6c80c31d63d3a02", ] - subaccount_id = "0xc6fe5d33615a1c52c08018c47e8bc53646a0e101000000000000000000000000" - trades = await client.stream_derivative_trades(market_id=market_ids[0], subaccount_id=subaccount_id) - async for trade in trades: - print(trade) + subaccount_ids = ["0xc6fe5d33615a1c52c08018c47e8bc53646a0e101000000000000000000000000"] + + task = asyncio.get_event_loop().create_task( + client.listen_derivative_trades_updates( + callback=market_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + market_ids=market_ids, + subaccount_ids=subaccount_ids, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/examples/exchange_client/derivative_exchange_rpc/14_SubaccountTradesList.py b/examples/exchange_client/derivative_exchange_rpc/14_SubaccountTradesList.py index c1e703e3..ed90a456 100644 --- a/examples/exchange_client/derivative_exchange_rpc/14_SubaccountTradesList.py +++ b/examples/exchange_client/derivative_exchange_rpc/14_SubaccountTradesList.py @@ -16,7 +16,7 @@ async def main() -> None: skip = 10 limit = 2 pagination = PaginationOption(skip=skip, limit=limit) - trades = await client.fetch_subaccount_trades_list( + trades = await client.fetch_derivative_subaccount_trades_list( subaccount_id=subaccount_id, market_id=market_id, execution_type=execution_type, diff --git a/examples/exchange_client/derivative_exchange_rpc/3_StreamMarket.py b/examples/exchange_client/derivative_exchange_rpc/3_StreamMarket.py index b5b7cbb0..d8663ba2 100644 --- a/examples/exchange_client/derivative_exchange_rpc/3_StreamMarket.py +++ b/examples/exchange_client/derivative_exchange_rpc/3_StreamMarket.py @@ -1,16 +1,39 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def market_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to derivative markets updates ({exception})") + + +def stream_closed_processor(): + print("The derivative markets updates stream has been closed") + + async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - markets = await client.stream_derivative_markets() - async for market in markets: - print(market) + + task = asyncio.get_event_loop().create_task( + client.listen_derivative_market_updates( + callback=market_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/examples/exchange_client/derivative_exchange_rpc/5_StreamOrderbooks.py b/examples/exchange_client/derivative_exchange_rpc/5_StreamOrderbooks.py index ab9c5927..e2044eae 100644 --- a/examples/exchange_client/derivative_exchange_rpc/5_StreamOrderbooks.py +++ b/examples/exchange_client/derivative_exchange_rpc/5_StreamOrderbooks.py @@ -1,17 +1,41 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def orderbook_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to derivative orderbook snapshots ({exception})") + + +def stream_closed_processor(): + print("The derivative orderbook snapshots stream has been closed") + + async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" - markets = await client.stream_derivative_orderbook_snapshot(market_ids=[market_id]) - async for market in markets: - print(market) + market_ids = ["0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"] + + task = asyncio.get_event_loop().create_task( + client.listen_derivative_orderbook_snapshots( + market_ids=market_ids, + callback=orderbook_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/examples/exchange_client/derivative_exchange_rpc/6_StreamOrderbookUpdate.py b/examples/exchange_client/derivative_exchange_rpc/6_StreamOrderbookUpdate.py index 9ae95620..93b00a0a 100644 --- a/examples/exchange_client/derivative_exchange_rpc/6_StreamOrderbookUpdate.py +++ b/examples/exchange_client/derivative_exchange_rpc/6_StreamOrderbookUpdate.py @@ -1,10 +1,21 @@ import asyncio from decimal import Decimal +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to derivative orderbook updates ({exception})") + + +def stream_closed_processor(): + print("The derivative orderbook updates stream has been closed") + + class PriceLevel: def __init__(self, price: Decimal, quantity: Decimal, timestamp: int): self.price = price @@ -53,74 +64,91 @@ async def main() -> None: market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" orderbook = Orderbook(market_id=market_id) + updates_queue = asyncio.Queue() + tasks = [] + + async def queue_event(event: Dict[str, Any]): + await updates_queue.put(event) # start getting price levels updates - stream = await async_client.stream_derivative_orderbook_update(market_ids=[market_id]) - first_update = None - async for update in stream: - first_update = update.orderbook_level_updates - break + task = asyncio.get_event_loop().create_task( + async_client.listen_derivative_orderbook_updates( + market_ids=[market_id], + callback=queue_event, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) + ) + tasks.append(task) # load the snapshot once we are already receiving updates, so we don't miss any await load_orderbook_snapshot(async_client=async_client, orderbook=orderbook) - # start consuming updates again to process them - apply_orderbook_update(orderbook, first_update) - async for update in stream: - apply_orderbook_update(orderbook, update.orderbook_level_updates) + task = asyncio.get_event_loop().create_task( + apply_orderbook_update(orderbook=orderbook, updates_queue=updates_queue) + ) + tasks.append(task) + await asyncio.sleep(delay=60) + for task in tasks: + task.cancel() -def apply_orderbook_update(orderbook: Orderbook, updates): - # discard old updates - if updates.sequence <= orderbook.sequence: - return - print(" * * * * * * * * * * * * * * * * * * *") +async def apply_orderbook_update(orderbook: Orderbook, updates_queue: asyncio.Queue): + while True: + updates = await updates_queue.get() + update = updates["orderbookLevelUpdates"] - # ensure we have not missed any update - if updates.sequence > (orderbook.sequence + 1): - raise Exception( - "missing orderbook update events from stream, must restart: {} vs {}".format( - updates.sequence, (orderbook.sequence + 1) - ) - ) + # discard updates older than the snapshot + if int(update["sequence"]) <= orderbook.sequence: + return - print("updating orderbook with updates at sequence {}".format(updates.sequence)) + print(" * * * * * * * * * * * * * * * * * * *") - # update orderbook - orderbook.sequence = updates.sequence - for direction, levels in {"buys": updates.buys, "sells": updates.sells}.items(): - for level in levels: - if level.is_active: - # upsert level - orderbook.levels[direction][level.price] = PriceLevel( - price=Decimal(level.price), quantity=Decimal(level.quantity), timestamp=level.timestamp + # ensure we have not missed any update + if int(update["sequence"]) > (orderbook.sequence + 1): + raise Exception( + "missing orderbook update events from stream, must restart: {} vs {}".format( + update["sequence"], (orderbook.sequence + 1) ) - else: - if level.price in orderbook.levels[direction]: - del orderbook.levels[direction][level.price] - - # sort the level numerically - buys = sorted(orderbook.levels["buys"].values(), key=lambda x: x.price, reverse=True) - sells = sorted(orderbook.levels["sells"].values(), key=lambda x: x.price, reverse=True) - - # lowest sell price should be higher than the highest buy price - if len(buys) > 0 and len(sells) > 0: - highest_buy = buys[0].price - lowest_sell = sells[-1].price - print("Max buy: {} - Min sell: {}".format(highest_buy, lowest_sell)) - if highest_buy >= lowest_sell: - raise Exception("crossed orderbook, must restart") - - # for the example, print the list of buys and sells orders. - print("sells") - for k in sells: - print(k) - print("=========") - print("buys") - for k in buys: - print(k) - print("====================================") + ) + + print("updating orderbook with updates at sequence {}".format(update["sequence"])) + + # update orderbook + orderbook.sequence = int(update["sequence"]) + for direction, levels in {"buys": update["buys"], "sells": update["sells"]}.items(): + for level in levels: + if level["isActive"]: + # upsert level + orderbook.levels[direction][level["price"]] = PriceLevel( + price=Decimal(level["price"]), quantity=Decimal(level["quantity"]), timestamp=level["timestamp"] + ) + else: + if level["price"] in orderbook.levels[direction]: + del orderbook.levels[direction][level["price"]] + + # sort the level numerically + buys = sorted(orderbook.levels["buys"].values(), key=lambda x: x.price, reverse=True) + sells = sorted(orderbook.levels["sells"].values(), key=lambda x: x.price, reverse=True) + + # lowest sell price should be higher than the highest buy price + if len(buys) > 0 and len(sells) > 0: + highest_buy = buys[0].price + lowest_sell = sells[-1].price + print("Max buy: {} - Min sell: {}".format(highest_buy, lowest_sell)) + if highest_buy >= lowest_sell: + raise Exception("crossed orderbook, must restart") + + # for the example, print the list of buys and sells orders. + print("sells") + for k in sells: + print(k) + print("=========") + print("buys") + for k in buys: + print(k) + print("====================================") if __name__ == "__main__": diff --git a/examples/exchange_client/derivative_exchange_rpc/9_StreamPositions.py b/examples/exchange_client/derivative_exchange_rpc/9_StreamPositions.py index cc808a7e..a035008e 100644 --- a/examples/exchange_client/derivative_exchange_rpc/9_StreamPositions.py +++ b/examples/exchange_client/derivative_exchange_rpc/9_StreamPositions.py @@ -1,18 +1,43 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def positions_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to derivative positions updates ({exception})") + + +def stream_closed_processor(): + print("The derivative positions updates stream has been closed") + + async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" - subaccount_id = "0xea98e3aa091a6676194df40ac089e40ab4604bf9000000000000000000000000" - positions = await client.stream_derivative_positions(market_id=market_id, subaccount_id=subaccount_id) - async for position in positions: - print(position) + market_ids = ["0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"] + subaccount_ids = ["0xea98e3aa091a6676194df40ac089e40ab4604bf9000000000000000000000000"] + + task = asyncio.get_event_loop().create_task( + client.listen_derivative_positions_updates( + callback=positions_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + market_ids=market_ids, + subaccount_ids=subaccount_ids, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index cef3c829..bb88eae2 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -21,6 +21,7 @@ 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_meta_stream import IndexerGrpcMetaStream from pyinjective.client.indexer.grpc_stream.indexer_grpc_oracle_stream import IndexerGrpcOracleStream from pyinjective.client.indexer.grpc_stream.indexer_grpc_spot_stream import IndexerGrpcSpotStream @@ -231,6 +232,12 @@ def __init__( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_derivative_stream_api = IndexerGrpcDerivativeStream( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) self.exchange_meta_stream_api = IndexerGrpcMetaStream( channel=self.exchange_channel, metadata_provider=lambda: self.network.exchange_metadata( @@ -1317,6 +1324,15 @@ async def listen_spot_orders_history_updates( ) 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"), @@ -1330,6 +1346,30 @@ async def stream_historical_derivative_orders(self, market_id: str, **kwargs): ) 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 @@ -1479,12 +1519,32 @@ async def fetch_derivative_markets( ) 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 = await self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor ) 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_markets( + 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): """ This method is deprecated and will be removed soon. Please use `fetch_derivative_orderbook_v2` instead @@ -1662,34 +1722,84 @@ async def fetch_derivative_trades( ) 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 = await self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor ) 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 + """ + 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 = await self.network.exchange_metadata( metadata_query_provider=self._exchange_cookie_metadata_requestor ) 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 + """ + warn( + "This method is deprecated. Use listen_derivative_orders_updates instead", DeprecationWarning, stacklevel=2 + ) req = derivative_exchange_rpc_pb.StreamOrdersRequest( market_id=market_id, - execution_side=kwargs.get("execution_side"), - direction=kwargs.get("direction"), + 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"), - subaccount_ids=kwargs.get("subaccount_ids"), - execution_types=kwargs.get("execution_types"), + 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"), - account_address=kwargs.get("account_address"), cid=kwargs.get("cid"), ) metadata = await self.network.exchange_metadata( @@ -1697,7 +1807,45 @@ async def stream_derivative_orders(self, market_id: str, **kwargs): ) 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 + """ + 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"), @@ -1719,6 +1867,36 @@ async def stream_derivative_trades(self, **kwargs): ) 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( + 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` instead @@ -1752,6 +1930,14 @@ async def fetch_derivative_positions( ) 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"), @@ -1763,6 +1949,22 @@ async def stream_derivative_positions(self, **kwargs): ) 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 @@ -1835,7 +2037,7 @@ async def get_derivative_subaccount_trades(self, subaccount_id: str, **kwargs): ) return await self.stubDerivativeExchange.SubaccountTradesList(req) - async def fetch_subaccount_trades_list( + async def fetch_derivative_subaccount_trades_list( self, subaccount_id: str, market_id: Optional[str] = None, diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_derivative_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_derivative_stream.py new file mode 100644 index 00000000..a14a6e30 --- /dev/null +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_derivative_stream.py @@ -0,0 +1,196 @@ +from typing import Callable, List, Optional + +from grpc.aio import Channel + +from pyinjective.client.model.pagination import PaginationOption +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, metadata_provider: Callable): + self._stub = self._stub = exchange_derivative_grpc.InjectiveDerivativeExchangeRPCStub(channel) + self._assistant = GrpcApiStreamAssistant(metadata_provider=metadata_provider) + + 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, + ) diff --git a/tests/client/indexer/configurable_derivative_query_servicer.py b/tests/client/indexer/configurable_derivative_query_servicer.py index 083e431e..dfb44179 100644 --- a/tests/client/indexer/configurable_derivative_query_servicer.py +++ b/tests/client/indexer/configurable_derivative_query_servicer.py @@ -25,6 +25,14 @@ def __init__(self): 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_orders_history_responses = deque() + async def Markets(self, request: exchange_derivative_pb.MarketsRequest, context=None, metadata=None): return self.markets_responses.pop() @@ -81,3 +89,39 @@ async def SubaccountTradesList( 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 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/stream_grpc/test_indexer_grpc_derivative_stream.py b/tests/client/indexer/stream_grpc/test_indexer_grpc_derivative_stream.py new file mode 100644 index 00000000..5dc2f79b --- /dev/null +++ b/tests/client/indexer/stream_grpc/test_indexer_grpc_derivative_stream.py @@ -0,0 +1,709 @@ +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 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, + ) + + derivative_servicer.stream_market_responses.append( + exchange_derivative_pb.StreamMarketResponse( + market=market, + operation_type=operation_type, + timestamp=timestamp, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + "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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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() + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 0d6e7bc0..40e23967 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -888,7 +888,7 @@ async def test_stream_spot_orderbook_update_deprecation_warning( network=Network.local(), ) client.stubSpotExchange = spot_servicer - spot_servicer.stream_orderbook_v2_responses.append(exchange_spot_pb.StreamOrderbookUpdateRequest()) + 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=[]) @@ -1235,3 +1235,141 @@ async def test_get_historical_derivative_orders_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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=[]) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_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=[]) + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert ( + str(all_warnings[0].message) + == "This method is deprecated. Use listen_derivative_orders_history_updates instead" + ) From cfb507e0444073891b3bf44d7a4c240700c6de74 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 29 Nov 2023 10:35:13 -0300 Subject: [PATCH 52/83] (feat) Added low level API components for the exchange portfolio module, with unit tests. Included new functions in AsyncClient to use the low level API components and marked the old functions as deprecated. Updated the examples to use the new AsyncClient functions. --- .../portfolio_rpc/1_AccountPortfolio.py | 2 +- .../portfolio_rpc/2_StreamAccountPortfolio.py | 31 ++++- pyinjective/async_client.py | 45 +++++++ .../grpc/indexer_grpc_portfolio_api.py | 24 ++++ .../indexer_grpc_portfolio_stream.py | 38 ++++++ .../configurable_portfolio_query_servicer.py | 24 ++++ .../grpc/test_indexer_grpc_portfolio_api.py | 117 ++++++++++++++++++ .../test_indexer_grpc_portfolio_stream.py | 76 ++++++++++++ .../test_async_client_deprecation_warnings.py | 45 +++++++ 9 files changed, 397 insertions(+), 5 deletions(-) create mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py create mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_portfolio_stream.py create mode 100644 tests/client/indexer/configurable_portfolio_query_servicer.py create mode 100644 tests/client/indexer/grpc/test_indexer_grpc_portfolio_api.py create mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_portfolio_stream.py diff --git a/examples/exchange_client/portfolio_rpc/1_AccountPortfolio.py b/examples/exchange_client/portfolio_rpc/1_AccountPortfolio.py index 965d40c7..232f8582 100644 --- a/examples/exchange_client/portfolio_rpc/1_AccountPortfolio.py +++ b/examples/exchange_client/portfolio_rpc/1_AccountPortfolio.py @@ -9,7 +9,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) account_address = "inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt" - portfolio = await client.get_account_portfolio(account_address=account_address) + portfolio = await client.fetch_account_portfolio(account_address=account_address) print(portfolio) diff --git a/examples/exchange_client/portfolio_rpc/2_StreamAccountPortfolio.py b/examples/exchange_client/portfolio_rpc/2_StreamAccountPortfolio.py index 53d7c4da..4b3b6a04 100644 --- a/examples/exchange_client/portfolio_rpc/2_StreamAccountPortfolio.py +++ b/examples/exchange_client/portfolio_rpc/2_StreamAccountPortfolio.py @@ -1,17 +1,40 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def account_portfolio_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to account portfolio updates ({exception})") + + +def stream_closed_processor(): + print("The account portfolio updates stream has been closed") + + async def main() -> None: network = Network.testnet() client = AsyncClient(network) account_address = "inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt" - updates = await client.stream_account_portfolio(account_address=account_address) - async for update in updates: - print("Account portfolio Update:\n") - print(update) + + task = asyncio.get_event_loop().create_task( + client.listen_account_portfolio_updates( + account_address=account_address, + callback=account_portfolio_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index bb88eae2..957b8f76 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -18,12 +18,14 @@ 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_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.composer import Composer @@ -213,6 +215,12 @@ def __init__( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_portfolio_api = IndexerGrpcPortfolioApi( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) self.exchange_spot_api = IndexerGrpcSpotApi( channel=self.exchange_channel, metadata_provider=lambda: self.network.exchange_metadata( @@ -250,6 +258,12 @@ def __init__( metadata_query_provider=self._exchange_cookie_metadata_requestor ), ) + self.exchange_portfolio_stream_api = IndexerGrpcPortfolioStream( + channel=self.exchange_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._exchange_cookie_metadata_requestor + ), + ) self.exchange_spot_stream_api = IndexerGrpcSpotStream( channel=self.exchange_channel, metadata_provider=lambda: self.network.exchange_metadata( @@ -2137,10 +2151,23 @@ async def fetch_binary_options_market(self, market_id: str) -> Dict[str, Any]: # PortfolioRPC async def get_account_portfolio(self, account_address: str): + """ + This method is deprecated and will be removed soon. Please use `fetch_account_portfolio` instead + """ + warn("This method is deprecated. Use fetch_account_portfolio instead", DeprecationWarning, stacklevel=2) req = portfolio_rpc_pb.AccountPortfolioRequest(account_address=account_address) return await self.stubPortfolio.AccountPortfolio(req) + async def fetch_account_portfolio(self, account_address: str) -> Dict[str, Any]: + return await self.exchange_portfolio_api.fetch_account_portfolio(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") ) @@ -2149,6 +2176,24 @@ async def stream_account_portfolio(self, account_address: str, **kwargs): ) 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, + ) + async def chain_stream( self, bank_balances_filter: Optional[chain_stream_query.BankBalancesFilter] = None, diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py new file mode 100644 index 00000000..a8fd319c --- /dev/null +++ b/pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py @@ -0,0 +1,24 @@ +from typing import Any, Callable, Dict + +from grpc.aio import Channel + +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, metadata_provider: Callable): + self._stub = self._stub = exchange_portfolio_grpc.InjectivePortfolioRPCStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + 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 _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/indexer_grpc_portfolio_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_portfolio_stream.py new file mode 100644 index 00000000..59b0acfa --- /dev/null +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_portfolio_stream.py @@ -0,0 +1,38 @@ +from typing import Callable, Optional + +from grpc.aio import Channel + +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, metadata_provider: Callable): + self._stub = self._stub = exchange_portfolio_grpc.InjectivePortfolioRPCStub(channel) + self._assistant = GrpcApiStreamAssistant(metadata_provider=metadata_provider) + + 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/tests/client/indexer/configurable_portfolio_query_servicer.py b/tests/client/indexer/configurable_portfolio_query_servicer.py new file mode 100644 index 00000000..50d329ca --- /dev/null +++ b/tests/client/indexer/configurable_portfolio_query_servicer.py @@ -0,0 +1,24 @@ +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.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 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/grpc/test_indexer_grpc_portfolio_api.py b/tests/client/indexer/grpc/test_indexer_grpc_portfolio_api.py new file mode 100644 index 00000000..86a50382 --- /dev/null +++ b/tests/client/indexer/grpc/test_indexer_grpc_portfolio_api.py @@ -0,0 +1,117 @@ +import grpc +import pytest + +from pyinjective.client.indexer.grpc.indexer_grpc_portfolio_api import IndexerGrpcPortfolioApi +from pyinjective.core.network import 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcPortfolioApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + + async def _dummy_metadata_provider(self): + return None 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 new file mode 100644 index 00000000..2f09ed40 --- /dev/null +++ b/tests/client/indexer/stream_grpc/test_indexer_grpc_portfolio_stream.py @@ -0,0 +1,76 @@ +import asyncio + +import grpc +import pytest + +from pyinjective.client.indexer.grpc_stream.indexer_grpc_portfolio_stream import IndexerGrpcPortfolioStream +from pyinjective.core.network import 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcPortfolioStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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() + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 40e23967..f20f720c 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -14,6 +14,7 @@ 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.types.v1beta1 import account_pb2 as account_pb @@ -26,6 +27,7 @@ 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.tx.grpc.configurable_tx_query_servicer import ConfigurableTxQueryServicer @@ -75,6 +77,11 @@ def oracle_servicer(): return ConfigurableOracleQueryServicer() +@pytest.fixture +def portfolio_servicer(): + return ConfigurablePortfolioQueryServicer() + + @pytest.fixture def spot_servicer(): return ConfigurableSpotQueryServicer() @@ -1373,3 +1380,41 @@ async def test_stream_historical_derivative_orders_deprecation_warning( str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_account_portfolio 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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use listen_account_portfolio_updates instead" From 25adca0a6c51d32f32711c283a9b72ff32d85274 Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 1 Dec 2023 12:30:17 -0300 Subject: [PATCH 53/83] (feat) Added low level API components for the exchange explorer module, with unit tests. Included new functions in AsyncClient to use the low level API components and marked the old functions as deprecated. Updated the examples to use the new AsyncClient functions. --- .../explorer_rpc/10_GetIBCTransfers.py | 9 +- .../explorer_rpc/1_GetTxByHash.py | 4 +- .../explorer_rpc/2_AccountTxs.py | 10 +- .../exchange_client/explorer_rpc/3_Blocks.py | 6 +- .../exchange_client/explorer_rpc/4_Block.py | 2 +- .../explorer_rpc/5_TxsRequest.py | 4 +- .../explorer_rpc/8_GetPeggyDeposits.py | 2 +- .../explorer_rpc/9_GetPeggyWithdrawals.py | 4 +- pyinjective/async_client.py | 149 ++ .../indexer/grpc/indexer_grpc_explorer_api.py | 329 ++++ pyinjective/composer.py | 111 +- .../configurable_explorer_query_servicer.py | 101 ++ .../grpc/test_indexer_grpc_explorer_api.py | 1582 +++++++++++++++++ .../test_async_client_deprecation_warnings.py | 151 ++ 14 files changed, 2390 insertions(+), 74 deletions(-) create mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_explorer_api.py create mode 100644 tests/client/indexer/configurable_explorer_query_servicer.py create mode 100644 tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py diff --git a/examples/exchange_client/explorer_rpc/10_GetIBCTransfers.py b/examples/exchange_client/explorer_rpc/10_GetIBCTransfers.py index 62ca0c24..b6219b1c 100644 --- a/examples/exchange_client/explorer_rpc/10_GetIBCTransfers.py +++ b/examples/exchange_client/explorer_rpc/10_GetIBCTransfers.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -16,15 +17,15 @@ async def main() -> None: dest_port = "transfer" limit = 1 skip = 10 - ibc_transfers = await client.get_ibc_transfers( + pagination = PaginationOption(limit=limit, skip=skip) + ibc_transfers = await client.fetch_ibc_transfer_txs( sender=sender, receiver=receiver, src_channel=src_channel, src_port=src_port, - destination_channel=destination_channel, + dest_channel=destination_channel, dest_port=dest_port, - limit=limit, - skip=skip, + pagination=pagination, ) print(ibc_transfers) diff --git a/examples/exchange_client/explorer_rpc/1_GetTxByHash.py b/examples/exchange_client/explorer_rpc/1_GetTxByHash.py index 33e6abe4..f1158993 100644 --- a/examples/exchange_client/explorer_rpc/1_GetTxByHash.py +++ b/examples/exchange_client/explorer_rpc/1_GetTxByHash.py @@ -11,10 +11,10 @@ async def main() -> None: client = AsyncClient(network) composer = Composer(network=network.string()) tx_hash = "0F3EBEC1882E1EEAC5B7BDD836E976250F1CD072B79485877CEACCB92ACDDF52" - transaction_response = await client.get_tx_by_hash(tx_hash=tx_hash) + transaction_response = await client.fetch_tx_by_tx_hash(tx_hash=tx_hash) print(transaction_response) - transaction_messages = composer.UnpackTransactionMessages(transaction=transaction_response.data) + transaction_messages = composer.unpack_transaction_messages(transaction_data=transaction_response["data"]) print(transaction_messages) first_message = transaction_messages[0] print(first_message) diff --git a/examples/exchange_client/explorer_rpc/2_AccountTxs.py b/examples/exchange_client/explorer_rpc/2_AccountTxs.py index b1e39445..f743e302 100644 --- a/examples/exchange_client/explorer_rpc/2_AccountTxs.py +++ b/examples/exchange_client/explorer_rpc/2_AccountTxs.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.composer import Composer from pyinjective.core.network import Network @@ -13,9 +14,14 @@ async def main() -> None: address = "inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex" message_type = "cosmos.bank.v1beta1.MsgSend" limit = 2 - transactions_response = await client.get_account_txs(address=address, type=message_type, limit=limit) + pagination = PaginationOption(limit=limit) + transactions_response = await client.fetch_account_txs( + address=address, + message_type=message_type, + pagination=pagination, + ) print(transactions_response) - first_transaction_messages = composer.UnpackTransactionMessages(transaction=transactions_response.data[0]) + first_transaction_messages = composer.unpack_transaction_messages(transaction_data=transactions_response["data"][0]) print(first_transaction_messages) first_message = first_transaction_messages[0] print(first_message) diff --git a/examples/exchange_client/explorer_rpc/3_Blocks.py b/examples/exchange_client/explorer_rpc/3_Blocks.py index 72739096..4807030c 100644 --- a/examples/exchange_client/explorer_rpc/3_Blocks.py +++ b/examples/exchange_client/explorer_rpc/3_Blocks.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -9,8 +10,9 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) limit = 2 - block = await client.get_blocks(limit=limit) - print(block) + pagination = PaginationOption(limit=limit) + blocks = await client.fetch_blocks(pagination=pagination) + print(blocks) if __name__ == "__main__": diff --git a/examples/exchange_client/explorer_rpc/4_Block.py b/examples/exchange_client/explorer_rpc/4_Block.py index e043bdcd..b41d5595 100644 --- a/examples/exchange_client/explorer_rpc/4_Block.py +++ b/examples/exchange_client/explorer_rpc/4_Block.py @@ -9,7 +9,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) block_height = "5825046" - block = await client.get_block(block_height=block_height) + block = await client.fetch_block(block_id=block_height) print(block) diff --git a/examples/exchange_client/explorer_rpc/5_TxsRequest.py b/examples/exchange_client/explorer_rpc/5_TxsRequest.py index 8282816b..70b91f68 100644 --- a/examples/exchange_client/explorer_rpc/5_TxsRequest.py +++ b/examples/exchange_client/explorer_rpc/5_TxsRequest.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -9,7 +10,8 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) limit = 2 - txs = await client.get_txs(limit=limit) + pagination = PaginationOption(limit=limit) + txs = await client.fetch_txs(pagination=pagination) print(txs) diff --git a/examples/exchange_client/explorer_rpc/8_GetPeggyDeposits.py b/examples/exchange_client/explorer_rpc/8_GetPeggyDeposits.py index 4fde668f..936ede47 100644 --- a/examples/exchange_client/explorer_rpc/8_GetPeggyDeposits.py +++ b/examples/exchange_client/explorer_rpc/8_GetPeggyDeposits.py @@ -9,7 +9,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) receiver = "inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex" - peggy_deposits = await client.get_peggy_deposits(receiver=receiver) + peggy_deposits = await client.fetch_peggy_deposit_txs(receiver=receiver) print(peggy_deposits) diff --git a/examples/exchange_client/explorer_rpc/9_GetPeggyWithdrawals.py b/examples/exchange_client/explorer_rpc/9_GetPeggyWithdrawals.py index def1fedf..0c38e9dc 100644 --- a/examples/exchange_client/explorer_rpc/9_GetPeggyWithdrawals.py +++ b/examples/exchange_client/explorer_rpc/9_GetPeggyWithdrawals.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -10,7 +11,8 @@ async def main() -> None: client = AsyncClient(network) sender = "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku" limit = 2 - peggy_deposits = await client.get_peggy_withdrawals(sender=sender, limit=limit) + pagination = PaginationOption(limit=limit) + peggy_deposits = await client.fetch_peggy_withdrawal_txs(sender=sender, pagination=pagination) print(peggy_deposits) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 957b8f76..d78bb862 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -15,6 +15,7 @@ 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 @@ -271,6 +272,13 @@ def __init__( ), ) + self.exchange_explorer_api = IndexerGrpcExplorerApi( + channel=self.explorer_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._explorer_cookie_metadata_requestor + ), + ) + async def all_tokens(self) -> Dict[str, Token]: if self._tokens is None: async with self._tokens_and_markets_initialization_lock: @@ -601,10 +609,22 @@ async def listen_keepalive( # 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"), @@ -616,7 +636,35 @@ async def get_account_txs(self, address: str, **kwargs): ) 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"), @@ -624,11 +672,30 @@ async def get_blocks(self, **kwargs): ) 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"), @@ -639,6 +706,28 @@ async def get_txs(self, **kwargs): ) 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): req = explorer_rpc_pb.StreamTxsRequest() return self.stubExplorer.StreamTxs(req) @@ -648,6 +737,10 @@ async def stream_blocks(self): return self.stubExplorer.StreamBlocks(req) 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"), @@ -656,7 +749,23 @@ async def get_peggy_deposits(self, **kwargs): ) 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"), @@ -665,7 +774,23 @@ async def get_peggy_withdrawals(self, **kwargs): ) 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"), @@ -678,6 +803,26 @@ async def get_ibc_transfers(self, **kwargs): ) 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): @@ -2390,6 +2535,10 @@ def _exchange_cookie_metadata_requestor(self) -> Coroutine: request = exchange_meta_rpc_pb.VersionRequest() return self.stubMeta.Version(request).initial_metadata() + def _explorer_cookie_metadata_requestor(self) -> Coroutine: + request = explorer_rpc_pb.GetBlocksRequest() + return self.stubExplorer.GetBlocks(request).initial_metadata() + def _initialize_timeout_height_sync_task(self): self._cancel_timeout_height_sync_task() self._timeout_height_sync_task = asyncio.get_event_loop().create_task(self._timeout_height_sync_process()) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_explorer_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_explorer_api.py new file mode 100644 index 00000000..89bfc3c7 --- /dev/null +++ b/pyinjective/client/indexer/grpc/indexer_grpc_explorer_api.py @@ -0,0 +1,329 @@ +from typing import Any, Callable, Dict, List, Optional + +from grpc.aio import Channel + +from pyinjective.client.model.pagination import PaginationOption +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, metadata_provider: Callable): + self._stub = self._stub = exchange_explorer_grpc.InjectiveExplorerRPCStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + 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/composer.py b/pyinjective/composer.py index 726ec512..56491b50 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -17,6 +17,7 @@ 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.injective.auction.v1beta1 import tx_pb2 as injective_auction_tx_pb from pyinjective.proto.injective.exchange.v1beta1 import ( authz_pb2 as injective_authz_pb, @@ -52,6 +53,37 @@ "MsgInstantBinaryOptionsMarketLaunch": injective_exchange_tx_pb.MsgInstantBinaryOptionsMarketLaunchResponse, } +GRPC_MESSAGE_TYPE_TO_CLASS_MAP = { + "/injective.exchange.v1beta1.MsgCreateSpotLimitOrder": injective_exchange_tx_pb.MsgCreateSpotLimitOrder, + "/injective.exchange.v1beta1.MsgCreateSpotMarketOrder": injective_exchange_tx_pb.MsgCreateSpotMarketOrder, + "/injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder": injective_exchange_tx_pb.MsgCreateDerivativeLimitOrder, + "/injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder": injective_exchange_tx_pb.MsgCreateDerivativeMarketOrder, # noqa: 121 + "/injective.exchange.v1beta1.MsgCancelSpotOrder": injective_exchange_tx_pb.MsgCancelSpotOrder, + "/injective.exchange.v1beta1.MsgCancelDerivativeOrder": injective_exchange_tx_pb.MsgCancelDerivativeOrder, + "/injective.exchange.v1beta1.MsgBatchCancelSpotOrders": injective_exchange_tx_pb.MsgBatchCancelSpotOrders, + "/injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders": injective_exchange_tx_pb.MsgBatchCancelDerivativeOrders, # noqa: 121 + "/injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders": injective_exchange_tx_pb.MsgBatchCreateSpotLimitOrders, + "/injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders": injective_exchange_tx_pb.MsgBatchCreateDerivativeLimitOrders, # noqa: 121 + "/injective.exchange.v1beta1.MsgBatchUpdateOrders": injective_exchange_tx_pb.MsgBatchUpdateOrders, + "/injective.exchange.v1beta1.MsgDeposit": injective_exchange_tx_pb.MsgDeposit, + "/injective.exchange.v1beta1.MsgWithdraw": injective_exchange_tx_pb.MsgWithdraw, + "/injective.exchange.v1beta1.MsgSubaccountTransfer": injective_exchange_tx_pb.MsgSubaccountTransfer, + "/injective.exchange.v1beta1.MsgLiquidatePosition": injective_exchange_tx_pb.MsgLiquidatePosition, + "/injective.exchange.v1beta1.MsgIncreasePositionMargin": injective_exchange_tx_pb.MsgIncreasePositionMargin, + "/injective.auction.v1beta1.MsgBid": injective_auction_tx_pb.MsgBid, + "/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder": injective_exchange_tx_pb.MsgCreateBinaryOptionsLimitOrder, # noqa: 121 + "/injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder": injective_exchange_tx_pb.MsgCreateBinaryOptionsMarketOrder, # noqa: 121 + "/injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder": injective_exchange_tx_pb.MsgCancelBinaryOptionsOrder, + "/injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket": injective_exchange_tx_pb.MsgAdminUpdateBinaryOptionsMarket, # noqa: 121 + "/injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch": injective_exchange_tx_pb.MsgInstantBinaryOptionsMarketLaunch, # noqa: 121 + "/cosmos.bank.v1beta1.MsgSend": cosmos_bank_tx_pb.MsgSend, + "/cosmos.authz.v1beta1.MsgGrant": cosmos_authz_tx_pb.MsgGrant, + "/cosmos.authz.v1beta1.MsgExec": cosmos_authz_tx_pb.MsgExec, + "/cosmos.authz.v1beta1.MsgRevoke": cosmos_authz_tx_pb.MsgRevoke, + "/injective.oracle.v1beta1.MsgRelayPriceFeedPrice": injective_oracle_tx_pb.MsgRelayPriceFeedPrice, + "/injective.oracle.v1beta1.MsgRelayProviderPrices": injective_oracle_tx_pb.MsgRelayProviderPrices, +} + class Composer: def __init__( @@ -1081,66 +1113,7 @@ def unpack_msg_exec_response(underlying_msg_type: str, msg_exec_response: Dict[s @staticmethod def UnpackTransactionMessages(transaction): meta_messages = json.loads(transaction.messages.decode()) - # fmt: off - header_map = { - "/injective.exchange.v1beta1.MsgCreateSpotLimitOrder": - injective_exchange_tx_pb.MsgCreateSpotLimitOrder, - "/injective.exchange.v1beta1.MsgCreateSpotMarketOrder": - injective_exchange_tx_pb.MsgCreateSpotMarketOrder, - "/injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder": - injective_exchange_tx_pb.MsgCreateDerivativeLimitOrder, - "/injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder": - injective_exchange_tx_pb.MsgCreateDerivativeMarketOrder, - "/injective.exchange.v1beta1.MsgCancelSpotOrder": - injective_exchange_tx_pb.MsgCancelSpotOrder, - "/injective.exchange.v1beta1.MsgCancelDerivativeOrder": - injective_exchange_tx_pb.MsgCancelDerivativeOrder, - "/injective.exchange.v1beta1.MsgBatchCancelSpotOrders": - injective_exchange_tx_pb.MsgBatchCancelSpotOrders, - "/injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders": - injective_exchange_tx_pb.MsgBatchCancelDerivativeOrders, - "/injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders": - injective_exchange_tx_pb.MsgBatchCreateSpotLimitOrders, - "/injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders": - injective_exchange_tx_pb.MsgBatchCreateDerivativeLimitOrders, - "/injective.exchange.v1beta1.MsgBatchUpdateOrders": - injective_exchange_tx_pb.MsgBatchUpdateOrders, - "/injective.exchange.v1beta1.MsgDeposit": - injective_exchange_tx_pb.MsgDeposit, - "/injective.exchange.v1beta1.MsgWithdraw": - injective_exchange_tx_pb.MsgWithdraw, - "/injective.exchange.v1beta1.MsgSubaccountTransfer": - injective_exchange_tx_pb.MsgSubaccountTransfer, - "/injective.exchange.v1beta1.MsgLiquidatePosition": - injective_exchange_tx_pb.MsgLiquidatePosition, - "/injective.exchange.v1beta1.MsgIncreasePositionMargin": - injective_exchange_tx_pb.MsgIncreasePositionMargin, - "/injective.auction.v1beta1.MsgBid": - injective_auction_tx_pb.MsgBid, - "/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder": - injective_exchange_tx_pb.MsgCreateBinaryOptionsLimitOrder, - "/injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder": - injective_exchange_tx_pb.MsgCreateBinaryOptionsMarketOrder, - "/injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder": - injective_exchange_tx_pb.MsgCancelBinaryOptionsOrder, - "/injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket": - injective_exchange_tx_pb.MsgAdminUpdateBinaryOptionsMarket, - "/injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch": - injective_exchange_tx_pb.MsgInstantBinaryOptionsMarketLaunch, - "/cosmos.bank.v1beta1.MsgSend": - cosmos_bank_tx_pb.MsgSend, - "/cosmos.authz.v1beta1.MsgGrant": - cosmos_authz_tx_pb.MsgGrant, - "/cosmos.authz.v1beta1.MsgExec": - cosmos_authz_tx_pb.MsgExec, - "/cosmos.authz.v1beta1.MsgRevoke": - cosmos_authz_tx_pb.MsgRevoke, - "/injective.oracle.v1beta1.MsgRelayPriceFeedPrice": - injective_oracle_tx_pb.MsgRelayPriceFeedPrice, - "/injective.oracle.v1beta1.MsgRelayProviderPrices": - injective_oracle_tx_pb.MsgRelayProviderPrices, - } - # fmt: on + header_map = GRPC_MESSAGE_TYPE_TO_CLASS_MAP msgs = [] for msg in meta_messages: msg_as_string_dict = json.dumps(msg["value"]) @@ -1148,6 +1121,24 @@ 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, including_default_value_fields=True), + } + ) + + return msgs + def _initialize_markets_and_tokens_from_files(self): config: ConfigParser = constant.CONFIGS[self.network] spot_markets = dict() diff --git a/tests/client/indexer/configurable_explorer_query_servicer.py b/tests/client/indexer/configurable_explorer_query_servicer.py new file mode 100644 index 00000000..37efc8da --- /dev/null +++ b/tests/client/indexer/configurable_explorer_query_servicer.py @@ -0,0 +1,101 @@ +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() + + 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() diff --git a/tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py b/tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py new file mode 100644 index 00000000..3572174d --- /dev/null +++ b/tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py @@ -0,0 +1,1582 @@ +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 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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], + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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])) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index f20f720c..1026f101 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -11,6 +11,7 @@ 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, @@ -24,6 +25,7 @@ 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 @@ -62,6 +64,11 @@ def derivative_servicer(): return ConfigurableDerivativeQueryServicer() +@pytest.fixture +def explorer_servicer(): + return ConfigurableExplorerQueryServicer() + + @pytest.fixture def insurance_servicer(): return ConfigurableInsuranceQueryServicer() @@ -1418,3 +1425,147 @@ async def test_stream_account_portfolio_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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="") + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_ibc_transfer_txs instead" From d65cb2e7f51cd70ebb220d1daca4bc5059d7ff32 Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 1 Dec 2023 13:18:02 -0300 Subject: [PATCH 54/83] (feat) Added low level API component for exchange explorer streams. Added unit tests for the new functionality. Included new functions in AsyncClient using the low level API components, and marked the old functions as deprecated. Updated the example scripts. --- .../explorer_rpc/6_StreamTxs.py | 29 +++- .../explorer_rpc/7_StreamBlocks.py | 29 +++- pyinjective/async_client.py | 39 +++++ .../indexer_grpc_explorer_stream.py | 47 ++++++ .../configurable_explorer_query_servicer.py | 11 ++ .../test_indexer_grpc_explorer_stream.py | 138 ++++++++++++++++++ .../test_async_client_deprecation_warnings.py | 36 +++++ 7 files changed, 323 insertions(+), 6 deletions(-) create mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_explorer_stream.py create mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_explorer_stream.py diff --git a/examples/exchange_client/explorer_rpc/6_StreamTxs.py b/examples/exchange_client/explorer_rpc/6_StreamTxs.py index f96a595e..07851daa 100644 --- a/examples/exchange_client/explorer_rpc/6_StreamTxs.py +++ b/examples/exchange_client/explorer_rpc/6_StreamTxs.py @@ -1,16 +1,39 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def tx_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to txs updates ({exception})") + + +def stream_closed_processor(): + print("The txs updates stream has been closed") + + async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - stream_txs = await client.stream_txs() - async for tx in stream_txs: - print(tx) + + task = asyncio.get_event_loop().create_task( + client.listen_txs_updates( + callback=tx_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/examples/exchange_client/explorer_rpc/7_StreamBlocks.py b/examples/exchange_client/explorer_rpc/7_StreamBlocks.py index f5169511..b9665742 100644 --- a/examples/exchange_client/explorer_rpc/7_StreamBlocks.py +++ b/examples/exchange_client/explorer_rpc/7_StreamBlocks.py @@ -1,16 +1,39 @@ import asyncio +from typing import Any, Dict + +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +async def block_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to blocks updates ({exception})") + + +def stream_closed_processor(): + print("The blocks updates stream has been closed") + + async def main() -> None: # select network: local, testnet, mainnet network = Network.testnet() client = AsyncClient(network) - stream_blocks = await client.stream_blocks() - async for block in stream_blocks: - print(block) + + task = asyncio.get_event_loop().create_task( + client.listen_blocks_updates( + callback=block_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) + ) + + await asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index d78bb862..aa144ce1 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -24,6 +24,7 @@ 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 @@ -278,6 +279,12 @@ def __init__( metadata_query_provider=self._explorer_cookie_metadata_requestor ), ) + self.exchange_explorer_stream_api = IndexerGrpcExplorerStream( + channel=self.explorer_channel, + metadata_provider=lambda: self.network.exchange_metadata( + metadata_query_provider=self._explorer_cookie_metadata_requestor + ), + ) async def all_tokens(self) -> Dict[str, Token]: if self._tokens is None: @@ -729,13 +736,45 @@ async def fetch_txs( ) 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 diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_explorer_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_explorer_stream.py new file mode 100644 index 00000000..aa4a69ae --- /dev/null +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_explorer_stream.py @@ -0,0 +1,47 @@ +from typing import Callable, Optional + +from grpc.aio import Channel + +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, metadata_provider: Callable): + self._stub = self._stub = exchange_explorer_grpc.InjectiveExplorerRPCStub(channel) + self._assistant = GrpcApiStreamAssistant(metadata_provider=metadata_provider) + + 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/tests/client/indexer/configurable_explorer_query_servicer.py b/tests/client/indexer/configurable_explorer_query_servicer.py index 37efc8da..ce240bf3 100644 --- a/tests/client/indexer/configurable_explorer_query_servicer.py +++ b/tests/client/indexer/configurable_explorer_query_servicer.py @@ -29,6 +29,9 @@ def __init__(self): 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() @@ -99,3 +102,11 @@ 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/stream_grpc/test_indexer_grpc_explorer_stream.py b/tests/client/indexer/stream_grpc/test_indexer_grpc_explorer_stream.py new file mode 100644 index 00000000..98eed906 --- /dev/null +++ b/tests/client/indexer/stream_grpc/test_indexer_grpc_explorer_stream.py @@ -0,0 +1,138 @@ +import asyncio + +import grpc +import pytest + +from pyinjective.client.indexer.grpc_stream.indexer_grpc_explorer_stream import IndexerGrpcExplorerStream +from pyinjective.core.network import 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) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcExplorerStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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() + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 1026f101..f29db5dd 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -1569,3 +1569,39 @@ async def test_get_ibc_transfers_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use listen_blocks_updates instead" From f32ec5e12a07edc52d2eb4b8895a449b30fb8518 Mon Sep 17 00:00:00 2001 From: abel Date: Sat, 2 Dec 2023 01:58:37 -0300 Subject: [PATCH 55/83] (feat) Added low level API component for chain stream. Added unit tests for the new functionality. Included new functions in AsyncClient using the low level API components, and marked the old functions as deprecated. Updated the example scripts. --- examples/chain_client/49_ChainStream.py | 52 ++- pyinjective/async_client.py | 44 ++ .../client/chain/grpc_stream/__init__.py | 0 .../grpc_stream/chain_grpc_chain_stream.py | 49 +++ tests/client/chain/stream_grpc/__init__.py | 0 ...onfigurable_chain_stream_query_servicer.py | 13 + .../test_chain_grpc_chain_stream.py | 408 ++++++++++++++++++ .../test_async_client_deprecation_warnings.py | 25 ++ 8 files changed, 573 insertions(+), 18 deletions(-) create mode 100644 pyinjective/client/chain/grpc_stream/__init__.py create mode 100644 pyinjective/client/chain/grpc_stream/chain_grpc_chain_stream.py create mode 100644 tests/client/chain/stream_grpc/__init__.py create mode 100644 tests/client/chain/stream_grpc/configurable_chain_stream_query_servicer.py create mode 100644 tests/client/chain/stream_grpc/test_chain_grpc_chain_stream.py diff --git a/examples/chain_client/49_ChainStream.py b/examples/chain_client/49_ChainStream.py index b4c60213..05a5bbdc 100644 --- a/examples/chain_client/49_ChainStream.py +++ b/examples/chain_client/49_ChainStream.py @@ -1,12 +1,25 @@ import asyncio +from typing import Any, Dict -from google.protobuf import json_format +from grpc import RpcError from pyinjective.async_client import AsyncClient from pyinjective.composer import Composer from pyinjective.core.network import Network +async def chain_stream_event_processor(event: Dict[str, Any]): + print(event) + + +def stream_error_processor(exception: RpcError): + print(f"There was an error listening to chain stream updates ({exception})") + + +def stream_closed_processor(): + print("The chain stream updates stream has been closed") + + async def main() -> None: network = Network.testnet() @@ -38,24 +51,27 @@ async def main() -> None: subaccount_ids=[subaccount_id], market_ids=[inj_usdt_perp_market] ) oracle_price_filter = composer.chain_stream_oracle_price_filter(symbols=["INJ", "USDT"]) - stream = await client.chain_stream( - 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, - ) - async for event in stream: - print( - json_format.MessageToJson( - message=event, including_default_value_fields=True, preserving_proto_field_name=True - ) + + task = asyncio.get_event_loop().create_task( + client.listen_chain_stream_updates( + callback=chain_stream_event_processor, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + 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 asyncio.sleep(delay=60) + task.cancel() if __name__ == "__main__": diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index aa144ce1..184b0ff7 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -12,6 +12,7 @@ from pyinjective.client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi from pyinjective.client.chain.grpc.chain_grpc_authz_api import ChainGrpcAuthZApi from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi +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 @@ -181,6 +182,13 @@ def __init__( ), ) + self.chain_stream_api = ChainGrpcChainStream( + channel=self.chain_stream_channel, + metadata_provider=lambda: self.network.chain_metadata( + metadata_query_provider=self._chain_cookie_metadata_requestor + ), + ) + self.exchange_account_api = IndexerGrpcAccountApi( channel=self.exchange_channel, metadata_provider=lambda: self.network.exchange_metadata( @@ -2391,6 +2399,10 @@ async def chain_stream( positions_filter: Optional[chain_stream_query.PositionsFilter] = None, oracle_price_filter: Optional[chain_stream_query.OraclePriceFilter] = None, ): + """ + This method is deprecated and will be removed soon. Please use `listen_chain_stream_updates` instead + """ + warn("This method is deprecated. Use listen_chain_stream_updates instead", DeprecationWarning, stacklevel=2) request = chain_stream_query.StreamRequest( bank_balances_filter=bank_balances_filter, subaccount_deposits_filter=subaccount_deposits_filter, @@ -2406,6 +2418,38 @@ async def chain_stream( metadata = await self.network.chain_metadata(metadata_query_provider=self._chain_cookie_metadata_requestor) return self.chain_stream_stub.Stream(request=request, metadata=metadata) + async def listen_chain_stream_updates( + self, + callback: Callable, + on_end_callback: Optional[Callable] = None, + on_status_callback: Optional[Callable] = None, + bank_balances_filter: Optional[chain_stream_query.BankBalancesFilter] = None, + subaccount_deposits_filter: Optional[chain_stream_query.SubaccountDepositsFilter] = None, + spot_trades_filter: Optional[chain_stream_query.TradesFilter] = None, + derivative_trades_filter: Optional[chain_stream_query.TradesFilter] = None, + spot_orders_filter: Optional[chain_stream_query.OrdersFilter] = None, + derivative_orders_filter: Optional[chain_stream_query.OrdersFilter] = None, + spot_orderbooks_filter: Optional[chain_stream_query.OrderbookFilter] = None, + derivative_orderbooks_filter: Optional[chain_stream_query.OrderbookFilter] = None, + positions_filter: Optional[chain_stream_query.PositionsFilter] = None, + oracle_price_filter: Optional[chain_stream_query.OraclePriceFilter] = None, + ): + return await self.chain_stream_api.stream( + callback=callback, + on_end_callback=on_end_callback, + on_status_callback=on_status_callback, + 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, + ) + async def composer(self): return Composer( network=self.network.string(), diff --git a/pyinjective/client/chain/grpc_stream/__init__.py b/pyinjective/client/chain/grpc_stream/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/client/chain/grpc_stream/chain_grpc_chain_stream.py b/pyinjective/client/chain/grpc_stream/chain_grpc_chain_stream.py new file mode 100644 index 00000000..46b99780 --- /dev/null +++ b/pyinjective/client/chain/grpc_stream/chain_grpc_chain_stream.py @@ -0,0 +1,49 @@ +from typing import Callable, Optional + +from grpc.aio import Channel + +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, metadata_provider: Callable): + self._stub = self._stub = chain_stream_grpc.StreamStub(channel) + self._assistant = GrpcApiStreamAssistant(metadata_provider=metadata_provider) + + 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/tests/client/chain/stream_grpc/__init__.py b/tests/client/chain/stream_grpc/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/client/chain/stream_grpc/configurable_chain_stream_query_servicer.py b/tests/client/chain/stream_grpc/configurable_chain_stream_query_servicer.py new file mode 100644 index 00000000..fe27f667 --- /dev/null +++ b/tests/client/chain/stream_grpc/configurable_chain_stream_query_servicer.py @@ -0,0 +1,13 @@ +from collections import deque + +from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as chain_stream_pb, query_pb2_grpc as chain_stream_grpc + + +class ConfigurableChainStreamQueryServicer(chain_stream_grpc.StreamServicer): + def __init__(self): + super().__init__() + self.stream_responses = deque() + + async def Stream(self, request: chain_stream_pb.StreamRequest, context=None, metadata=None): + for event in self.stream_responses: + yield event 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 new file mode 100644 index 00000000..8d160b14 --- /dev/null +++ b/tests/client/chain/stream_grpc/test_chain_grpc_chain_stream.py @@ -0,0 +1,408 @@ +import asyncio +import base64 + +import grpc +import pytest + +from pyinjective.client.chain.grpc_stream.chain_grpc_chain_stream import ChainGrpcChainStream +from pyinjective.composer import Composer +from pyinjective.core.network import Network +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb +from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as exchange_pb +from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as chain_stream_pb +from tests.client.chain.stream_grpc.configurable_chain_stream_query_servicer import ConfigurableChainStreamQueryServicer + + +@pytest.fixture +def chain_stream_servicer(): + return ConfigurableChainStreamQueryServicer() + + +class TestChainGrpcChainStream: + @pytest.mark.asyncio + async def test_stream( + self, + chain_stream_servicer, + ): + block_height = 19114391 + block_time = 1701457189786 + balance_coin = coin_pb.Coin( + denom="inj", + amount="6941221373191000000000", + ) + bank_balance = chain_stream_pb.BankBalance( + account="inj1qaq7mkvuc474k2nyjm2suwyes06fdm4kt26ks4", + balances=[balance_coin], + ) + deposit = exchange_pb.Deposit( + available_balance="112292968420000000000000", + total_balance="73684013968420000000000000", + ) + subaccount_deposit = chain_stream_pb.SubaccountDeposit( + denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", + deposit=deposit, + ) + subaccount_deposits = chain_stream_pb.SubaccountDeposits( + subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000007", + deposits=[subaccount_deposit], + ) + spot_trade = chain_stream_pb.SpotTrade( + market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", + is_buy=False, + executionType="LimitMatchNewOrder", + quantity="7000000000000000000000000000000000", + price="18215000", + subaccount_id="0x893f2abf8034627e50cbc63923120b1122503ce0000000000000000000000001", + fee="76503000000000000000", + order_hash=b"\xaa\xb0Ju\xa3)@\xfe\xd58N\xba\xdfG\xfd\xd8}\xe4\r\xf4\xf8a\xd9\n\xa9\xd6x+V\x9b\x02&", + fee_recipient_address="inj13ylj40uqx338u5xtccujxystzy39q08q2gz3dx", + cid="HBOTSIJUT60b77b9c56f0456af96c5c6c0d8", + ) + position_delta = exchange_pb.PositionDelta( + is_long=True, + execution_quantity="5000000", + execution_price="13945600", + execution_margin="69728000", + ) + derivative_trade = chain_stream_pb.DerivativeTrade( + market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", + is_buy=False, + executionType="LimitMatchNewOrder", + subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", + position_delta=position_delta, + payout="0", + fee="76503000000000000000", + order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", + fee_recipient_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", + cid="cid1", + ) + spot_order_info = exchange_pb.OrderInfo( + subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", + fee_recipient="inj1tcjf7r5vksr0g80pdcdada44teauwkkahelyfy", + price="18775000", + quantity="54606542000000000000000000000000000000000", + cid="cid2", + ) + spot_limit_order = exchange_pb.SpotLimitOrder( + order_info=spot_order_info, + order_type=exchange_pb.OrderType.SELL_PO, + fillable="54606542000000000000000000000000000000000", + trigger_price="", + order_hash=( + b"\xf9\xc7\xd8v8\x84-\x9b\x99s\xf5\xdfX\xc9\xf9V\x9a\xf7\xf9\xc3\xa1\x00h\t\xc17<\xd1k\x9d\x12\xed" + ), + ) + spot_order = chain_stream_pb.SpotOrder( + market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", + order=spot_limit_order, + ) + spot_order_update = chain_stream_pb.SpotOrderUpdate( + status="Booked", + order_hash=( + b"\xf9\xc7\xd8v8\x84-\x9b\x99s\xf5\xdfX\xc9\xf9V\x9a\xf7\xf9\xc3\xa1\x00h\t\xc17<\xd1k\x9d\x12\xed" + ), + cid="cid2", + order=spot_order, + ) + derivative_order_info = exchange_pb.OrderInfo( + subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", + fee_recipient="inj1tcjf7r5vksr0g80pdcdada44teauwkkahelyfy", + price="18775000", + quantity="54606542000000000000000000000000000000000", + cid="cid2", + ) + derivative_limit_order = exchange_pb.DerivativeLimitOrder( + order_info=derivative_order_info, + order_type=exchange_pb.OrderType.SELL_PO, + margin="54606542000000000000000000000000000000000", + fillable="54606542000000000000000000000000000000000", + trigger_price="", + order_hash=b"\x03\xc9\xf8G*Q-G%\xf1\xbcF3\xe89g\xbe\xeag\xd8Y\x7f\x87\x8a\xa5\xac\x8ew\x8a\x91\xa2F", + ) + derivative_order = chain_stream_pb.DerivativeOrder( + market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", + order=derivative_limit_order, + is_market=False, + ) + derivative_order_update = chain_stream_pb.DerivativeOrderUpdate( + status="Booked", + order_hash=b"\x03\xc9\xf8G*Q-G%\xf1\xbcF3\xe89g\xbe\xeag\xd8Y\x7f\x87\x8a\xa5\xac\x8ew\x8a\x91\xa2F", + cid="cid3", + order=derivative_order, + ) + spot_buy_level = exchange_pb.Level(p="17280000", q="44557734000000000000000000000000000000000") + spot_sell_level = exchange_pb.Level( + p="18207000", + q="22196395000000000000000000000000000000000", + ) + spot_orderbook = chain_stream_pb.Orderbook( + market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", + buy_levels=[spot_buy_level], + sell_levels=[spot_sell_level], + ) + spot_orderbook_update = chain_stream_pb.OrderbookUpdate( + seq=6645013, + orderbook=spot_orderbook, + ) + derivative_buy_level = exchange_pb.Level(p="17280000", q="44557734000000000000000000000000000000000") + derivative_sell_level = exchange_pb.Level( + p="18207000", + q="22196395000000000000000000000000000000000", + ) + derivative_orderbook = chain_stream_pb.Orderbook( + market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", + buy_levels=[derivative_buy_level], + sell_levels=[derivative_sell_level], + ) + derivative_orderbook_update = chain_stream_pb.OrderbookUpdate( + seq=6645013, + orderbook=derivative_orderbook, + ) + position = chain_stream_pb.Position( + market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", + subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", + isLong=True, + quantity="22196395000000000000000000000000000000000", + entry_price="18207000", + margin="22196395000000000000000000000000000000000", + cumulative_funding_entry="0", + ) + oracle_price = chain_stream_pb.OraclePrice( + symbol="0x41f3625971ca2ed2263e78573fe5ce23e13d2558ed3f2e47ab0f84fb9e7ae722", + price="999910860000000000", + type="pyth", + ) + + chain_stream_servicer.stream_responses.append( + chain_stream_pb.StreamResponse( + block_height=block_height, + block_time=block_time, + bank_balances=[bank_balance], + subaccount_deposits=[subaccount_deposits], + spot_trades=[spot_trade], + derivative_trades=[derivative_trade], + spot_orders=[spot_order_update], + derivative_orders=[derivative_order_update], + spot_orderbook_updates=[spot_orderbook_update], + derivative_orderbook_updates=[derivative_orderbook_update], + positions=[position], + oracle_prices=[oracle_price], + ) + ) + + network = Network.devnet() + composer = Composer(network=network.string()) + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = ChainGrpcChainStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = chain_stream_servicer + + events = asyncio.Queue() + end_event = asyncio.Event() + + callback = lambda update: events.put_nowait(update) + error_callback = lambda exception: pytest.fail(str(exception)) + end_callback = lambda: end_event.set() + + bank_balances_filter = composer.chain_stream_bank_balances_filter() + subaccount_deposits_filter = composer.chain_stream_subaccount_deposits_filter() + spot_trades_filter = composer.chain_stream_trades_filter() + derivative_trades_filter = composer.chain_stream_trades_filter() + spot_orders_filter = composer.chain_stream_orders_filter() + derivative_orders_filter = composer.chain_stream_orders_filter() + spot_orderbooks_filter = composer.chain_stream_orderbooks_filter() + derivative_orderbooks_filter = composer.chain_stream_orderbooks_filter() + positions_filter = composer.chain_stream_positions_filter() + oracle_price_filter = composer.chain_stream_oracle_price_filter() + + expected_update = { + "blockHeight": str(block_height), + "blockTime": str(block_time), + "bankBalances": [ + { + "account": bank_balance.account, + "balances": [ + { + "denom": balance_coin.denom, + "amount": balance_coin.amount, + } + ], + }, + ], + "subaccountDeposits": [ + { + "subaccountId": subaccount_deposits.subaccount_id, + "deposits": [ + { + "denom": subaccount_deposit.denom, + "deposit": { + "availableBalance": deposit.available_balance, + "totalBalance": deposit.total_balance, + }, + } + ], + } + ], + "spotTrades": [ + { + "marketId": spot_trade.market_id, + "isBuy": spot_trade.is_buy, + "executionType": spot_trade.executionType, + "quantity": spot_trade.quantity, + "price": spot_trade.price, + "subaccountId": spot_trade.subaccount_id, + "fee": spot_trade.fee, + "orderHash": base64.b64encode(spot_trade.order_hash).decode(), + "feeRecipientAddress": spot_trade.fee_recipient_address, + "cid": spot_trade.cid, + }, + ], + "derivativeTrades": [ + { + "marketId": derivative_trade.market_id, + "isBuy": derivative_trade.is_buy, + "executionType": derivative_trade.executionType, + "subaccountId": derivative_trade.subaccount_id, + "positionDelta": { + "isLong": position_delta.is_long, + "executionMargin": position_delta.execution_margin, + "executionQuantity": position_delta.execution_quantity, + "executionPrice": position_delta.execution_price, + }, + "payout": derivative_trade.payout, + "fee": derivative_trade.fee, + "orderHash": derivative_trade.order_hash, + "feeRecipientAddress": derivative_trade.fee_recipient_address, + "cid": derivative_trade.cid, + } + ], + "spotOrders": [ + { + "status": "Booked", + "orderHash": base64.b64encode(spot_order_update.order_hash).decode(), + "cid": spot_order_update.cid, + "order": { + "marketId": spot_order.market_id, + "order": { + "orderInfo": { + "subaccountId": spot_order_info.subaccount_id, + "feeRecipient": spot_order_info.fee_recipient, + "price": spot_order_info.price, + "quantity": spot_order_info.quantity, + "cid": spot_order_info.cid, + }, + "orderType": "SELL_PO", + "fillable": spot_limit_order.fillable, + "triggerPrice": spot_limit_order.trigger_price, + "orderHash": base64.b64encode(spot_limit_order.order_hash).decode(), + }, + }, + }, + ], + "derivativeOrders": [ + { + "status": "Booked", + "orderHash": base64.b64encode(derivative_order_update.order_hash).decode(), + "cid": derivative_order_update.cid, + "order": { + "marketId": derivative_order.market_id, + "order": { + "orderInfo": { + "subaccountId": derivative_order_info.subaccount_id, + "feeRecipient": derivative_order_info.fee_recipient, + "price": derivative_order_info.price, + "quantity": derivative_order_info.quantity, + "cid": derivative_order_info.cid, + }, + "orderType": "SELL_PO", + "margin": derivative_limit_order.margin, + "fillable": derivative_limit_order.fillable, + "triggerPrice": derivative_limit_order.trigger_price, + "orderHash": base64.b64encode(derivative_limit_order.order_hash).decode(), + }, + "isMarket": derivative_order.is_market, + }, + }, + ], + "spotOrderbookUpdates": [ + { + "seq": str(spot_orderbook_update.seq), + "orderbook": { + "marketId": spot_orderbook.market_id, + "buyLevels": [ + { + "p": spot_buy_level.p, + "q": spot_buy_level.q, + }, + ], + "sellLevels": [ + {"p": spot_sell_level.p, "q": spot_sell_level.q}, + ], + }, + }, + ], + "derivativeOrderbookUpdates": [ + { + "seq": str(derivative_orderbook_update.seq), + "orderbook": { + "marketId": derivative_orderbook.market_id, + "buyLevels": [ + { + "p": derivative_buy_level.p, + "q": derivative_buy_level.q, + }, + ], + "sellLevels": [ + { + "p": derivative_sell_level.p, + "q": derivative_sell_level.q, + }, + ], + }, + }, + ], + "positions": [ + { + "marketId": position.market_id, + "subaccountId": position.subaccount_id, + "isLong": position.isLong, + "quantity": position.quantity, + "entryPrice": position.entry_price, + "margin": position.margin, + "cumulativeFundingEntry": position.cumulative_funding_entry, + } + ], + "oraclePrices": [ + { + "symbol": oracle_price.symbol, + "price": oracle_price.price, + "type": oracle_price.type, + }, + ], + } + + asyncio.get_event_loop().create_task( + api.stream( + callback=callback, + on_end_callback=end_callback, + on_status_callback=error_callback, + 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, + ) + ) + + first_update = await asyncio.wait_for(events.get(), timeout=1) + + assert first_update == expected_update + assert end_event.is_set() + + async def _dummy_metadata_provider(self): + return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index f29db5dd..4a8fa562 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -18,10 +18,12 @@ 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_autz_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 @@ -59,6 +61,11 @@ def bank_servicer(): return ConfigurableBankQueryServicer() +@pytest.fixture +def chain_stream_servicer(): + return ConfigurableChainStreamQueryServicer() + + @pytest.fixture def derivative_servicer(): return ConfigurableDerivativeQueryServicer() @@ -1605,3 +1612,21 @@ async def test_stream_blocks_deprecation_warning( assert len(all_warnings) == 1 assert issubclass(all_warnings[0].category, DeprecationWarning) assert str(all_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() + + assert len(all_warnings) == 1 + assert issubclass(all_warnings[0].category, DeprecationWarning) + assert str(all_warnings[0].message) == "This method is deprecated. Use listen_chain_stream_updates instead" From 4de1701e50d58b53dec489b0daafde3f9840eeb4 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 4 Dec 2023 10:26:23 -0300 Subject: [PATCH 56/83] (fix) Fixed failing deprecation warning tests --- .../test_async_client_deprecation_warnings.py | 558 ++++++++++-------- 1 file changed, 312 insertions(+), 246 deletions(-) diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 4a8fa562..13ced627 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -117,10 +117,11 @@ def test_insecure_parameter_deprecation_warning( insecure=False, ) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) == "insecure parameter in AsyncClient is no longer used and will be deprecated" + str(deprecation_warnings[0].message) + == "insecure parameter in AsyncClient is no longer used and will be deprecated" ) @pytest.mark.asyncio @@ -137,9 +138,9 @@ async def test_get_account_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_account(address="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_account instead" + 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( @@ -155,9 +156,9 @@ async def test_get_bank_balance_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_bank_balance(address="", denom="inj") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_bank_balance instead" + 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( @@ -173,9 +174,9 @@ async def test_get_bank_balances_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_bank_balances(address="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_bank_balances instead" + 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( @@ -191,9 +192,9 @@ async def test_get_order_states_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_order_states(spot_order_hashes=["hash1"], derivative_order_hashes=["hash2"]) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_order_states instead" + 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( @@ -209,9 +210,9 @@ async def test_get_subaccount_list_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_subaccount_list(account_address="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_subaccounts_list instead" + 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( @@ -229,9 +230,12 @@ async def test_get_subaccount_balances_list_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_subaccount_balances_list(subaccount_id="", denoms=[]) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_subaccount_balances_list instead" + 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( @@ -247,9 +251,9 @@ async def test_get_subaccount_balance_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_subaccount_balance(subaccount_id="", denom="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_subaccount_balance instead" + 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( @@ -265,9 +269,9 @@ async def test_get_subaccount_history_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_subaccount_history(subaccount_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_subaccount_history instead" + 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( @@ -285,9 +289,12 @@ async def test_get_subaccount_order_summary_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_subaccount_order_summary(subaccount_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_subaccount_order_summary instead" + 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( @@ -303,9 +310,9 @@ async def test_get_portfolio_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_portfolio(account_address="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_portfolio instead" + 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( @@ -321,9 +328,9 @@ async def test_get_rewards_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_rewards(account_address="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_rewards instead" + 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( @@ -341,10 +348,11 @@ async def test_stream_subaccount_balance_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_subaccount_balance(subaccount_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) == "This method is deprecated. Use listen_subaccount_balance_updates instead" + str(deprecation_warnings[0].message) + == "This method is deprecated. Use listen_subaccount_balance_updates instead" ) @pytest.mark.asyncio @@ -361,9 +369,9 @@ async def test_get_grants_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_grants(granter="granter", grantee="grantee") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_grants instead" + 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( @@ -379,9 +387,9 @@ async def test_simulate_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.simulate_tx(tx_byte="".encode()) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use simulate instead" + 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( @@ -397,9 +405,9 @@ async def test_get_tx_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_tx(tx_hash="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_tx instead" + 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( @@ -415,9 +423,9 @@ async def test_send_tx_sync_mode_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.send_tx_sync_mode(tx_byte="".encode()) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use broadcast_tx_sync_mode instead" + 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( @@ -433,9 +441,9 @@ async def test_send_tx_async_mode_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.send_tx_async_mode(tx_byte="".encode()) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use broadcast_tx_async_mode instead" + 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( @@ -451,9 +459,11 @@ async def test_send_tx_block_mode_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.send_tx_block_mode(tx_byte="".encode()) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. BLOCK broadcast mode should not be used" + 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( @@ -469,9 +479,9 @@ async def test_ping_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.ping() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_ping instead" + 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( @@ -487,9 +497,9 @@ async def test_version_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.version() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_version instead" + 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( @@ -505,9 +515,9 @@ async def test_info_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.info() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_info instead" + 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( @@ -523,9 +533,9 @@ async def test_stream_keepalive_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_keepalive() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_keepalive instead" + 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_oracle_list_deprecation_warning( @@ -541,9 +551,9 @@ async def test_oracle_list_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_oracle_list() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_oracle_list instead" + 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_list_deprecation_warning( @@ -559,9 +569,9 @@ async def test_get_oracle_list_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_oracle_list() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_oracle_list instead" + 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( @@ -582,9 +592,9 @@ async def test_get_oracle_prices_deprecation_warning( oracle_scale_factor=6, ) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_oracle_price instead" + 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_keepalive_deprecation_warning( @@ -604,9 +614,12 @@ async def test_stream_keepalive_deprecation_warning( oracle_type="pricefeed", ) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_oracle_prices_updates instead" + 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( @@ -622,9 +635,9 @@ async def test_get_insurance_funds_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_insurance_funds() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_insurance_funds instead" + 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( @@ -640,9 +653,9 @@ async def test_get_redemptions_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_redemptions() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_redemptions instead" + 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( @@ -658,9 +671,9 @@ async def test_get_auction_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_auction(bid_round=1) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_auction instead" + 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( @@ -676,9 +689,9 @@ async def test_get_auctions_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_auctions() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_auctions instead" + 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( @@ -694,9 +707,9 @@ async def test_stream_bids_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_bids() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_bids_updates instead" + 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( @@ -712,9 +725,9 @@ async def test_get_spot_markets_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_spot_markets() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_spot_markets instead" + 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( @@ -730,9 +743,9 @@ async def test_get_spot_market_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_spot_market(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_spot_market instead" + 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( @@ -748,9 +761,9 @@ async def test_get_spot_orderbookV2_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_spot_orderbookV2(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_spot_orderbook_v2 instead" + 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( @@ -766,9 +779,9 @@ async def test_get_spot_orderbooksV2_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_spot_orderbooksV2(market_ids=[]) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_spot_orderbooks_v2 instead" + 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( @@ -784,9 +797,9 @@ async def test_get_spot_orders_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_spot_orders(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_spot_orders instead" + 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( @@ -802,9 +815,9 @@ async def test_get_spot_trades_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_spot_trades() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_spot_trades instead" + 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( @@ -820,10 +833,11 @@ async def test_get_spot_subaccount_orders_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_spot_subaccount_orders(subaccount_id="", market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) == "This method is deprecated. Use fetch_spot_subaccount_orders_list instead" + str(deprecation_warnings[0].message) + == "This method is deprecated. Use fetch_spot_subaccount_orders_list instead" ) @pytest.mark.asyncio @@ -840,10 +854,11 @@ async def test_get_spot_subaccount_trades_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_spot_subaccount_trades(subaccount_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) == "This method is deprecated. Use fetch_spot_subaccount_trades_list instead" + str(deprecation_warnings[0].message) + == "This method is deprecated. Use fetch_spot_subaccount_trades_list instead" ) @pytest.mark.asyncio @@ -860,9 +875,11 @@ async def test_get_historical_spot_orders_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_historical_spot_orders() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_spot_orders_history instead" + 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( @@ -878,9 +895,11 @@ async def test_stream_spot_markets_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_spot_markets() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_spot_markets_updates instead" + 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( @@ -896,9 +915,12 @@ async def test_stream_spot_orderbook_snapshot_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_spot_orderbook_snapshot(market_ids=[]) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_spot_orderbook_snapshots instead" + 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( @@ -914,9 +936,12 @@ async def test_stream_spot_orderbook_update_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_spot_orderbook_update(market_ids=[]) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_spot_orderbook_updates instead" + 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( @@ -932,9 +957,11 @@ async def test_stream_spot_orders_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_spot_orders(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_spot_orders_updates instead" + 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( @@ -950,9 +977,11 @@ async def test_stream_spot_trades_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_spot_trades() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_spot_trades_updates instead" + 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( @@ -968,10 +997,11 @@ async def test_stream_historical_spot_orders_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_historical_spot_orders(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) == "This method is deprecated. Use listen_spot_orders_history_updates instead" + str(deprecation_warnings[0].message) + == "This method is deprecated. Use listen_spot_orders_history_updates instead" ) @pytest.mark.asyncio @@ -988,9 +1018,9 @@ async def test_get_derivative_markets_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_derivative_markets() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_markets instead" + 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( @@ -1006,9 +1036,9 @@ async def test_get_derivative_market_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_derivative_market(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_market instead" + 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( @@ -1026,9 +1056,12 @@ async def test_get_binary_options_markets_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_binary_options_markets() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_binary_options_markets instead" + 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( @@ -1044,9 +1077,11 @@ async def test_get_binary_options_market_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_binary_options_market(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_binary_options_market instead" + 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( @@ -1062,9 +1097,12 @@ async def test_get_derivative_orderbook_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_derivative_orderbook(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_orderbook_v2 instead" + 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( @@ -1080,9 +1118,12 @@ async def test_get_derivative_orderbooksV2_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_derivative_orderbooksV2(market_ids=[]) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_orderbooks_v2 instead" + 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( @@ -1098,9 +1139,9 @@ async def test_get_derivative_orders_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_derivative_orders(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_orders instead" + 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( @@ -1116,9 +1157,11 @@ async def test_get_derivative_positions_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_derivative_positions() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_positions instead" + 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 instead" + ) @pytest.mark.asyncio async def test_get_derivative_liquidable_positions_deprecation_warning( @@ -1134,10 +1177,10 @@ async def test_get_derivative_liquidable_positions_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_derivative_liquidable_positions() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) + str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_derivative_liquidable_positions instead" ) @@ -1155,9 +1198,9 @@ async def test_get_funding_payments_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_funding_payments(subaccount_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_funding_payments instead" + 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( @@ -1173,9 +1216,9 @@ async def test_get_funding_rates_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_funding_rates(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_funding_rates instead" + 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( @@ -1191,9 +1234,9 @@ async def test_get_derivative_trades_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_derivative_trades() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_trades instead" + 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( @@ -1211,10 +1254,11 @@ async def test_get_derivative_subaccount_orders_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_derivative_subaccount_orders(subaccount_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_subaccount_orders instead" + str(deprecation_warnings[0].message) + == "This method is deprecated. Use fetch_derivative_subaccount_orders instead" ) @pytest.mark.asyncio @@ -1233,10 +1277,11 @@ async def test_get_derivative_subaccount_trades_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_derivative_subaccount_trades(subaccount_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_subaccount_trades instead" + str(deprecation_warnings[0].message) + == "This method is deprecated. Use fetch_derivative_subaccount_trades instead" ) @pytest.mark.asyncio @@ -1253,9 +1298,12 @@ async def test_get_historical_derivative_orders_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_historical_derivative_orders() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_derivative_orders_history instead" + 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( @@ -1271,9 +1319,12 @@ async def test_stream_derivative_markets_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_derivative_markets() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_derivative_market_updates instead" + 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( @@ -1289,10 +1340,10 @@ async def test_stream_derivative_orderbook_snapshot_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_derivative_orderbook_snapshot(market_ids=[]) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) + str(deprecation_warnings[0].message) == "This method is deprecated. Use listen_derivative_orderbook_snapshots instead" ) @@ -1312,10 +1363,11 @@ async def test_stream_derivative_orderbook_update_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_derivative_orderbook_update(market_ids=[]) - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) == "This method is deprecated. Use listen_derivative_orderbook_updates instead" + str(deprecation_warnings[0].message) + == "This method is deprecated. Use listen_derivative_orderbook_updates instead" ) @pytest.mark.asyncio @@ -1332,10 +1384,11 @@ async def test_stream_derivative_positions_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_derivative_positions() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) == "This method is deprecated. Use listen_derivative_positions_updates instead" + str(deprecation_warnings[0].message) + == "This method is deprecated. Use listen_derivative_positions_updates instead" ) @pytest.mark.asyncio @@ -1352,9 +1405,12 @@ async def test_stream_derivative_orders_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_derivative_orders(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_derivative_orders_updates instead" + 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( @@ -1370,9 +1426,12 @@ async def test_stream_derivative_trades_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_derivative_trades() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_derivative_trades_updates instead" + 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( @@ -1388,10 +1447,10 @@ async def test_stream_historical_derivative_orders_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_historical_derivative_orders(market_id="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) + deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] + assert len(deprecation_warnings) == 1 assert ( - str(all_warnings[0].message) + str(deprecation_warnings[0].message) == "This method is deprecated. Use listen_derivative_orders_history_updates instead" ) @@ -1409,9 +1468,9 @@ async def test_get_account_portfolio_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_account_portfolio(account_address="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_account_portfolio instead" + 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 instead" @pytest.mark.asyncio async def test_stream_account_portfolio_deprecation_warning( @@ -1429,9 +1488,12 @@ async def test_stream_account_portfolio_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_account_portfolio(account_address="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_account_portfolio_updates instead" + 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( @@ -1447,9 +1509,9 @@ async def test_get_account_txs_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_account_txs(address="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_account_txs instead" + 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( @@ -1465,9 +1527,9 @@ async def test_get_blocks_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_blocks() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_blocks instead" + 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( @@ -1483,9 +1545,9 @@ async def test_get_block_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_block(block_height="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_block instead" + 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( @@ -1501,9 +1563,9 @@ async def test_get_txs_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_txs() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_txs instead" + 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( @@ -1519,9 +1581,9 @@ async def test_get_tx_by_hash_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_tx_by_hash(tx_hash="") - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_tx_by_tx_hash instead" + 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( @@ -1537,9 +1599,9 @@ async def test_get_peggy_deposits_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_peggy_deposits() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_peggy_deposit_txs instead" + 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( @@ -1555,9 +1617,11 @@ async def test_get_peggy_withdrawals_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_peggy_withdrawals() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_peggy_withdrawal_txs instead" + 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( @@ -1573,9 +1637,9 @@ async def test_get_ibc_transfers_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.get_ibc_transfers() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use fetch_ibc_transfer_txs instead" + 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( @@ -1591,9 +1655,9 @@ async def test_stream_txs_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_txs() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_txs_updates instead" + 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( @@ -1609,9 +1673,9 @@ async def test_stream_blocks_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.stream_blocks() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_blocks_updates instead" + 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( @@ -1627,6 +1691,8 @@ async def test_chain_stream_deprecation_warning( with catch_warnings(record=True) as all_warnings: await client.chain_stream() - assert len(all_warnings) == 1 - assert issubclass(all_warnings[0].category, DeprecationWarning) - assert str(all_warnings[0].message) == "This method is deprecated. Use listen_chain_stream_updates instead" + 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" + ) From e72eedf5a438c8169fdec627ad8288e3df6db0d6 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 4 Dec 2023 10:30:20 -0300 Subject: [PATCH 57/83] (fix) Updated coverage requirement from 50% to 65% --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e58d7f34..8ad2fe1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,7 +101,7 @@ omit = ["pyinjective/proto/*"] [tool.coverage.report] skip_empty = true -fail_under = 50 +fail_under = 65 precision = 2 [tool.pytest.ini_options] From 7672c35e04c6f38a50a38aed722616957dcf98d1 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 4 Dec 2023 16:02:55 -0300 Subject: [PATCH 58/83] (fix) Fixed scripts still referencing deprecated functions in AsyncClient --- .../accounts_rpc/4_SubaccountBalancesList.py | 2 +- .../accounts_rpc/5_SubaccountHistory.py | 7 ++++++- .../exchange_client/meta_rpc/4_StreamKeepAlive.py | 11 ++++++++--- pyinjective/async_client.py | 11 +++++------ .../client/indexer/grpc/indexer_grpc_account_api.py | 12 ++++++------ pyinjective/core/broadcaster.py | 4 ++-- .../indexer/grpc/test_indexer_grpc_account_api.py | 11 ++++++----- 7 files changed, 34 insertions(+), 24 deletions(-) diff --git a/examples/exchange_client/accounts_rpc/4_SubaccountBalancesList.py b/examples/exchange_client/accounts_rpc/4_SubaccountBalancesList.py index 501d327e..7df3be17 100644 --- a/examples/exchange_client/accounts_rpc/4_SubaccountBalancesList.py +++ b/examples/exchange_client/accounts_rpc/4_SubaccountBalancesList.py @@ -9,7 +9,7 @@ async def main() -> None: client = AsyncClient(network) subaccount = "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000" denoms = ["inj", "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5"] - subacc_balances_list = await client.get_subaccount_balances_list(subaccount_id=subaccount, denoms=denoms) + subacc_balances_list = await client.fetch_subaccount_balances_list(subaccount_id=subaccount, denoms=denoms) print(subacc_balances_list) diff --git a/examples/exchange_client/accounts_rpc/5_SubaccountHistory.py b/examples/exchange_client/accounts_rpc/5_SubaccountHistory.py index 610b0723..a71951cf 100644 --- a/examples/exchange_client/accounts_rpc/5_SubaccountHistory.py +++ b/examples/exchange_client/accounts_rpc/5_SubaccountHistory.py @@ -1,6 +1,7 @@ import asyncio from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import Network @@ -13,8 +14,12 @@ async def main() -> None: skip = 1 limit = 15 end_time = 1665118340224 + pagination = PaginationOption(skip=skip, limit=limit, end_time=end_time) subacc_history = await client.fetch_subaccount_history( - subaccount_id=subaccount, denom=denom, transfer_types=transfer_types, skip=skip, limit=limit, end_time=end_time + subaccount_id=subaccount, + denom=denom, + transfer_types=transfer_types, + pagination=pagination, ) print(subacc_history) diff --git a/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py b/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py index 7724f46e..84a22eb8 100644 --- a/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py +++ b/examples/exchange_client/meta_rpc/4_StreamKeepAlive.py @@ -44,9 +44,14 @@ async def keepalive_event_processor(event: Dict[str, Any]): async def get_markets(client): - stream = await client.stream_spot_markets() - async for market in stream: - print(market) + async def print_market_updates(event: Dict[str, Any]): + print(event) + + await client.listen_spot_markets_updates( + callback=print_market_updates, + on_end_callback=stream_closed_processor, + on_status_callback=stream_error_processor, + ) if __name__ == "__main__": diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 9c4c2080..388e7457 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -458,6 +458,9 @@ async def send_tx_async_mode(self, tx_byte: bytes) -> abci_type.TxResponse: result = await self.stubTx.BroadcastTx(request=req, metadata=metadata) return result.tx_response + async def broadcast_tx_async_mode(self, tx_bytes: bytes) -> Dict[str, Any]: + return await self.tx_api.broadcast(tx_bytes=tx_bytes, mode=tx_service.BroadcastMode.BROADCAST_MODE_ASYNC) + async def send_tx_block_mode(self, tx_byte: bytes) -> abci_type.TxResponse: """ This method is deprecated and will be removed soon. BLOCK broadcast mode should not be used @@ -960,17 +963,13 @@ async def fetch_subaccount_history( subaccount_id: str, denom: Optional[str] = None, transfer_types: Optional[List[str]] = None, - skip: Optional[int] = None, - limit: Optional[int] = None, - end_time: Optional[int] = 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, - skip=skip, - limit=limit, - end_time=end_time, + pagination=pagination, ) async def get_subaccount_order_summary(self, subaccount_id: str, **kwargs): diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py index e0296b87..8fc387c1 100644 --- a/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py +++ b/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py @@ -2,6 +2,7 @@ from grpc.aio import Channel +from pyinjective.client.model.pagination import PaginationOption from pyinjective.proto.exchange import ( injective_accounts_rpc_pb2 as exchange_accounts_pb, injective_accounts_rpc_pb2_grpc as exchange_accounts_grpc, @@ -66,17 +67,16 @@ async def fetch_subaccount_history( subaccount_id: str, denom: Optional[str] = None, transfer_types: Optional[List[str]] = None, - skip: Optional[int] = None, - limit: Optional[int] = None, - end_time: Optional[int] = 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=skip, - limit=limit, - end_time=end_time, + skip=pagination.skip, + limit=pagination.limit, + end_time=pagination.end_time, ) response = await self._execute_call(call=self._stub.SubaccountHistory, request=request) diff --git a/pyinjective/core/broadcaster.py b/pyinjective/core/broadcaster.py index 379afdaa..45ca0fca 100644 --- a/pyinjective/core/broadcaster.py +++ b/pyinjective/core/broadcaster.py @@ -256,11 +256,11 @@ async def configure_gas_fee_for_transaction( # simulate tx try: - sim_res = await self._client.simulate_tx(sim_tx_raw_bytes) + sim_res = await self._client.simulate(sim_tx_raw_bytes) except RpcError as ex: raise RuntimeError(f"Transaction simulation error: {ex}") - gas_limit = math.ceil(Decimal(str(sim_res.gas_info.gas_used)) * self._gas_limit_adjustment_multiplier) + gas_limit = math.ceil(Decimal(str(sim_res["gasInfo"]["gasUsed"])) * self._gas_limit_adjustment_multiplier) fee = [ self._composer.Coin( diff --git a/tests/client/indexer/grpc/test_indexer_grpc_account_api.py b/tests/client/indexer/grpc/test_indexer_grpc_account_api.py index 3d076caf..8466c29b 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_account_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_account_api.py @@ -1,9 +1,8 @@ -import time - 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 Network from pyinjective.proto.exchange import injective_accounts_rpc_pb2 as exchange_accounts_pb from tests.client.indexer.configurable_account_query_servicer import ConfigurableAccountQueryServicer @@ -256,9 +255,11 @@ async def test_subaccount_history( subaccount_id=transfer.dst_subaccount_id, denom=transfer.amount.denom, transfer_types=[transfer.transfer_type], - skip=0, - limit=5, - end_time=int(time.time() * 1e3), + pagination=PaginationOption( + skip=0, + limit=100, + end_time=1699744939364, + ), ) expected_subaccount_history = { "transfers": [ From b44ebd208853bd99268c2c1279e5882bbfbb4693 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 6 Dec 2023 23:36:23 -0300 Subject: [PATCH 59/83] (feat) Added support for spot and derivative TradesV2 and StreamTradesV2 Indexer endpoints --- Makefile | 4 +- pyinjective/async_client.py | 8 +- .../grpc/indexer_grpc_derivative_api.py | 32 +++ .../indexer/grpc/indexer_grpc_spot_api.py | 32 +++ .../indexer_grpc_derivative_stream.py | 39 +++ .../grpc_stream/indexer_grpc_spot_stream.py | 39 +++ .../proto/cosmos/ics23/v1/proofs_pb2.py | 10 +- .../proto/exchange/event_provider_api_pb2.py | 18 +- .../exchange/event_provider_api_pb2_grpc.py | 34 +++ .../exchange/injective_campaign_rpc_pb2.py | 24 +- .../injective_campaign_rpc_pb2_grpc.py | 102 +++++++ .../injective_derivative_exchange_rpc_pb2.py | 58 ++-- ...ective_derivative_exchange_rpc_pb2_grpc.py | 68 +++++ .../injective_spot_exchange_rpc_pb2.py | 66 +++-- .../injective_spot_exchange_rpc_pb2_grpc.py | 68 +++++ .../exchange/injective_trading_rpc_pb2.py | 20 +- .../injective/exchange/v1beta1/tx_pb2.py | 60 ++-- .../injective/exchange/v1beta1/tx_pb2_grpc.py | 34 +++ .../permissions/v1beta1/events_pb2.py | 28 ++ .../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 | 30 ++ .../permissions/v1beta1/params_pb2_grpc.py | 4 + .../permissions/v1beta1/permissions_pb2.py | 49 ++++ .../v1beta1/permissions_pb2_grpc.py | 4 + .../permissions/v1beta1/query_pb2.py | 75 +++++ .../permissions/v1beta1/query_pb2_grpc.py | 247 ++++++++++++++++ .../injective/permissions/v1beta1/tx_pb2.py | 114 ++++++++ .../permissions/v1beta1/tx_pb2_grpc.py | 267 ++++++++++++++++++ .../injective/stream/v1beta1/query_pb2.py | 44 +-- .../utils/grpc_api_stream_assistant.py | 2 - pyproject.toml | 2 +- .../configurable_derivative_query_servicer.py | 9 + .../configurable_spot_query_servicer.py | 9 + .../grpc/test_indexer_grpc_derivative_api.py | 94 ++++++ .../grpc/test_indexer_grpc_spot_api.py | 90 ++++++ .../test_indexer_grpc_derivative_stream.py | 103 +++++++ .../test_indexer_grpc_spot_stream.py | 99 +++++++ 39 files changed, 1895 insertions(+), 133 deletions(-) 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 diff --git a/Makefile b/Makefile index 1a0ff730..06334018 100644 --- a/Makefile +++ b/Makefile @@ -28,10 +28,10 @@ clean-all: $(call clean_repos) clone-injective-core: - git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.5-testnet --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.6-testnet --depth 1 --single-branch clone-injective-indexer: - git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.45-rc5 --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.59 --depth 1 --single-branch clone-cometbft: git clone https://github.com/cometbft/cometbft.git -b v0.37.2 --depth 1 --single-branch diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 388e7457..75c3d159 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -1369,7 +1369,7 @@ async def fetch_spot_trades( cid: Optional[str] = None, pagination: Optional[PaginationOption] = None, ) -> Dict[str, Any]: - return await self.exchange_spot_api.fetch_trades( + return await self.exchange_spot_api.fetch_trades_v2( market_ids=market_ids, subaccount_ids=subaccount_ids, execution_side=execution_side, @@ -1617,7 +1617,7 @@ async def listen_spot_trades_updates( cid: Optional[str] = None, pagination: Optional[PaginationOption] = None, ): - await self.exchange_spot_stream_api.stream_trades( + await self.exchange_spot_stream_api.stream_trades_v2( callback=callback, on_end_callback=on_end_callback, on_status_callback=on_status_callback, @@ -1915,7 +1915,7 @@ async def fetch_derivative_trades( cid: Optional[str] = None, pagination: Optional[PaginationOption] = None, ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_trades( + return await self.exchange_derivative_api.fetch_trades_v2( market_ids=market_ids, subaccount_ids=subaccount_ids, execution_side=execution_side, @@ -2088,7 +2088,7 @@ async def listen_derivative_trades_updates( cid: Optional[str] = None, pagination: Optional[PaginationOption] = None, ): - return await self.exchange_derivative_stream_api.stream_trades( + return await self.exchange_derivative_stream_api.stream_trades_v2( callback=callback, on_end_callback=on_end_callback, on_status_callback=on_status_callback, diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py index a79f9cac..2b69608e 100644 --- a/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py +++ b/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py @@ -287,5 +287,37 @@ async def fetch_orders_history( 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_spot_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py index 5b9a0b40..994b2685 100644 --- a/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py +++ b/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py @@ -204,5 +204,37 @@ async def fetch_atomic_swap_history( 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/indexer_grpc_derivative_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_derivative_stream.py index a14a6e30..b5c790db 100644 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_derivative_stream.py +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_derivative_stream.py @@ -194,3 +194,42 @@ async def stream_orders_history( 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_spot_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_spot_stream.py index f8772460..79b185af 100644 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_spot_stream.py +++ b/pyinjective/client/indexer/grpc_stream/indexer_grpc_spot_stream.py @@ -172,3 +172,42 @@ async def stream_orders_history( 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/proto/cosmos/ics23/v1/proofs_pb2.py b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py index 70acd100..25677bb0 100644 --- a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py +++ b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/ics23/v1/proofs.proto\x12\x0f\x63osmos.ics23.v1\"{\n\x0e\x45xistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12%\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12&\n\x04path\x18\x04 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOp\"\x7f\n\x11NonExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12-\n\x04left\x18\x02 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProof\x12.\n\x05right\x18\x03 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProof\"\xef\x01\n\x0f\x43ommitmentProof\x12\x30\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00\x12\x36\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00\x12,\n\x05\x62\x61tch\x18\x03 \x01(\x0b\x32\x1b.cosmos.ics23.v1.BatchProofH\x00\x12;\n\ncompressed\x18\x04 \x01(\x0b\x32%.cosmos.ics23.v1.CompressedBatchProofH\x00\x42\x07\n\x05proof\"\xc8\x01\n\x06LeafOp\x12%\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12,\n\x0bprehash_key\x18\x02 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12.\n\rprehash_value\x18\x03 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12)\n\x06length\x18\x04 \x01(\x0e\x32\x19.cosmos.ics23.v1.LengthOp\x12\x0e\n\x06prefix\x18\x05 \x01(\x0c\"P\n\x07InnerOp\x12%\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12\x0e\n\x06prefix\x18\x02 \x01(\x0c\x12\x0e\n\x06suffix\x18\x03 \x01(\x0c\"\xb4\x01\n\tProofSpec\x12*\n\tleaf_spec\x18\x01 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12.\n\ninner_spec\x18\x02 \x01(\x0b\x32\x1a.cosmos.ics23.v1.InnerSpec\x12\x11\n\tmax_depth\x18\x03 \x01(\x05\x12\x11\n\tmin_depth\x18\x04 \x01(\x05\x12%\n\x1dprehash_key_before_comparison\x18\x05 \x01(\x08\"\xa6\x01\n\tInnerSpec\x12\x13\n\x0b\x63hild_order\x18\x01 \x03(\x05\x12\x12\n\nchild_size\x18\x02 \x01(\x05\x12\x19\n\x11min_prefix_length\x18\x03 \x01(\x05\x12\x19\n\x11max_prefix_length\x18\x04 \x01(\x05\x12\x13\n\x0b\x65mpty_child\x18\x05 \x01(\x0c\x12%\n\x04hash\x18\x06 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\":\n\nBatchProof\x12,\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.cosmos.ics23.v1.BatchEntry\"\x7f\n\nBatchEntry\x12\x30\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00\x12\x36\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00\x42\x07\n\x05proof\"\x7f\n\x14\x43ompressedBatchProof\x12\x36\n\x07\x65ntries\x18\x01 \x03(\x0b\x32%.cosmos.ics23.v1.CompressedBatchEntry\x12/\n\rlookup_inners\x18\x02 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOp\"\x9d\x01\n\x14\x43ompressedBatchEntry\x12:\n\x05\x65xist\x18\x01 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofH\x00\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32,.cosmos.ics23.v1.CompressedNonExistenceProofH\x00\x42\x07\n\x05proof\"k\n\x18\x43ompressedExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12%\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12\x0c\n\x04path\x18\x04 \x03(\x05\"\x9d\x01\n\x1b\x43ompressedNonExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\x37\n\x04left\x18\x02 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProof\x12\x38\n\x05right\x18\x03 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProof*e\n\x06HashOp\x12\x0b\n\x07NO_HASH\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\n\n\x06SHA512\x10\x02\x12\n\n\x06KECCAK\x10\x03\x12\r\n\tRIPEMD160\x10\x04\x12\x0b\n\x07\x42ITCOIN\x10\x05\x12\x0e\n\nSHA512_256\x10\x06*\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\"Z github.com/cosmos/ics23/go;ics23b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/ics23/v1/proofs.proto\x12\x0f\x63osmos.ics23.v1\"{\n\x0e\x45xistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12%\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12&\n\x04path\x18\x04 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOp\"\x7f\n\x11NonExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12-\n\x04left\x18\x02 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProof\x12.\n\x05right\x18\x03 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProof\"\xef\x01\n\x0f\x43ommitmentProof\x12\x30\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00\x12\x36\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00\x12,\n\x05\x62\x61tch\x18\x03 \x01(\x0b\x32\x1b.cosmos.ics23.v1.BatchProofH\x00\x12;\n\ncompressed\x18\x04 \x01(\x0b\x32%.cosmos.ics23.v1.CompressedBatchProofH\x00\x42\x07\n\x05proof\"\xc8\x01\n\x06LeafOp\x12%\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12,\n\x0bprehash_key\x18\x02 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12.\n\rprehash_value\x18\x03 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12)\n\x06length\x18\x04 \x01(\x0e\x32\x19.cosmos.ics23.v1.LengthOp\x12\x0e\n\x06prefix\x18\x05 \x01(\x0c\"P\n\x07InnerOp\x12%\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12\x0e\n\x06prefix\x18\x02 \x01(\x0c\x12\x0e\n\x06suffix\x18\x03 \x01(\x0c\"\xb4\x01\n\tProofSpec\x12*\n\tleaf_spec\x18\x01 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12.\n\ninner_spec\x18\x02 \x01(\x0b\x32\x1a.cosmos.ics23.v1.InnerSpec\x12\x11\n\tmax_depth\x18\x03 \x01(\x05\x12\x11\n\tmin_depth\x18\x04 \x01(\x05\x12%\n\x1dprehash_key_before_comparison\x18\x05 \x01(\x08\"\xa6\x01\n\tInnerSpec\x12\x13\n\x0b\x63hild_order\x18\x01 \x03(\x05\x12\x12\n\nchild_size\x18\x02 \x01(\x05\x12\x19\n\x11min_prefix_length\x18\x03 \x01(\x05\x12\x19\n\x11max_prefix_length\x18\x04 \x01(\x05\x12\x13\n\x0b\x65mpty_child\x18\x05 \x01(\x0c\x12%\n\x04hash\x18\x06 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\":\n\nBatchProof\x12,\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.cosmos.ics23.v1.BatchEntry\"\x7f\n\nBatchEntry\x12\x30\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00\x12\x36\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00\x42\x07\n\x05proof\"\x7f\n\x14\x43ompressedBatchProof\x12\x36\n\x07\x65ntries\x18\x01 \x03(\x0b\x32%.cosmos.ics23.v1.CompressedBatchEntry\x12/\n\rlookup_inners\x18\x02 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOp\"\x9d\x01\n\x14\x43ompressedBatchEntry\x12:\n\x05\x65xist\x18\x01 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofH\x00\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32,.cosmos.ics23.v1.CompressedNonExistenceProofH\x00\x42\x07\n\x05proof\"k\n\x18\x43ompressedExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12%\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12\x0c\n\x04path\x18\x04 \x03(\x05\"\x9d\x01\n\x1b\x43ompressedNonExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\x37\n\x04left\x18\x02 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProof\x12\x38\n\x05right\x18\x03 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProof*\x93\x01\n\x06HashOp\x12\x0b\n\x07NO_HASH\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\n\n\x06SHA512\x10\x02\x12\n\n\x06KECCAK\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\"Z github.com/cosmos/ics23/go;ics23b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -22,10 +22,10 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z github.com/cosmos/ics23/go;ics23' - _globals['_HASHOP']._serialized_start=1929 - _globals['_HASHOP']._serialized_end=2030 - _globals['_LENGTHOP']._serialized_start=2033 - _globals['_LENGTHOP']._serialized_end=2204 + _globals['_HASHOP']._serialized_start=1930 + _globals['_HASHOP']._serialized_end=2077 + _globals['_LENGTHOP']._serialized_start=2080 + _globals['_LENGTHOP']._serialized_end=2251 _globals['_EXISTENCEPROOF']._serialized_start=49 _globals['_EXISTENCEPROOF']._serialized_end=172 _globals['_NONEXISTENCEPROOF']._serialized_start=174 diff --git a/pyinjective/proto/exchange/event_provider_api_pb2.py b/pyinjective/proto/exchange/event_provider_api_pb2.py index eecf0668..3f275f6f 100644 --- a/pyinjective/proto/exchange/event_provider_api_pb2.py +++ b/pyinjective/proto/exchange/event_provider_api_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!exchange/event_provider_api.proto\x12\x12\x65vent_provider_api\"\x18\n\x16GetLatestHeightRequest\"o\n\x17GetLatestHeightResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x33\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32%.event_provider_api.LatestBlockHeight\"#\n\x11LatestBlockHeight\x12\x0e\n\x06height\x18\x01 \x01(\x04\";\n\x18StreamBlockEventsRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"F\n\x19StreamBlockEventsResponse\x12)\n\x06\x62locks\x18\x01 \x03(\x0b\x32\x19.event_provider_api.Block\"i\n\x05\x42lock\x12\x0e\n\x06height\x18\x01 \x01(\x12\x12\x0f\n\x07version\x18\x02 \x01(\t\x12.\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x1e.event_provider_api.BlockEvent\x12\x0f\n\x07in_sync\x18\x04 \x01(\x08\">\n\nBlockEvent\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x0f\n\x07tx_hash\x18\x03 \x01(\x0c\";\n\x18GetBlockEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"n\n\x19GetBlockEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC\"\xa5\x01\n\x0e\x42lockEventsRPC\x12\r\n\x05types\x18\x01 \x03(\t\x12\x0e\n\x06\x65vents\x18\x02 \x03(\x0c\x12\x43\n\ttx_hashes\x18\x03 \x03(\x0b\x32\x30.event_provider_api.BlockEventsRPC.TxHashesEntry\x1a/\n\rTxHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x11\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"L\n\x19GetCustomEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\x12\x0e\n\x06\x65vents\x18\x03 \x01(\t\"o\n\x1aGetCustomEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC2\xd9\x03\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.GetCustomEventsRPCResponseB\x17Z\x15/event_provider_apipbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!exchange/event_provider_api.proto\x12\x12\x65vent_provider_api\"\x18\n\x16GetLatestHeightRequest\"o\n\x17GetLatestHeightResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x33\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32%.event_provider_api.LatestBlockHeight\"#\n\x11LatestBlockHeight\x12\x0e\n\x06height\x18\x01 \x01(\x04\";\n\x18StreamBlockEventsRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"F\n\x19StreamBlockEventsResponse\x12)\n\x06\x62locks\x18\x01 \x03(\x0b\x32\x19.event_provider_api.Block\"i\n\x05\x42lock\x12\x0e\n\x06height\x18\x01 \x01(\x12\x12\x0f\n\x07version\x18\x02 \x01(\t\x12.\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x1e.event_provider_api.BlockEvent\x12\x0f\n\x07in_sync\x18\x04 \x01(\x08\">\n\nBlockEvent\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x0f\n\x07tx_hash\x18\x03 \x01(\x0c\";\n\x18GetBlockEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"n\n\x19GetBlockEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC\"\xa5\x01\n\x0e\x42lockEventsRPC\x12\r\n\x05types\x18\x01 \x03(\t\x12\x0e\n\x06\x65vents\x18\x02 \x03(\x0c\x12\x43\n\ttx_hashes\x18\x03 \x03(\x0b\x32\x30.event_provider_api.BlockEventsRPC.TxHashesEntry\x1a/\n\rTxHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x11\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"L\n\x19GetCustomEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\x12\x0e\n\x06\x65vents\x18\x03 \x01(\t\"o\n\x1aGetCustomEventsRPCResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC\"@\n\x19GetABCIBlockEventsRequest\x12\x0e\n\x06height\x18\x01 \x01(\x11\x12\x13\n\x0b\x65vent_types\x18\x02 \x03(\t\"n\n\x1aGetABCIBlockEventsResponse\x12\t\n\x01v\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\x12\t\n\x01\x65\x18\x03 \x01(\t\x12/\n\traw_block\x18\x04 \x01(\x0b\x32\x1c.event_provider_api.RawBlock\"\xce\x01\n\x08RawBlock\x12\x0e\n\x06height\x18\x01 \x01(\x12\x12>\n\x0btxs_results\x18\x02 \x03(\x0b\x32).event_provider_api.ABCIResponseDeliverTx\x12\x39\n\x12\x62\x65gin_block_events\x18\x03 \x03(\x0b\x32\x1d.event_provider_api.ABCIEvent\x12\x37\n\x10\x65nd_block_events\x18\x04 \x03(\x0b\x32\x1d.event_provider_api.ABCIEvent\"\xa8\x01\n\x15\x41\x42\x43IResponseDeliverTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x11\x12\x0b\n\x03log\x18\x02 \x01(\t\x12\x0c\n\x04info\x18\x03 \x01(\t\x12\x12\n\ngas_wanted\x18\x04 \x01(\x12\x12\x10\n\x08gas_used\x18\x05 \x01(\x12\x12-\n\x06\x65vents\x18\x06 \x03(\x0b\x32\x1d.event_provider_api.ABCIEvent\x12\x11\n\tcodespace\x18\x07 \x01(\t\"P\n\tABCIEvent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x35\n\nattributes\x18\x02 \x03(\x0b\x32!.event_provider_api.ABCIAttribute\"+\n\rABCIAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t2\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\x17Z\x15/event_provider_apipbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -50,6 +50,18 @@ _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_end=954 _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_start=956 _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_end=1067 - _globals['_EVENTPROVIDERAPI']._serialized_start=1070 - _globals['_EVENTPROVIDERAPI']._serialized_end=1543 + _globals['_GETABCIBLOCKEVENTSREQUEST']._serialized_start=1069 + _globals['_GETABCIBLOCKEVENTSREQUEST']._serialized_end=1133 + _globals['_GETABCIBLOCKEVENTSRESPONSE']._serialized_start=1135 + _globals['_GETABCIBLOCKEVENTSRESPONSE']._serialized_end=1245 + _globals['_RAWBLOCK']._serialized_start=1248 + _globals['_RAWBLOCK']._serialized_end=1454 + _globals['_ABCIRESPONSEDELIVERTX']._serialized_start=1457 + _globals['_ABCIRESPONSEDELIVERTX']._serialized_end=1625 + _globals['_ABCIEVENT']._serialized_start=1627 + _globals['_ABCIEVENT']._serialized_end=1707 + _globals['_ABCIATTRIBUTE']._serialized_start=1709 + _globals['_ABCIATTRIBUTE']._serialized_end=1752 + _globals['_EVENTPROVIDERAPI']._serialized_start=1755 + _globals['_EVENTPROVIDERAPI']._serialized_end=2345 # @@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 index 75e5a946..b3e5c8ef 100644 --- a/pyinjective/proto/exchange/event_provider_api_pb2_grpc.py +++ b/pyinjective/proto/exchange/event_provider_api_pb2_grpc.py @@ -35,6 +35,11 @@ def __init__(self, channel): request_serializer=exchange_dot_event__provider__api__pb2.GetCustomEventsRPCRequest.SerializeToString, response_deserializer=exchange_dot_event__provider__api__pb2.GetCustomEventsRPCResponse.FromString, ) + 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, + ) class EventProviderAPIServicer(object): @@ -69,6 +74,13 @@ def GetCustomEventsRPC(self, request, context): 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 = { @@ -92,6 +104,11 @@ def add_EventProviderAPIServicer_to_server(servicer, server): 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) @@ -170,3 +187,20 @@ def GetCustomEventsRPC(request, exchange_dot_event__provider__api__pb2.GetCustomEventsRPCResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @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) diff --git a/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py b/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py index 0fb99310..6b017d93 100644 --- a/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_campaign_rpc.proto\x12\x16injective_campaign_rpc\"n\n\x0eRankingRequest\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\"\xaa\x01\n\x0fRankingResponse\x12\x32\n\x08\x63\x61mpaign\x18\x01 \x01(\x0b\x32 .injective_campaign_rpc.Campaign\x12\x33\n\x05users\x18\x02 \x03(\x0b\x32$.injective_campaign_rpc.CampaignUser\x12.\n\x06paging\x18\x03 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\"\x99\x01\n\x08\x43\x61mpaign\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0btotal_score\x18\x04 \x01(\t\x12\x14\n\x0clast_updated\x18\x05 \x01(\x12\x12\x12\n\nstart_date\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_date\x18\x07 \x01(\x12\x12\x14\n\x0cis_claimable\x18\x08 \x01(\x08\"\xd3\x01\n\x0c\x43\x61mpaignUser\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05score\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_updated\x18\x05 \x01(\x08\x12\x14\n\x0c\x62lock_height\x18\x06 \x01(\x12\x12\x12\n\nblock_time\x18\x07 \x01(\x12\x12\x18\n\x10purchased_amount\x18\x08 \x01(\t\x12\x15\n\rgalxe_updated\x18\t \x01(\x08\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t2r\n\x14InjectiveCampaignRPC\x12Z\n\x07Ranking\x12&.injective_campaign_rpc.RankingRequest\x1a\'.injective_campaign_rpc.RankingResponseB\x1bZ\x19/injective_campaign_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_campaign_rpc.proto\x12\x16injective_campaign_rpc\"n\n\x0eRankingRequest\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\"\xaa\x01\n\x0fRankingResponse\x12\x32\n\x08\x63\x61mpaign\x18\x01 \x01(\x0b\x32 .injective_campaign_rpc.Campaign\x12\x33\n\x05users\x18\x02 \x03(\x0b\x32$.injective_campaign_rpc.CampaignUser\x12.\n\x06paging\x18\x03 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\"\x99\x01\n\x08\x43\x61mpaign\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0btotal_score\x18\x04 \x01(\t\x12\x14\n\x0clast_updated\x18\x05 \x01(\x12\x12\x12\n\nstart_date\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_date\x18\x07 \x01(\x12\x12\x14\n\x0cis_claimable\x18\x08 \x01(\x08\"\xd3\x01\n\x0c\x43\x61mpaignUser\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05score\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_updated\x18\x05 \x01(\x08\x12\x14\n\x0c\x62lock_height\x18\x06 \x01(\x12\x12\x12\n\nblock_time\x18\x07 \x01(\x12\x12\x18\n\x10purchased_amount\x18\x08 \x01(\t\x12\x15\n\rgalxe_updated\x18\t \x01(\x08\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\\\n\x11ListGuildsRequest\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\x0f\n\x07sort_by\x18\x04 \x01(\t\"\xca\x01\n\x12ListGuildsResponse\x12-\n\x06guilds\x18\x01 \x03(\x0b\x32\x1d.injective_campaign_rpc.Guild\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\x12\x12\n\nupdated_at\x18\x03 \x01(\x12\x12\x41\n\x10\x63\x61mpaign_summary\x18\x04 \x01(\x0b\x32\'.injective_campaign_rpc.CampaignSummary\"\xb9\x02\n\x05Guild\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x10\n\x08guild_id\x18\x02 \x01(\t\x12\x16\n\x0emaster_address\x18\x03 \x01(\t\x12\x12\n\ncreated_at\x18\x04 \x01(\x12\x12\x11\n\ttvl_score\x18\x05 \x01(\t\x12\x14\n\x0cvolume_score\x18\x06 \x01(\t\x12\x16\n\x0erank_by_volume\x18\x07 \x01(\x11\x12\x13\n\x0brank_by_tvl\x18\x08 \x01(\x11\x12\x0c\n\x04logo\x18\t \x01(\t\x12\x11\n\ttotal_tvl\x18\n \x01(\t\x12\x12\n\nupdated_at\x18\x0b \x01(\x12\x12\x0c\n\x04name\x18\x0e \x01(\t\x12\x11\n\tis_active\x18\r \x01(\x08\x12\x16\n\x0emaster_balance\x18\x0f \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x10 \x01(\t\"\xf8\x01\n\x0f\x43\x61mpaignSummary\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x19\n\x11\x63\x61mpaign_contract\x18\x02 \x01(\t\x12\x1a\n\x12total_guilds_count\x18\x03 \x01(\x11\x12\x11\n\ttotal_tvl\x18\x04 \x01(\t\x12\x19\n\x11total_average_tvl\x18\x05 \x01(\t\x12\x14\n\x0ctotal_volume\x18\x06 \x01(\t\x12\x12\n\nupdated_at\x18\x07 \x01(\x12\x12\x1b\n\x13total_members_count\x18\x08 \x01(\x11\x12\x12\n\nstart_time\x18\t \x01(\x12\x12\x10\n\x08\x65nd_time\x18\n \x01(\x12\"\x90\x01\n\x17ListGuildMembersRequest\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x10\n\x08guild_id\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x11\x12\x1a\n\x12include_guild_info\x18\x05 \x01(\x08\x12\x0f\n\x07sort_by\x18\x06 \x01(\t\"\xb3\x01\n\x18ListGuildMembersResponse\x12\x34\n\x07members\x18\x01 \x03(\x0b\x32#.injective_campaign_rpc.GuildMember\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\x12\x31\n\nguild_info\x18\x03 \x01(\x0b\x32\x1d.injective_campaign_rpc.Guild\"\xd9\x01\n\x0bGuildMember\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x10\n\x08guild_id\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x11\n\tjoined_at\x18\x04 \x01(\x12\x12\x11\n\ttvl_score\x18\x05 \x01(\t\x12\x14\n\x0cvolume_score\x18\x06 \x01(\t\x12\x11\n\ttotal_tvl\x18\x07 \x01(\t\x12\x1f\n\x17volume_score_percentage\x18\x08 \x01(\x01\x12\x1c\n\x14tvl_score_percentage\x18\t \x01(\x01\"C\n\x15GetGuildMemberRequest\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\"K\n\x16GetGuildMemberResponse\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.injective_campaign_rpc.GuildMember2\xbf\x03\n\x14InjectiveCampaignRPC\x12Z\n\x07Ranking\x12&.injective_campaign_rpc.RankingRequest\x1a\'.injective_campaign_rpc.RankingResponse\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\x1bZ\x19/injective_campaign_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -32,6 +32,24 @@ _globals['_CAMPAIGNUSER']._serialized_end=718 _globals['_PAGING']._serialized_start=720 _globals['_PAGING']._serialized_end=812 - _globals['_INJECTIVECAMPAIGNRPC']._serialized_start=814 - _globals['_INJECTIVECAMPAIGNRPC']._serialized_end=928 + _globals['_LISTGUILDSREQUEST']._serialized_start=814 + _globals['_LISTGUILDSREQUEST']._serialized_end=906 + _globals['_LISTGUILDSRESPONSE']._serialized_start=909 + _globals['_LISTGUILDSRESPONSE']._serialized_end=1111 + _globals['_GUILD']._serialized_start=1114 + _globals['_GUILD']._serialized_end=1427 + _globals['_CAMPAIGNSUMMARY']._serialized_start=1430 + _globals['_CAMPAIGNSUMMARY']._serialized_end=1678 + _globals['_LISTGUILDMEMBERSREQUEST']._serialized_start=1681 + _globals['_LISTGUILDMEMBERSREQUEST']._serialized_end=1825 + _globals['_LISTGUILDMEMBERSRESPONSE']._serialized_start=1828 + _globals['_LISTGUILDMEMBERSRESPONSE']._serialized_end=2007 + _globals['_GUILDMEMBER']._serialized_start=2010 + _globals['_GUILDMEMBER']._serialized_end=2227 + _globals['_GETGUILDMEMBERREQUEST']._serialized_start=2229 + _globals['_GETGUILDMEMBERREQUEST']._serialized_end=2296 + _globals['_GETGUILDMEMBERRESPONSE']._serialized_start=2298 + _globals['_GETGUILDMEMBERRESPONSE']._serialized_end=2373 + _globals['_INJECTIVECAMPAIGNRPC']._serialized_start=2376 + _globals['_INJECTIVECAMPAIGNRPC']._serialized_end=2823 # @@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 index d0649e67..922d583c 100644 --- a/pyinjective/proto/exchange/injective_campaign_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_campaign_rpc_pb2_grpc.py @@ -20,6 +20,21 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__campaign__rpc__pb2.RankingRequest.SerializeToString, response_deserializer=exchange_dot_injective__campaign__rpc__pb2.RankingResponse.FromString, ) + 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, + ) + 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, + ) + 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, + ) class InjectiveCampaignRPCServicer(object): @@ -33,6 +48,27 @@ def Ranking(self, request, context): 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 = { @@ -41,6 +77,21 @@ def add_InjectiveCampaignRPCServicer_to_server(servicer, server): request_deserializer=exchange_dot_injective__campaign__rpc__pb2.RankingRequest.FromString, response_serializer=exchange_dot_injective__campaign__rpc__pb2.RankingResponse.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) @@ -68,3 +119,54 @@ def Ranking(request, exchange_dot_injective__campaign__rpc__pb2.RankingResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @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) + + @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) + + @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) diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py index 601fab92..25f4d987 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcf\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\x12\x0b\n\x03\x63id\x18\r \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc7\x17\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\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\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcf\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\x12\x0b\n\x03\x63id\x18\r \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\xa6\x02\n\x0fTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x91\x01\n\x10TradesV2Response\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xac\x02\n\x15StreamTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x86\x01\n\x16StreamTradesV2Response\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc6\x19\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\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -126,28 +126,36 @@ _globals['_DERIVATIVETRADE']._serialized_end=8189 _globals['_POSITIONDELTA']._serialized_start=8191 _globals['_POSITIONDELTA']._serialized_end=8310 - _globals['_STREAMTRADESREQUEST']._serialized_start=8313 - _globals['_STREAMTRADESREQUEST']._serialized_end=8611 - _globals['_STREAMTRADESRESPONSE']._serialized_start=8614 - _globals['_STREAMTRADESRESPONSE']._serialized_end=8746 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=8748 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=8848 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=8851 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=9013 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=9016 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=9159 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=9161 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=9259 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=9262 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=9597 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=9600 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=9757 - _globals['_DERIVATIVEORDERHISTORY']._serialized_start=9760 - _globals['_DERIVATIVEORDERHISTORY']._serialized_end=10205 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=10208 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=10358 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=10361 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=10507 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=10510 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=13525 + _globals['_TRADESV2REQUEST']._serialized_start=8313 + _globals['_TRADESV2REQUEST']._serialized_end=8607 + _globals['_TRADESV2RESPONSE']._serialized_start=8610 + _globals['_TRADESV2RESPONSE']._serialized_end=8755 + _globals['_STREAMTRADESREQUEST']._serialized_start=8758 + _globals['_STREAMTRADESREQUEST']._serialized_end=9056 + _globals['_STREAMTRADESRESPONSE']._serialized_start=9059 + _globals['_STREAMTRADESRESPONSE']._serialized_end=9191 + _globals['_STREAMTRADESV2REQUEST']._serialized_start=9194 + _globals['_STREAMTRADESV2REQUEST']._serialized_end=9494 + _globals['_STREAMTRADESV2RESPONSE']._serialized_start=9497 + _globals['_STREAMTRADESV2RESPONSE']._serialized_end=9631 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=9633 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=9733 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=9736 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=9898 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=9901 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=10044 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=10046 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=10144 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=10147 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=10482 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=10485 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=10642 + _globals['_DERIVATIVEORDERHISTORY']._serialized_start=10645 + _globals['_DERIVATIVEORDERHISTORY']._serialized_end=11090 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=11093 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=11243 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=11246 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=11392 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=11395 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=14665 # @@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 index e0099516..f6336cc3 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py @@ -101,11 +101,21 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.TradesRequest.SerializeToString, response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.TradesResponse.FromString, ) + 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, + ) 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, ) + 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, + ) self.SubaccountOrdersList = channel.unary_unary( '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList', request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountOrdersListRequest.SerializeToString, @@ -252,6 +262,13 @@ def Trades(self, request, context): 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. """ @@ -259,6 +276,13 @@ def StreamTrades(self, request, context): 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. """ @@ -376,11 +400,21 @@ def add_InjectiveDerivativeExchangeRPCServicer_to_server(servicer, server): 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, @@ -702,6 +736,23 @@ def Trades(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @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) + @staticmethod def StreamTrades(request, target, @@ -719,6 +770,23 @@ def StreamTrades(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @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) + @staticmethod def SubaccountOrdersList(request, target, diff --git a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py index a3db2316..9b6699bb 100644 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"i\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x04 \x03(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xfe\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa1\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\x84\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa8\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\xa3\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xc8\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x8a\x01\n\x18\x41tomicSwapHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x05 \x01(\x11\x12\x11\n\tto_number\x18\x06 \x01(\x11\"\x87\x01\n\x19\x41tomicSwapHistoryResponse\x12\x33\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwap\"\xdc\x02\n\nAtomicSwap\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05route\x18\x02 \x01(\t\x12\x36\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x34\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12/\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x18\n\x10\x63ontract_address\x18\x06 \x01(\t\x12\x17\n\x0findex_by_sender\x18\x07 \x01(\x11\x12 \n\x18index_by_sender_contract\x18\x08 \x01(\x11\x12\x0f\n\x07tx_hash\x18\t \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\n \x01(\x12\x12\x15\n\rrefund_amount\x18\x0b \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xb8\x0f\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\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 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"i\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x04 \x03(\t\"O\n\x0fMarketsResponse\x12<\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"\x81\x03\n\x0eSpotMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x12\n\nbase_denom\x18\x04 \x01(\t\x12?\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12@\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x08 \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\t \x01(\t\x12\x1c\n\x14service_provider_fee\x18\n \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0b \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x0c \x01(\t\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"M\n\x0eMarketResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\"*\n\x14StreamMarketsRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x7f\n\x15StreamMarketsResponse\x12;\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"[\n\x13OrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\"\xaa\x01\n\x14SpotLimitOrderbookV2\x12\x35\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x36\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"c\n\x14OrderbooksV2Response\x12K\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2\"u\n\x1aSingleSpotLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x44\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x9f\x01\n\x19StreamOrderbookV2Response\x12\x44\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb2\x01\n\x1dStreamOrderbookUpdateResponse\x12S\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xcb\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12;\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12<\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xfe\x01\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\x82\x01\n\x0eOrdersResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa1\x02\n\x0eSpotLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\r\n\x05price\x18\x05 \x01(\t\x12\x10\n\x08quantity\x18\x06 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\r\n\x05state\x18\n \x01(\t\x12\x12\n\ncreated_at\x18\x0b \x01(\x12\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x0f\n\x07tx_hash\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\x84\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x18\n\x10include_inactive\x18\t \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\n \x01(\x08\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"}\n\x14StreamOrdersResponse\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"}\n\x0eTradesResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xa8\x02\n\tSpotTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x17\n\x0ftrade_direction\x18\x05 \x01(\t\x12\x36\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevel\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\x08 \x01(\x12\x12\x15\n\rfee_recipient\x18\t \x01(\t\x12\x10\n\x08trade_id\x18\n \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0b \x01(\t\x12\x0b\n\x03\x63id\x18\x0c \x01(\t\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"x\n\x14StreamTradesResponse\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa6\x02\n\x0fTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x7f\n\x10TradesV2Response\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xac\x02\n\x15StreamTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"z\n\x16StreamTradesV2Response\x12\x35\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\x90\x01\n\x1cSubaccountOrdersListResponse\x12;\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrder\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"V\n\x1cSubaccountTradesListResponse\x12\x36\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTrade\"\xa3\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\r\n\x05state\x18\t \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\n \x03(\t\x12\x12\n\nmarket_ids\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8b\x01\n\x15OrdersHistoryResponse\x12=\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x33\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\"\xc8\x02\n\x10SpotOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x11\n\tdirection\x18\x0e \x01(\t\x12\x0f\n\x07tx_hash\x18\x0f \x01(\t\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x86\x01\n\x1bStreamOrdersHistoryResponse\x12<\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x8a\x01\n\x18\x41tomicSwapHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0b\x66rom_number\x18\x05 \x01(\x11\x12\x11\n\tto_number\x18\x06 \x01(\x11\"\x87\x01\n\x19\x41tomicSwapHistoryResponse\x12\x33\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.Paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwap\"\xdc\x02\n\nAtomicSwap\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05route\x18\x02 \x01(\t\x12\x36\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x34\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12/\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.Coin\x12\x18\n\x10\x63ontract_address\x18\x06 \x01(\t\x12\x17\n\x0findex_by_sender\x18\x07 \x01(\x11\x12 \n\x18index_by_sender_contract\x18\x08 \x01(\x11\x12\x0f\n\x07tx_hash\x18\t \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\n \x01(\x12\x12\x15\n\rrefund_amount\x18\x0b \x01(\t\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\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 Z\x1e/injective_spot_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -86,32 +86,40 @@ _globals['_STREAMTRADESREQUEST']._serialized_end=4613 _globals['_STREAMTRADESRESPONSE']._serialized_start=4615 _globals['_STREAMTRADESRESPONSE']._serialized_end=4735 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=4737 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=4837 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=4840 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=4984 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=4987 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5130 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5132 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=5218 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=5221 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=5512 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=5515 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=5654 - _globals['_SPOTORDERHISTORY']._serialized_start=5657 - _globals['_SPOTORDERHISTORY']._serialized_end=5985 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=5988 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6138 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6141 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=6275 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=6278 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=6416 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=6419 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=6554 - _globals['_ATOMICSWAP']._serialized_start=6557 - _globals['_ATOMICSWAP']._serialized_end=6905 - _globals['_COIN']._serialized_start=6907 - _globals['_COIN']._serialized_end=6944 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=6947 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=8923 + _globals['_TRADESV2REQUEST']._serialized_start=4738 + _globals['_TRADESV2REQUEST']._serialized_end=5032 + _globals['_TRADESV2RESPONSE']._serialized_start=5034 + _globals['_TRADESV2RESPONSE']._serialized_end=5161 + _globals['_STREAMTRADESV2REQUEST']._serialized_start=5164 + _globals['_STREAMTRADESV2REQUEST']._serialized_end=5464 + _globals['_STREAMTRADESV2RESPONSE']._serialized_start=5466 + _globals['_STREAMTRADESV2RESPONSE']._serialized_end=5588 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=5590 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=5690 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=5693 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=5837 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=5840 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=5983 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=5985 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=6071 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=6074 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=6365 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=6368 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=6507 + _globals['_SPOTORDERHISTORY']._serialized_start=6510 + _globals['_SPOTORDERHISTORY']._serialized_end=6838 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=6841 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=6991 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=6994 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=7128 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=7131 + _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=7269 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=7272 + _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=7407 + _globals['_ATOMICSWAP']._serialized_start=7410 + _globals['_ATOMICSWAP']._serialized_end=7758 + _globals['_COIN']._serialized_start=7760 + _globals['_COIN']._serialized_end=7797 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=7800 + _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=10006 # @@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 index 3328c587..c537ae50 100644 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py @@ -70,6 +70,16 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesRequest.SerializeToString, response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesResponse.FromString, ) + 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, + ) + 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, + ) self.SubaccountOrdersList = channel.unary_unary( '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList', request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountOrdersListRequest.SerializeToString, @@ -178,6 +188,20 @@ def StreamTrades(self, request, context): 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 """ @@ -271,6 +295,16 @@ def add_InjectiveSpotExchangeRPCServicer_to_server(servicer, server): 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, @@ -494,6 +528,40 @@ def StreamTrades(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @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) + + @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) + @staticmethod def SubaccountOrdersList(request, target, diff --git a/pyinjective/proto/exchange/injective_trading_rpc_pb2.py b/pyinjective/proto/exchange/injective_trading_rpc_pb2.py index dfbbafb4..ee090039 100644 --- a/pyinjective/proto/exchange/injective_trading_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_trading_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_trading_rpc.proto\x12\x15injective_trading_rpc\"\xb3\x01\n\x1cListTradingStrategiesRequest\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\r\n\x05limit\x18\x07 \x01(\x11\x12\x0c\n\x04skip\x18\x08 \x01(\x04\"\x8a\x01\n\x1dListTradingStrategiesResponse\x12:\n\nstrategies\x18\x01 \x03(\x0b\x32&.injective_trading_rpc.TradingStrategy\x12-\n\x06paging\x18\x02 \x01(\x0b\x32\x1d.injective_trading_rpc.Paging\"\xea\x04\n\x0fTradingStrategy\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x06 \x01(\t\x12\x15\n\rbase_quantity\x18\x07 \x01(\t\x12\x16\n\x0equote_quantity\x18\x14 \x01(\t\x12\x13\n\x0blower_bound\x18\x08 \x01(\t\x12\x13\n\x0bupper_bound\x18\t \x01(\t\x12\x11\n\tstop_loss\x18\n \x01(\t\x12\x13\n\x0btake_profit\x18\x0b \x01(\t\x12\x10\n\x08swap_fee\x18\x0c \x01(\t\x12\x14\n\x0c\x62\x61se_deposit\x18\x11 \x01(\t\x12\x15\n\rquote_deposit\x18\x12 \x01(\t\x12\x18\n\x10market_mid_price\x18\x13 \x01(\t\x12#\n\x1bsubscription_quote_quantity\x18\x15 \x01(\t\x12\"\n\x1asubscription_base_quantity\x18\x16 \x01(\t\x12\x1d\n\x15number_of_grid_levels\x18\x17 \x01(\t\x12#\n\x1bshould_exit_with_quote_only\x18\x18 \x01(\x08\x12\x13\n\x0bstop_reason\x18\x19 \x01(\t\x12\x16\n\x0e\x63reated_height\x18\r \x01(\x12\x12\x16\n\x0eremoved_height\x18\x0e \x01(\x12\x12\x12\n\ncreated_at\x18\x0f \x01(\x12\x12\x12\n\nupdated_at\x18\x10 \x01(\x12\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t2\x9a\x01\n\x13InjectiveTradingRPC\x12\x82\x01\n\x15ListTradingStrategies\x12\x33.injective_trading_rpc.ListTradingStrategiesRequest\x1a\x34.injective_trading_rpc.ListTradingStrategiesResponseB\x1aZ\x18/injective_trading_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$exchange/injective_trading_rpc.proto\x12\x15injective_trading_rpc\"\xce\x01\n\x1cListTradingStrategiesRequest\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x19\n\x11pending_execution\x18\x05 \x01(\x08\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\r\n\x05limit\x18\x08 \x01(\x11\x12\x0c\n\x04skip\x18\t \x01(\x04\"\x8a\x01\n\x1dListTradingStrategiesResponse\x12:\n\nstrategies\x18\x01 \x03(\x0b\x32&.injective_trading_rpc.TradingStrategy\x12-\n\x06paging\x18\x02 \x01(\x0b\x32\x1d.injective_trading_rpc.Paging\"\x85\x05\n\x0fTradingStrategy\x12\r\n\x05state\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x06 \x01(\t\x12\x15\n\rbase_quantity\x18\x07 \x01(\t\x12\x16\n\x0equote_quantity\x18\x14 \x01(\t\x12\x13\n\x0blower_bound\x18\x08 \x01(\t\x12\x13\n\x0bupper_bound\x18\t \x01(\t\x12\x11\n\tstop_loss\x18\n \x01(\t\x12\x13\n\x0btake_profit\x18\x0b \x01(\t\x12\x10\n\x08swap_fee\x18\x0c \x01(\t\x12\x14\n\x0c\x62\x61se_deposit\x18\x11 \x01(\t\x12\x15\n\rquote_deposit\x18\x12 \x01(\t\x12\x18\n\x10market_mid_price\x18\x13 \x01(\t\x12#\n\x1bsubscription_quote_quantity\x18\x15 \x01(\t\x12\"\n\x1asubscription_base_quantity\x18\x16 \x01(\t\x12\x1d\n\x15number_of_grid_levels\x18\x17 \x01(\t\x12#\n\x1bshould_exit_with_quote_only\x18\x18 \x01(\x08\x12\x13\n\x0bstop_reason\x18\x19 \x01(\t\x12\x19\n\x11pending_execution\x18\x1a \x01(\x08\x12\x16\n\x0e\x63reated_height\x18\r \x01(\x12\x12\x16\n\x0eremoved_height\x18\x0e \x01(\x12\x12\x12\n\ncreated_at\x18\x0f \x01(\x12\x12\x12\n\nupdated_at\x18\x10 \x01(\x12\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t2\x9a\x01\n\x13InjectiveTradingRPC\x12\x82\x01\n\x15ListTradingStrategies\x12\x33.injective_trading_rpc.ListTradingStrategiesRequest\x1a\x34.injective_trading_rpc.ListTradingStrategiesResponseB\x1aZ\x18/injective_trading_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,13 +23,13 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\030/injective_trading_rpcpb' _globals['_LISTTRADINGSTRATEGIESREQUEST']._serialized_start=64 - _globals['_LISTTRADINGSTRATEGIESREQUEST']._serialized_end=243 - _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_start=246 - _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_end=384 - _globals['_TRADINGSTRATEGY']._serialized_start=387 - _globals['_TRADINGSTRATEGY']._serialized_end=1005 - _globals['_PAGING']._serialized_start=1007 - _globals['_PAGING']._serialized_end=1099 - _globals['_INJECTIVETRADINGRPC']._serialized_start=1102 - _globals['_INJECTIVETRADINGRPC']._serialized_end=1256 + _globals['_LISTTRADINGSTRATEGIESREQUEST']._serialized_end=270 + _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_start=273 + _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_end=411 + _globals['_TRADINGSTRATEGY']._serialized_start=414 + _globals['_TRADINGSTRATEGY']._serialized_end=1059 + _globals['_PAGING']._serialized_start=1061 + _globals['_PAGING']._serialized_end=1153 + _globals['_INJECTIVETRADINGRPC']._serialized_start=1156 + _globals['_INJECTIVETRADINGRPC']._serialized_end=1310 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py index f7d4d076..f912f8d2 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py @@ -20,7 +20,7 @@ from injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -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\"\x88\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"y\n\nMsgDeposit\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x14\n\x12MsgDepositResponse\"z\n\x0bMsgWithdraw\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x15\n\x13MsgWithdrawResponse\"z\n\x17MsgCreateSpotLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"?\n\x1fMsgCreateSpotLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x81\x01\n\x1dMsgBatchCreateSpotLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12;\n\x06orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"G\n%MsgBatchCreateSpotLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x97\x02\n\x1aMsgInstantSpotMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x12\n\nbase_denom\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12K\n\x13min_price_tick_size\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xbb\x05\n\x1fMsgInstantPerpetualMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x39\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\xef\x04\n#MsgInstantBinaryOptionsMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x15\n\roracle_symbol\x18\x03 \x01(\t\x12\x17\n\x0foracle_provider\x18\x04 \x01(\t\x12\x39\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x46\n\x0emaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x13\n\x0bquote_denom\x18\x0c \x01(\t\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xcf\x05\n#MsgInstantExpiryFuturesMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x0e\n\x06\x65xpiry\x18\x08 \x01(\x03\x12\x46\n\x0emaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"{\n\x18MsgCreateSpotMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x8b\x01\n MsgCreateSpotMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12I\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe0\x01\n\x16SpotMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x82\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"E\n%MsgCreateDerivativeLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x85\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"H\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x89\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x41\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"M\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x80\x01\n\x12MsgCancelSpotOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x0b\n\x03\x63id\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgCancelSpotOrderResponse\"v\n\x18MsgBatchCancelSpotOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"=\n MsgBatchCancelSpotOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x7f\n!MsgBatchCancelBinaryOptionsOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"F\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc7\x05\n\x14MsgBatchUpdateOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12%\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\t\x12+\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\t\x12J\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12P\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12J\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01\x12V\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01\x12T\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12/\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\t\x12Z\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xf0\x01\n\x1cMsgBatchUpdateOrdersResponse\x12\x1b\n\x13spot_cancel_success\x18\x01 \x03(\x08\x12!\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08\x12\x19\n\x11spot_order_hashes\x18\x03 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\t\x12%\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08\x12#\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x83\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x97\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xef\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00\x12>\n\x06payout\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9a\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9a\x01\n\x18MsgCancelDerivativeOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05\x12\x0b\n\x03\x63id\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n MsgCancelDerivativeOrderResponse\"\x9d\x01\n\x1bMsgCancelBinaryOptionsOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05\x12\x0b\n\x03\x63id\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"%\n#MsgCancelBinaryOptionsOrderResponse\"j\n\tOrderData\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x12\n\norder_hash\x18\x03 \x01(\t\x12\x12\n\norder_mask\x18\x04 \x01(\x05\x12\x0b\n\x03\x63id\x18\x05 \x01(\t\"|\n\x1eMsgBatchCancelDerivativeOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"C\n&MsgBatchCancelDerivativeOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa6\x01\n\x15MsgSubaccountTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgSubaccountTransferResponse\"\xa4\x01\n\x13MsgExternalTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgExternalTransferResponse\"\x9f\x01\n\x14MsgLiquidatePosition\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12@\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xcc\x01\n\x19MsgIncreasePositionMargin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12\x11\n\tmarket_id\x18\x04 \x01(\t\x12>\n\x06\x61mount\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x0b\x82\xe7\xb0*\x06sender\"#\n!MsgIncreasePositionMarginResponse\"z\n\x1cMsgPrivilegedExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x66unds\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9c\x01\n$MsgPrivilegedExecuteContractResponse\x12_\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.Coins:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n\x10MsgRewardsOptOut\x12\x0e\n\x06sender\x18\x01 \x01(\t\"\x1a\n\x18MsgRewardsOptOutResponse\"d\n\x15MsgReclaimLockedFunds\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x13lockedAccountPubKey\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"r\n\x0bMsgSignData\x12K\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddress\x12\x16\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta\"g\n\nMsgSignDoc\x12\x1b\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04type\x12<\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00\"\x93\x02\n!MsgAdminUpdateBinaryOptionsMarket\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12H\n\x10settlement_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x05 \x01(\x03\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:\x0b\x82\xe7\xb0*\x06sender\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse2\x90\"\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\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\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\x12\x82\x01\n\x12ReclaimLockedFunds\x12\x31.injective.exchange.v1beta1.MsgReclaimLockedFunds\x1a\x39.injective.exchange.v1beta1.MsgReclaimLockedFundsResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponseBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\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\"\x88\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"y\n\nMsgDeposit\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x14\n\x12MsgDepositResponse\"z\n\x0bMsgWithdraw\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12/\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x15\n\x13MsgWithdrawResponse\"z\n\x17MsgCreateSpotLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"?\n\x1fMsgCreateSpotLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x81\x01\n\x1dMsgBatchCreateSpotLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12;\n\x06orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"G\n%MsgBatchCreateSpotLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x97\x02\n\x1aMsgInstantSpotMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x12\n\nbase_denom\x18\x03 \x01(\t\x12\x13\n\x0bquote_denom\x18\x04 \x01(\t\x12K\n\x13min_price_tick_size\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xbb\x05\n\x1fMsgInstantPerpetualMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x39\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x46\n\x0emaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\xef\x04\n#MsgInstantBinaryOptionsMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x15\n\roracle_symbol\x18\x03 \x01(\t\x12\x17\n\x0foracle_provider\x18\x04 \x01(\t\x12\x39\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x06 \x01(\r\x12\x46\n\x0emaker_fee_rate\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\t \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\n \x01(\x03\x12\r\n\x05\x61\x64min\x18\x0b \x01(\t\x12\x13\n\x0bquote_denom\x18\x0c \x01(\t\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xcf\x05\n#MsgInstantExpiryFuturesMarketLaunch\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x39\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x0e\n\x06\x65xpiry\x18\x08 \x01(\x03\x12\x46\n\x0emaker_fee_rate\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14initial_margin_ratio\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13min_price_tick_size\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x0e \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"{\n\x18MsgCreateSpotMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12:\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x8b\x01\n MsgCreateSpotMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12I\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe0\x01\n\x16SpotMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x82\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"E\n%MsgCreateDerivativeLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x85\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"H\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x89\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x41\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"M\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12\x14\n\x0corder_hashes\x18\x01 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x80\x01\n\x12MsgCancelSpotOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x0b\n\x03\x63id\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgCancelSpotOrderResponse\"v\n\x18MsgBatchCancelSpotOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"=\n MsgBatchCancelSpotOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x7f\n!MsgBatchCancelBinaryOptionsOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"F\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc7\x05\n\x14MsgBatchUpdateOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12%\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\t\x12+\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\t\x12J\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12P\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12J\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01\x12V\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01\x12T\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01\x12/\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\t\x12Z\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\xf0\x01\n\x1cMsgBatchUpdateOrdersResponse\x12\x1b\n\x13spot_cancel_success\x18\x01 \x03(\x08\x12!\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08\x12\x19\n\x11spot_order_hashes\x18\x03 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\t\x12%\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08\x12#\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x83\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x97\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xef\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00\x12>\n\x06payout\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12@\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9a\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12O\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9a\x01\n\x18MsgCancelDerivativeOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05\x12\x0b\n\x03\x63id\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n MsgCancelDerivativeOrderResponse\"\x9d\x01\n\x1bMsgCancelBinaryOptionsOrder\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x12\n\norder_hash\x18\x04 \x01(\t\x12\x12\n\norder_mask\x18\x05 \x01(\x05\x12\x0b\n\x03\x63id\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"%\n#MsgCancelBinaryOptionsOrderResponse\"j\n\tOrderData\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x12\n\norder_hash\x18\x03 \x01(\t\x12\x12\n\norder_mask\x18\x04 \x01(\x05\x12\x0b\n\x03\x63id\x18\x05 \x01(\t\"|\n\x1eMsgBatchCancelDerivativeOrders\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x39\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"C\n&MsgBatchCancelDerivativeOrdersResponse\x12\x0f\n\x07success\x18\x01 \x03(\x08:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa6\x01\n\x15MsgSubaccountTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgSubaccountTransferResponse\"\xa4\x01\n\x13MsgExternalTransfer\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12/\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgExternalTransferResponse\"\x9f\x01\n\x14MsgLiquidatePosition\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12@\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1e\n\x1cMsgLiquidatePositionResponse\"a\n\x18MsgEmergencySettleMarket\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\"\n MsgEmergencySettleMarketResponse\"\xcc\x01\n\x19MsgIncreasePositionMargin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1c\n\x14source_subaccount_id\x18\x02 \x01(\t\x12!\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\t\x12\x11\n\tmarket_id\x18\x04 \x01(\t\x12>\n\x06\x61mount\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x0b\x82\xe7\xb0*\x06sender\"#\n!MsgIncreasePositionMarginResponse\"z\n\x1cMsgPrivilegedExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x66unds\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x9c\x01\n$MsgPrivilegedExecuteContractResponse\x12_\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.Coins:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\"\n\x10MsgRewardsOptOut\x12\x0e\n\x06sender\x18\x01 \x01(\t\"\x1a\n\x18MsgRewardsOptOutResponse\"d\n\x15MsgReclaimLockedFunds\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x13lockedAccountPubKey\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"r\n\x0bMsgSignData\x12K\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddress\x12\x16\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta\"g\n\nMsgSignDoc\x12\x1b\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04type\x12<\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00\"\x93\x02\n!MsgAdminUpdateBinaryOptionsMarket\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12H\n\x10settlement_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1c\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x05 \x01(\x03\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus:\x0b\x82\xe7\xb0*\x06sender\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse2\x9e#\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\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\x12\x82\x01\n\x12ReclaimLockedFunds\x12\x31.injective.exchange.v1beta1.MsgReclaimLockedFunds\x1a\x39.injective.exchange.v1beta1.MsgReclaimLockedFundsResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponseBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -213,6 +213,8 @@ _MSGLIQUIDATEPOSITION.fields_by_name['order']._serialized_options = b'\310\336\037\001' _MSGLIQUIDATEPOSITION._options = None _MSGLIQUIDATEPOSITION._serialized_options = b'\202\347\260*\006sender' + _MSGEMERGENCYSETTLEMARKET._options = None + _MSGEMERGENCYSETTLEMARKET._serialized_options = b'\202\347\260*\006sender' _MSGINCREASEPOSITIONMARGIN.fields_by_name['amount']._options = None _MSGINCREASEPOSITIONMARGIN.fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MSGINCREASEPOSITIONMARGIN._options = None @@ -343,30 +345,34 @@ _globals['_MSGLIQUIDATEPOSITION']._serialized_end=8498 _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_start=8500 _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_end=8530 - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_start=8533 - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_end=8737 - _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_start=8739 - _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_end=8774 - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_start=8776 - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=8898 - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=8901 - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=9057 - _globals['_MSGREWARDSOPTOUT']._serialized_start=9059 - _globals['_MSGREWARDSOPTOUT']._serialized_end=9093 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=9095 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=9121 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=9123 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=9223 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=9225 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=9256 - _globals['_MSGSIGNDATA']._serialized_start=9258 - _globals['_MSGSIGNDATA']._serialized_end=9372 - _globals['_MSGSIGNDOC']._serialized_start=9374 - _globals['_MSGSIGNDOC']._serialized_end=9477 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=9480 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=9755 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=9757 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=9800 - _globals['_MSG']._serialized_start=9803 - _globals['_MSG']._serialized_end=14171 + _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_start=8532 + _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_end=8629 + _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_start=8631 + _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_end=8665 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_start=8668 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_end=8872 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_start=8874 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_end=8909 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_start=8911 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=9033 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=9036 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=9192 + _globals['_MSGREWARDSOPTOUT']._serialized_start=9194 + _globals['_MSGREWARDSOPTOUT']._serialized_end=9228 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=9230 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=9256 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=9258 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=9358 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=9360 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=9391 + _globals['_MSGSIGNDATA']._serialized_start=9393 + _globals['_MSGSIGNDATA']._serialized_end=9507 + _globals['_MSGSIGNDOC']._serialized_start=9509 + _globals['_MSGSIGNDOC']._serialized_end=9612 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=9615 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=9890 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=9892 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=9935 + _globals['_MSG']._serialized_start=9938 + _globals['_MSG']._serialized_end=14448 # @@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 107e32ce..4bd5fecc 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py @@ -140,6 +140,11 @@ def __init__(self, channel): request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, ) + 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, + ) self.IncreasePositionMargin = channel.unary_unary( '/injective.exchange.v1beta1.Msg/IncreasePositionMargin', request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.SerializeToString, @@ -365,6 +370,13 @@ def LiquidatePosition(self, request, context): 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 """ @@ -528,6 +540,11 @@ def add_MsgServicer_to_server(servicer, server): 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, @@ -989,6 +1006,23 @@ def LiquidatePosition(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @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) + @staticmethod def IncreasePositionMargin(request, target, 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..dcbcbe1f --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/permissions/v1beta1/events.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from 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.protoBSZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types' +# @@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..0256006c --- /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 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 +from 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\"\x8f\x01\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\x12\x42\n\nnamespaces\x18\x02 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00\x42SZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.genesis_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types' + _GENESISSTATE.fields_by_name['params']._options = None + _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['namespaces']._options = None + _GENESISSTATE.fields_by_name['namespaces']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=194 + _globals['_GENESISSTATE']._serialized_end=337 +# @@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..d7d97c30 --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/permissions/v1beta1/params.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 + + +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\"\x08\n\x06ParamsBSZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.params_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types' + _globals['_PARAMS']._serialized_start=158 + _globals['_PARAMS']._serialized_end=166 +# @@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..fd823a39 --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/permissions/v1beta1/permissions.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos.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\"\xae\x03\n\tNamespace\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x11\n\twasm_hook\x18\x02 \x01(\t\x12\x14\n\x0cmints_paused\x18\x03 \x01(\x08\x12\x14\n\x0csends_paused\x18\x04 \x01(\x08\x12\x14\n\x0c\x62urns_paused\x18\x05 \x01(\x08\x12W\n\x10role_permissions\x18\x06 \x03(\x0b\x32=.injective.permissions.v1beta1.Namespace.RolePermissionsEntry\x12Q\n\raddress_roles\x18\x07 \x03(\x0b\x32:.injective.permissions.v1beta1.Namespace.AddressRolesEntry\x1a\x36\n\x14RolePermissionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1aY\n\x11\x41\x64\x64ressRolesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.injective.permissions.v1beta1.Roles:\x02\x38\x01\")\n\x04Role\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bpermissions\x18\x02 \x01(\r\"\x16\n\x05Roles\x12\r\n\x05roles\x18\x01 \x03(\t\"\x1b\n\x07RoleIDs\x12\x10\n\x08role_ids\x18\x01 \x03(\r\"e\n\x07Voucher\x12Z\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.Coins*:\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\x42SZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.permissions_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types' + _NAMESPACE_ROLEPERMISSIONSENTRY._options = None + _NAMESPACE_ROLEPERMISSIONSENTRY._serialized_options = b'8\001' + _NAMESPACE_ADDRESSROLESENTRY._options = None + _NAMESPACE_ADDRESSROLESENTRY._serialized_options = b'8\001' + _VOUCHER.fields_by_name['coins']._options = None + _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=768 + _globals['_ACTION']._serialized_end=826 + _globals['_NAMESPACE']._serialized_start=137 + _globals['_NAMESPACE']._serialized_end=567 + _globals['_NAMESPACE_ROLEPERMISSIONSENTRY']._serialized_start=422 + _globals['_NAMESPACE_ROLEPERMISSIONSENTRY']._serialized_end=476 + _globals['_NAMESPACE_ADDRESSROLESENTRY']._serialized_start=478 + _globals['_NAMESPACE_ADDRESSROLESENTRY']._serialized_end=567 + _globals['_ROLE']._serialized_start=569 + _globals['_ROLE']._serialized_end=610 + _globals['_ROLES']._serialized_start=612 + _globals['_ROLES']._serialized_end=634 + _globals['_ROLEIDS']._serialized_start=636 + _globals['_ROLEIDS']._serialized_end=663 + _globals['_VOUCHER']._serialized_start=665 + _globals['_VOUCHER']._serialized_end=766 +# @@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..74ba1e19 --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py @@ -0,0 +1,75 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/permissions/v1beta1/query.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 +from injective.permissions.v1beta1 import genesis_pb2 as injective_dot_permissions_dot_v1beta1_dot_genesis__pb2 +from 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*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\"R\n\x13QueryParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00\"\x1b\n\x19QueryAllNamespacesRequest\"Z\n\x1aQueryAllNamespacesResponse\x12<\n\nnamespaces\x18\x01 \x03(\x0b\x32(.injective.permissions.v1beta1.Namespace\"D\n\x1cQueryNamespaceByDenomRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x15\n\rinclude_roles\x18\x02 \x01(\x08\"\\\n\x1dQueryNamespaceByDenomResponse\x12;\n\tnamespace\x18\x01 \x01(\x0b\x32(.injective.permissions.v1beta1.Namespace\":\n\x1bQueryAddressesByRoleRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0c\n\x04role\x18\x02 \x01(\t\"1\n\x1cQueryAddressesByRoleResponse\x12\x11\n\taddresses\x18\x01 \x03(\t\":\n\x18QueryAddressRolesRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\"*\n\x19QueryAddressRolesResponse\x12\r\n\x05roles\x18\x01 \x03(\t\"1\n\x1eQueryVouchersForAddressRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\xda\x01\n\x1fQueryVouchersForAddressResponse\x12^\n\x08vouchers\x18\x01 \x03(\x0b\x32L.injective.permissions.v1beta1.QueryVouchersForAddressResponse.VouchersEntry\x1aW\n\rVouchersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.injective.permissions.v1beta1.Voucher:\x02\x38\x01\x32\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_addressBSZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.query_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types' + _QUERYPARAMSRESPONSE.fields_by_name['params']._options = None + _QUERYPARAMSRESPONSE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _QUERYVOUCHERSFORADDRESSRESPONSE_VOUCHERSENTRY._options = None + _QUERYVOUCHERSFORADDRESSRESPONSE_VOUCHERSENTRY._serialized_options = b'8\001' + _QUERY.methods_by_name['Params']._options = None + _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\'\022%/injective/permissions/v1beta1/params' + _QUERY.methods_by_name['AllNamespaces']._options = None + _QUERY.methods_by_name['AllNamespaces']._serialized_options = b'\202\323\344\223\002/\022-/injective/permissions/v1beta1/all_namespaces' + _QUERY.methods_by_name['NamespaceByDenom']._options = None + _QUERY.methods_by_name['NamespaceByDenom']._serialized_options = b'\202\323\344\223\0023\0221/injective/permissions/v1beta1/namespace_by_denom' + _QUERY.methods_by_name['AddressRoles']._options = None + _QUERY.methods_by_name['AddressRoles']._serialized_options = b'\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role' + _QUERY.methods_by_name['AddressesByRole']._options = None + _QUERY.methods_by_name['AddressesByRole']._serialized_options = b'\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role' + _QUERY.methods_by_name['VouchersForAddress']._options = None + _QUERY.methods_by_name['VouchersForAddress']._serialized_options = b'\202\323\344\223\0025\0223/injective/permissions/v1beta1/vouchers_for_address' + _globals['_QUERYPARAMSREQUEST']._serialized_start=310 + _globals['_QUERYPARAMSREQUEST']._serialized_end=330 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=332 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=414 + _globals['_QUERYALLNAMESPACESREQUEST']._serialized_start=416 + _globals['_QUERYALLNAMESPACESREQUEST']._serialized_end=443 + _globals['_QUERYALLNAMESPACESRESPONSE']._serialized_start=445 + _globals['_QUERYALLNAMESPACESRESPONSE']._serialized_end=535 + _globals['_QUERYNAMESPACEBYDENOMREQUEST']._serialized_start=537 + _globals['_QUERYNAMESPACEBYDENOMREQUEST']._serialized_end=605 + _globals['_QUERYNAMESPACEBYDENOMRESPONSE']._serialized_start=607 + _globals['_QUERYNAMESPACEBYDENOMRESPONSE']._serialized_end=699 + _globals['_QUERYADDRESSESBYROLEREQUEST']._serialized_start=701 + _globals['_QUERYADDRESSESBYROLEREQUEST']._serialized_end=759 + _globals['_QUERYADDRESSESBYROLERESPONSE']._serialized_start=761 + _globals['_QUERYADDRESSESBYROLERESPONSE']._serialized_end=810 + _globals['_QUERYADDRESSROLESREQUEST']._serialized_start=812 + _globals['_QUERYADDRESSROLESREQUEST']._serialized_end=870 + _globals['_QUERYADDRESSROLESRESPONSE']._serialized_start=872 + _globals['_QUERYADDRESSROLESRESPONSE']._serialized_end=914 + _globals['_QUERYVOUCHERSFORADDRESSREQUEST']._serialized_start=916 + _globals['_QUERYVOUCHERSFORADDRESSREQUEST']._serialized_end=965 + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE']._serialized_start=968 + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE']._serialized_end=1186 + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE_VOUCHERSENTRY']._serialized_start=1099 + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE_VOUCHERSENTRY']._serialized_end=1186 + _globals['_QUERY']._serialized_start=1189 + _globals['_QUERY']._serialized_end=2350 +# @@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..2cd78084 --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py @@ -0,0 +1,247 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from 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, + ) + 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, + ) + 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, + ) + 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, + ) + 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, + ) + 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, + ) + + +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,)) + + + # 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) + + @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) + + @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) + + @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) + + @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) + + @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) 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..b0897097 --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py @@ -0,0 +1,114 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/permissions/v1beta1/tx.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 +from 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/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\"\x8b\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12;\n\x06params\x18\x02 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x87\x01\n\x12MsgCreateNamespace\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12\x41\n\tnamespace\x18\x02 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgCreateNamespaceResponse\"]\n\x12MsgDeleteNamespace\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12\x17\n\x0fnamespace_denom\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgDeleteNamespaceResponse\"\xe0\x04\n\x12MsgUpdateNamespace\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12\x17\n\x0fnamespace_denom\x18\x02 \x01(\t\x12S\n\twasm_hook\x18\x03 \x01(\x0b\x32@.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHook\x12Y\n\x0cmints_paused\x18\x04 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPaused\x12Y\n\x0csends_paused\x18\x05 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPaused\x12Y\n\x0c\x62urns_paused\x18\x06 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPaused\x1a#\n\x0eMsgSetWasmHook\x12\x11\n\tnew_value\x18\x01 \x01(\t\x1a&\n\x11MsgSetMintsPaused\x12\x11\n\tnew_value\x18\x01 \x01(\x08\x1a&\n\x11MsgSetSendsPaused\x12\x11\n\tnew_value\x18\x01 \x01(\x08\x1a&\n\x11MsgSetBurnsPaused\x12\x11\n\tnew_value\x18\x01 \x01(\x08:\x0b\x82\xe7\xb0*\x06sender\"\x1c\n\x1aMsgUpdateNamespaceResponse\"\xbd\x03\n\x17MsgUpdateNamespaceRoles\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12\x17\n\x0fnamespace_denom\x18\x02 \x01(\t\x12\x65\n\x10role_permissions\x18\x03 \x03(\x0b\x32K.injective.permissions.v1beta1.MsgUpdateNamespaceRoles.RolePermissionsEntry\x12_\n\raddress_roles\x18\x04 \x03(\x0b\x32H.injective.permissions.v1beta1.MsgUpdateNamespaceRoles.AddressRolesEntry\x1a\x36\n\x14RolePermissionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1aY\n\x11\x41\x64\x64ressRolesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.injective.permissions.v1beta1.Roles:\x02\x38\x01:\x0b\x82\xe7\xb0*\x06sender\"!\n\x1fMsgUpdateNamespaceRolesResponse\"\xb8\x02\n\x17MsgRevokeNamespaceRoles\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12\x17\n\x0fnamespace_denom\x18\x02 \x01(\t\x12q\n\x17\x61\x64\x64ress_roles_to_revoke\x18\x03 \x03(\x0b\x32P.injective.permissions.v1beta1.MsgRevokeNamespaceRoles.AddressRolesToRevokeEntry\x1a\x61\n\x19\x41\x64\x64ressRolesToRevokeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.injective.permissions.v1beta1.Roles:\x02\x38\x01:\x0b\x82\xe7\xb0*\x06sender\"!\n\x1fMsgRevokeNamespaceRolesResponse\"U\n\x0fMsgClaimVoucher\x12!\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"\x12\x12\n\noriginator\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x19\n\x17MsgClaimVoucherResponse2\x9a\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.MsgClaimVoucherResponseBSZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.tx_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types' + _MSGUPDATEPARAMS.fields_by_name['authority']._options = None + _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATEPARAMS.fields_by_name['params']._options = None + _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _MSGUPDATEPARAMS._options = None + _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSGCREATENAMESPACE.fields_by_name['sender']._options = None + _MSGCREATENAMESPACE.fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _MSGCREATENAMESPACE.fields_by_name['namespace']._options = None + _MSGCREATENAMESPACE.fields_by_name['namespace']._serialized_options = b'\310\336\037\000' + _MSGCREATENAMESPACE._options = None + _MSGCREATENAMESPACE._serialized_options = b'\202\347\260*\006sender' + _MSGDELETENAMESPACE.fields_by_name['sender']._options = None + _MSGDELETENAMESPACE.fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _MSGDELETENAMESPACE._options = None + _MSGDELETENAMESPACE._serialized_options = b'\202\347\260*\006sender' + _MSGUPDATENAMESPACE.fields_by_name['sender']._options = None + _MSGUPDATENAMESPACE.fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _MSGUPDATENAMESPACE._options = None + _MSGUPDATENAMESPACE._serialized_options = b'\202\347\260*\006sender' + _MSGUPDATENAMESPACEROLES_ROLEPERMISSIONSENTRY._options = None + _MSGUPDATENAMESPACEROLES_ROLEPERMISSIONSENTRY._serialized_options = b'8\001' + _MSGUPDATENAMESPACEROLES_ADDRESSROLESENTRY._options = None + _MSGUPDATENAMESPACEROLES_ADDRESSROLESENTRY._serialized_options = b'8\001' + _MSGUPDATENAMESPACEROLES.fields_by_name['sender']._options = None + _MSGUPDATENAMESPACEROLES.fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _MSGUPDATENAMESPACEROLES._options = None + _MSGUPDATENAMESPACEROLES._serialized_options = b'\202\347\260*\006sender' + _MSGREVOKENAMESPACEROLES_ADDRESSROLESTOREVOKEENTRY._options = None + _MSGREVOKENAMESPACEROLES_ADDRESSROLESTOREVOKEENTRY._serialized_options = b'8\001' + _MSGREVOKENAMESPACEROLES.fields_by_name['sender']._options = None + _MSGREVOKENAMESPACEROLES.fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _MSGREVOKENAMESPACEROLES._options = None + _MSGREVOKENAMESPACEROLES._serialized_options = b'\202\347\260*\006sender' + _MSGCLAIMVOUCHER.fields_by_name['sender']._options = None + _MSGCLAIMVOUCHER.fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _MSGCLAIMVOUCHER._options = None + _MSGCLAIMVOUCHER._serialized_options = b'\202\347\260*\006sender' + _globals['_MSGUPDATEPARAMS']._serialized_start=305 + _globals['_MSGUPDATEPARAMS']._serialized_end=444 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=446 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=471 + _globals['_MSGCREATENAMESPACE']._serialized_start=474 + _globals['_MSGCREATENAMESPACE']._serialized_end=609 + _globals['_MSGCREATENAMESPACERESPONSE']._serialized_start=611 + _globals['_MSGCREATENAMESPACERESPONSE']._serialized_end=639 + _globals['_MSGDELETENAMESPACE']._serialized_start=641 + _globals['_MSGDELETENAMESPACE']._serialized_end=734 + _globals['_MSGDELETENAMESPACERESPONSE']._serialized_start=736 + _globals['_MSGDELETENAMESPACERESPONSE']._serialized_end=764 + _globals['_MSGUPDATENAMESPACE']._serialized_start=767 + _globals['_MSGUPDATENAMESPACE']._serialized_end=1375 + _globals['_MSGUPDATENAMESPACE_MSGSETWASMHOOK']._serialized_start=1207 + _globals['_MSGUPDATENAMESPACE_MSGSETWASMHOOK']._serialized_end=1242 + _globals['_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED']._serialized_start=1244 + _globals['_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED']._serialized_end=1282 + _globals['_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED']._serialized_start=1284 + _globals['_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED']._serialized_end=1322 + _globals['_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED']._serialized_start=1324 + _globals['_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED']._serialized_end=1362 + _globals['_MSGUPDATENAMESPACERESPONSE']._serialized_start=1377 + _globals['_MSGUPDATENAMESPACERESPONSE']._serialized_end=1405 + _globals['_MSGUPDATENAMESPACEROLES']._serialized_start=1408 + _globals['_MSGUPDATENAMESPACEROLES']._serialized_end=1853 + _globals['_MSGUPDATENAMESPACEROLES_ROLEPERMISSIONSENTRY']._serialized_start=1695 + _globals['_MSGUPDATENAMESPACEROLES_ROLEPERMISSIONSENTRY']._serialized_end=1749 + _globals['_MSGUPDATENAMESPACEROLES_ADDRESSROLESENTRY']._serialized_start=1751 + _globals['_MSGUPDATENAMESPACEROLES_ADDRESSROLESENTRY']._serialized_end=1840 + _globals['_MSGUPDATENAMESPACEROLESRESPONSE']._serialized_start=1855 + _globals['_MSGUPDATENAMESPACEROLESRESPONSE']._serialized_end=1888 + _globals['_MSGREVOKENAMESPACEROLES']._serialized_start=1891 + _globals['_MSGREVOKENAMESPACEROLES']._serialized_end=2203 + _globals['_MSGREVOKENAMESPACEROLES_ADDRESSROLESTOREVOKEENTRY']._serialized_start=2093 + _globals['_MSGREVOKENAMESPACEROLES_ADDRESSROLESTOREVOKEENTRY']._serialized_end=2190 + _globals['_MSGREVOKENAMESPACEROLESRESPONSE']._serialized_start=2205 + _globals['_MSGREVOKENAMESPACEROLESRESPONSE']._serialized_end=2238 + _globals['_MSGCLAIMVOUCHER']._serialized_start=2240 + _globals['_MSGCLAIMVOUCHER']._serialized_end=2325 + _globals['_MSGCLAIMVOUCHERRESPONSE']._serialized_start=2327 + _globals['_MSGCLAIMVOUCHERRESPONSE']._serialized_end=2352 + _globals['_MSG']._serialized_start=2355 + _globals['_MSG']._serialized_end=3277 +# @@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..f36791eb --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,267 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from 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, + ) + 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, + ) + 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, + ) + 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, + ) + 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, + ) + 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, + ) + 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, + ) + + +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,)) + + + # 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) + + @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) + + @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) + + @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) + + @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) + + @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) + + @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) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py index e2e966c5..cab8837b 100644 --- a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py @@ -17,7 +17,7 @@ from injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/stream/v1beta1/query.proto\x12\x18injective.stream.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\'injective/exchange/v1beta1/events.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xb6\x06\n\rStreamRequest\x12P\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01\x12\\\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12O\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12U\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12I\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01\x12N\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01\"\xe0\x05\n\x0eStreamResponse\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x12\n\nblock_time\x18\x02 \x01(\x03\x12<\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalance\x12I\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDeposits\x12\x38\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTrade\x12\x44\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTrade\x12>\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdate\x12J\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdate\x12I\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12O\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12\x35\n\tpositions\x18\x0b \x03(\x0b\x32\".injective.stream.v1beta1.Position\x12<\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePrice\"V\n\x0fOrderbookUpdate\x12\x0b\n\x03seq\x18\x01 \x01(\x04\x12\x36\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.Orderbook\"\x8d\x01\n\tOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x35\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12\x36\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"}\n\x0b\x42\x61nkBalance\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12]\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"p\n\x12SubaccountDeposits\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x43\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00\"^\n\x11SubaccountDeposit\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12:\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00\"\xa3\x01\n\x0fSpotOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x32\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrder\"_\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00\"\xaf\x01\n\x15\x44\x65rivativeOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x38\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrder\"~\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00\x12\x11\n\tis_market\x18\x03 \x01(\x08\"\xdd\x02\n\x08Position\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06isLong\x18\x03 \x01(\x08\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"j\n\x0bOraclePrice\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xe0\x02\n\tSpotTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x06 \x01(\t\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\x12\x0b\n\x03\x63id\x18\n \x01(\t\"\xe8\x02\n\x0f\x44\x65rivativeTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x41\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\x12\x0b\n\x03\x63id\x18\n \x01(\t\":\n\x0cTradesFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"=\n\x0fPositionsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\":\n\x0cOrdersFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"%\n\x0fOrderbookFilter\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"&\n\x12\x42\x61nkBalancesFilter\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\"2\n\x18SubaccountDepositsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\"#\n\x11OraclePriceFilter\x12\x0e\n\x06symbol\x18\x01 \x03(\t*L\n\x11OrderUpdateStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x42ooked\x10\x01\x12\x0b\n\x07Matched\x10\x02\x12\r\n\tCancelled\x10\x03\x32g\n\x06Stream\x12]\n\x06Stream\x12\'.injective.stream.v1beta1.StreamRequest\x1a(.injective.stream.v1beta1.StreamResponse0\x01\x42\x46ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/stream/v1beta1/query.proto\x12\x18injective.stream.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\'injective/exchange/v1beta1/events.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xb6\x06\n\rStreamRequest\x12P\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01\x12\\\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12O\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12U\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12I\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01\x12N\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01\"\xe0\x05\n\x0eStreamResponse\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x12\n\nblock_time\x18\x02 \x01(\x03\x12<\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalance\x12I\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDeposits\x12\x38\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTrade\x12\x44\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTrade\x12>\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdate\x12J\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdate\x12I\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12O\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12\x35\n\tpositions\x18\x0b \x03(\x0b\x32\".injective.stream.v1beta1.Position\x12<\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePrice\"V\n\x0fOrderbookUpdate\x12\x0b\n\x03seq\x18\x01 \x01(\x04\x12\x36\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.Orderbook\"\x8d\x01\n\tOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x35\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12\x36\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"}\n\x0b\x42\x61nkBalance\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12]\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"p\n\x12SubaccountDeposits\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x43\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00\"^\n\x11SubaccountDeposit\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12:\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00\"\xa3\x01\n\x0fSpotOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x32\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrder\"_\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00\"\xaf\x01\n\x15\x44\x65rivativeOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x38\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrder\"~\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00\x12\x11\n\tis_market\x18\x03 \x01(\x08\"\xdd\x02\n\x08Position\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06isLong\x18\x03 \x01(\x08\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"j\n\x0bOraclePrice\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xf2\x02\n\tSpotTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x06 \x01(\t\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\x12\x0b\n\x03\x63id\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\"\xfa\x02\n\x0f\x44\x65rivativeTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x41\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\x12\x0b\n\x03\x63id\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\":\n\x0cTradesFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"=\n\x0fPositionsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\":\n\x0cOrdersFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"%\n\x0fOrderbookFilter\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"&\n\x12\x42\x61nkBalancesFilter\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\"2\n\x18SubaccountDepositsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\"#\n\x11OraclePriceFilter\x12\x0e\n\x06symbol\x18\x01 \x03(\t*L\n\x11OrderUpdateStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x42ooked\x10\x01\x12\x0b\n\x07Matched\x10\x02\x12\r\n\tCancelled\x10\x03\x32g\n\x06Stream\x12]\n\x06Stream\x12\'.injective.stream.v1beta1.StreamRequest\x1a(.injective.stream.v1beta1.StreamResponse0\x01\x42\x46ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -80,8 +80,8 @@ _DERIVATIVETRADE.fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVETRADE.fields_by_name['fee_recipient_address']._options = None _DERIVATIVETRADE.fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' - _globals['_ORDERUPDATESTATUS']._serialized_start=4435 - _globals['_ORDERUPDATESTATUS']._serialized_end=4511 + _globals['_ORDERUPDATESTATUS']._serialized_start=4471 + _globals['_ORDERUPDATESTATUS']._serialized_end=4547 _globals['_STREAMREQUEST']._serialized_start=205 _globals['_STREAMREQUEST']._serialized_end=1027 _globals['_STREAMRESPONSE']._serialized_start=1030 @@ -109,23 +109,23 @@ _globals['_ORACLEPRICE']._serialized_start=3258 _globals['_ORACLEPRICE']._serialized_end=3364 _globals['_SPOTTRADE']._serialized_start=3367 - _globals['_SPOTTRADE']._serialized_end=3719 - _globals['_DERIVATIVETRADE']._serialized_start=3722 - _globals['_DERIVATIVETRADE']._serialized_end=4082 - _globals['_TRADESFILTER']._serialized_start=4084 - _globals['_TRADESFILTER']._serialized_end=4142 - _globals['_POSITIONSFILTER']._serialized_start=4144 - _globals['_POSITIONSFILTER']._serialized_end=4205 - _globals['_ORDERSFILTER']._serialized_start=4207 - _globals['_ORDERSFILTER']._serialized_end=4265 - _globals['_ORDERBOOKFILTER']._serialized_start=4267 - _globals['_ORDERBOOKFILTER']._serialized_end=4304 - _globals['_BANKBALANCESFILTER']._serialized_start=4306 - _globals['_BANKBALANCESFILTER']._serialized_end=4344 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=4346 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=4396 - _globals['_ORACLEPRICEFILTER']._serialized_start=4398 - _globals['_ORACLEPRICEFILTER']._serialized_end=4433 - _globals['_STREAM']._serialized_start=4513 - _globals['_STREAM']._serialized_end=4616 + _globals['_SPOTTRADE']._serialized_end=3737 + _globals['_DERIVATIVETRADE']._serialized_start=3740 + _globals['_DERIVATIVETRADE']._serialized_end=4118 + _globals['_TRADESFILTER']._serialized_start=4120 + _globals['_TRADESFILTER']._serialized_end=4178 + _globals['_POSITIONSFILTER']._serialized_start=4180 + _globals['_POSITIONSFILTER']._serialized_end=4241 + _globals['_ORDERSFILTER']._serialized_start=4243 + _globals['_ORDERSFILTER']._serialized_end=4301 + _globals['_ORDERBOOKFILTER']._serialized_start=4303 + _globals['_ORDERBOOKFILTER']._serialized_end=4340 + _globals['_BANKBALANCESFILTER']._serialized_start=4342 + _globals['_BANKBALANCESFILTER']._serialized_end=4380 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=4382 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=4432 + _globals['_ORACLEPRICEFILTER']._serialized_start=4434 + _globals['_ORACLEPRICEFILTER']._serialized_end=4469 + _globals['_STREAM']._serialized_start=4549 + _globals['_STREAM']._serialized_end=4652 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/utils/grpc_api_stream_assistant.py b/pyinjective/utils/grpc_api_stream_assistant.py index 00a8c331..50092def 100644 --- a/pyinjective/utils/grpc_api_stream_assistant.py +++ b/pyinjective/utils/grpc_api_stream_assistant.py @@ -37,8 +37,6 @@ async def listen_stream( await on_status_callback(ex) else: on_status_callback(ex) - except Exception as all_ex: - print(all_ex) if on_end_callback is not None: if asyncio.iscoroutinefunction(on_end_callback): diff --git a/pyproject.toml b/pyproject.toml index 8ad2fe1e..662df1da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.0.1-rc4" +version = "1.0.1-rc5" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" diff --git a/tests/client/indexer/configurable_derivative_query_servicer.py b/tests/client/indexer/configurable_derivative_query_servicer.py index dfb44179..1f03370b 100644 --- a/tests/client/indexer/configurable_derivative_query_servicer.py +++ b/tests/client/indexer/configurable_derivative_query_servicer.py @@ -21,6 +21,7 @@ def __init__(self): 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() @@ -31,6 +32,7 @@ def __init__(self): 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): @@ -77,6 +79,9 @@ async def FundingRates(self, request: exchange_derivative_pb.FundingRatesRequest 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 ): @@ -120,6 +125,10 @@ async def StreamTrades(self, request: exchange_derivative_pb.StreamTradesRequest 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 ): diff --git a/tests/client/indexer/configurable_spot_query_servicer.py b/tests/client/indexer/configurable_spot_query_servicer.py index 7104d4da..e38ae15f 100644 --- a/tests/client/indexer/configurable_spot_query_servicer.py +++ b/tests/client/indexer/configurable_spot_query_servicer.py @@ -15,6 +15,7 @@ def __init__(self): 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() @@ -25,6 +26,7 @@ def __init__(self): 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): @@ -45,6 +47,9 @@ async def Orders(self, request: exchange_spot_pb.OrdersRequest, context=None, me 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 ): @@ -83,6 +88,10 @@ async def StreamTrades(self, request: exchange_spot_pb.StreamTradesRequest, cont 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 ): diff --git a/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py b/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py index 4ba28c2b..3b61ccfe 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py @@ -1232,5 +1232,99 @@ async def test_fetch_orders_history( 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + async def _dummy_metadata_provider(self): return None diff --git a/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py b/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py index b84d30d9..01b8fda9 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py @@ -802,5 +802,95 @@ async def test_fetch_atomic_swap_history( 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + async def _dummy_metadata_provider(self): return None 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 index 5dc2f79b..ffa83c9a 100644 --- a/tests/client/indexer/stream_grpc/test_indexer_grpc_derivative_stream.py +++ b/tests/client/indexer/stream_grpc/test_indexer_grpc_derivative_stream.py @@ -705,5 +705,108 @@ async def test_stream_orders_history( 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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() + async def _dummy_metadata_provider(self): return None 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 index d980e143..6b55ce88 100644 --- a/tests/client/indexer/stream_grpc/test_indexer_grpc_spot_stream.py +++ b/tests/client/indexer/stream_grpc/test_indexer_grpc_spot_stream.py @@ -580,5 +580,104 @@ async def test_stream_orders_history( 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcSpotStream(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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() + async def _dummy_metadata_provider(self): return None From 99f3021edb3cb764f8e392b2cf4480fd18ed437e Mon Sep 17 00:00:00 2001 From: abel Date: Thu, 7 Dec 2023 00:33:00 -0300 Subject: [PATCH 60/83] (fix) Fixed failing unit test --- .../client/chain/stream_grpc/test_chain_grpc_chain_stream.py | 4 ++++ 1 file changed, 4 insertions(+) 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 8d160b14..8b932770 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 @@ -57,6 +57,7 @@ async def test_stream( order_hash=b"\xaa\xb0Ju\xa3)@\xfe\xd58N\xba\xdfG\xfd\xd8}\xe4\r\xf4\xf8a\xd9\n\xa9\xd6x+V\x9b\x02&", fee_recipient_address="inj13ylj40uqx338u5xtccujxystzy39q08q2gz3dx", cid="HBOTSIJUT60b77b9c56f0456af96c5c6c0d8", + trade_id=f"{block_height}_0", ) position_delta = exchange_pb.PositionDelta( is_long=True, @@ -75,6 +76,7 @@ async def test_stream( order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", fee_recipient_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", cid="cid1", + trade_id=f"{block_height}_1", ) spot_order_info = exchange_pb.OrderInfo( subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", @@ -255,6 +257,7 @@ async def test_stream( "orderHash": base64.b64encode(spot_trade.order_hash).decode(), "feeRecipientAddress": spot_trade.fee_recipient_address, "cid": spot_trade.cid, + "tradeId": spot_trade.trade_id, }, ], "derivativeTrades": [ @@ -274,6 +277,7 @@ async def test_stream( "orderHash": derivative_trade.order_hash, "feeRecipientAddress": derivative_trade.fee_recipient_address, "cid": derivative_trade.cid, + "tradeId": derivative_trade.trade_id, } ], "spotOrders": [ From 07a78f98e96c00c6b525420adbcbd00229b4f63a Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 11 Dec 2023 12:39:50 -0300 Subject: [PATCH 61/83] (feat) Changed default gas price from 500000000 to 160000000 --- pyinjective/constant.py | 2 +- pyinjective/core/broadcaster.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyinjective/constant.py b/pyinjective/constant.py index 91cc4839..07274205 100644 --- a/pyinjective/constant.py +++ b/pyinjective/constant.py @@ -1,7 +1,7 @@ import os from configparser import ConfigParser -GAS_PRICE = 500_000_000 +GAS_PRICE = 160_000_000 GAS_FEE_BUFFER_AMOUNT = 25_000 MAX_MEMO_CHARACTERS = 256 ADDITIONAL_CHAIN_FORMAT_DECIMALS = 18 diff --git a/pyinjective/core/broadcaster.py b/pyinjective/core/broadcaster.py index 45ca0fca..22df562b 100644 --- a/pyinjective/core/broadcaster.py +++ b/pyinjective/core/broadcaster.py @@ -9,6 +9,7 @@ from pyinjective import PrivateKey, PublicKey, Transaction from pyinjective.async_client import AsyncClient from pyinjective.composer import Composer +from pyinjective.constant import GAS_PRICE from pyinjective.core.gas_limit_estimator import GasLimitEstimator from pyinjective.core.network import Network @@ -35,7 +36,7 @@ def messages_prepared_for_transaction(self, messages: List[any_pb2.Any]) -> List class TransactionFeeCalculator(ABC): - DEFAULT_GAS_PRICE = 500_000_000 + DEFAULT_GAS_PRICE = GAS_PRICE @abstractmethod async def configure_gas_fee_for_transaction( From a9f23625cff9b7956bf3abe460fce412fb627542 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 11 Dec 2023 12:55:10 -0300 Subject: [PATCH 62/83] (feat) Update Poetry.lock file to solve GitHub tests workflow issues --- poetry.lock | 1717 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 1008 insertions(+), 709 deletions(-) diff --git a/poetry.lock b/poetry.lock index cc8e201b..c7b1c317 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2,111 +2,99 @@ [[package]] name = "aiohttp" -version = "3.8.6" +version = "3.9.1" description = "Async http client/server framework (asyncio)" optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" files = [ - {file = "aiohttp-3.8.6-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:41d55fc043954cddbbd82503d9cc3f4814a40bcef30b3569bc7b5e34130718c1"}, - {file = "aiohttp-3.8.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:1d84166673694841d8953f0a8d0c90e1087739d24632fe86b1a08819168b4566"}, - {file = "aiohttp-3.8.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:253bf92b744b3170eb4c4ca2fa58f9c4b87aeb1df42f71d4e78815e6e8b73c9e"}, - {file = "aiohttp-3.8.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3fd194939b1f764d6bb05490987bfe104287bbf51b8d862261ccf66f48fb4096"}, - {file = "aiohttp-3.8.6-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6c5f938d199a6fdbdc10bbb9447496561c3a9a565b43be564648d81e1102ac22"}, - {file = "aiohttp-3.8.6-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2817b2f66ca82ee699acd90e05c95e79bbf1dc986abb62b61ec8aaf851e81c93"}, - {file = "aiohttp-3.8.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0fa375b3d34e71ccccf172cab401cd94a72de7a8cc01847a7b3386204093bb47"}, - {file = "aiohttp-3.8.6-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9de50a199b7710fa2904be5a4a9b51af587ab24c8e540a7243ab737b45844543"}, - {file = "aiohttp-3.8.6-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e1d8cb0b56b3587c5c01de3bf2f600f186da7e7b5f7353d1bf26a8ddca57f965"}, - {file = "aiohttp-3.8.6-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:8e31e9db1bee8b4f407b77fd2507337a0a80665ad7b6c749d08df595d88f1cf5"}, - {file = "aiohttp-3.8.6-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:7bc88fc494b1f0311d67f29fee6fd636606f4697e8cc793a2d912ac5b19aa38d"}, - {file = "aiohttp-3.8.6-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:ec00c3305788e04bf6d29d42e504560e159ccaf0be30c09203b468a6c1ccd3b2"}, - {file = "aiohttp-3.8.6-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:ad1407db8f2f49329729564f71685557157bfa42b48f4b93e53721a16eb813ed"}, - {file = "aiohttp-3.8.6-cp310-cp310-win32.whl", hash = "sha256:ccc360e87341ad47c777f5723f68adbb52b37ab450c8bc3ca9ca1f3e849e5fe2"}, - {file = "aiohttp-3.8.6-cp310-cp310-win_amd64.whl", hash = "sha256:93c15c8e48e5e7b89d5cb4613479d144fda8344e2d886cf694fd36db4cc86865"}, - {file = "aiohttp-3.8.6-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6e2f9cc8e5328f829f6e1fb74a0a3a939b14e67e80832975e01929e320386b34"}, - {file = "aiohttp-3.8.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:e6a00ffcc173e765e200ceefb06399ba09c06db97f401f920513a10c803604ca"}, - {file = "aiohttp-3.8.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:41bdc2ba359032e36c0e9de5a3bd00d6fb7ea558a6ce6b70acedf0da86458321"}, - {file = "aiohttp-3.8.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:14cd52ccf40006c7a6cd34a0f8663734e5363fd981807173faf3a017e202fec9"}, - {file = "aiohttp-3.8.6-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2d5b785c792802e7b275c420d84f3397668e9d49ab1cb52bd916b3b3ffcf09ad"}, - {file = "aiohttp-3.8.6-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1bed815f3dc3d915c5c1e556c397c8667826fbc1b935d95b0ad680787896a358"}, - {file = "aiohttp-3.8.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:96603a562b546632441926cd1293cfcb5b69f0b4159e6077f7c7dbdfb686af4d"}, - {file = "aiohttp-3.8.6-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d76e8b13161a202d14c9584590c4df4d068c9567c99506497bdd67eaedf36403"}, - {file = "aiohttp-3.8.6-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e3f1e3f1a1751bb62b4a1b7f4e435afcdade6c17a4fd9b9d43607cebd242924a"}, - {file = "aiohttp-3.8.6-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:76b36b3124f0223903609944a3c8bf28a599b2cc0ce0be60b45211c8e9be97f8"}, - {file = "aiohttp-3.8.6-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:a2ece4af1f3c967a4390c284797ab595a9f1bc1130ef8b01828915a05a6ae684"}, - {file = "aiohttp-3.8.6-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:16d330b3b9db87c3883e565340d292638a878236418b23cc8b9b11a054aaa887"}, - {file = "aiohttp-3.8.6-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:42c89579f82e49db436b69c938ab3e1559e5a4409eb8639eb4143989bc390f2f"}, - {file = "aiohttp-3.8.6-cp311-cp311-win32.whl", hash = "sha256:efd2fcf7e7b9d7ab16e6b7d54205beded0a9c8566cb30f09c1abe42b4e22bdcb"}, - {file = "aiohttp-3.8.6-cp311-cp311-win_amd64.whl", hash = "sha256:3b2ab182fc28e7a81f6c70bfbd829045d9480063f5ab06f6e601a3eddbbd49a0"}, - {file = "aiohttp-3.8.6-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:fdee8405931b0615220e5ddf8cd7edd8592c606a8e4ca2a00704883c396e4479"}, - {file = "aiohttp-3.8.6-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d25036d161c4fe2225d1abff2bd52c34ed0b1099f02c208cd34d8c05729882f0"}, - {file = "aiohttp-3.8.6-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5d791245a894be071d5ab04bbb4850534261a7d4fd363b094a7b9963e8cdbd31"}, - {file = "aiohttp-3.8.6-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0cccd1de239afa866e4ce5c789b3032442f19c261c7d8a01183fd956b1935349"}, - {file = "aiohttp-3.8.6-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1f13f60d78224f0dace220d8ab4ef1dbc37115eeeab8c06804fec11bec2bbd07"}, - {file = "aiohttp-3.8.6-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8a9b5a0606faca4f6cc0d338359d6fa137104c337f489cd135bb7fbdbccb1e39"}, - {file = "aiohttp-3.8.6-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:13da35c9ceb847732bf5c6c5781dcf4780e14392e5d3b3c689f6d22f8e15ae31"}, - {file = "aiohttp-3.8.6-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:4d4cbe4ffa9d05f46a28252efc5941e0462792930caa370a6efaf491f412bc66"}, - {file = "aiohttp-3.8.6-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:229852e147f44da0241954fc6cb910ba074e597f06789c867cb7fb0621e0ba7a"}, - {file = "aiohttp-3.8.6-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:713103a8bdde61d13490adf47171a1039fd880113981e55401a0f7b42c37d071"}, - {file = "aiohttp-3.8.6-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:45ad816b2c8e3b60b510f30dbd37fe74fd4a772248a52bb021f6fd65dff809b6"}, - {file = "aiohttp-3.8.6-cp36-cp36m-win32.whl", hash = "sha256:2b8d4e166e600dcfbff51919c7a3789ff6ca8b3ecce16e1d9c96d95dd569eb4c"}, - {file = "aiohttp-3.8.6-cp36-cp36m-win_amd64.whl", hash = "sha256:0912ed87fee967940aacc5306d3aa8ba3a459fcd12add0b407081fbefc931e53"}, - {file = "aiohttp-3.8.6-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:e2a988a0c673c2e12084f5e6ba3392d76c75ddb8ebc6c7e9ead68248101cd446"}, - {file = "aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ebf3fd9f141700b510d4b190094db0ce37ac6361a6806c153c161dc6c041ccda"}, - {file = "aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3161ce82ab85acd267c8f4b14aa226047a6bee1e4e6adb74b798bd42c6ae1f80"}, - {file = "aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d95fc1bf33a9a81469aa760617b5971331cdd74370d1214f0b3109272c0e1e3c"}, - {file = "aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c43ecfef7deaf0617cee936836518e7424ee12cb709883f2c9a1adda63cc460"}, - {file = "aiohttp-3.8.6-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ca80e1b90a05a4f476547f904992ae81eda5c2c85c66ee4195bb8f9c5fb47f28"}, - {file = "aiohttp-3.8.6-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:90c72ebb7cb3a08a7f40061079817133f502a160561d0675b0a6adf231382c92"}, - {file = "aiohttp-3.8.6-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:bb54c54510e47a8c7c8e63454a6acc817519337b2b78606c4e840871a3e15349"}, - {file = "aiohttp-3.8.6-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:de6a1c9f6803b90e20869e6b99c2c18cef5cc691363954c93cb9adeb26d9f3ae"}, - {file = "aiohttp-3.8.6-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:a3628b6c7b880b181a3ae0a0683698513874df63783fd89de99b7b7539e3e8a8"}, - {file = "aiohttp-3.8.6-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:fc37e9aef10a696a5a4474802930079ccfc14d9f9c10b4662169671ff034b7df"}, - {file = "aiohttp-3.8.6-cp37-cp37m-win32.whl", hash = "sha256:f8ef51e459eb2ad8e7a66c1d6440c808485840ad55ecc3cafefadea47d1b1ba2"}, - {file = "aiohttp-3.8.6-cp37-cp37m-win_amd64.whl", hash = "sha256:b2fe42e523be344124c6c8ef32a011444e869dc5f883c591ed87f84339de5976"}, - {file = "aiohttp-3.8.6-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:9e2ee0ac5a1f5c7dd3197de309adfb99ac4617ff02b0603fd1e65b07dc772e4b"}, - {file = "aiohttp-3.8.6-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:01770d8c04bd8db568abb636c1fdd4f7140b284b8b3e0b4584f070180c1e5c62"}, - {file = "aiohttp-3.8.6-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:3c68330a59506254b556b99a91857428cab98b2f84061260a67865f7f52899f5"}, - {file = "aiohttp-3.8.6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:89341b2c19fb5eac30c341133ae2cc3544d40d9b1892749cdd25892bbc6ac951"}, - {file = "aiohttp-3.8.6-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:71783b0b6455ac8f34b5ec99d83e686892c50498d5d00b8e56d47f41b38fbe04"}, - {file = "aiohttp-3.8.6-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f628dbf3c91e12f4d6c8b3f092069567d8eb17814aebba3d7d60c149391aee3a"}, - {file = "aiohttp-3.8.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b04691bc6601ef47c88f0255043df6f570ada1a9ebef99c34bd0b72866c217ae"}, - {file = "aiohttp-3.8.6-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7ee912f7e78287516df155f69da575a0ba33b02dd7c1d6614dbc9463f43066e3"}, - {file = "aiohttp-3.8.6-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:9c19b26acdd08dd239e0d3669a3dddafd600902e37881f13fbd8a53943079dbc"}, - {file = "aiohttp-3.8.6-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:99c5ac4ad492b4a19fc132306cd57075c28446ec2ed970973bbf036bcda1bcc6"}, - {file = "aiohttp-3.8.6-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:f0f03211fd14a6a0aed2997d4b1c013d49fb7b50eeb9ffdf5e51f23cfe2c77fa"}, - {file = "aiohttp-3.8.6-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:8d399dade330c53b4106160f75f55407e9ae7505263ea86f2ccca6bfcbdb4921"}, - {file = "aiohttp-3.8.6-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:ec4fd86658c6a8964d75426517dc01cbf840bbf32d055ce64a9e63a40fd7b771"}, - {file = "aiohttp-3.8.6-cp38-cp38-win32.whl", hash = "sha256:33164093be11fcef3ce2571a0dccd9041c9a93fa3bde86569d7b03120d276c6f"}, - {file = "aiohttp-3.8.6-cp38-cp38-win_amd64.whl", hash = "sha256:bdf70bfe5a1414ba9afb9d49f0c912dc524cf60141102f3a11143ba3d291870f"}, - {file = "aiohttp-3.8.6-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:d52d5dc7c6682b720280f9d9db41d36ebe4791622c842e258c9206232251ab2b"}, - {file = "aiohttp-3.8.6-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:4ac39027011414dbd3d87f7edb31680e1f430834c8cef029f11c66dad0670aa5"}, - {file = "aiohttp-3.8.6-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3f5c7ce535a1d2429a634310e308fb7d718905487257060e5d4598e29dc17f0b"}, - {file = "aiohttp-3.8.6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b30e963f9e0d52c28f284d554a9469af073030030cef8693106d918b2ca92f54"}, - {file = "aiohttp-3.8.6-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:918810ef188f84152af6b938254911055a72e0f935b5fbc4c1a4ed0b0584aed1"}, - {file = "aiohttp-3.8.6-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:002f23e6ea8d3dd8d149e569fd580c999232b5fbc601c48d55398fbc2e582e8c"}, - {file = "aiohttp-3.8.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4fcf3eabd3fd1a5e6092d1242295fa37d0354b2eb2077e6eb670accad78e40e1"}, - {file = "aiohttp-3.8.6-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:255ba9d6d5ff1a382bb9a578cd563605aa69bec845680e21c44afc2670607a95"}, - {file = "aiohttp-3.8.6-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d67f8baed00870aa390ea2590798766256f31dc5ed3ecc737debb6e97e2ede78"}, - {file = "aiohttp-3.8.6-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:86f20cee0f0a317c76573b627b954c412ea766d6ada1a9fcf1b805763ae7feeb"}, - {file = "aiohttp-3.8.6-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:39a312d0e991690ccc1a61f1e9e42daa519dcc34ad03eb6f826d94c1190190dd"}, - {file = "aiohttp-3.8.6-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:e827d48cf802de06d9c935088c2924e3c7e7533377d66b6f31ed175c1620e05e"}, - {file = "aiohttp-3.8.6-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:bd111d7fc5591ddf377a408ed9067045259ff2770f37e2d94e6478d0f3fc0c17"}, - {file = "aiohttp-3.8.6-cp39-cp39-win32.whl", hash = "sha256:caf486ac1e689dda3502567eb89ffe02876546599bbf915ec94b1fa424eeffd4"}, - {file = "aiohttp-3.8.6-cp39-cp39-win_amd64.whl", hash = "sha256:3f0e27e5b733803333bb2371249f41cf42bae8884863e8e8965ec69bebe53132"}, - {file = "aiohttp-3.8.6.tar.gz", hash = "sha256:b0cf2a4501bff9330a8a5248b4ce951851e415bdcce9dc158e76cfd55e15085c"}, + {file = "aiohttp-3.9.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e1f80197f8b0b846a8d5cf7b7ec6084493950d0882cc5537fb7b96a69e3c8590"}, + {file = "aiohttp-3.9.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c72444d17777865734aa1a4d167794c34b63e5883abb90356a0364a28904e6c0"}, + {file = "aiohttp-3.9.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9b05d5cbe9dafcdc733262c3a99ccf63d2f7ce02543620d2bd8db4d4f7a22f83"}, + {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5c4fa235d534b3547184831c624c0b7c1e262cd1de847d95085ec94c16fddcd5"}, + {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:289ba9ae8e88d0ba16062ecf02dd730b34186ea3b1e7489046fc338bdc3361c4"}, + {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bff7e2811814fa2271be95ab6e84c9436d027a0e59665de60edf44e529a42c1f"}, + {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:81b77f868814346662c96ab36b875d7814ebf82340d3284a31681085c051320f"}, + {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3b9c7426923bb7bd66d409da46c41e3fb40f5caf679da624439b9eba92043fa6"}, + {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:8d44e7bf06b0c0a70a20f9100af9fcfd7f6d9d3913e37754c12d424179b4e48f"}, + {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:22698f01ff5653fe66d16ffb7658f582a0ac084d7da1323e39fd9eab326a1f26"}, + {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ca7ca5abfbfe8d39e653870fbe8d7710be7a857f8a8386fc9de1aae2e02ce7e4"}, + {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:8d7f98fde213f74561be1d6d3fa353656197f75d4edfbb3d94c9eb9b0fc47f5d"}, + {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:5216b6082c624b55cfe79af5d538e499cd5f5b976820eac31951fb4325974501"}, + {file = "aiohttp-3.9.1-cp310-cp310-win32.whl", hash = "sha256:0e7ba7ff228c0d9a2cd66194e90f2bca6e0abca810b786901a569c0de082f489"}, + {file = "aiohttp-3.9.1-cp310-cp310-win_amd64.whl", hash = "sha256:c7e939f1ae428a86e4abbb9a7c4732bf4706048818dfd979e5e2839ce0159f23"}, + {file = "aiohttp-3.9.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:df9cf74b9bc03d586fc53ba470828d7b77ce51b0582d1d0b5b2fb673c0baa32d"}, + {file = "aiohttp-3.9.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ecca113f19d5e74048c001934045a2b9368d77b0b17691d905af18bd1c21275e"}, + {file = "aiohttp-3.9.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8cef8710fb849d97c533f259103f09bac167a008d7131d7b2b0e3a33269185c0"}, + {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bea94403a21eb94c93386d559bce297381609153e418a3ffc7d6bf772f59cc35"}, + {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:91c742ca59045dce7ba76cab6e223e41d2c70d79e82c284a96411f8645e2afff"}, + {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6c93b7c2e52061f0925c3382d5cb8980e40f91c989563d3d32ca280069fd6a87"}, + {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ee2527134f95e106cc1653e9ac78846f3a2ec1004cf20ef4e02038035a74544d"}, + {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:11ff168d752cb41e8492817e10fb4f85828f6a0142b9726a30c27c35a1835f01"}, + {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b8c3a67eb87394386847d188996920f33b01b32155f0a94f36ca0e0c635bf3e3"}, + {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c7b5d5d64e2a14e35a9240b33b89389e0035e6de8dbb7ffa50d10d8b65c57449"}, + {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:69985d50a2b6f709412d944ffb2e97d0be154ea90600b7a921f95a87d6f108a2"}, + {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:c9110c06eaaac7e1f5562caf481f18ccf8f6fdf4c3323feab28a93d34cc646bd"}, + {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d737e69d193dac7296365a6dcb73bbbf53bb760ab25a3727716bbd42022e8d7a"}, + {file = "aiohttp-3.9.1-cp311-cp311-win32.whl", hash = "sha256:4ee8caa925aebc1e64e98432d78ea8de67b2272252b0a931d2ac3bd876ad5544"}, + {file = "aiohttp-3.9.1-cp311-cp311-win_amd64.whl", hash = "sha256:a34086c5cc285be878622e0a6ab897a986a6e8bf5b67ecb377015f06ed316587"}, + {file = "aiohttp-3.9.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:f800164276eec54e0af5c99feb9494c295118fc10a11b997bbb1348ba1a52065"}, + {file = "aiohttp-3.9.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:500f1c59906cd142d452074f3811614be04819a38ae2b3239a48b82649c08821"}, + {file = "aiohttp-3.9.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0b0a6a36ed7e164c6df1e18ee47afbd1990ce47cb428739d6c99aaabfaf1b3af"}, + {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69da0f3ed3496808e8cbc5123a866c41c12c15baaaead96d256477edf168eb57"}, + {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:176df045597e674fa950bf5ae536be85699e04cea68fa3a616cf75e413737eb5"}, + {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b796b44111f0cab6bbf66214186e44734b5baab949cb5fb56154142a92989aeb"}, + {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f27fdaadce22f2ef950fc10dcdf8048407c3b42b73779e48a4e76b3c35bca26c"}, + {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bcb6532b9814ea7c5a6a3299747c49de30e84472fa72821b07f5a9818bce0f66"}, + {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:54631fb69a6e44b2ba522f7c22a6fb2667a02fd97d636048478db2fd8c4e98fe"}, + {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:4b4c452d0190c5a820d3f5c0f3cd8a28ace48c54053e24da9d6041bf81113183"}, + {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:cae4c0c2ca800c793cae07ef3d40794625471040a87e1ba392039639ad61ab5b"}, + {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:565760d6812b8d78d416c3c7cfdf5362fbe0d0d25b82fed75d0d29e18d7fc30f"}, + {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:54311eb54f3a0c45efb9ed0d0a8f43d1bc6060d773f6973efd90037a51cd0a3f"}, + {file = "aiohttp-3.9.1-cp312-cp312-win32.whl", hash = "sha256:85c3e3c9cb1d480e0b9a64c658cd66b3cfb8e721636ab8b0e746e2d79a7a9eed"}, + {file = "aiohttp-3.9.1-cp312-cp312-win_amd64.whl", hash = "sha256:11cb254e397a82efb1805d12561e80124928e04e9c4483587ce7390b3866d213"}, + {file = "aiohttp-3.9.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:8a22a34bc594d9d24621091d1b91511001a7eea91d6652ea495ce06e27381f70"}, + {file = "aiohttp-3.9.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:598db66eaf2e04aa0c8900a63b0101fdc5e6b8a7ddd805c56d86efb54eb66672"}, + {file = "aiohttp-3.9.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:2c9376e2b09895c8ca8b95362283365eb5c03bdc8428ade80a864160605715f1"}, + {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41473de252e1797c2d2293804e389a6d6986ef37cbb4a25208de537ae32141dd"}, + {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9c5857612c9813796960c00767645cb5da815af16dafb32d70c72a8390bbf690"}, + {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ffcd828e37dc219a72c9012ec44ad2e7e3066bec6ff3aaa19e7d435dbf4032ca"}, + {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:219a16763dc0294842188ac8a12262b5671817042b35d45e44fd0a697d8c8361"}, + {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f694dc8a6a3112059258a725a4ebe9acac5fe62f11c77ac4dcf896edfa78ca28"}, + {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:bcc0ea8d5b74a41b621ad4a13d96c36079c81628ccc0b30cfb1603e3dfa3a014"}, + {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:90ec72d231169b4b8d6085be13023ece8fa9b1bb495e4398d847e25218e0f431"}, + {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:cf2a0ac0615842b849f40c4d7f304986a242f1e68286dbf3bd7a835e4f83acfd"}, + {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:0e49b08eafa4f5707ecfb321ab9592717a319e37938e301d462f79b4e860c32a"}, + {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:2c59e0076ea31c08553e868cec02d22191c086f00b44610f8ab7363a11a5d9d8"}, + {file = "aiohttp-3.9.1-cp38-cp38-win32.whl", hash = "sha256:4831df72b053b1eed31eb00a2e1aff6896fb4485301d4ccb208cac264b648db4"}, + {file = "aiohttp-3.9.1-cp38-cp38-win_amd64.whl", hash = "sha256:3135713c5562731ee18f58d3ad1bf41e1d8883eb68b363f2ffde5b2ea4b84cc7"}, + {file = "aiohttp-3.9.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:cfeadf42840c1e870dc2042a232a8748e75a36b52d78968cda6736de55582766"}, + {file = "aiohttp-3.9.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:70907533db712f7aa791effb38efa96f044ce3d4e850e2d7691abd759f4f0ae0"}, + {file = "aiohttp-3.9.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:cdefe289681507187e375a5064c7599f52c40343a8701761c802c1853a504558"}, + {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7481f581251bb5558ba9f635db70908819caa221fc79ee52a7f58392778c636"}, + {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:49f0c1b3c2842556e5de35f122fc0f0b721334ceb6e78c3719693364d4af8499"}, + {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0d406b01a9f5a7e232d1b0d161b40c05275ffbcbd772dc18c1d5a570961a1ca4"}, + {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d8e4450e7fe24d86e86b23cc209e0023177b6d59502e33807b732d2deb6975f"}, + {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3c0266cd6f005e99f3f51e583012de2778e65af6b73860038b968a0a8888487a"}, + {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ab221850108a4a063c5b8a70f00dd7a1975e5a1713f87f4ab26a46e5feac5a0e"}, + {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:c88a15f272a0ad3d7773cf3a37cc7b7d077cbfc8e331675cf1346e849d97a4e5"}, + {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:237533179d9747080bcaad4d02083ce295c0d2eab3e9e8ce103411a4312991a0"}, + {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:02ab6006ec3c3463b528374c4cdce86434e7b89ad355e7bf29e2f16b46c7dd6f"}, + {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04fa38875e53eb7e354ece1607b1d2fdee2d175ea4e4d745f6ec9f751fe20c7c"}, + {file = "aiohttp-3.9.1-cp39-cp39-win32.whl", hash = "sha256:82eefaf1a996060602f3cc1112d93ba8b201dbf5d8fd9611227de2003dddb3b7"}, + {file = "aiohttp-3.9.1-cp39-cp39-win_amd64.whl", hash = "sha256:9b05d33ff8e6b269e30a7957bd3244ffbce2a7a35a81b81c382629b80af1a8bf"}, + {file = "aiohttp-3.9.1.tar.gz", hash = "sha256:8fc49a87ac269d4529da45871e2ffb6874e87779c3d0e2ccd813c0899221239d"}, ] [package.dependencies] aiosignal = ">=1.1.2" -async-timeout = ">=4.0.0a3,<5.0" +async-timeout = {version = ">=4.0,<5.0", markers = "python_version < \"3.11\""} attrs = ">=17.3.0" -charset-normalizer = ">=2.0,<4.0" frozenlist = ">=1.1.1" multidict = ">=4.5,<7.0" yarl = ">=1.0,<2.0" [package.extras] -speedups = ["Brotli", "aiodns", "cchardet"] +speedups = ["Brotli", "aiodns", "brotlicffi"] [[package]] name = "aiosignal" @@ -122,6 +110,17 @@ files = [ [package.dependencies] frozenlist = ">=1.1.0" +[[package]] +name = "annotated-types" +version = "0.6.0" +description = "Reusable constraint types to use with typing.Annotated" +optional = false +python-versions = ">=3.8" +files = [ + {file = "annotated_types-0.6.0-py3-none-any.whl", hash = "sha256:0641064de18ba7a25dee8f96403ebc39113d0cb953a01429249d5c7564666a43"}, + {file = "annotated_types-0.6.0.tar.gz", hash = "sha256:563339e807e53ffd9c267e99fc6d9ea23eb8443c08f112651963e24e22f84a5d"}, +] + [[package]] name = "asn1crypto" version = "1.5.1" @@ -217,160 +216,160 @@ coincurve = ">=15.0,<19" [[package]] name = "bitarray" -version = "2.8.2" +version = "2.8.5" description = "efficient arrays of booleans -- C extension" optional = false python-versions = "*" files = [ - {file = "bitarray-2.8.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:525eda30469522cd840a11ba866d0616c132f6c4be8966a297d7545e97fcb822"}, - {file = "bitarray-2.8.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c3d9730341c825eb167ca06c9dddf6ad4d1b4e71ea7da73cc8c5139fcb5e14ca"}, - {file = "bitarray-2.8.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ad8f8c39c8df184e346184699783f105755003662f0dbe1233d9d9849650ab5f"}, - {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2cb8d08330d250df47088c13683322083afbdfafdc31df205616506d6b9f068f"}, - {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:56f19ccba8a6ddf1382b0fb4fb8d4e1330e4a1b148e5d198f0981ba2a97c3492"}, - {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4db2e0f58153a376d9a14873e342d507ca32640640284cddf3c1e74a65929477"}, - {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b9b3c27aeea1752f0c1df1e29115e4b6f0249173d71e53c5f7e2c821706f028b"}, - {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ef23f62b3abd287cf368341540ef2a81c86b48de9d488e182e63fe24ac165538"}, - {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6d79fd3c58a4dc71ffd0fc55982a9a2079fe94c76ccff2777092f6107d6a049a"}, - {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:8528c59d3d3df6618777892b60435022d8917de9ea32933d439c7ffd24437237"}, - {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:c35bb5fe018fd9c42be3c28e74dc7dcfae471c3c6689679dbd0bd1d6dc0f51b7"}, - {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:232e8faa8e624f3eb0552a636ebe745cee00480e0e56ad62f17808d281838f2e"}, - {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:945e97ad2bbf7885426f39641a735a31fd4ca2e84e4d0cd271d9880372d6eae1"}, - {file = "bitarray-2.8.2-cp310-cp310-win32.whl", hash = "sha256:88c2d427ab1b20f220c1d53171b0691faa8f0a219367d84e859f1001e90ceefc"}, - {file = "bitarray-2.8.2-cp310-cp310-win_amd64.whl", hash = "sha256:f7c5745e0f96c2c16c03c7540dbe26f3b62ddee63059be0a014156933f054024"}, - {file = "bitarray-2.8.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a610426251d1340baa4d8b7942d2cbfe6a1e20b92c66817ab582e0d341185ab5"}, - {file = "bitarray-2.8.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:599b04b04eb1b5b964a35986bea2bc4381145836fe550cc33c40a796b855b985"}, - {file = "bitarray-2.8.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9014660472f2080d550157164cc5f9376245a34a0ab877b82b95c1f894af5b28"}, - {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:532d63c54159f7e0fb520e2f72ef596493bc43810eaa75fac7a188e898ab593b"}, - {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ad1563f11dd70cb1684cfe841e4cf7f35d4f65769de21d12b72cf773a7932615"}, - {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2e456150af62ee1f24a0c9976947629bfb80d80b4fbd37aa901cf794db6ba9b0"}, - {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1cc29909e4cef05d5e49f5d77ace1dc49311c7791734a048b690521c76b4b7a0"}, - {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:608385f07a4b0391d4982d1efb83ad70920cd8ca495a7868e44d2a4511cbf84e"}, - {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d2baf7ec353fa64917045b3efe26e7c12ce0d7b4d120c3773a612dce54f91585"}, - {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:2c39d1cb04fc277701de6fe2119cc71facc4aff2ca0414b2e326aec337fa1ab4"}, - {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:3caf4ca668854bb23db4b65af0068238677b5791bcc45694bf8990f3e26e85c9"}, - {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4bbfe4474d3470c724e283bd1fe8ee9ab3cb6a4c378112926f45d41e326a7622"}, - {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:cb941981676dc7859d53199a10a33ca56a3146cce6a45bc6ad70572c1147157d"}, - {file = "bitarray-2.8.2-cp311-cp311-win32.whl", hash = "sha256:e8963d7ac292f41654fa7cbc1a34efdb09e5a42399b2e3689c3fd5b8b4e0fe16"}, - {file = "bitarray-2.8.2-cp311-cp311-win_amd64.whl", hash = "sha256:ee779a291330287b341044635fce2979176d113b0dcce0308dc5d62da7951eec"}, - {file = "bitarray-2.8.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:05d84765bbfd0aa10890c765c56c917c237987325c4e327f3c0febbfc34365c8"}, - {file = "bitarray-2.8.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c7b7be4bff27d7ce6a81d3993755371b5f5b42436afa151868e8fd599acbab19"}, - {file = "bitarray-2.8.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c3d51ab9f3d5b9a10295abe480c50bf74ee5bf3d984c4cee77e493e575acc869"}, - {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:00bad63ef6f9d22ba36b01b89167176a451ea22a916d1dfa77d73e0298f1d1f9"}, - {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:225e19d37b234d4d721557434b7d5590cd63b6342492b689e2d694d44d7cc537"}, - {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d7e3ab9870c496e5a058436bf4d96ed111ca6154c8ef8147b70c44c188d6fb2c"}, - {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ff3e182c766cd6f302e99e0d8e44927d533356e9d6ac93fcd09987ebead467aa"}, - {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a7bb559b68eb9cb3c4f867eb9fb39a696c4da70a41fad37b410bd0c7b426a8ce"}, - {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:97e658a3793478d6bca684f47f29f62542312683687bc045dc3cb588160e74b3"}, - {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:dd351b8fbc77c2e2ebc3eeadc0cf72bd5024a43bef5a847697e2b076d1201636"}, - {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:280809e56a7098f48165ce134222098e4cfe7084b10d69bbc31367942e541dfd"}, - {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:14bc38ced7edffff25ee748c1eabc530624c9af68f86322b030b11b7918b966f"}, - {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:de4953b6b1e19dabd23767bd1f83f1cf73978372189dec0e2dd8b3d6971100d6"}, - {file = "bitarray-2.8.2-cp312-cp312-win32.whl", hash = "sha256:99196b4730d887a4bc578f05039b55dc57b131c81b5a5e03efa619b587bdf293"}, - {file = "bitarray-2.8.2-cp312-cp312-win_amd64.whl", hash = "sha256:215a5bf8fdcbed700cc8782d4044e1f036606d5c321710d83e8da6d0fdfe07d5"}, - {file = "bitarray-2.8.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:e9c54136c9fab2cefe9801e336b8a3aa7299bcfe7f387379cc6394ad1d5a484b"}, - {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:08ad70c1555d9622cecd8f1b132a5341d183a9161aba93cc9739bbaabe4220b0"}, - {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:384be6b7df8fb6a93ddd88d4184094f2ba4f1d07c30dcd4ae164d185d31a2af6"}, - {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd2a098250c683d248a6490ac437ed56f7164d2151572231bd26c76bfe111b11"}, - {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a6ae5c18b9a70cb0ae576a8a3c8a9a0659356c016b49cc6b263dd987d344f30d"}, - {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:188f5780f1cfbeba0c3ddb1aa3fa0415ab1a8aa04e9e89f70ad5403197013437"}, - {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:5f2a96c5b40727bc21a695d3a106f49e88572fa11427bf2193cabd99e624c901"}, - {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:b6df948da34b5fb949698092573d798c76c54f2f2188db59276d599075f9ed04"}, - {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:a1f00c328b8dae1828844bac019dfe425d10a2043cc70e2f967224c5392d19ad"}, - {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:7965108069f9731306a882872c23ad4f5a8531668e82b27932a19814c52a8dd8"}, - {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:420aa610fe392c4ee700e474673276bb4f3c4f091d001f58b1f018bf650840c1"}, - {file = "bitarray-2.8.2-cp36-cp36m-win32.whl", hash = "sha256:b85929db81105c06e8292c05cac093068e86464555c628c03f99c9f8090d68d4"}, - {file = "bitarray-2.8.2-cp36-cp36m-win_amd64.whl", hash = "sha256:cba09dfd3aea2addc994eb21a861c3cea2d68141bb7ebe68b0e94c73405540f9"}, - {file = "bitarray-2.8.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:172169099797f1ec469b0aadb00c653193a74757f99312c9c17dc1a18d23d972"}, - {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:351a4fed240728dcc96966e0c4cfd3dce870525377a1cb5afac8e5cfe116ff7b"}, - {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ff31bef13fd278446b6d1969a46db9f02c36fd905f3e75878f0fe17271f7d897"}, - {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fb8b727cd9ddff848c5f73e65470abb110f026beab403bcebbd74e7439b9bd8f"}, - {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d1356c86eefbde3fe8a3c39fb81bbc8b16acc8e442e191408042e8b1d6904e3"}, - {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7706336bd15acf4e42300579e42bef742c01a4eb202998f6c20c443a2ce5fd60"}, - {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:a4b43949477dc2b0d3e1d8b7c413ed74f515cef01954cdcc3fb1e2dcc49f2aff"}, - {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:06d9de5db244c6e45a5318713367765de0a57d82ad616869a004a710a95541e9"}, - {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:5569c8314335e92570c471d60b4b03eb2a4467864805a560d133d24b27b3961a"}, - {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:76a4faef4c31953aa7b9ebe00d162f7ce9bc03fc8d423ab2dc690a11d7520a8e"}, - {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:1474db8c4297026e1daa1699e70e25e56dff91104fe025b1a9804332f2737604"}, - {file = "bitarray-2.8.2-cp37-cp37m-win32.whl", hash = "sha256:85b504f233f0484e9a74df4f286a9ae56fbbe2a648c45726761cf7b6f072cdc8"}, - {file = "bitarray-2.8.2-cp37-cp37m-win_amd64.whl", hash = "sha256:3dde123ce85d1ba99d9bdf44b1b3174fa22bc8fb10004e0d72bb661a0444c1a9"}, - {file = "bitarray-2.8.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:23fae6a5a1403d16592b8823d5dea93f738c6e217a1e1bb0eefad242fb03d47f"}, - {file = "bitarray-2.8.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c44b3022115eb1697315bc51aeadbade1a19d7188bcda66c52d91209cf2963ca"}, - {file = "bitarray-2.8.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:fea9354b7169810e2bdd6f3265ff128b564a25d38479b9ad0a9c5776e4fd0cfc"}, - {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6f699bf2cb223aeec04a106003bd2bf8a4fc6d4c5eddf79cacecb6b267657ac5"}, - {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:462c9425fbc5315cbc20a72ca62558e5545bb0f6dc9355e2fa96fa747e9b1a80"}, - {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0c8716b4c45fb128cd4da143749e276f150ecb0acb711f4969d7e7ebc9b2a675"}, - {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:79fde5b27e35aedd958f5fb58ebabce47d7eddae5a5e3774088c30c9610195ef"}, - {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6abf2593b91e36f1cb1c40ac895993c7d2eb30d3f1cb0954a80e5f13697b6b69"}, - {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:ab2e03dd140ab93b91f94a785d1cd6082d5ab53ab6ec958726efa0ad17f7b87a"}, - {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:9e895cc3e5ffee269dd9866097e227a68022ef2b78d627a6ed737534d0c88c14"}, - {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:0bbeb7120ec1a9b26ce423e74cad7b414cea9e35f8e05599e3b3dceb87f4d1b6"}, - {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:51d45d56be14b69720d11a8c61e101d86a65dc8a3a9f356bbe4d98cf4f3c5617"}, - {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:726a598e34657772e5f131115741ea8709e9b55fa35d63c4717bc16b2a737d38"}, - {file = "bitarray-2.8.2-cp38-cp38-win32.whl", hash = "sha256:ab87c4c50d65932788d058adbbd28a209144523ffacbab81dd41582ffce26af9"}, - {file = "bitarray-2.8.2-cp38-cp38-win_amd64.whl", hash = "sha256:316147fb62c810a7667277e5ae7bb75b2871c32d2c398aeb4503cbd4cf3315e7"}, - {file = "bitarray-2.8.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:36bdde1aba78e4a3a6ce5cbebd0a6bc967b0c3fbd8bd99a197dcc17d654f423c"}, - {file = "bitarray-2.8.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:932f7b77750dff7140522dc97dfd94533a599ef1c5d0be3733f556fd44a68821"}, - {file = "bitarray-2.8.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5819b95d0ccce864066f062d2329363ae8a64b9c3d076d039c75ffc9204c2a12"}, - {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1c28b52e59a5e6aa00a929b35b04473bd479a74237ab1170c573c49e8aca61fe"}, - {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3ecdd528268478efeb78ed0132b01104bda6cd8f10c8a57708fc87b1add77e4d"}, - {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9f6f245d4a5e707d48274f38551b654a36db4fb83437c98be00d2019263aa364"}, - {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b088f06d9e2f523683ae363e227173ac454dbb56c938c6d42791fdd78bad8da7"}, - {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e883919cea8e446c5c49717a7ce5c93a016a02b9429b81d64b9ab1d80fc12e42"}, - {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:09d729420b8edc4d8a23a518ae4553074a0054d0441c1a461b425c2f033fab5e"}, - {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:d0d0923087fe1f2d85daa68463d221e90b4b8ed0356480c887eea90b2a2cc7ee"}, - {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:70cebcf9bc345ac1e034fa781eac3619323eaf87f7bbe26f0e28850beb6f5634"}, - {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:890355bf6ba3dc04b5a23d1328eb1f6062165e6262197cebc9acfebdcb23144c"}, - {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:f0b54b95e39036c116ffc057b3f56f6084ce88822de3d5d1f57fa38554ccf5c1"}, - {file = "bitarray-2.8.2-cp39-cp39-win32.whl", hash = "sha256:b499d93fa31a73e31ee62f2cbe07e4df833fd7151734b8f07c48ffe3e4547ec5"}, - {file = "bitarray-2.8.2-cp39-cp39-win_amd64.whl", hash = "sha256:b007aaf5810c708c5a2778e371aa546d7084e4e9f82f65865b2ce5a182376f42"}, - {file = "bitarray-2.8.2-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:1b734b074a09b1b2e1de7df423565412d9213faefa8ca422f32be756b189f729"}, - {file = "bitarray-2.8.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dd074b06be9484040acb4c2c0462c4d19a43e377716be7ba10440f51a57bb98c"}, - {file = "bitarray-2.8.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e678696bb613f0344b79be385747aae705b327a9a32ace45a353dd16497bc719"}, - {file = "bitarray-2.8.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bb337ffa10824fa2025c4b1c06a2d809dbed4a4bf9e3ffb262676d084c4e0c50"}, - {file = "bitarray-2.8.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:2b3c7aa2c9a6533dc7234d2a303efdcb9df3f4ac4d0919ec1caf568868f12a0a"}, - {file = "bitarray-2.8.2-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:e6765c47b487341837b3731cca3c8033b971ee082f6ab41cb430aa3447686eec"}, - {file = "bitarray-2.8.2-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cb8566b535bc4ebb26247d6f636a27bb0038bc93fa7e55121628f5cd6b0906ac"}, - {file = "bitarray-2.8.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:56764825f64ab983d32b8c1d4ee483f415f2559e59388ba266a9fcafc44305bf"}, - {file = "bitarray-2.8.2-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0f45f7d58c399e90ee3bddff4f3e2f53ff95c948b2d43de304266153ebd1d778"}, - {file = "bitarray-2.8.2-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:095851409e0db75b1416c8c3e24957135d5a2a206790578e43739e92a00c17c4"}, - {file = "bitarray-2.8.2-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:8bb60d5a948f00901da1d7e4953189259b3c7ef79391fecd6f18db3f48a036fe"}, - {file = "bitarray-2.8.2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2b2dc483ada55ef35990b67dc0e7a779f0b2ce79d156e452dc8b835b03c0dca9"}, - {file = "bitarray-2.8.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8a35e308c23f039064600108fc1c8416bd102bc3cf3a6915761a9f7c801237e0"}, - {file = "bitarray-2.8.2-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fa49f6cfcae4305d8cff028dc9c9a881189a38f7ca43c085aef894c58cb6fbde"}, - {file = "bitarray-2.8.2-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:111bf9913ebee4630e2cb43b61d0abb39813b231262b114e5268cd6a405a22b9"}, - {file = "bitarray-2.8.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:b71d82e3f001bcb53463023f7f37e223fff56cf048f577c6d85597db94770f10"}, - {file = "bitarray-2.8.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:440c537fdf2eaee7fdd41fb1dce5701c490c1964fdb74225b10b49a7c45bc7b4"}, - {file = "bitarray-2.8.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c384c49ce52b82d5b0355000b8aeb7e3a7654997916c1e6fd9d29697edda1076"}, - {file = "bitarray-2.8.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:27428d7b0e706307d0c697f81599e7af4f52e5873ea6bc269eae3604b16b81fe"}, - {file = "bitarray-2.8.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:4963982d5da0825768f9a80760a8560c3e4cf711a9a7ea06ff9bcb7bd250b131"}, - {file = "bitarray-2.8.2.tar.gz", hash = "sha256:f90b2f44b5b23364d5fbade2c34652e15b1fcfe813c46f828e008f68a709160f"}, + {file = "bitarray-2.8.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:5970beec89c26e85874311b3928db3ca61d91badbc4cd18ef712cb456f933b45"}, + {file = "bitarray-2.8.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:641d1a437e9121c56cf6efdc73636d1a62d8150e75146ad23b2dc6723e1117d7"}, + {file = "bitarray-2.8.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:519cc61816c5d00af2f6178baa11fc51cf5fd0a6a7af78c6c06e1218f01b54d0"}, + {file = "bitarray-2.8.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:30d2dc6b4e46804f74c7e8c416562f6af6707b164fcaef19cf8335019c1353db"}, + {file = "bitarray-2.8.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4581f6e579ea351a6c2bb1eeea2261cccbf2a06271230072025b82bc9b1d64cb"}, + {file = "bitarray-2.8.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8e67d02e498bca3941d4a1af8f11d9a84d9876a6573a7c67717fd3a34f2b421c"}, + {file = "bitarray-2.8.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dbead40d87d27c407c547ea1ded4c64832e972cba9a5241ffb76ed3d3bf874f6"}, + {file = "bitarray-2.8.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:63b4c16a4e4f9332d489d2385a9fe919cbcf67b250b200f9d3a6d0fd1f26f16f"}, + {file = "bitarray-2.8.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:b54a89fce51b4f329e6aa03d9993d1a07b640bb5b555e7c0c81feafead01e2e4"}, + {file = "bitarray-2.8.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:638f666598f1e0a2b261c48788772e8273772e0a2987263ab71466967543ed84"}, + {file = "bitarray-2.8.5-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:39fbfbc325768e8a74499b9616622768aeccbfa8837ed2dd458dd74dc3b7443c"}, + {file = "bitarray-2.8.5-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:0610a823be0e512567f73648d61938a120d8594ac6ca1b04fad1e8fe72522dcd"}, + {file = "bitarray-2.8.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8d990ee363ae8845f5af742fd02b4eb6b784f0279cc0ae85f3da3e81b6eb0050"}, + {file = "bitarray-2.8.5-cp310-cp310-win32.whl", hash = "sha256:46dec1b3aff26af53e92680f9a439f56e8968f832d8aca0f8e131d2be2ae6cc1"}, + {file = "bitarray-2.8.5-cp310-cp310-win_amd64.whl", hash = "sha256:b90b86d445a5c904eff92b890cb7c36a77f5a91ef8d1744933b9cf478f46f6e5"}, + {file = "bitarray-2.8.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:09ba2973929dc405d269296a0ae2d2d45fd3286149d62f883067b0ab8cb6ba30"}, + {file = "bitarray-2.8.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ca41d7ccb5f4036abac0c94072e1b07206b071c51068e064bbd6be6627f34cbb"}, + {file = "bitarray-2.8.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:51de323b17b4f1312be20497d4cee0ae092903c70ad752d66ae44037e0a65be5"}, + {file = "bitarray-2.8.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41b65f373a11d256021ee6ad802544f4c04e3d7ad971a96117f828a3bf65fc27"}, + {file = "bitarray-2.8.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ea443f107d2ee95ac21f3acc080006dd27a8304d2e95adeb9e256133993d3381"}, + {file = "bitarray-2.8.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5c2f890beff3b0fa4e89bcfe73b844f38bb3407d25bcc036d21e4ae319bfe4ac"}, + {file = "bitarray-2.8.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c8211533d5f1c73470f6b656ceebba72d555adb00a01a9359f4182cb100b01d"}, + {file = "bitarray-2.8.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3944d548e24eecbfa19353b14c20abe9bc1b07267b8045ad9f2f82fdac8f1d9f"}, + {file = "bitarray-2.8.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:da0281f041680306c582f0a0d65f4ab0547fa313687f24017f3e6ecf57097cbb"}, + {file = "bitarray-2.8.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:9c4f3adc0370dcb4dcabb81a4eabd40fdc0e15afbded0ab214d7046c5669bb51"}, + {file = "bitarray-2.8.5-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:751ec37d423121ccaf0a5ca0f216ff7caef4d86773cb40ec67b400a187dee092"}, + {file = "bitarray-2.8.5-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:f42103b470c9a7fa33122b880ea0fc4f4ed53b38fd84915e0d4b0e569ff8397d"}, + {file = "bitarray-2.8.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:36d3ad647b7c9b51bb84aa709cd467bbb202c6e678ff4871b743c2464c4888ef"}, + {file = "bitarray-2.8.5-cp311-cp311-win32.whl", hash = "sha256:fabf6dd12627aee02a0f06a73a7379fbe493569e8206d2e4c3755c36d37acba0"}, + {file = "bitarray-2.8.5-cp311-cp311-win_amd64.whl", hash = "sha256:6b6338e07c923791b761138664b3aa36995cdb6378d12500829d449bdbf0ce6c"}, + {file = "bitarray-2.8.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:9a9dbee82c3f53898d6ff339c31c753c5888cf33ee90e6668a2425602121291e"}, + {file = "bitarray-2.8.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ccd7849ca9eb89ea9d2b07be55ec8dbbc1984258775002373ba39bc2cf17b4ea"}, + {file = "bitarray-2.8.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e67f0d205acbd8d4c550d4d97a6c7ea21459a38bbdba2392fb62ff7414f25550"}, + {file = "bitarray-2.8.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:916398e3792fcfe46d88d078aa38cd41ab7a1b808481d10ad6cdc2693772241d"}, + {file = "bitarray-2.8.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3365867e5c910c1fd527175cca7539788df138375523acda3a65663d1e35ea7d"}, + {file = "bitarray-2.8.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2292aa678a6f158feb1eb295ece26a0f487e0094cd43483390cc2883bd0ca551"}, + {file = "bitarray-2.8.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7fd1f1d3b35ecc004eb18fc36d1dbc2df75e8b759e2e74e7cf6983ca0c6a8a7e"}, + {file = "bitarray-2.8.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:964e1057bc94c287d0b04be281a4ceaa14182b3a8fd58c3be75251a377021745"}, + {file = "bitarray-2.8.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:a8a9006ae20dbe30e6d7d3d8464171d8ee0924799281c13389c73b841fe2f104"}, + {file = "bitarray-2.8.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:468a69f8406f8a39a87b765d4a08f18758204853c5daa52f5e43662ca973895a"}, + {file = "bitarray-2.8.5-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:a576df7dfa2c86067697a016a6c66fef1477e0fc41b90ccd80331aec62c8ace6"}, + {file = "bitarray-2.8.5-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:330ef4733c254fb166b183c83ec9571bf90049e2d04d4efda160660b95cf9820"}, + {file = "bitarray-2.8.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:166a1c8381a006f420ff3772e59d79f4b50f3638d76056fe01c8e1e08b7ce0bd"}, + {file = "bitarray-2.8.5-cp312-cp312-win32.whl", hash = "sha256:181e6ff49d844cefdc32920ad3c734b120646e949a9a3ce51e8aa78aeb1cdf1b"}, + {file = "bitarray-2.8.5-cp312-cp312-win_amd64.whl", hash = "sha256:f56f662421003c04d4fb3c82ac046ee77f69d65719c045821257cf40cc498402"}, + {file = "bitarray-2.8.5-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:47ee48d9aba59a14abbbd96372e4155461b76d19b461d57287d6eb26c5406bf9"}, + {file = "bitarray-2.8.5-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a9d66bb8d159b0d19d733f4e6c3512a63228a6ab1f4654d2dca6736ede62fb83"}, + {file = "bitarray-2.8.5-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2f3fbaa9a1fff8e6784c2340e9678a52fc6bd9d6ee438d065133a543267e0348"}, + {file = "bitarray-2.8.5-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a2c5722425dac1b5366da783d32dbfb7d09961ade934210b9428c60c05418f11"}, + {file = "bitarray-2.8.5-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bca0034064b66209b07c5df1fa39697890e6305b36e4560d9958713ae0c23698"}, + {file = "bitarray-2.8.5-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bac4e535bd5e82d83676a6492c3486e93837771e1183a3bbf4557ac5bda715a4"}, + {file = "bitarray-2.8.5-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:52702217c0d84d24601d45f652d41c0881d1a66c772e3094b7dadec4181462f8"}, + {file = "bitarray-2.8.5-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:a9bfe75add2d6684414bb8182ff55b4a3a7b9157f54675e87098a66e6d3e03d4"}, + {file = "bitarray-2.8.5-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:5589324d8f762ede479bdb9cbd8f2a14dfa4c378209fe6c4807ca9b12c06d0dc"}, + {file = "bitarray-2.8.5-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:ccf1b41554245c16ae50a9838637190f590f9748fe319b7271154bfa9295805a"}, + {file = "bitarray-2.8.5-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:923a536d6bcfb20402b88d73c1f08c1d1b7cb0d026a8207a72df3c38c7223d40"}, + {file = "bitarray-2.8.5-cp36-cp36m-win32.whl", hash = "sha256:75083026b7969600c14cd40019ce09192f17222fdad6010df9ea3fa48e949089"}, + {file = "bitarray-2.8.5-cp36-cp36m-win_amd64.whl", hash = "sha256:801144db5c237f25deafc910d7dc3cd008be5f104da0d937fe9db7cdabe8fdf8"}, + {file = "bitarray-2.8.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b03a23b7f69877441bcdecb94182491ab827fe635079861aa28ecc4da0477f27"}, + {file = "bitarray-2.8.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c5948915f572757c0b6a44116baff0f416256a163e339e43dd46846d82105354"}, + {file = "bitarray-2.8.5-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7914054d5d5ecfdfaf55de026cacc4a998f79143f6d96782449f7927e0340258"}, + {file = "bitarray-2.8.5-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ef01042e1b4eb87d367e81265b5c037066652dd20ce81f3ff519a0f023786ecd"}, + {file = "bitarray-2.8.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a24a91b5637d0398b61903e3f33b87007b2ec16ddfb9687e294453c18b1a1bef"}, + {file = "bitarray-2.8.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9aa571e45bf4df5f1e99b38c4c7af5a840a51c5b0f601beebd8d8160b035581"}, + {file = "bitarray-2.8.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:ce48a3abc7cfb9153bba5e198cc58ae2b31f164631b685d67ba10e9a21ef12f6"}, + {file = "bitarray-2.8.5-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:99acc9b8474443fb13d077adf33caa6e7e17bc16510faeb8aa5f8d80947fcc02"}, + {file = "bitarray-2.8.5-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:9a39b4479eea530f7a2738db1845529a0cfb7b4eef1d200ae812cd416fbec4b7"}, + {file = "bitarray-2.8.5-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:f4aa5f3601967d90ee780b1fbf783db2aba30afbc967656d10e257f817c9a7f0"}, + {file = "bitarray-2.8.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:eee881c7b4c2eb05e2316aa7e0d417b8f51a745c7a6e14de0223fcf36c60205a"}, + {file = "bitarray-2.8.5-cp37-cp37m-win32.whl", hash = "sha256:8340b3044fc421e5c14997aa346a015fdf9e7cf39a4ed29559fa78a93efcc18c"}, + {file = "bitarray-2.8.5-cp37-cp37m-win_amd64.whl", hash = "sha256:0802aed38f0b39974cad73457640c7577995f62873318e978cb2fed0b7c6ce9b"}, + {file = "bitarray-2.8.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:c2640070dc06f146cc4098001cf0c857f4fab5d9fbc5edbacc52001751f15349"}, + {file = "bitarray-2.8.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ee2e373890fc8a287c393cb619e85650c388f9915b44a9592dd8f06026d8cad1"}, + {file = "bitarray-2.8.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:55492cb5362e9e7648503adb6507d8d49e7b55b847217a331243b7ad26929190"}, + {file = "bitarray-2.8.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d51e1e5a94813c33bf27eeac3009c6021b303a8591719dab8c47cd0ee75fbca0"}, + {file = "bitarray-2.8.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:19d5c20a66046690e981ed624889378fe4e02cd302eb3d8c05d082d53751443c"}, + {file = "bitarray-2.8.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bc481046d824002511e9c3355fef700c4831a9ac6bea57643b43843e4fd27aa6"}, + {file = "bitarray-2.8.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70506cbd34d396a58592e9b651fc2ef4d4956b8c99cc7c732be638d9a5864202"}, + {file = "bitarray-2.8.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cd2c6d472363980235000304bb777f1c4c9d13534aee7629c7f6d11c3b17f16f"}, + {file = "bitarray-2.8.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:7d85a8da1683faca4b5a6d270778c69e47faee44effda9148df49546551518db"}, + {file = "bitarray-2.8.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:49cfeef05f49afb71308537189766e39fabddb296906e6a3433303c2df6ccaa4"}, + {file = "bitarray-2.8.5-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:f29678680d54f849b933dbea217cc3e13999e11637ad834cfc147dd7de68b46e"}, + {file = "bitarray-2.8.5-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:5daff9edebdb5b0bdc0461af37e9de00e5d3bafb9be0e41c7575095e9f60119b"}, + {file = "bitarray-2.8.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:e8639cde035b32f11c51b12e6caea96bdc0f28ef212a38405319df62747c9e3c"}, + {file = "bitarray-2.8.5-cp38-cp38-win32.whl", hash = "sha256:2eaf80e8560cb9061b8da21be4898086e9da26ffbfa0997704eca1f2838a10ed"}, + {file = "bitarray-2.8.5-cp38-cp38-win_amd64.whl", hash = "sha256:e374452faec82b88ff50c63ba7c423524b9a02cfb5ad76eb3d32166fc6277d30"}, + {file = "bitarray-2.8.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:037c239573cad4d95623dcb2d840fa01a28e0120e9c5195b9cb7b9d6c8aa6a9b"}, + {file = "bitarray-2.8.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:80e68f44a69f9b8f69aef6858a4ffdefcfb46342789804c9b8d3c6fdda0f7247"}, + {file = "bitarray-2.8.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e3c322c4cda8fee03132d80ced2d44e1a9f07a1ab69f22f4fc7e8ba34fe30f93"}, + {file = "bitarray-2.8.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb3692aed783e351598c3b9f5180b0912c75fe6538f6e324f372b4204b12f0cc"}, + {file = "bitarray-2.8.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e094247c49c9048391b2b5a21705059428d47b4bf5c4d353cf602bd61762565f"}, + {file = "bitarray-2.8.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:23fe468ae57652c873d4b2d4db7cde0f8fb38bf315be20edaa5bf2e130f2ca4b"}, + {file = "bitarray-2.8.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6cb14bff7f528ee18f68ab89c0790cc2d6c73272ba6d0675edfa7692470c867d"}, + {file = "bitarray-2.8.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6b71825f4478dfae301e60d7067d82196fc5f7eee05fdad35880fba9a89f9684"}, + {file = "bitarray-2.8.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:94e8a8703914930f5a673b27b0a221d2819c4805699e7b545e675e86cae7bcab"}, + {file = "bitarray-2.8.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:4739948b067d29d2a9858943329f9d984b239f912f6141c2ead4806e4470d2b3"}, + {file = "bitarray-2.8.5-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:a60db40f0a86fa1e88ed8a94580f0ae638035238c5aaaf4f29f5867dd0765266"}, + {file = "bitarray-2.8.5-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:c867d02724d57ae7f799a304d15ef05c675860c7a67ee2903ad88b40cfe40105"}, + {file = "bitarray-2.8.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:84ee826d1e35ddedd65b5af9820e240a0d7a4c5b6e16078ae2965541bcd1f922"}, + {file = "bitarray-2.8.5-cp39-cp39-win32.whl", hash = "sha256:86b6a64aa854b4c108e3c76388fb0acc859c424ca321260cb2ea83bbfb40985c"}, + {file = "bitarray-2.8.5-cp39-cp39-win_amd64.whl", hash = "sha256:1f270dc9476c3c6ac7d865f625ff4e9ec09f544a44ce58c31dd4d989534de758"}, + {file = "bitarray-2.8.5-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:17b61aadf929550279414f638a28e99ef0048c88951dc9fe045734362fb40218"}, + {file = "bitarray-2.8.5-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:eae1eb20a574b02eca607379b9a609f25669e3c532fa1c2576355a5dbee0b274"}, + {file = "bitarray-2.8.5-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4c0be77c7a6b4e90e53c004b11f683fab839b0bf6eecd15f978c85053e5826dc"}, + {file = "bitarray-2.8.5-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dc239f6a9c2877245f60b1b1a9a381c3df14db704bdabac91a28b49b9093c4ba"}, + {file = "bitarray-2.8.5-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:cf6d0e91a45371fe4d8de172a2455a5925a4958bea2785f194dde0cd80711098"}, + {file = "bitarray-2.8.5-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:dd43180febbf28bc63b40a4f5d8627f26f468d2e5e0a9c637aa86fd94144a5d4"}, + {file = "bitarray-2.8.5-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:152ecc17e42cab84d1564815377a361008e04cd035f9959c2f7ba1cd2d70a952"}, + {file = "bitarray-2.8.5-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c73350d5d251ae7fce68d3a0677c6fd5d123760643bf46e4830994f1a2d03e61"}, + {file = "bitarray-2.8.5-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ea70b2b7a3e9ad76b05e664851a8c406c9e81231ada519bb8392a970fae981a"}, + {file = "bitarray-2.8.5-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:a6229bcc61f2d932dbd5e52d9ffb6a128ac77a2acfcdf91c6e9a32a700de857d"}, + {file = "bitarray-2.8.5-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:f6367c58f3f6716d593fd756a85d9daae5d96a9ce6daa2a3ba683e2b37d155f6"}, + {file = "bitarray-2.8.5-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d5a1230393ed10d6c525ba5dd86a5b11cc375b933470920fa63df2f859769ad6"}, + {file = "bitarray-2.8.5-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c414bda2f9e7537e549ef0d81512c70950ad319e303646eb5ace7f123777ab52"}, + {file = "bitarray-2.8.5-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:da894ec250fd035fa0443ffd910071bfa49609cd2c0a7e0d527d4a9d907d9381"}, + {file = "bitarray-2.8.5-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:980852f02631280e303b8d8e42f6d42838b9b73353df0da2e2bad110275b5cfc"}, + {file = "bitarray-2.8.5-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:b1a6b53a320766c4ad85aa22ad4590b1099d43fc0cf7d9c9f2c3d17a5d7027d9"}, + {file = "bitarray-2.8.5-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2e5401deb5c40c0aebc9da543be2133ba63901f1296d060c3d2fdea6aa2735b7"}, + {file = "bitarray-2.8.5-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:97b0ad82100af78abd58e21b8af5ddcad517c2b2ef1f35be3cefcbc5240d7094"}, + {file = "bitarray-2.8.5-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5e189393da3b8883970db6b4a00a2cc8f13405dc9dc215fc28567d5b17a2a3fa"}, + {file = "bitarray-2.8.5-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:0f3d171f01aa40aa393d4dd21d515fd5992bb92149852f9528f8db95ae384ee3"}, + {file = "bitarray-2.8.5.tar.gz", hash = "sha256:b7564fd218cc4479f7f0106d341e096f78907b47865aeeff702c807df1927c01"}, ] [[package]] name = "black" -version = "23.10.1" +version = "23.11.0" description = "The uncompromising code formatter." optional = false python-versions = ">=3.8" files = [ - {file = "black-23.10.1-cp310-cp310-macosx_10_16_arm64.whl", hash = "sha256:ec3f8e6234c4e46ff9e16d9ae96f4ef69fa328bb4ad08198c8cee45bb1f08c69"}, - {file = "black-23.10.1-cp310-cp310-macosx_10_16_x86_64.whl", hash = "sha256:1b917a2aa020ca600483a7b340c165970b26e9029067f019e3755b56e8dd5916"}, - {file = "black-23.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9c74de4c77b849e6359c6f01987e94873c707098322b91490d24296f66d067dc"}, - {file = "black-23.10.1-cp310-cp310-win_amd64.whl", hash = "sha256:7b4d10b0f016616a0d93d24a448100adf1699712fb7a4efd0e2c32bbb219b173"}, - {file = "black-23.10.1-cp311-cp311-macosx_10_16_arm64.whl", hash = "sha256:b15b75fc53a2fbcac8a87d3e20f69874d161beef13954747e053bca7a1ce53a0"}, - {file = "black-23.10.1-cp311-cp311-macosx_10_16_x86_64.whl", hash = "sha256:e293e4c2f4a992b980032bbd62df07c1bcff82d6964d6c9496f2cd726e246ace"}, - {file = "black-23.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7d56124b7a61d092cb52cce34182a5280e160e6aff3137172a68c2c2c4b76bcb"}, - {file = "black-23.10.1-cp311-cp311-win_amd64.whl", hash = "sha256:3f157a8945a7b2d424da3335f7ace89c14a3b0625e6593d21139c2d8214d55ce"}, - {file = "black-23.10.1-cp38-cp38-macosx_10_16_arm64.whl", hash = "sha256:cfcce6f0a384d0da692119f2d72d79ed07c7159879d0bb1bb32d2e443382bf3a"}, - {file = "black-23.10.1-cp38-cp38-macosx_10_16_x86_64.whl", hash = "sha256:33d40f5b06be80c1bbce17b173cda17994fbad096ce60eb22054da021bf933d1"}, - {file = "black-23.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:840015166dbdfbc47992871325799fd2dc0dcf9395e401ada6d88fe11498abad"}, - {file = "black-23.10.1-cp38-cp38-win_amd64.whl", hash = "sha256:037e9b4664cafda5f025a1728c50a9e9aedb99a759c89f760bd83730e76ba884"}, - {file = "black-23.10.1-cp39-cp39-macosx_10_16_arm64.whl", hash = "sha256:7cb5936e686e782fddb1c73f8aa6f459e1ad38a6a7b0e54b403f1f05a1507ee9"}, - {file = "black-23.10.1-cp39-cp39-macosx_10_16_x86_64.whl", hash = "sha256:7670242e90dc129c539e9ca17665e39a146a761e681805c54fbd86015c7c84f7"}, - {file = "black-23.10.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5ed45ac9a613fb52dad3b61c8dea2ec9510bf3108d4db88422bacc7d1ba1243d"}, - {file = "black-23.10.1-cp39-cp39-win_amd64.whl", hash = "sha256:6d23d7822140e3fef190734216cefb262521789367fbdc0b3f22af6744058982"}, - {file = "black-23.10.1-py3-none-any.whl", hash = "sha256:d431e6739f727bb2e0495df64a6c7a5310758e87505f5f8cde9ff6c0f2d7e4fe"}, - {file = "black-23.10.1.tar.gz", hash = "sha256:1f8ce316753428ff68749c65a5f7844631aa18c8679dfd3ca9dc1a289979c258"}, + {file = "black-23.11.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:dbea0bb8575c6b6303cc65017b46351dc5953eea5c0a59d7b7e3a2d2f433a911"}, + {file = "black-23.11.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:412f56bab20ac85927f3a959230331de5614aecda1ede14b373083f62ec24e6f"}, + {file = "black-23.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d136ef5b418c81660ad847efe0e55c58c8208b77a57a28a503a5f345ccf01394"}, + {file = "black-23.11.0-cp310-cp310-win_amd64.whl", hash = "sha256:6c1cac07e64433f646a9a838cdc00c9768b3c362805afc3fce341af0e6a9ae9f"}, + {file = "black-23.11.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cf57719e581cfd48c4efe28543fea3d139c6b6f1238b3f0102a9c73992cbb479"}, + {file = "black-23.11.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:698c1e0d5c43354ec5d6f4d914d0d553a9ada56c85415700b81dc90125aac244"}, + {file = "black-23.11.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:760415ccc20f9e8747084169110ef75d545f3b0932ee21368f63ac0fee86b221"}, + {file = "black-23.11.0-cp311-cp311-win_amd64.whl", hash = "sha256:58e5f4d08a205b11800332920e285bd25e1a75c54953e05502052738fe16b3b5"}, + {file = "black-23.11.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:45aa1d4675964946e53ab81aeec7a37613c1cb71647b5394779e6efb79d6d187"}, + {file = "black-23.11.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4c44b7211a3a0570cc097e81135faa5f261264f4dfaa22bd5ee2875a4e773bd6"}, + {file = "black-23.11.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2a9acad1451632021ee0d146c8765782a0c3846e0e0ea46659d7c4f89d9b212b"}, + {file = "black-23.11.0-cp38-cp38-win_amd64.whl", hash = "sha256:fc7f6a44d52747e65a02558e1d807c82df1d66ffa80a601862040a43ec2e3142"}, + {file = "black-23.11.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7f622b6822f02bfaf2a5cd31fdb7cd86fcf33dab6ced5185c35f5db98260b055"}, + {file = "black-23.11.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:250d7e60f323fcfc8ea6c800d5eba12f7967400eb6c2d21ae85ad31c204fb1f4"}, + {file = "black-23.11.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5133f5507007ba08d8b7b263c7aa0f931af5ba88a29beacc4b2dc23fcefe9c06"}, + {file = "black-23.11.0-cp39-cp39-win_amd64.whl", hash = "sha256:421f3e44aa67138ab1b9bfbc22ee3780b22fa5b291e4db8ab7eee95200726b07"}, + {file = "black-23.11.0-py3-none-any.whl", hash = "sha256:54caaa703227c6e0c87b76326d0862184729a69b73d3b7305b6288e1d830067e"}, + {file = "black-23.11.0.tar.gz", hash = "sha256:4c68855825ff432d197229846f971bc4d6666ce90492e5b02013bcaca4d9ab05"}, ] [package.dependencies] @@ -388,15 +387,26 @@ d = ["aiohttp (>=3.7.4)"] jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] uvloop = ["uvloop (>=0.15.2)"] +[[package]] +name = "cerberus" +version = "1.3.5" +description = "Lightweight, extensible schema and data validation tool for Pythondictionaries." +optional = false +python-versions = "*" +files = [ + {file = "Cerberus-1.3.5-py3-none-any.whl", hash = "sha256:7649a5815024d18eb7c6aa5e7a95355c649a53aacfc9b050e9d0bf6bfa2af372"}, + {file = "Cerberus-1.3.5.tar.gz", hash = "sha256:81011e10266ef71b6ec6d50e60171258a5b134d69f8fb387d16e4936d0d47642"}, +] + [[package]] name = "certifi" -version = "2023.7.22" +version = "2023.11.17" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" files = [ - {file = "certifi-2023.7.22-py3-none-any.whl", hash = "sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9"}, - {file = "certifi-2023.7.22.tar.gz", hash = "sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082"}, + {file = "certifi-2023.11.17-py3-none-any.whl", hash = "sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474"}, + {file = "certifi-2023.11.17.tar.gz", hash = "sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1"}, ] [[package]] @@ -476,101 +486,101 @@ files = [ [[package]] name = "charset-normalizer" -version = "3.3.1" +version = "3.3.2" 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.3.1.tar.gz", hash = "sha256:d9137a876020661972ca6eec0766d81aef8a5627df628b664b234b73396e727e"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8aee051c89e13565c6bd366813c386939f8e928af93c29fda4af86d25b73d8f8"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:352a88c3df0d1fa886562384b86f9a9e27563d4704ee0e9d56ec6fcd270ea690"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:223b4d54561c01048f657fa6ce41461d5ad8ff128b9678cfe8b2ecd951e3f8a2"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4f861d94c2a450b974b86093c6c027888627b8082f1299dfd5a4bae8e2292821"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1171ef1fc5ab4693c5d151ae0fdad7f7349920eabbaca6271f95969fa0756c2d"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28f512b9a33235545fbbdac6a330a510b63be278a50071a336afc1b78781b147"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0e842112fe3f1a4ffcf64b06dc4c61a88441c2f02f373367f7b4c1aa9be2ad5"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3f9bc2ce123637a60ebe819f9fccc614da1bcc05798bbbaf2dd4ec91f3e08846"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:f194cce575e59ffe442c10a360182a986535fd90b57f7debfaa5c845c409ecc3"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:9a74041ba0bfa9bc9b9bb2cd3238a6ab3b7618e759b41bd15b5f6ad958d17605"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:b578cbe580e3b41ad17b1c428f382c814b32a6ce90f2d8e39e2e635d49e498d1"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:6db3cfb9b4fcecb4390db154e75b49578c87a3b9979b40cdf90d7e4b945656e1"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:debb633f3f7856f95ad957d9b9c781f8e2c6303ef21724ec94bea2ce2fcbd056"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-win32.whl", hash = "sha256:87071618d3d8ec8b186d53cb6e66955ef2a0e4fa63ccd3709c0c90ac5a43520f"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-win_amd64.whl", hash = "sha256:e372d7dfd154009142631de2d316adad3cc1c36c32a38b16a4751ba78da2a397"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ae4070f741f8d809075ef697877fd350ecf0b7c5837ed68738607ee0a2c572cf"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:58e875eb7016fd014c0eea46c6fa92b87b62c0cb31b9feae25cbbe62c919f54d"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dbd95e300367aa0827496fe75a1766d198d34385a58f97683fe6e07f89ca3e3c"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:de0b4caa1c8a21394e8ce971997614a17648f94e1cd0640fbd6b4d14cab13a72"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:985c7965f62f6f32bf432e2681173db41336a9c2611693247069288bcb0c7f8b"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a15c1fe6d26e83fd2e5972425a772cca158eae58b05d4a25a4e474c221053e2d"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ae55d592b02c4349525b6ed8f74c692509e5adffa842e582c0f861751701a673"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:be4d9c2770044a59715eb57c1144dedea7c5d5ae80c68fb9959515037cde2008"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:851cf693fb3aaef71031237cd68699dded198657ec1e76a76eb8be58c03a5d1f"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:31bbaba7218904d2eabecf4feec0d07469284e952a27400f23b6628439439fa7"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:871d045d6ccc181fd863a3cd66ee8e395523ebfbc57f85f91f035f50cee8e3d4"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:501adc5eb6cd5f40a6f77fbd90e5ab915c8fd6e8c614af2db5561e16c600d6f3"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f5fb672c396d826ca16a022ac04c9dce74e00a1c344f6ad1a0fdc1ba1f332213"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-win32.whl", hash = "sha256:bb06098d019766ca16fc915ecaa455c1f1cd594204e7f840cd6258237b5079a8"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-win_amd64.whl", hash = "sha256:8af5a8917b8af42295e86b64903156b4f110a30dca5f3b5aedea123fbd638bff"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:7ae8e5142dcc7a49168f4055255dbcced01dc1714a90a21f87448dc8d90617d1"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:5b70bab78accbc672f50e878a5b73ca692f45f5b5e25c8066d748c09405e6a55"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5ceca5876032362ae73b83347be8b5dbd2d1faf3358deb38c9c88776779b2e2f"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:34d95638ff3613849f473afc33f65c401a89f3b9528d0d213c7037c398a51296"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9edbe6a5bf8b56a4a84533ba2b2f489d0046e755c29616ef8830f9e7d9cf5728"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f6a02a3c7950cafaadcd46a226ad9e12fc9744652cc69f9e5534f98b47f3bbcf"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:10b8dd31e10f32410751b3430996f9807fc4d1587ca69772e2aa940a82ab571a"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:edc0202099ea1d82844316604e17d2b175044f9bcb6b398aab781eba957224bd"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b891a2f68e09c5ef989007fac11476ed33c5c9994449a4e2c3386529d703dc8b"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:71ef3b9be10070360f289aea4838c784f8b851be3ba58cf796262b57775c2f14"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:55602981b2dbf8184c098bc10287e8c245e351cd4fdcad050bd7199d5a8bf514"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:46fb9970aa5eeca547d7aa0de5d4b124a288b42eaefac677bde805013c95725c"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:520b7a142d2524f999447b3a0cf95115df81c4f33003c51a6ab637cbda9d0bf4"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-win32.whl", hash = "sha256:8ec8ef42c6cd5856a7613dcd1eaf21e5573b2185263d87d27c8edcae33b62a61"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-win_amd64.whl", hash = "sha256:baec8148d6b8bd5cee1ae138ba658c71f5b03e0d69d5907703e3e1df96db5e41"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:63a6f59e2d01310f754c270e4a257426fe5a591dc487f1983b3bbe793cf6bac6"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d6bfc32a68bc0933819cfdfe45f9abc3cae3877e1d90aac7259d57e6e0f85b1"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4f3100d86dcd03c03f7e9c3fdb23d92e32abbca07e7c13ebd7ddfbcb06f5991f"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:39b70a6f88eebe239fa775190796d55a33cfb6d36b9ffdd37843f7c4c1b5dc67"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4e12f8ee80aa35e746230a2af83e81bd6b52daa92a8afaef4fea4a2ce9b9f4fa"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7b6cefa579e1237ce198619b76eaa148b71894fb0d6bcf9024460f9bf30fd228"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:61f1e3fb621f5420523abb71f5771a204b33c21d31e7d9d86881b2cffe92c47c"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:4f6e2a839f83a6a76854d12dbebde50e4b1afa63e27761549d006fa53e9aa80e"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:1ec937546cad86d0dce5396748bf392bb7b62a9eeb8c66efac60e947697f0e58"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:82ca51ff0fc5b641a2d4e1cc8c5ff108699b7a56d7f3ad6f6da9dbb6f0145b48"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:633968254f8d421e70f91c6ebe71ed0ab140220469cf87a9857e21c16687c034"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-win32.whl", hash = "sha256:c0c72d34e7de5604df0fde3644cc079feee5e55464967d10b24b1de268deceb9"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-win_amd64.whl", hash = "sha256:63accd11149c0f9a99e3bc095bbdb5a464862d77a7e309ad5938fbc8721235ae"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5a3580a4fdc4ac05f9e53c57f965e3594b2f99796231380adb2baaab96e22761"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2465aa50c9299d615d757c1c888bc6fef384b7c4aec81c05a0172b4400f98557"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:cb7cd68814308aade9d0c93c5bd2ade9f9441666f8ba5aa9c2d4b389cb5e2a45"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:91e43805ccafa0a91831f9cd5443aa34528c0c3f2cc48c4cb3d9a7721053874b"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:854cc74367180beb327ab9d00f964f6d91da06450b0855cbbb09187bcdb02de5"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c15070ebf11b8b7fd1bfff7217e9324963c82dbdf6182ff7050519e350e7ad9f"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2c4c99f98fc3a1835af8179dcc9013f93594d0670e2fa80c83aa36346ee763d2"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3fb765362688821404ad6cf86772fc54993ec11577cd5a92ac44b4c2ba52155b"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:dced27917823df984fe0c80a5c4ad75cf58df0fbfae890bc08004cd3888922a2"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a66bcdf19c1a523e41b8e9d53d0cedbfbac2e93c649a2e9502cb26c014d0980c"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:ecd26be9f112c4f96718290c10f4caea6cc798459a3a76636b817a0ed7874e42"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:3f70fd716855cd3b855316b226a1ac8bdb3caf4f7ea96edcccc6f484217c9597"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:17a866d61259c7de1bdadef418a37755050ddb4b922df8b356503234fff7932c"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-win32.whl", hash = "sha256:548eefad783ed787b38cb6f9a574bd8664468cc76d1538215d510a3cd41406cb"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-win_amd64.whl", hash = "sha256:45f053a0ece92c734d874861ffe6e3cc92150e32136dd59ab1fb070575189c97"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:bc791ec3fd0c4309a753f95bb6c749ef0d8ea3aea91f07ee1cf06b7b02118f2f"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:0c8c61fb505c7dad1d251c284e712d4e0372cef3b067f7ddf82a7fa82e1e9a93"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:2c092be3885a1b7899cd85ce24acedc1034199d6fca1483fa2c3a35c86e43041"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c2000c54c395d9e5e44c99dc7c20a64dc371f777faf8bae4919ad3e99ce5253e"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4cb50a0335382aac15c31b61d8531bc9bb657cfd848b1d7158009472189f3d62"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c30187840d36d0ba2893bc3271a36a517a717f9fd383a98e2697ee890a37c273"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fe81b35c33772e56f4b6cf62cf4aedc1762ef7162a31e6ac7fe5e40d0149eb67"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d0bf89afcbcf4d1bb2652f6580e5e55a840fdf87384f6063c4a4f0c95e378656"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:06cf46bdff72f58645434d467bf5228080801298fbba19fe268a01b4534467f5"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:3c66df3f41abee950d6638adc7eac4730a306b022570f71dd0bd6ba53503ab57"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:cd805513198304026bd379d1d516afbf6c3c13f4382134a2c526b8b854da1c2e"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:9505dc359edb6a330efcd2be825fdb73ee3e628d9010597aa1aee5aa63442e97"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:31445f38053476a0c4e6d12b047b08ced81e2c7c712e5a1ad97bc913256f91b2"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-win32.whl", hash = "sha256:bd28b31730f0e982ace8663d108e01199098432a30a4c410d06fe08fdb9e93f4"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-win_amd64.whl", hash = "sha256:555fe186da0068d3354cdf4bbcbc609b0ecae4d04c921cc13e209eece7720727"}, - {file = "charset_normalizer-3.3.1-py3-none-any.whl", hash = "sha256:800561453acdecedaac137bf09cd719c7a440b6800ec182f077bb8e7025fb708"}, + {file = "charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-win32.whl", hash = "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-win32.whl", hash = "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-win32.whl", hash = "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-win32.whl", hash = "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-win_amd64.whl", hash = "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-win32.whl", hash = "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-win_amd64.whl", hash = "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-win32.whl", hash = "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-win_amd64.whl", hash = "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d"}, + {file = "charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc"}, ] [[package]] @@ -850,6 +860,16 @@ files = [ {file = "distlib-0.3.7.tar.gz", hash = "sha256:9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8"}, ] +[[package]] +name = "docopt" +version = "0.6.2" +description = "Pythonic argument parser, that will make you smile" +optional = false +python-versions = "*" +files = [ + {file = "docopt-0.6.2.tar.gz", hash = "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"}, +] + [[package]] name = "ecdsa" version = "0.18.0" @@ -870,18 +890,18 @@ gmpy2 = ["gmpy2"] [[package]] name = "eip712" -version = "0.2.1" +version = "0.2.2" description = "eip712: Message classes for typed structured data hashing and signing in Ethereum" optional = false python-versions = ">=3.8,<4" files = [ - {file = "eip712-0.2.1-py3-none-any.whl", hash = "sha256:c984c577358d1c7e5d4e52802bf4bd0432e965ba7326448998f95fcc1b6d5269"}, - {file = "eip712-0.2.1.tar.gz", hash = "sha256:3997dace7e581b66a84d106a10baac47a3f6c94095d79c7d0971ca0ede1926ad"}, + {file = "eip712-0.2.2-py3-none-any.whl", hash = "sha256:576476dd1d276e444a633ac22ab25209e18f8f41e5016e576a132d190043a4ba"}, + {file = "eip712-0.2.2.tar.gz", hash = "sha256:6d2e07a83c66fb1cbe2448bb4dfea1c91913c4822b7d9b89231e5b61473ae426"}, ] [package.dependencies] dataclassy = ">=0.8.2,<1" -eth-abi = ">=4.0.0,<5" +eth-abi = ">=4.1.0,<5" eth-account = ">=0.8.0,<0.9" eth-hash = {version = "*", extras = ["pycryptodome"]} eth-typing = ">=3.3.0,<4" @@ -889,9 +909,9 @@ eth-utils = ">=2.1.0,<3" hexbytes = ">=0.3.0,<1" [package.extras] -dev = ["IPython", "Sphinx (>=5.3.0,<6)", "black (>=23.1.0,<24)", "commitizen (>=2.42,<3)", "flake8 (>=6.0.0,<7)", "hypothesis (>=6.70.0,<7)", "ipdb", "isort (>=5.12.0,<6)", "mdformat (>=0.7.16,<0.8)", "mdformat-frontmatter (>=0.4.1,<0.5)", "mdformat-gfm (>=0.3.5,<0.4)", "mypy (>=1.1.1,<2)", "myst-parser (>=0.18.1,<0.19)", "pre-commit", "pytest (>=6.0,<8)", "pytest-cov", "pytest-watch", "pytest-xdist", "setuptools", "sphinx-rtd-theme (>=1.2.0,<2)", "sphinxcontrib-napoleon (>=0.7)", "twine", "types-setuptools", "wheel"] +dev = ["IPython", "Sphinx (>=5.3.0,<6)", "black (>=23.7.0,<24)", "commitizen (>=2.42,<3)", "flake8 (>=6.0.0,<7)", "hypothesis (>=6.70.0,<7)", "ipdb", "isort (>=5.12.0,<6)", "mdformat (>=0.7.16,<0.8)", "mdformat-frontmatter (>=0.4.1,<0.5)", "mdformat-gfm (>=0.3.5,<0.4)", "mypy (>=1.5.1,<2)", "myst-parser (>=0.18.1,<0.19)", "pre-commit", "pytest (>=6.0,<8)", "pytest-cov", "pytest-watch", "pytest-xdist", "setuptools", "sphinx-rtd-theme (>=1.2.0,<2)", "sphinxcontrib-napoleon (>=0.7)", "twine", "types-setuptools", "wheel"] doc = ["Sphinx (>=5.3.0,<6)", "myst-parser (>=0.18.1,<0.19)", "sphinx-rtd-theme (>=1.2.0,<2)", "sphinxcontrib-napoleon (>=0.7)"] -lint = ["black (>=23.1.0,<24)", "flake8 (>=6.0.0,<7)", "isort (>=5.12.0,<6)", "mdformat (>=0.7.16,<0.8)", "mdformat-frontmatter (>=0.4.1,<0.5)", "mdformat-gfm (>=0.3.5,<0.4)", "mypy (>=1.1.1,<2)", "types-setuptools"] +lint = ["black (>=23.7.0,<24)", "flake8 (>=6.0.0,<7)", "isort (>=5.12.0,<6)", "mdformat (>=0.7.16,<0.8)", "mdformat-frontmatter (>=0.4.1,<0.5)", "mdformat-gfm (>=0.3.5,<0.4)", "mypy (>=1.5.1,<2)", "types-setuptools"] release = ["setuptools", "twine", "wheel"] test = ["hypothesis (>=6.70.0,<7)", "pytest (>=6.0,<8)", "pytest-cov", "pytest-xdist"] @@ -1046,13 +1066,13 @@ test = ["eth-hash[pycryptodome]", "pytest (>=6.2.5,<7)", "pytest-xdist", "tox (= [[package]] name = "eth-typing" -version = "3.5.1" +version = "3.5.2" description = "eth-typing: Common type annotations for ethereum python packages" optional = false python-versions = ">=3.7.2, <4" files = [ - {file = "eth-typing-3.5.1.tar.gz", hash = "sha256:e21a8b0688581a6765f72fa184d86d06c3949e354d4af5293798abc0b4255989"}, - {file = "eth_typing-3.5.1-py3-none-any.whl", hash = "sha256:9d80c7d112a8774bddeb7278b1bc2f17ca4c062825476ce6bc9cba4d47956010"}, + {file = "eth-typing-3.5.2.tar.gz", hash = "sha256:22bf051ddfaa35ff827c30090de167e5c5b8cc6d343f7f35c9b1c7553f6ab64d"}, + {file = "eth_typing-3.5.2-py3-none-any.whl", hash = "sha256:1842e628fb1ffa929b94f89a9d33caafbeb9978dc96abb6036a12bc91f1c624b"}, ] [package.dependencies] @@ -1066,13 +1086,13 @@ test = ["pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)"] [[package]] name = "eth-utils" -version = "2.3.0" +version = "2.3.1" description = "eth-utils: Common utility functions for python code that interacts with Ethereum" optional = false python-versions = ">=3.7,<4" files = [ - {file = "eth-utils-2.3.0.tar.gz", hash = "sha256:085b42f5745f46d22a186fbd873d79f66a79171c02eccd78792d1dddd672f324"}, - {file = "eth_utils-2.3.0-py3-none-any.whl", hash = "sha256:d539ac0bb1e759abb39f71efbcd77301eede86b4bf449278e4ad2fbf10aac67a"}, + {file = "eth-utils-2.3.1.tar.gz", hash = "sha256:56a969b0536d4969dcb27e580521de35abf2dbed8b1bf072b5c80770c4324e27"}, + {file = "eth_utils-2.3.1-py3-none-any.whl", hash = "sha256:614eedc5ffcaf4e6708ca39e23b12bd69526a312068c1170c773bd1307d13972"}, ] [package.dependencies] @@ -1089,13 +1109,13 @@ test = ["hypothesis (>=4.43.0)", "mypy (==0.971)", "pytest (>=7.0.0)", "pytest-x [[package]] name = "exceptiongroup" -version = "1.1.3" +version = "1.2.0" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" files = [ - {file = "exceptiongroup-1.1.3-py3-none-any.whl", hash = "sha256:343280667a4585d195ca1cf9cef84a4e178c4b6cf2274caef9859782b567d5e3"}, - {file = "exceptiongroup-1.1.3.tar.gz", hash = "sha256:097acd85d473d75af5bb98e41b61ff7fe35efe6675e4f9370ec6ec5126d160e9"}, + {file = "exceptiongroup-1.2.0-py3-none-any.whl", hash = "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14"}, + {file = "exceptiongroup-1.2.0.tar.gz", hash = "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68"}, ] [package.extras] @@ -1103,19 +1123,19 @@ test = ["pytest (>=6)"] [[package]] name = "filelock" -version = "3.12.4" +version = "3.13.1" description = "A platform independent file lock." optional = false python-versions = ">=3.8" files = [ - {file = "filelock-3.12.4-py3-none-any.whl", hash = "sha256:08c21d87ded6e2b9da6728c3dff51baf1dcecf973b768ef35bcbc3447edb9ad4"}, - {file = "filelock-3.12.4.tar.gz", hash = "sha256:2e6f249f1f3654291606e046b09f1fd5eac39b360664c27f5aad072012f8bcbd"}, + {file = "filelock-3.13.1-py3-none-any.whl", hash = "sha256:57dbda9b35157b05fb3e58ee91448612eb674172fab98ee235ccb0b5bee19a1c"}, + {file = "filelock-3.13.1.tar.gz", hash = "sha256:521f5f56c50f8426f5e03ad3b281b490a87ef15bc6c526f168290f0c7148d44e"}, ] [package.extras] -docs = ["furo (>=2023.7.26)", "sphinx (>=7.1.2)", "sphinx-autodoc-typehints (>=1.24)"] -testing = ["covdefaults (>=2.3)", "coverage (>=7.3)", "diff-cover (>=7.7)", "pytest (>=7.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.11.1)", "pytest-timeout (>=2.1)"] -typing = ["typing-extensions (>=4.7.1)"] +docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.24)"] +testing = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "diff-cover (>=8)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-timeout (>=2.2)"] +typing = ["typing-extensions (>=4.8)"] [[package]] name = "flake8" @@ -1227,135 +1247,135 @@ files = [ [[package]] name = "grpcio" -version = "1.59.0" +version = "1.60.0" description = "HTTP/2-based RPC framework" optional = false python-versions = ">=3.7" files = [ - {file = "grpcio-1.59.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:225e5fa61c35eeaebb4e7491cd2d768cd8eb6ed00f2664fa83a58f29418b39fd"}, - {file = "grpcio-1.59.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:b95ec8ecc4f703f5caaa8d96e93e40c7f589bad299a2617bdb8becbcce525539"}, - {file = "grpcio-1.59.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:1a839ba86764cc48226f50b924216000c79779c563a301586a107bda9cbe9dcf"}, - {file = "grpcio-1.59.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f6cfe44a5d7c7d5f1017a7da1c8160304091ca5dc64a0f85bca0d63008c3137a"}, - {file = "grpcio-1.59.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d0fcf53df684fcc0154b1e61f6b4a8c4cf5f49d98a63511e3f30966feff39cd0"}, - {file = "grpcio-1.59.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:fa66cac32861500f280bb60fe7d5b3e22d68c51e18e65367e38f8669b78cea3b"}, - {file = "grpcio-1.59.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8cd2d38c2d52f607d75a74143113174c36d8a416d9472415eab834f837580cf7"}, - {file = "grpcio-1.59.0-cp310-cp310-win32.whl", hash = "sha256:228b91ce454876d7eed74041aff24a8f04c0306b7250a2da99d35dd25e2a1211"}, - {file = "grpcio-1.59.0-cp310-cp310-win_amd64.whl", hash = "sha256:ca87ee6183421b7cea3544190061f6c1c3dfc959e0b57a5286b108511fd34ff4"}, - {file = "grpcio-1.59.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:c173a87d622ea074ce79be33b952f0b424fa92182063c3bda8625c11d3585d09"}, - {file = "grpcio-1.59.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:ec78aebb9b6771d6a1de7b6ca2f779a2f6113b9108d486e904bde323d51f5589"}, - {file = "grpcio-1.59.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:0b84445fa94d59e6806c10266b977f92fa997db3585f125d6b751af02ff8b9fe"}, - {file = "grpcio-1.59.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c251d22de8f9f5cca9ee47e4bade7c5c853e6e40743f47f5cc02288ee7a87252"}, - {file = "grpcio-1.59.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:956f0b7cb465a65de1bd90d5a7475b4dc55089b25042fe0f6c870707e9aabb1d"}, - {file = "grpcio-1.59.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:38da5310ef84e16d638ad89550b5b9424df508fd5c7b968b90eb9629ca9be4b9"}, - {file = "grpcio-1.59.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:63982150a7d598281fa1d7ffead6096e543ff8be189d3235dd2b5604f2c553e5"}, - {file = "grpcio-1.59.0-cp311-cp311-win32.whl", hash = "sha256:50eff97397e29eeee5df106ea1afce3ee134d567aa2c8e04fabab05c79d791a7"}, - {file = "grpcio-1.59.0-cp311-cp311-win_amd64.whl", hash = "sha256:15f03bd714f987d48ae57fe092cf81960ae36da4e520e729392a59a75cda4f29"}, - {file = "grpcio-1.59.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:f1feb034321ae2f718172d86b8276c03599846dc7bb1792ae370af02718f91c5"}, - {file = "grpcio-1.59.0-cp312-cp312-macosx_10_10_universal2.whl", hash = "sha256:d09bd2a4e9f5a44d36bb8684f284835c14d30c22d8ec92ce796655af12163588"}, - {file = "grpcio-1.59.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:2f120d27051e4c59db2f267b71b833796770d3ea36ca712befa8c5fff5da6ebd"}, - {file = "grpcio-1.59.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ba0ca727a173ee093f49ead932c051af463258b4b493b956a2c099696f38aa66"}, - {file = "grpcio-1.59.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5711c51e204dc52065f4a3327dca46e69636a0b76d3e98c2c28c4ccef9b04c52"}, - {file = "grpcio-1.59.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:d74f7d2d7c242a6af9d4d069552ec3669965b74fed6b92946e0e13b4168374f9"}, - {file = "grpcio-1.59.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3859917de234a0a2a52132489c4425a73669de9c458b01c9a83687f1f31b5b10"}, - {file = "grpcio-1.59.0-cp312-cp312-win32.whl", hash = "sha256:de2599985b7c1b4ce7526e15c969d66b93687571aa008ca749d6235d056b7205"}, - {file = "grpcio-1.59.0-cp312-cp312-win_amd64.whl", hash = "sha256:598f3530231cf10ae03f4ab92d48c3be1fee0c52213a1d5958df1a90957e6a88"}, - {file = "grpcio-1.59.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:b34c7a4c31841a2ea27246a05eed8a80c319bfc0d3e644412ec9ce437105ff6c"}, - {file = "grpcio-1.59.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:c4dfdb49f4997dc664f30116af2d34751b91aa031f8c8ee251ce4dcfc11277b0"}, - {file = "grpcio-1.59.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:61bc72a00ecc2b79d9695220b4d02e8ba53b702b42411397e831c9b0589f08a3"}, - {file = "grpcio-1.59.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f367e4b524cb319e50acbdea57bb63c3b717c5d561974ace0b065a648bb3bad3"}, - {file = "grpcio-1.59.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:849c47ef42424c86af069a9c5e691a765e304079755d5c29eff511263fad9c2a"}, - {file = "grpcio-1.59.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c0488c2b0528e6072010182075615620071371701733c63ab5be49140ed8f7f0"}, - {file = "grpcio-1.59.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:611d9aa0017fa386809bddcb76653a5ab18c264faf4d9ff35cb904d44745f575"}, - {file = "grpcio-1.59.0-cp37-cp37m-win_amd64.whl", hash = "sha256:e5378785dce2b91eb2e5b857ec7602305a3b5cf78311767146464bfa365fc897"}, - {file = "grpcio-1.59.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:fe976910de34d21057bcb53b2c5e667843588b48bf11339da2a75f5c4c5b4055"}, - {file = "grpcio-1.59.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:c041a91712bf23b2a910f61e16565a05869e505dc5a5c025d429ca6de5de842c"}, - {file = "grpcio-1.59.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:0ae444221b2c16d8211b55326f8ba173ba8f8c76349bfc1768198ba592b58f74"}, - {file = "grpcio-1.59.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ceb1e68135788c3fce2211de86a7597591f0b9a0d2bb80e8401fd1d915991bac"}, - {file = "grpcio-1.59.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c4b1cc3a9dc1924d2eb26eec8792fedd4b3fcd10111e26c1d551f2e4eda79ce"}, - {file = "grpcio-1.59.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:871371ce0c0055d3db2a86fdebd1e1d647cf21a8912acc30052660297a5a6901"}, - {file = "grpcio-1.59.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:93e9cb546e610829e462147ce724a9cb108e61647a3454500438a6deef610be1"}, - {file = "grpcio-1.59.0-cp38-cp38-win32.whl", hash = "sha256:f21917aa50b40842b51aff2de6ebf9e2f6af3fe0971c31960ad6a3a2b24988f4"}, - {file = "grpcio-1.59.0-cp38-cp38-win_amd64.whl", hash = "sha256:14890da86a0c0e9dc1ea8e90101d7a3e0e7b1e71f4487fab36e2bfd2ecadd13c"}, - {file = "grpcio-1.59.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:34341d9e81a4b669a5f5dca3b2a760b6798e95cdda2b173e65d29d0b16692857"}, - {file = "grpcio-1.59.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:986de4aa75646e963466b386a8c5055c8b23a26a36a6c99052385d6fe8aaf180"}, - {file = "grpcio-1.59.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:aca8a24fef80bef73f83eb8153f5f5a0134d9539b4c436a716256b311dda90a6"}, - {file = "grpcio-1.59.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:936b2e04663660c600d5173bc2cc84e15adbad9c8f71946eb833b0afc205b996"}, - {file = "grpcio-1.59.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc8bf2e7bc725e76c0c11e474634a08c8f24bcf7426c0c6d60c8f9c6e70e4d4a"}, - {file = "grpcio-1.59.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:81d86a096ccd24a57fa5772a544c9e566218bc4de49e8c909882dae9d73392df"}, - {file = "grpcio-1.59.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:2ea95cd6abbe20138b8df965b4a8674ec312aaef3147c0f46a0bac661f09e8d0"}, - {file = "grpcio-1.59.0-cp39-cp39-win32.whl", hash = "sha256:3b8ff795d35a93d1df6531f31c1502673d1cebeeba93d0f9bd74617381507e3f"}, - {file = "grpcio-1.59.0-cp39-cp39-win_amd64.whl", hash = "sha256:38823bd088c69f59966f594d087d3a929d1ef310506bee9e3648317660d65b81"}, - {file = "grpcio-1.59.0.tar.gz", hash = "sha256:acf70a63cf09dd494000007b798aff88a436e1c03b394995ce450be437b8e54f"}, + {file = "grpcio-1.60.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:d020cfa595d1f8f5c6b343530cd3ca16ae5aefdd1e832b777f9f0eb105f5b139"}, + {file = "grpcio-1.60.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:b98f43fcdb16172dec5f4b49f2fece4b16a99fd284d81c6bbac1b3b69fcbe0ff"}, + {file = "grpcio-1.60.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:20e7a4f7ded59097c84059d28230907cd97130fa74f4a8bfd1d8e5ba18c81491"}, + {file = "grpcio-1.60.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:452ca5b4afed30e7274445dd9b441a35ece656ec1600b77fff8c216fdf07df43"}, + {file = "grpcio-1.60.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:43e636dc2ce9ece583b3e2ca41df5c983f4302eabc6d5f9cd04f0562ee8ec1ae"}, + {file = "grpcio-1.60.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:6e306b97966369b889985a562ede9d99180def39ad42c8014628dd3cc343f508"}, + {file = "grpcio-1.60.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:f897c3b127532e6befdcf961c415c97f320d45614daf84deba0a54e64ea2457b"}, + {file = "grpcio-1.60.0-cp310-cp310-win32.whl", hash = "sha256:b87efe4a380887425bb15f220079aa8336276398dc33fce38c64d278164f963d"}, + {file = "grpcio-1.60.0-cp310-cp310-win_amd64.whl", hash = "sha256:a9c7b71211f066908e518a2ef7a5e211670761651039f0d6a80d8d40054047df"}, + {file = "grpcio-1.60.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:fb464479934778d7cc5baf463d959d361954d6533ad34c3a4f1d267e86ee25fd"}, + {file = "grpcio-1.60.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:4b44d7e39964e808b071714666a812049765b26b3ea48c4434a3b317bac82f14"}, + {file = "grpcio-1.60.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:90bdd76b3f04bdb21de5398b8a7c629676c81dfac290f5f19883857e9371d28c"}, + {file = "grpcio-1.60.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:91229d7203f1ef0ab420c9b53fe2ca5c1fbeb34f69b3bc1b5089466237a4a134"}, + {file = "grpcio-1.60.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b36a2c6d4920ba88fa98075fdd58ff94ebeb8acc1215ae07d01a418af4c0253"}, + {file = "grpcio-1.60.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:297eef542156d6b15174a1231c2493ea9ea54af8d016b8ca7d5d9cc65cfcc444"}, + {file = "grpcio-1.60.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:87c9224acba0ad8bacddf427a1c2772e17ce50b3042a789547af27099c5f751d"}, + {file = "grpcio-1.60.0-cp311-cp311-win32.whl", hash = "sha256:95ae3e8e2c1b9bf671817f86f155c5da7d49a2289c5cf27a319458c3e025c320"}, + {file = "grpcio-1.60.0-cp311-cp311-win_amd64.whl", hash = "sha256:467a7d31554892eed2aa6c2d47ded1079fc40ea0b9601d9f79204afa8902274b"}, + {file = "grpcio-1.60.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:a7152fa6e597c20cb97923407cf0934e14224af42c2b8d915f48bc3ad2d9ac18"}, + {file = "grpcio-1.60.0-cp312-cp312-macosx_10_10_universal2.whl", hash = "sha256:7db16dd4ea1b05ada504f08d0dca1cd9b926bed3770f50e715d087c6f00ad748"}, + {file = "grpcio-1.60.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:b0571a5aef36ba9177e262dc88a9240c866d903a62799e44fd4aae3f9a2ec17e"}, + {file = "grpcio-1.60.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6fd9584bf1bccdfff1512719316efa77be235469e1e3295dce64538c4773840b"}, + {file = "grpcio-1.60.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d6a478581b1a1a8fdf3318ecb5f4d0cda41cacdffe2b527c23707c9c1b8fdb55"}, + {file = "grpcio-1.60.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:77c8a317f0fd5a0a2be8ed5cbe5341537d5c00bb79b3bb27ba7c5378ba77dbca"}, + {file = "grpcio-1.60.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:1c30bb23a41df95109db130a6cc1b974844300ae2e5d68dd4947aacba5985aa5"}, + {file = "grpcio-1.60.0-cp312-cp312-win32.whl", hash = "sha256:2aef56e85901c2397bd557c5ba514f84de1f0ae5dd132f5d5fed042858115951"}, + {file = "grpcio-1.60.0-cp312-cp312-win_amd64.whl", hash = "sha256:e381fe0c2aa6c03b056ad8f52f8efca7be29fb4d9ae2f8873520843b6039612a"}, + {file = "grpcio-1.60.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:92f88ca1b956eb8427a11bb8b4a0c0b2b03377235fc5102cb05e533b8693a415"}, + {file = "grpcio-1.60.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:e278eafb406f7e1b1b637c2cf51d3ad45883bb5bd1ca56bc05e4fc135dfdaa65"}, + {file = "grpcio-1.60.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:a48edde788b99214613e440fce495bbe2b1e142a7f214cce9e0832146c41e324"}, + {file = "grpcio-1.60.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:de2ad69c9a094bf37c1102b5744c9aec6cf74d2b635558b779085d0263166454"}, + {file = "grpcio-1.60.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:073f959c6f570797272f4ee9464a9997eaf1e98c27cb680225b82b53390d61e6"}, + {file = "grpcio-1.60.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c826f93050c73e7769806f92e601e0efdb83ec8d7c76ddf45d514fee54e8e619"}, + {file = "grpcio-1.60.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:9e30be89a75ee66aec7f9e60086fadb37ff8c0ba49a022887c28c134341f7179"}, + {file = "grpcio-1.60.0-cp37-cp37m-win_amd64.whl", hash = "sha256:b0fb2d4801546598ac5cd18e3ec79c1a9af8b8f2a86283c55a5337c5aeca4b1b"}, + {file = "grpcio-1.60.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:9073513ec380434eb8d21970e1ab3161041de121f4018bbed3146839451a6d8e"}, + {file = "grpcio-1.60.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:74d7d9fa97809c5b892449b28a65ec2bfa458a4735ddad46074f9f7d9550ad13"}, + {file = "grpcio-1.60.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:1434ca77d6fed4ea312901122dc8da6c4389738bf5788f43efb19a838ac03ead"}, + {file = "grpcio-1.60.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e61e76020e0c332a98290323ecfec721c9544f5b739fab925b6e8cbe1944cf19"}, + {file = "grpcio-1.60.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:675997222f2e2f22928fbba640824aebd43791116034f62006e19730715166c0"}, + {file = "grpcio-1.60.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:5208a57eae445ae84a219dfd8b56e04313445d146873117b5fa75f3245bc1390"}, + {file = "grpcio-1.60.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:428d699c8553c27e98f4d29fdc0f0edc50e9a8a7590bfd294d2edb0da7be3629"}, + {file = "grpcio-1.60.0-cp38-cp38-win32.whl", hash = "sha256:83f2292ae292ed5a47cdcb9821039ca8e88902923198f2193f13959360c01860"}, + {file = "grpcio-1.60.0-cp38-cp38-win_amd64.whl", hash = "sha256:705a68a973c4c76db5d369ed573fec3367d7d196673fa86614b33d8c8e9ebb08"}, + {file = "grpcio-1.60.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:c193109ca4070cdcaa6eff00fdb5a56233dc7610216d58fb81638f89f02e4968"}, + {file = "grpcio-1.60.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:676e4a44e740deaba0f4d95ba1d8c5c89a2fcc43d02c39f69450b1fa19d39590"}, + {file = "grpcio-1.60.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:5ff21e000ff2f658430bde5288cb1ac440ff15c0d7d18b5fb222f941b46cb0d2"}, + {file = "grpcio-1.60.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c86343cf9ff7b2514dd229bdd88ebba760bd8973dac192ae687ff75e39ebfab"}, + {file = "grpcio-1.60.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0fd3b3968ffe7643144580f260f04d39d869fcc2cddb745deef078b09fd2b328"}, + {file = "grpcio-1.60.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:30943b9530fe3620e3b195c03130396cd0ee3a0d10a66c1bee715d1819001eaf"}, + {file = "grpcio-1.60.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:b10241250cb77657ab315270b064a6c7f1add58af94befa20687e7c8d8603ae6"}, + {file = "grpcio-1.60.0-cp39-cp39-win32.whl", hash = "sha256:79a050889eb8d57a93ed21d9585bb63fca881666fc709f5d9f7f9372f5e7fd03"}, + {file = "grpcio-1.60.0-cp39-cp39-win_amd64.whl", hash = "sha256:8a97a681e82bc11a42d4372fe57898d270a2707f36c45c6676e49ce0d5c41353"}, + {file = "grpcio-1.60.0.tar.gz", hash = "sha256:2199165a1affb666aa24adf0c97436686d0a61bc5fc113c037701fb7c7fceb96"}, ] [package.extras] -protobuf = ["grpcio-tools (>=1.59.0)"] +protobuf = ["grpcio-tools (>=1.60.0)"] [[package]] name = "grpcio-tools" -version = "1.59.0" +version = "1.60.0" description = "Protobuf code generator for gRPC" optional = false python-versions = ">=3.7" files = [ - {file = "grpcio-tools-1.59.0.tar.gz", hash = "sha256:aa4018f2d8662ac4d9830445d3d253a11b3e096e8afe20865547137aa1160e93"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:882b809b42b5464bee55288f4e60837297f9618e53e69ae3eea6d61b05ce48fa"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:4499d4bc5aa9c7b645018d8b0db4bebd663d427aabcd7bee7777046cb1bcbca7"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:f381ae3ad6a5eb27aad8d810438937d8228977067c54e0bd456fce7e11fdbf3d"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f1c684c0d9226d04cadafced620a46ab38c346d0780eaac7448da96bf12066a3"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:40cbf712769242c2ba237745285ef789114d7fcfe8865fc4817d87f20015e99a"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:1df755951f204e65bf9232a9cac5afe7d6b8e4c87ac084d3ecd738fdc7aa4174"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:de156c18b0c638aaee3be6ad650c8ba7dec94ed4bac26403aec3dce95ffe9407"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-win32.whl", hash = "sha256:9af7e138baa9b2895cf1f3eb718ac96fc5ae2f8e31fca405e21e0e5cd1643c52"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-win_amd64.whl", hash = "sha256:f14a6e4f700dfd30ff8f0e6695f944affc16ae5a1e738666b3fae4e44b65637e"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:db030140d0da2368319e2f23655df3baec278c7e0078ecbe051eaf609a69382c"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:eeed386971bb8afc3ec45593df6a1154d680d87be1209ef8e782e44f85f47e64"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:962d1a3067129152cee3e172213486cb218a6bad703836991f46f216caefcf00"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:26eb2eebf150a33ebf088e67c1acf37eb2ac4133d9bfccbaa011ad2148c08b42"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5b2d6da553980c590487f2e7fd3ec9c1ad8805ff2ec77977b92faa7e3ca14e1f"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:335e2f355a0c544a88854e2c053aff8a3f398b84a263a96fa19d063ca1fe513a"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:204e08f807b1d83f5f0efea30c4e680afe26a43dec8ba614a45fa698a7ef0a19"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-win32.whl", hash = "sha256:05bf7b3ed01c8a562bb7e840f864c58acedbd6924eb616367c0bd0a760bdf483"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-win_amd64.whl", hash = "sha256:df85096fcac7cea8aa5bd84b7a39c4cdbf556b93669bb4772eb96aacd3222a4e"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:240a7a3c2c54f77f1f66085a635bca72003d02f56a670e7db19aec531eda8f78"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-macosx_10_10_universal2.whl", hash = "sha256:6119f62c462d119c63227b9534210f0f13506a888151b9bf586f71e7edf5088b"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:387662bee8e4c0b52cc0f61eaaca0ca583f5b227103f685b76083a3590a71a3e"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8f0da5861ee276ca68493b217daef358960e8527cc63c7cb292ca1c9c54939af"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d0f0806de1161c7f248e4c183633ee7a58dfe45c2b77ddf0136e2e7ad0650b1b"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:c683be38a9bf4024c223929b4cd2f0a0858c94e9dc8b36d7eaa5a48ce9323a6f"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:f965707da2b48a33128615bcfebedd215a3a30e346447e885bb3da37a143177a"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-win32.whl", hash = "sha256:2ee960904dde12a7fa48e1591a5b3eeae054bdce57bacf9fd26685a98138f5bf"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-win_amd64.whl", hash = "sha256:71cc6db1d66da3bc3730d9937bddc320f7b1f1dfdff6342bcb5741515fe4110b"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:f6263b85261b62471cb97b7505df72d72b8b62e5e22d8184924871a6155b4dbf"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:b8e95d921cc2a1521d4750eedefec9f16031457920a6677edebe9d1b2ad6ae60"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:cb63055739808144b541986291679d643bae58755d0eb082157c4d4c04443905"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c4634b3589efa156a8d5860c0a2547315bd5c9e52d14c960d716fe86e0927be"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2d970aa26854f535ffb94ea098aa8b43de020d9a14682e4a15dcdaeac7801b27"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:821dba464d84ebbcffd9d420302404db2fa7a40c7ff4c4c4c93726f72bfa2769"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:0548e901894399886ff4a4cd808cb850b60c021feb4a8977a0751f14dd7e55d9"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-win_amd64.whl", hash = "sha256:bb87158dbbb9e5a79effe78d54837599caa16df52d8d35366e06a91723b587ae"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:1d551ff42962c7c333c3da5c70d5e617a87dee581fa2e2c5ae2d5137c8886779"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:4ee443abcd241a5befb05629013fbf2eac637faa94aaa3056351aded8a31c1bc"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:520c0c83ea79d14b0679ba43e19c64ca31d30926b26ad2ca7db37cbd89c167e2"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9fc02a6e517c34dcf885ff3b57260b646551083903e3d2c780b4971ce7d4ab7c"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6aec8a4ed3808b7dfc1276fe51e3e24bec0eeaf610d395bcd42934647cf902a3"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:99b3bde646720bbfb77f263f5ba3e1a0de50632d43c38d405a0ef9c7e94373cd"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:51d9595629998d8b519126c5a610f15deb0327cd6325ed10796b47d1d292e70b"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-win32.whl", hash = "sha256:bfa4b2b7d21c5634b62e5f03462243bd705adc1a21806b5356b8ce06d902e160"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-win_amd64.whl", hash = "sha256:9ed05197c5ab071e91bcef28901e97ca168c4ae94510cb67a14cb4931b94255a"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:498e7be0b14385980efa681444ba481349c131fc5ec88003819f5d929646947c"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:b519f2ecde9a579cad2f4a7057d5bb4e040ad17caab8b5e691ed7a13b9db0be9"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:ef3e8aca2261f7f07436d4e2111556c1fb9bf1f9cfcdf35262743ccdee1b6ce9"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:27a7f226b741b2ebf7e2d0779d2c9b17f446d1b839d59886c1619e62cc2ae472"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:784aa52965916fec5afa1a28eeee6f0073bb43a2a1d7fedf963393898843077a"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:e312ddc2d8bec1a23306a661ad52734f984c9aad5d8f126ebb222a778d95407d"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:868892ad9e00651a38dace3e4924bae82fc4fd4df2c65d37b74381570ee8deb1"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-win32.whl", hash = "sha256:a4f6cae381f21fee1ef0a5cbbbb146680164311157ae618edf3061742d844383"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-win_amd64.whl", hash = "sha256:4a10e59cca462208b489478340b52a96d64e8b8b6f1ac097f3e8cb211d3f66c0"}, + {file = "grpcio-tools-1.60.0.tar.gz", hash = "sha256:ed30499340228d733ff69fcf4a66590ed7921f94eb5a2bf692258b1280b9dac7"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:6807b7a3f3e6e594566100bd7fe04a2c42ce6d5792652677f1aaf5aa5adaef3d"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:857c5351e9dc33a019700e171163f94fcc7e3ae0f6d2b026b10fda1e3c008ef1"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:ec0e401e9a43d927d216d5169b03c61163fb52b665c5af2fed851357b15aef88"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e68dc4474f30cad11a965f0eb5d37720a032b4720afa0ec19dbcea2de73b5aae"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bbf0ed772d2ae7e8e5d7281fcc00123923ab130b94f7a843eee9af405918f924"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:c771b19dce2bfe06899247168c077d7ab4e273f6655d8174834f9a6034415096"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:e5614cf0960456d21d8a0f4902e3e5e3bcacc4e400bf22f196e5dd8aabb978b7"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-win32.whl", hash = "sha256:87cf439178f3eb45c1a889b2e4a17cbb4c450230d92c18d9c57e11271e239c55"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-win_amd64.whl", hash = "sha256:687f576d7ff6ce483bc9a196d1ceac45144e8733b953620a026daed8e450bc38"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:2a8a758701f3ac07ed85f5a4284c6a9ddefcab7913a8e552497f919349e72438"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:7c1cde49631732356cb916ee1710507967f19913565ed5f9991e6c9cb37e3887"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:d941749bd8dc3f8be58fe37183143412a27bec3df8482d5abd6b4ec3f1ac2924"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9ee35234f1da8fba7ddbc544856ff588243f1128ea778d7a1da3039be829a134"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b8f7a5094adb49e85db13ea3df5d99a976c2bdfd83b0ba26af20ebb742ac6786"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:24c4ead4a03037beaeb8ef2c90d13d70101e35c9fae057337ed1a9144ef10b53"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:811abb9c4fb6679e0058dfa123fb065d97b158b71959c0e048e7972bbb82ba0f"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-win32.whl", hash = "sha256:bd2a17b0193fbe4793c215d63ce1e01ae00a8183d81d7c04e77e1dfafc4b2b8a"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-win_amd64.whl", hash = "sha256:b22b1299b666eebd5752ba7719da536075eae3053abcf2898b65f763c314d9da"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:74025fdd6d1cb7ba4b5d087995339e9a09f0c16cf15dfe56368b23e41ffeaf7a"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-macosx_10_10_universal2.whl", hash = "sha256:5a907a4f1ffba86501b2cdb8682346249ea032b922fc69a92f082ba045cca548"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:1fbb9554466d560472f07d906bfc8dcaf52f365c2a407015185993e30372a886"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f10ef47460ce3c6fd400f05fe757b90df63486c9b84d1ecad42dcc5f80c8ac14"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:321b18f42a70813545e416ddcb8bf20defa407a8114906711c9710a69596ceda"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:081336d8258f1a56542aa8a7a5dec99a2b38d902e19fbdd744594783301b0210"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:addc9b23d6ff729d9f83d4a2846292d4c84f5eb2ec38f08489a6a0d66ac2b91e"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-win32.whl", hash = "sha256:e87cabac7969bdde309575edc2456357667a1b28262b2c1f12580ef48315b19d"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-win_amd64.whl", hash = "sha256:e70d867c120d9849093b0ac24d861e378bc88af2552e743d83b9f642d2caa7c2"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:559ce714fe212aaf4abbe1493c5bb8920def00cc77ce0d45266f4fd9d8b3166f"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:7a5263a0f2ddb7b1cfb2349e392cfc4f318722e0f48f886393e06946875d40f3"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:18976684a931ca4bcba65c78afa778683aefaae310f353e198b1823bf09775a0"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e5c519a0d4ba1ab44a004fa144089738c59278233e2010b2cf4527dc667ff297"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6170873b1e5b6580ebb99e87fb6e4ea4c48785b910bd7af838cc6e44b2bccb04"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:fb4df80868b3e397d5fbccc004c789d2668b622b51a9d2387b4c89c80d31e2c5"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:dba6e32c87b4af29b5f475fb2f470f7ee3140bfc128644f17c6c59ddeb670680"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-win_amd64.whl", hash = "sha256:f610384dee4b1ca705e8da66c5b5fe89a2de3d165c5282c3d1ddf40cb18924e4"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:4041538f55aad5b3ae7e25ab314d7995d689e968bfc8aa169d939a3160b1e4c6"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:2fb4cf74bfe1e707cf10bc9dd38a1ebaa145179453d150febb121c7e9cd749bf"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:2fd1671c52f96e79a2302c8b1c1f78b8a561664b8b3d6946f20d8f1cc6b4225a"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dd1e68c232fe01dd5312a8dbe52c50ecd2b5991d517d7f7446af4ba6334ba872"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:17a32b3da4fc0798cdcec0a9c974ac2a1e98298f151517bf9148294a3b1a5742"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:9970d384fb0c084b00945ef57d98d57a8d32be106d8f0bd31387f7cbfe411b5b"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5ce6bbd4936977ec1114f2903eb4342781960d521b0d82f73afedb9335251f6f"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-win32.whl", hash = "sha256:2e00de389729ca8d8d1a63c2038703078a887ff738dc31be640b7da9c26d0d4f"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-win_amd64.whl", hash = "sha256:6192184b1f99372ff1d9594bd4b12264e3ff26440daba7eb043726785200ff77"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:eae27f9b16238e2aaee84c77b5923c6924d6dccb0bdd18435bf42acc8473ae1a"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:b96981f3a31b85074b73d97c8234a5ed9053d65a36b18f4a9c45a2120a5b7a0a"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:1748893efd05cf4a59a175d7fa1e4fbb652f4d84ccaa2109f7869a2be48ed25e"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7a6fe752205caae534f29fba907e2f59ff79aa42c6205ce9a467e9406cbac68c"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3456df087ea61a0972a5bc165aed132ed6ddcc63f5749e572f9fff84540bdbad"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:f3d916606dcf5610d4367918245b3d9d8cd0d2ec0b7043d1bbb8c50fe9815c3a"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:fc01bc1079279ec342f0f1b6a107b3f5dc3169c33369cf96ada6e2e171f74e86"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-win32.whl", hash = "sha256:2dd01257e4feff986d256fa0bac9f56de59dc735eceeeb83de1c126e2e91f653"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-win_amd64.whl", hash = "sha256:1b93ae8ffd18e9af9a965ebca5fa521e89066267de7abdde20721edc04e42721"}, ] [package.dependencies] -grpcio = ">=1.59.0" +grpcio = ">=1.60.0" protobuf = ">=4.21.6,<5.0dev" setuptools = "*" @@ -1392,13 +1412,13 @@ test = ["eth-utils (>=1.0.1,<3)", "hypothesis (>=3.44.24,<=6.31.6)", "pytest (>= [[package]] name = "identify" -version = "2.5.30" +version = "2.5.33" description = "File identification library for Python" optional = false python-versions = ">=3.8" files = [ - {file = "identify-2.5.30-py2.py3-none-any.whl", hash = "sha256:afe67f26ae29bab007ec21b03d4114f41316ab9dd15aa8736a167481e108da54"}, - {file = "identify-2.5.30.tar.gz", hash = "sha256:f302a4256a15c849b91cfcdcec052a8ce914634b2f77ae87dad29cd749f2d88d"}, + {file = "identify-2.5.33-py2.py3-none-any.whl", hash = "sha256:d40ce5fcd762817627670da8a7d8d8e65f24342d14539c59488dc603bf662e34"}, + {file = "identify-2.5.33.tar.gz", hash = "sha256:161558f9fe4559e1557e1bff323e8631f6a0e4837f7497767c1782832f16b62d"}, ] [package.extras] @@ -1406,13 +1426,13 @@ license = ["ukkonen"] [[package]] name = "idna" -version = "3.4" +version = "3.6" description = "Internationalized Domain Names in Applications (IDNA)" optional = false python-versions = ">=3.5" files = [ - {file = "idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"}, - {file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"}, + {file = "idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f"}, + {file = "idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"}, ] [[package]] @@ -1428,30 +1448,33 @@ files = [ [[package]] name = "isort" -version = "5.12.0" +version = "5.13.0" description = "A Python utility / library to sort Python imports." optional = false python-versions = ">=3.8.0" files = [ - {file = "isort-5.12.0-py3-none-any.whl", hash = "sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6"}, - {file = "isort-5.12.0.tar.gz", hash = "sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504"}, + {file = "isort-5.13.0-py3-none-any.whl", hash = "sha256:15e0e937819b350bc256a7ae13bb25f4fe4f8871a0bc335b20c3627dba33f458"}, + {file = "isort-5.13.0.tar.gz", hash = "sha256:d67f78c6a1715f224cca46b29d740037bdb6eea15323a133e897cda15876147b"}, ] +[package.dependencies] +pip-api = "*" +pipreqs = "*" +requirementslib = "*" + [package.extras] -colors = ["colorama (>=0.4.3)"] -pipfile-deprecated-finder = ["pip-shims (>=0.5.2)", "pipreqs", "requirementslib"] +colors = ["colorama (>=0.4.6)"] plugins = ["setuptools"] -requirements-deprecated-finder = ["pip-api", "pipreqs"] [[package]] name = "jsonschema" -version = "4.19.1" +version = "4.20.0" description = "An implementation of JSON Schema validation for Python" optional = false python-versions = ">=3.8" files = [ - {file = "jsonschema-4.19.1-py3-none-any.whl", hash = "sha256:cd5f1f9ed9444e554b38ba003af06c0a8c2868131e56bfbef0550fb450c0330e"}, - {file = "jsonschema-4.19.1.tar.gz", hash = "sha256:ec84cc37cfa703ef7cd4928db24f9cb31428a5d0fa77747b8b51a847458e0bbf"}, + {file = "jsonschema-4.20.0-py3-none-any.whl", hash = "sha256:ed6231f0429ecf966f5bc8dfef245998220549cbbcf140f913b7464c52c3b6b3"}, + {file = "jsonschema-4.20.0.tar.gz", hash = "sha256:4f614fd46d8d61258610998997743ec5492a648b33cf478c1ddc23ed4598a5fa"}, ] [package.dependencies] @@ -1466,17 +1489,17 @@ format-nongpl = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339- [[package]] name = "jsonschema-specifications" -version = "2023.7.1" +version = "2023.11.2" description = "The JSON Schema meta-schemas and vocabularies, exposed as a Registry" optional = false python-versions = ">=3.8" files = [ - {file = "jsonschema_specifications-2023.7.1-py3-none-any.whl", hash = "sha256:05adf340b659828a004220a9613be00fa3f223f2b82002e273dee62fd50524b1"}, - {file = "jsonschema_specifications-2023.7.1.tar.gz", hash = "sha256:c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb"}, + {file = "jsonschema_specifications-2023.11.2-py3-none-any.whl", hash = "sha256:e74ba7c0a65e8cb49dc26837d6cfe576557084a8b423ed16a420984228104f93"}, + {file = "jsonschema_specifications-2023.11.2.tar.gz", hash = "sha256:9472fc4fea474cd74bea4a2b190daeccb5a9e4db2ea80efcf7a1b582fc9a81b8"}, ] [package.dependencies] -referencing = ">=0.28.0" +referencing = ">=0.31.0" [[package]] name = "lru-dict" @@ -1728,30 +1751,103 @@ regex = ">=2022.3.15" [[package]] name = "pathspec" -version = "0.11.2" +version = "0.12.1" description = "Utility library for gitignore style pattern matching of file paths." optional = false +python-versions = ">=3.8" +files = [ + {file = "pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08"}, + {file = "pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"}, +] + +[[package]] +name = "pep517" +version = "0.13.1" +description = "Wrappers to build Python packages using PEP 517 hooks" +optional = false +python-versions = ">=3.6" +files = [ + {file = "pep517-0.13.1-py3-none-any.whl", hash = "sha256:31b206f67165b3536dd577c5c3f1518e8fbaf38cbc57efff8369a392feff1721"}, + {file = "pep517-0.13.1.tar.gz", hash = "sha256:1b2fa2ffd3938bb4beffe5d6146cbcb2bda996a5a4da9f31abffd8b24e07b317"}, +] + +[package.dependencies] +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} + +[[package]] +name = "pip" +version = "23.3.1" +description = "The PyPA recommended tool for installing Python packages." +optional = false python-versions = ">=3.7" files = [ - {file = "pathspec-0.11.2-py3-none-any.whl", hash = "sha256:1d6ed233af05e679efb96b1851550ea95bbb64b7c490b0f5aa52996c11e92a20"}, - {file = "pathspec-0.11.2.tar.gz", hash = "sha256:e0d8d0ac2f12da61956eb2306b69f9469b42f4deb0f3cb6ed47b9cce9996ced3"}, + {file = "pip-23.3.1-py3-none-any.whl", hash = "sha256:55eb67bb6171d37447e82213be585b75fe2b12b359e993773aca4de9247a052b"}, + {file = "pip-23.3.1.tar.gz", hash = "sha256:1fcaa041308d01f14575f6d0d2ea4b75a3e2871fe4f9c694976f908768e14174"}, ] +[[package]] +name = "pip-api" +version = "0.0.30" +description = "An unofficial, importable pip API" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pip-api-0.0.30.tar.gz", hash = "sha256:a05df2c7aa9b7157374bcf4273544201a0c7bae60a9c65bcf84f3959ef3896f3"}, + {file = "pip_api-0.0.30-py3-none-any.whl", hash = "sha256:2a0314bd31522eb9ffe8a99668b0d07fee34ebc537931e7b6483001dbedcbdc9"}, +] + +[package.dependencies] +pip = "*" + +[[package]] +name = "pipreqs" +version = "0.4.13" +description = "Pip requirements.txt generator based on imports in project" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pipreqs-0.4.13-py2.py3-none-any.whl", hash = "sha256:e522b9ed54aa3e8b7978ff251ab7a9af2f75d2cd8de4c102e881b666a79a308e"}, + {file = "pipreqs-0.4.13.tar.gz", hash = "sha256:a17f167880b6921be37533ce4c81ddc6e22b465c107aad557db43b1add56a99b"}, +] + +[package.dependencies] +docopt = "*" +yarg = "*" + [[package]] name = "platformdirs" -version = "3.11.0" +version = "4.1.0" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "platformdirs-3.11.0-py3-none-any.whl", hash = "sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e"}, - {file = "platformdirs-3.11.0.tar.gz", hash = "sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3"}, + {file = "platformdirs-4.1.0-py3-none-any.whl", hash = "sha256:11c8f37bcca40db96d8144522d925583bdb7a31f7b0e37e3ed4318400a8e2380"}, + {file = "platformdirs-4.1.0.tar.gz", hash = "sha256:906d548203468492d432bcb294d4bc2fff751bf84971fbb2c10918cc206ee420"}, ] [package.extras] docs = ["furo (>=2023.7.26)", "proselint (>=0.13)", "sphinx (>=7.1.1)", "sphinx-autodoc-typehints (>=1.24)"] test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.11.1)"] +[[package]] +name = "plette" +version = "0.4.4" +description = "Structured Pipfile and Pipfile.lock models." +optional = false +python-versions = ">=3.7" +files = [ + {file = "plette-0.4.4-py2.py3-none-any.whl", hash = "sha256:42d68ce8c6b966874b68758d87d7f20fcff2eff0d861903eea1062126be4d98f"}, + {file = "plette-0.4.4.tar.gz", hash = "sha256:06b8c09eb90293ad0b8101cb5c95c4ea53e9b2b582901845d0904ff02d237454"}, +] + +[package.dependencies] +cerberus = {version = "*", optional = true, markers = "extra == \"validation\""} +tomlkit = "*" + +[package.extras] +tests = ["pytest", "pytest-cov", "pytest-xdist"] +validation = ["cerberus"] + [[package]] name = "pluggy" version = "1.3.0" @@ -1769,13 +1865,13 @@ testing = ["pytest", "pytest-benchmark"] [[package]] name = "pre-commit" -version = "3.5.0" +version = "3.6.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pre_commit-3.5.0-py2.py3-none-any.whl", hash = "sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660"}, - {file = "pre_commit-3.5.0.tar.gz", hash = "sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32"}, + {file = "pre_commit-3.6.0-py2.py3-none-any.whl", hash = "sha256:c255039ef399049a5544b6ce13d135caba8f2c28c3b4033277a788f434308376"}, + {file = "pre_commit-3.6.0.tar.gz", hash = "sha256:d30bad9abf165f7785c15a21a1f46da7d0677cb00ee7ff4c579fd38922efe15d"}, ] [package.dependencies] @@ -1787,24 +1883,22 @@ virtualenv = ">=20.10.0" [[package]] name = "protobuf" -version = "4.24.4" +version = "4.25.1" description = "" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "protobuf-4.24.4-cp310-abi3-win32.whl", hash = "sha256:ec9912d5cb6714a5710e28e592ee1093d68c5ebfeda61983b3f40331da0b1ebb"}, - {file = "protobuf-4.24.4-cp310-abi3-win_amd64.whl", hash = "sha256:1badab72aa8a3a2b812eacfede5020472e16c6b2212d737cefd685884c191085"}, - {file = "protobuf-4.24.4-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:8e61a27f362369c2f33248a0ff6896c20dcd47b5d48239cb9720134bef6082e4"}, - {file = "protobuf-4.24.4-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:bffa46ad9612e6779d0e51ae586fde768339b791a50610d85eb162daeb23661e"}, - {file = "protobuf-4.24.4-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:b493cb590960ff863743b9ff1452c413c2ee12b782f48beca77c8da3e2ffe9d9"}, - {file = "protobuf-4.24.4-cp37-cp37m-win32.whl", hash = "sha256:dbbed8a56e56cee8d9d522ce844a1379a72a70f453bde6243e3c86c30c2a3d46"}, - {file = "protobuf-4.24.4-cp37-cp37m-win_amd64.whl", hash = "sha256:6b7d2e1c753715dcfe9d284a25a52d67818dd43c4932574307daf836f0071e37"}, - {file = "protobuf-4.24.4-cp38-cp38-win32.whl", hash = "sha256:02212557a76cd99574775a81fefeba8738d0f668d6abd0c6b1d3adcc75503dbe"}, - {file = "protobuf-4.24.4-cp38-cp38-win_amd64.whl", hash = "sha256:2fa3886dfaae6b4c5ed2730d3bf47c7a38a72b3a1f0acb4d4caf68e6874b947b"}, - {file = "protobuf-4.24.4-cp39-cp39-win32.whl", hash = "sha256:b77272f3e28bb416e2071186cb39efd4abbf696d682cbb5dc731308ad37fa6dd"}, - {file = "protobuf-4.24.4-cp39-cp39-win_amd64.whl", hash = "sha256:9fee5e8aa20ef1b84123bb9232b3f4a5114d9897ed89b4b8142d81924e05d79b"}, - {file = "protobuf-4.24.4-py3-none-any.whl", hash = "sha256:80797ce7424f8c8d2f2547e2d42bfbb6c08230ce5832d6c099a37335c9c90a92"}, - {file = "protobuf-4.24.4.tar.gz", hash = "sha256:5a70731910cd9104762161719c3d883c960151eea077134458503723b60e3667"}, + {file = "protobuf-4.25.1-cp310-abi3-win32.whl", hash = "sha256:193f50a6ab78a970c9b4f148e7c750cfde64f59815e86f686c22e26b4fe01ce7"}, + {file = "protobuf-4.25.1-cp310-abi3-win_amd64.whl", hash = "sha256:3497c1af9f2526962f09329fd61a36566305e6c72da2590ae0d7d1322818843b"}, + {file = "protobuf-4.25.1-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:0bf384e75b92c42830c0a679b0cd4d6e2b36ae0cf3dbb1e1dfdda48a244f4bcd"}, + {file = "protobuf-4.25.1-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:0f881b589ff449bf0b931a711926e9ddaad3b35089cc039ce1af50b21a4ae8cb"}, + {file = "protobuf-4.25.1-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:ca37bf6a6d0046272c152eea90d2e4ef34593aaa32e8873fc14c16440f22d4b7"}, + {file = "protobuf-4.25.1-cp38-cp38-win32.whl", hash = "sha256:abc0525ae2689a8000837729eef7883b9391cd6aa7950249dcf5a4ede230d5dd"}, + {file = "protobuf-4.25.1-cp38-cp38-win_amd64.whl", hash = "sha256:1484f9e692091450e7edf418c939e15bfc8fc68856e36ce399aed6889dae8bb0"}, + {file = "protobuf-4.25.1-cp39-cp39-win32.whl", hash = "sha256:8bdbeaddaac52d15c6dce38c71b03038ef7772b977847eb6d374fc86636fa510"}, + {file = "protobuf-4.25.1-cp39-cp39-win_amd64.whl", hash = "sha256:becc576b7e6b553d22cbdf418686ee4daa443d7217999125c045ad56322dda10"}, + {file = "protobuf-4.25.1-py3-none-any.whl", hash = "sha256:a19731d5e83ae4737bb2a089605e636077ac001d18781b3cf489b9546c7c80d6"}, + {file = "protobuf-4.25.1.tar.gz", hash = "sha256:57d65074b4f5baa4ab5da1605c02be90ac20c8b40fb137d6a8df9f416b0d0ce2"}, ] [[package]] @@ -1870,6 +1964,142 @@ files = [ {file = "pycryptodome-3.19.0.tar.gz", hash = "sha256:bc35d463222cdb4dbebd35e0784155c81e161b9284e567e7e933d722e533331e"}, ] +[[package]] +name = "pydantic" +version = "2.5.2" +description = "Data validation using Python type hints" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pydantic-2.5.2-py3-none-any.whl", hash = "sha256:80c50fb8e3dcecfddae1adbcc00ec5822918490c99ab31f6cf6140ca1c1429f0"}, + {file = "pydantic-2.5.2.tar.gz", hash = "sha256:ff177ba64c6faf73d7afa2e8cad38fd456c0dbe01c9954e71038001cd15a6edd"}, +] + +[package.dependencies] +annotated-types = ">=0.4.0" +pydantic-core = "2.14.5" +typing-extensions = ">=4.6.1" + +[package.extras] +email = ["email-validator (>=2.0.0)"] + +[[package]] +name = "pydantic-core" +version = "2.14.5" +description = "" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pydantic_core-2.14.5-cp310-cp310-macosx_10_7_x86_64.whl", hash = "sha256:7e88f5696153dc516ba6e79f82cc4747e87027205f0e02390c21f7cb3bd8abfd"}, + {file = "pydantic_core-2.14.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4641e8ad4efb697f38a9b64ca0523b557c7931c5f84e0fd377a9a3b05121f0de"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:774de879d212db5ce02dfbf5b0da9a0ea386aeba12b0b95674a4ce0593df3d07"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ebb4e035e28f49b6f1a7032920bb9a0c064aedbbabe52c543343d39341a5b2a3"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b53e9ad053cd064f7e473a5f29b37fc4cc9dc6d35f341e6afc0155ea257fc911"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8aa1768c151cf562a9992462239dfc356b3d1037cc5a3ac829bb7f3bda7cc1f9"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eac5c82fc632c599f4639a5886f96867ffced74458c7db61bc9a66ccb8ee3113"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d2ae91f50ccc5810b2f1b6b858257c9ad2e08da70bf890dee02de1775a387c66"}, + {file = "pydantic_core-2.14.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6b9ff467ffbab9110e80e8c8de3bcfce8e8b0fd5661ac44a09ae5901668ba997"}, + {file = "pydantic_core-2.14.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:61ea96a78378e3bd5a0be99b0e5ed00057b71f66115f5404d0dae4819f495093"}, + {file = "pydantic_core-2.14.5-cp310-none-win32.whl", hash = "sha256:bb4c2eda937a5e74c38a41b33d8c77220380a388d689bcdb9b187cf6224c9720"}, + {file = "pydantic_core-2.14.5-cp310-none-win_amd64.whl", hash = "sha256:b7851992faf25eac90bfcb7bfd19e1f5ffa00afd57daec8a0042e63c74a4551b"}, + {file = "pydantic_core-2.14.5-cp311-cp311-macosx_10_7_x86_64.whl", hash = "sha256:4e40f2bd0d57dac3feb3a3aed50f17d83436c9e6b09b16af271b6230a2915459"}, + {file = "pydantic_core-2.14.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ab1cdb0f14dc161ebc268c09db04d2c9e6f70027f3b42446fa11c153521c0e88"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aae7ea3a1c5bb40c93cad361b3e869b180ac174656120c42b9fadebf685d121b"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:60b7607753ba62cf0739177913b858140f11b8af72f22860c28eabb2f0a61937"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2248485b0322c75aee7565d95ad0e16f1c67403a470d02f94da7344184be770f"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:823fcc638f67035137a5cd3f1584a4542d35a951c3cc68c6ead1df7dac825c26"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:96581cfefa9123accc465a5fd0cc833ac4d75d55cc30b633b402e00e7ced00a6"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a33324437018bf6ba1bb0f921788788641439e0ed654b233285b9c69704c27b4"}, + {file = "pydantic_core-2.14.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:9bd18fee0923ca10f9a3ff67d4851c9d3e22b7bc63d1eddc12f439f436f2aada"}, + {file = "pydantic_core-2.14.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:853a2295c00f1d4429db4c0fb9475958543ee80cfd310814b5c0ef502de24dda"}, + {file = "pydantic_core-2.14.5-cp311-none-win32.whl", hash = "sha256:cb774298da62aea5c80a89bd58c40205ab4c2abf4834453b5de207d59d2e1651"}, + {file = "pydantic_core-2.14.5-cp311-none-win_amd64.whl", hash = "sha256:e87fc540c6cac7f29ede02e0f989d4233f88ad439c5cdee56f693cc9c1c78077"}, + {file = "pydantic_core-2.14.5-cp311-none-win_arm64.whl", hash = "sha256:57d52fa717ff445cb0a5ab5237db502e6be50809b43a596fb569630c665abddf"}, + {file = "pydantic_core-2.14.5-cp312-cp312-macosx_10_7_x86_64.whl", hash = "sha256:e60f112ac88db9261ad3a52032ea46388378034f3279c643499edb982536a093"}, + {file = "pydantic_core-2.14.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6e227c40c02fd873c2a73a98c1280c10315cbebe26734c196ef4514776120aeb"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f0cbc7fff06a90bbd875cc201f94ef0ee3929dfbd5c55a06674b60857b8b85ed"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:103ef8d5b58596a731b690112819501ba1db7a36f4ee99f7892c40da02c3e189"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c949f04ecad823f81b1ba94e7d189d9dfb81edbb94ed3f8acfce41e682e48cef"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c1452a1acdf914d194159439eb21e56b89aa903f2e1c65c60b9d874f9b950e5d"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb4679d4c2b089e5ef89756bc73e1926745e995d76e11925e3e96a76d5fa51fc"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:cf9d3fe53b1ee360e2421be95e62ca9b3296bf3f2fb2d3b83ca49ad3f925835e"}, + {file = "pydantic_core-2.14.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:70f4b4851dbb500129681d04cc955be2a90b2248d69273a787dda120d5cf1f69"}, + {file = "pydantic_core-2.14.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:59986de5710ad9613ff61dd9b02bdd2f615f1a7052304b79cc8fa2eb4e336d2d"}, + {file = "pydantic_core-2.14.5-cp312-none-win32.whl", hash = "sha256:699156034181e2ce106c89ddb4b6504c30db8caa86e0c30de47b3e0654543260"}, + {file = "pydantic_core-2.14.5-cp312-none-win_amd64.whl", hash = "sha256:5baab5455c7a538ac7e8bf1feec4278a66436197592a9bed538160a2e7d11e36"}, + {file = "pydantic_core-2.14.5-cp312-none-win_arm64.whl", hash = "sha256:e47e9a08bcc04d20975b6434cc50bf82665fbc751bcce739d04a3120428f3e27"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-macosx_10_7_x86_64.whl", hash = "sha256:af36f36538418f3806048f3b242a1777e2540ff9efaa667c27da63d2749dbce0"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-macosx_11_0_arm64.whl", hash = "sha256:45e95333b8418ded64745f14574aa9bfc212cb4fbeed7a687b0c6e53b5e188cd"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e47a76848f92529879ecfc417ff88a2806438f57be4a6a8bf2961e8f9ca9ec7"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d81e6987b27bc7d101c8597e1cd2bcaa2fee5e8e0f356735c7ed34368c471550"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:34708cc82c330e303f4ce87758828ef6e457681b58ce0e921b6e97937dd1e2a3"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:652c1988019752138b974c28f43751528116bcceadad85f33a258869e641d753"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e4d090e73e0725b2904fdbdd8d73b8802ddd691ef9254577b708d413bf3006e"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5c7d5b5005f177764e96bd584d7bf28d6e26e96f2a541fdddb934c486e36fd59"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:a71891847f0a73b1b9eb86d089baee301477abef45f7eaf303495cd1473613e4"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:a717aef6971208f0851a2420b075338e33083111d92041157bbe0e2713b37325"}, + {file = "pydantic_core-2.14.5-cp37-none-win32.whl", hash = "sha256:de790a3b5aa2124b8b78ae5faa033937a72da8efe74b9231698b5a1dd9be3405"}, + {file = "pydantic_core-2.14.5-cp37-none-win_amd64.whl", hash = "sha256:6c327e9cd849b564b234da821236e6bcbe4f359a42ee05050dc79d8ed2a91588"}, + {file = "pydantic_core-2.14.5-cp38-cp38-macosx_10_7_x86_64.whl", hash = "sha256:ef98ca7d5995a82f43ec0ab39c4caf6a9b994cb0b53648ff61716370eadc43cf"}, + {file = "pydantic_core-2.14.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:c6eae413494a1c3f89055da7a5515f32e05ebc1a234c27674a6956755fb2236f"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dcf4e6d85614f7a4956c2de5a56531f44efb973d2fe4a444d7251df5d5c4dcfd"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6637560562134b0e17de333d18e69e312e0458ee4455bdad12c37100b7cad706"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:77fa384d8e118b3077cccfcaf91bf83c31fe4dc850b5e6ee3dc14dc3d61bdba1"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:16e29bad40bcf97aac682a58861249ca9dcc57c3f6be22f506501833ddb8939c"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:531f4b4252fac6ca476fbe0e6f60f16f5b65d3e6b583bc4d87645e4e5ddde331"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:074f3d86f081ce61414d2dc44901f4f83617329c6f3ab49d2bc6c96948b2c26b"}, + {file = "pydantic_core-2.14.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:c2adbe22ab4babbca99c75c5d07aaf74f43c3195384ec07ccbd2f9e3bddaecec"}, + {file = "pydantic_core-2.14.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:0f6116a558fd06d1b7c2902d1c4cf64a5bd49d67c3540e61eccca93f41418124"}, + {file = "pydantic_core-2.14.5-cp38-none-win32.whl", hash = "sha256:fe0a5a1025eb797752136ac8b4fa21aa891e3d74fd340f864ff982d649691867"}, + {file = "pydantic_core-2.14.5-cp38-none-win_amd64.whl", hash = "sha256:079206491c435b60778cf2b0ee5fd645e61ffd6e70c47806c9ed51fc75af078d"}, + {file = "pydantic_core-2.14.5-cp39-cp39-macosx_10_7_x86_64.whl", hash = "sha256:a6a16f4a527aae4f49c875da3cdc9508ac7eef26e7977952608610104244e1b7"}, + {file = "pydantic_core-2.14.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:abf058be9517dc877227ec3223f0300034bd0e9f53aebd63cf4456c8cb1e0863"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:49b08aae5013640a3bfa25a8eebbd95638ec3f4b2eaf6ed82cf0c7047133f03b"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c2d97e906b4ff36eb464d52a3bc7d720bd6261f64bc4bcdbcd2c557c02081ed2"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3128e0bbc8c091ec4375a1828d6118bc20404883169ac95ffa8d983b293611e6"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:88e74ab0cdd84ad0614e2750f903bb0d610cc8af2cc17f72c28163acfcf372a4"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c339dabd8ee15f8259ee0f202679b6324926e5bc9e9a40bf981ce77c038553db"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3387277f1bf659caf1724e1afe8ee7dbc9952a82d90f858ebb931880216ea955"}, + {file = "pydantic_core-2.14.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ba6b6b3846cfc10fdb4c971980a954e49d447cd215ed5a77ec8190bc93dd7bc5"}, + {file = "pydantic_core-2.14.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ca61d858e4107ce5e1330a74724fe757fc7135190eb5ce5c9d0191729f033209"}, + {file = "pydantic_core-2.14.5-cp39-none-win32.whl", hash = "sha256:ec1e72d6412f7126eb7b2e3bfca42b15e6e389e1bc88ea0069d0cc1742f477c6"}, + {file = "pydantic_core-2.14.5-cp39-none-win_amd64.whl", hash = "sha256:c0b97ec434041827935044bbbe52b03d6018c2897349670ff8fe11ed24d1d4ab"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-macosx_10_7_x86_64.whl", hash = "sha256:79e0a2cdbdc7af3f4aee3210b1172ab53d7ddb6a2d8c24119b5706e622b346d0"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:678265f7b14e138d9a541ddabbe033012a2953315739f8cfa6d754cc8063e8ca"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:95b15e855ae44f0c6341ceb74df61b606e11f1087e87dcb7482377374aac6abe"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:09b0e985fbaf13e6b06a56d21694d12ebca6ce5414b9211edf6f17738d82b0f8"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3ad873900297bb36e4b6b3f7029d88ff9829ecdc15d5cf20161775ce12306f8a"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:2d0ae0d8670164e10accbeb31d5ad45adb71292032d0fdb9079912907f0085f4"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:d37f8ec982ead9ba0a22a996129594938138a1503237b87318392a48882d50b7"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:35613015f0ba7e14c29ac6c2483a657ec740e5ac5758d993fdd5870b07a61d8b"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-macosx_10_7_x86_64.whl", hash = "sha256:ab4ea451082e684198636565224bbb179575efc1658c48281b2c866bfd4ddf04"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ce601907e99ea5b4adb807ded3570ea62186b17f88e271569144e8cca4409c7"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fb2ed8b3fe4bf4506d6dab3b93b83bbc22237e230cba03866d561c3577517d18"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:70f947628e074bb2526ba1b151cee10e4c3b9670af4dbb4d73bc8a89445916b5"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:4bc536201426451f06f044dfbf341c09f540b4ebdb9fd8d2c6164d733de5e634"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f4791cf0f8c3104ac668797d8c514afb3431bc3305f5638add0ba1a5a37e0d88"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-macosx_10_7_x86_64.whl", hash = "sha256:038c9f763e650712b899f983076ce783175397c848da04985658e7628cbe873b"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:27548e16c79702f1e03f5628589c6057c9ae17c95b4c449de3c66b589ead0520"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c97bee68898f3f4344eb02fec316db93d9700fb1e6a5b760ffa20d71d9a46ce3"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b9b759b77f5337b4ea024f03abc6464c9f35d9718de01cfe6bae9f2e139c397e"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:439c9afe34638ace43a49bf72d201e0ffc1a800295bed8420c2a9ca8d5e3dbb3"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:ba39688799094c75ea8a16a6b544eb57b5b0f3328697084f3f2790892510d144"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:ccd4d5702bb90b84df13bd491be8d900b92016c5a455b7e14630ad7449eb03f8"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:81982d78a45d1e5396819bbb4ece1fadfe5f079335dd28c4ab3427cd95389944"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-macosx_10_7_x86_64.whl", hash = "sha256:7f8210297b04e53bc3da35db08b7302a6a1f4889c79173af69b72ec9754796b8"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:8c8a8812fe6f43a3a5b054af6ac2d7b8605c7bcab2804a8a7d68b53f3cd86e00"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:206ed23aecd67c71daf5c02c3cd19c0501b01ef3cbf7782db9e4e051426b3d0d"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c2027d05c8aebe61d898d4cffd774840a9cb82ed356ba47a90d99ad768f39789"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:40180930807ce806aa71eda5a5a5447abb6b6a3c0b4b3b1b1962651906484d68"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:615a0a4bff11c45eb3c1996ceed5bdaa2f7b432425253a7c2eed33bb86d80abc"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f5e412d717366e0677ef767eac93566582518fe8be923361a5c204c1a62eaafe"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:513b07e99c0a267b1d954243845d8a833758a6726a3b5d8948306e3fe14675e3"}, + {file = "pydantic_core-2.14.5.tar.gz", hash = "sha256:6d30226dfc816dd0fdf120cae611dd2215117e4f9b124af8c60ab9093b6e8e71"}, +] + +[package.dependencies] +typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" + [[package]] name = "pyflakes" version = "2.4.0" @@ -1883,17 +2113,18 @@ files = [ [[package]] name = "pygments" -version = "2.16.1" +version = "2.17.2" description = "Pygments is a syntax highlighting package written in Python." optional = false python-versions = ">=3.7" files = [ - {file = "Pygments-2.16.1-py3-none-any.whl", hash = "sha256:13fc09fa63bc8d8671a6d247e1eb303c4b343eaee81d861f3404db2935653692"}, - {file = "Pygments-2.16.1.tar.gz", hash = "sha256:1daff0494820c69bc8941e407aa20f577374ee88364ee10a98fdbe0aece96e29"}, + {file = "pygments-2.17.2-py3-none-any.whl", hash = "sha256:b27c2826c47d0f3219f29554824c30c5e8945175d888647acd804ddd04af846c"}, + {file = "pygments-2.17.2.tar.gz", hash = "sha256:da46cec9fd2de5be3a8a784f434e4c4ab670b4ff54d605c4c2717e9d49c4c367"}, ] [package.extras] plugins = ["importlib-metadata"] +windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pytest" @@ -1919,13 +2150,13 @@ testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "no [[package]] name = "pytest-asyncio" -version = "0.21.1" +version = "0.23.2" description = "Pytest support for asyncio" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "pytest-asyncio-0.21.1.tar.gz", hash = "sha256:40a7eae6dded22c7b604986855ea48400ab15b069ae38116e8c01238e9eeb64d"}, - {file = "pytest_asyncio-0.21.1-py3-none-any.whl", hash = "sha256:8666c1c8ac02631d7c51ba282e0c69a8a452b211ffedf2599099845da5c5c37b"}, + {file = "pytest-asyncio-0.23.2.tar.gz", hash = "sha256:c16052382554c7b22d48782ab3438d5b10f8cf7a4bdcae7f0f67f097d95beecc"}, + {file = "pytest_asyncio-0.23.2-py3-none-any.whl", hash = "sha256:ea9021364e32d58f0be43b91c6233fb8d2224ccef2398d6837559e587682808f"}, ] [package.dependencies] @@ -1933,7 +2164,7 @@ pytest = ">=7.0.0" [package.extras] docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1.0)"] -testing = ["coverage (>=6.2)", "flaky (>=3.5.0)", "hypothesis (>=5.7.1)", "mypy (>=0.931)", "pytest-trio (>=0.7.0)"] +testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"] [[package]] name = "pytest-cov" @@ -1969,12 +2200,12 @@ pytest = ">=3.6.0" [[package]] name = "pyunormalize" -version = "15.0.0" +version = "15.1.0" description = "Unicode normalization forms (NFC, NFKC, NFD, NFKD). A library independent from the Python core Unicode database." optional = false python-versions = ">=3.6" files = [ - {file = "pyunormalize-15.0.0.tar.gz", hash = "sha256:e63fdba0d85ea04579dde2fc29a072dba773dcae600b04faf6cc90714c8b1302"}, + {file = "pyunormalize-15.1.0.tar.gz", hash = "sha256:cf4a87451a0f1cb76911aa97f432f4579e1f564a2f0c84ce488c73a73901b6c1"}, ] [[package]] @@ -2061,13 +2292,13 @@ files = [ [[package]] name = "referencing" -version = "0.30.2" +version = "0.32.0" description = "JSON Referencing + Python" optional = false python-versions = ">=3.8" files = [ - {file = "referencing-0.30.2-py3-none-any.whl", hash = "sha256:449b6669b6121a9e96a7f9e410b245d471e8d48964c67113ce9afe50c8dd7bdf"}, - {file = "referencing-0.30.2.tar.gz", hash = "sha256:794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0"}, + {file = "referencing-0.32.0-py3-none-any.whl", hash = "sha256:bdcd3efb936f82ff86f993093f6da7435c7de69a3b3a5a06678a6050184bee99"}, + {file = "referencing-0.32.0.tar.gz", hash = "sha256:689e64fe121843dcfd57b71933318ef1f91188ffb45367332700a86ac8fd6161"}, ] [package.dependencies] @@ -2211,6 +2442,33 @@ six = "*" fixture = ["fixtures"] test = ["fixtures", "mock", "purl", "pytest", "requests-futures", "sphinx", "testtools"] +[[package]] +name = "requirementslib" +version = "3.0.0" +description = "A tool for converting between pip-style and pipfile requirements." +optional = false +python-versions = ">=3.7" +files = [ + {file = "requirementslib-3.0.0-py2.py3-none-any.whl", hash = "sha256:67b42903d7c32f89c7047d1020c619d37cb515c475a4ae6f4e5683e1c56d7bf7"}, + {file = "requirementslib-3.0.0.tar.gz", hash = "sha256:28f8e0b1c38b34ae06de68ef115b03bbcdcdb99f9e9393333ff06ded443e3f24"}, +] + +[package.dependencies] +distlib = ">=0.2.8" +pep517 = ">=0.5.0" +pip = ">=23.1" +platformdirs = "*" +plette = {version = "*", extras = ["validation"]} +pydantic = "*" +requests = "*" +setuptools = ">=40.8" +tomlkit = ">=0.5.3" + +[package.extras] +dev = ["nox", "parver", "towncrier", "twine"] +docs = ["sphinx", "sphinx-rtd-theme"] +tests = ["coverage", "hypothesis", "pytest", "pytest-cov", "pytest-timeout", "pytest-xdist", "readme-renderer[md]"] + [[package]] name = "rlp" version = "3.0.0" @@ -2234,110 +2492,110 @@ test = ["hypothesis (==5.19.0)", "pytest (>=6.2.5,<7)", "tox (>=2.9.1,<3)"] [[package]] name = "rpds-py" -version = "0.10.6" +version = "0.13.2" description = "Python bindings to Rust's persistent data structures (rpds)" optional = false python-versions = ">=3.8" files = [ - {file = "rpds_py-0.10.6-cp310-cp310-macosx_10_7_x86_64.whl", hash = "sha256:6bdc11f9623870d75692cc33c59804b5a18d7b8a4b79ef0b00b773a27397d1f6"}, - {file = "rpds_py-0.10.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:26857f0f44f0e791f4a266595a7a09d21f6b589580ee0585f330aaccccb836e3"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7f5e15c953ace2e8dde9824bdab4bec50adb91a5663df08d7d994240ae6fa31"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:61fa268da6e2e1cd350739bb61011121fa550aa2545762e3dc02ea177ee4de35"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c48f3fbc3e92c7dd6681a258d22f23adc2eb183c8cb1557d2fcc5a024e80b094"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c0503c5b681566e8b722fe8c4c47cce5c7a51f6935d5c7012c4aefe952a35eed"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:734c41f9f57cc28658d98270d3436dba65bed0cfc730d115b290e970150c540d"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a5d7ed104d158c0042a6a73799cf0eb576dfd5fc1ace9c47996e52320c37cb7c"}, - {file = "rpds_py-0.10.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:e3df0bc35e746cce42579826b89579d13fd27c3d5319a6afca9893a9b784ff1b"}, - {file = "rpds_py-0.10.6-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:73e0a78a9b843b8c2128028864901f55190401ba38aae685350cf69b98d9f7c9"}, - {file = "rpds_py-0.10.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5ed505ec6305abd2c2c9586a7b04fbd4baf42d4d684a9c12ec6110deefe2a063"}, - {file = "rpds_py-0.10.6-cp310-none-win32.whl", hash = "sha256:d97dd44683802000277bbf142fd9f6b271746b4846d0acaf0cefa6b2eaf2a7ad"}, - {file = "rpds_py-0.10.6-cp310-none-win_amd64.whl", hash = "sha256:b455492cab07107bfe8711e20cd920cc96003e0da3c1f91297235b1603d2aca7"}, - {file = "rpds_py-0.10.6-cp311-cp311-macosx_10_7_x86_64.whl", hash = "sha256:e8cdd52744f680346ff8c1ecdad5f4d11117e1724d4f4e1874f3a67598821069"}, - {file = "rpds_py-0.10.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:66414dafe4326bca200e165c2e789976cab2587ec71beb80f59f4796b786a238"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cc435d059f926fdc5b05822b1be4ff2a3a040f3ae0a7bbbe672babb468944722"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8e7f2219cb72474571974d29a191714d822e58be1eb171f229732bc6fdedf0ac"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3953c6926a63f8ea5514644b7afb42659b505ece4183fdaaa8f61d978754349e"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2bb2e4826be25e72013916eecd3d30f66fd076110de09f0e750163b416500721"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7bf347b495b197992efc81a7408e9a83b931b2f056728529956a4d0858608b80"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:102eac53bb0bf0f9a275b438e6cf6904904908562a1463a6fc3323cf47d7a532"}, - {file = "rpds_py-0.10.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:40f93086eef235623aa14dbddef1b9fb4b22b99454cb39a8d2e04c994fb9868c"}, - {file = "rpds_py-0.10.6-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e22260a4741a0e7a206e175232867b48a16e0401ef5bce3c67ca5b9705879066"}, - {file = "rpds_py-0.10.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f4e56860a5af16a0fcfa070a0a20c42fbb2012eed1eb5ceeddcc7f8079214281"}, - {file = "rpds_py-0.10.6-cp311-none-win32.whl", hash = "sha256:0774a46b38e70fdde0c6ded8d6d73115a7c39d7839a164cc833f170bbf539116"}, - {file = "rpds_py-0.10.6-cp311-none-win_amd64.whl", hash = "sha256:4a5ee600477b918ab345209eddafde9f91c0acd931f3776369585a1c55b04c57"}, - {file = "rpds_py-0.10.6-cp312-cp312-macosx_10_7_x86_64.whl", hash = "sha256:5ee97c683eaface61d38ec9a489e353d36444cdebb128a27fe486a291647aff6"}, - {file = "rpds_py-0.10.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0713631d6e2d6c316c2f7b9320a34f44abb644fc487b77161d1724d883662e31"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b5a53f5998b4bbff1cb2e967e66ab2addc67326a274567697379dd1e326bded7"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6a555ae3d2e61118a9d3e549737bb4a56ff0cec88a22bd1dfcad5b4e04759175"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:945eb4b6bb8144909b203a88a35e0a03d22b57aefb06c9b26c6e16d72e5eb0f0"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:52c215eb46307c25f9fd2771cac8135d14b11a92ae48d17968eda5aa9aaf5071"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c1b3cd23d905589cb205710b3988fc8f46d4a198cf12862887b09d7aaa6bf9b9"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:64ccc28683666672d7c166ed465c09cee36e306c156e787acef3c0c62f90da5a"}, - {file = "rpds_py-0.10.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:516a611a2de12fbea70c78271e558f725c660ce38e0006f75139ba337d56b1f6"}, - {file = "rpds_py-0.10.6-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:9ff93d3aedef11f9c4540cf347f8bb135dd9323a2fc705633d83210d464c579d"}, - {file = "rpds_py-0.10.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d858532212f0650be12b6042ff4378dc2efbb7792a286bee4489eaa7ba010586"}, - {file = "rpds_py-0.10.6-cp312-none-win32.whl", hash = "sha256:3c4eff26eddac49d52697a98ea01b0246e44ca82ab09354e94aae8823e8bda02"}, - {file = "rpds_py-0.10.6-cp312-none-win_amd64.whl", hash = "sha256:150eec465dbc9cbca943c8e557a21afdcf9bab8aaabf386c44b794c2f94143d2"}, - {file = "rpds_py-0.10.6-cp38-cp38-macosx_10_7_x86_64.whl", hash = "sha256:cf693eb4a08eccc1a1b636e4392322582db2a47470d52e824b25eca7a3977b53"}, - {file = "rpds_py-0.10.6-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4134aa2342f9b2ab6c33d5c172e40f9ef802c61bb9ca30d21782f6e035ed0043"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e782379c2028a3611285a795b89b99a52722946d19fc06f002f8b53e3ea26ea9"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2f6da6d842195fddc1cd34c3da8a40f6e99e4a113918faa5e60bf132f917c247"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b4a9fe992887ac68256c930a2011255bae0bf5ec837475bc6f7edd7c8dfa254e"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b788276a3c114e9f51e257f2a6f544c32c02dab4aa7a5816b96444e3f9ffc336"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:caa1afc70a02645809c744eefb7d6ee8fef7e2fad170ffdeacca267fd2674f13"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:bddd4f91eede9ca5275e70479ed3656e76c8cdaaa1b354e544cbcf94c6fc8ac4"}, - {file = "rpds_py-0.10.6-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:775049dfa63fb58293990fc59473e659fcafd953bba1d00fc5f0631a8fd61977"}, - {file = "rpds_py-0.10.6-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:c6c45a2d2b68c51fe3d9352733fe048291e483376c94f7723458cfd7b473136b"}, - {file = "rpds_py-0.10.6-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:0699ab6b8c98df998c3eacf51a3b25864ca93dab157abe358af46dc95ecd9801"}, - {file = "rpds_py-0.10.6-cp38-none-win32.whl", hash = "sha256:ebdab79f42c5961682654b851f3f0fc68e6cc7cd8727c2ac4ffff955154123c1"}, - {file = "rpds_py-0.10.6-cp38-none-win_amd64.whl", hash = "sha256:24656dc36f866c33856baa3ab309da0b6a60f37d25d14be916bd3e79d9f3afcf"}, - {file = "rpds_py-0.10.6-cp39-cp39-macosx_10_7_x86_64.whl", hash = "sha256:0898173249141ee99ffcd45e3829abe7bcee47d941af7434ccbf97717df020e5"}, - {file = "rpds_py-0.10.6-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:9e9184fa6c52a74a5521e3e87badbf9692549c0fcced47443585876fcc47e469"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5752b761902cd15073a527b51de76bbae63d938dc7c5c4ad1e7d8df10e765138"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:99a57006b4ec39dbfb3ed67e5b27192792ffb0553206a107e4aadb39c5004cd5"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:09586f51a215d17efdb3a5f090d7cbf1633b7f3708f60a044757a5d48a83b393"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e225a6a14ecf44499aadea165299092ab0cba918bb9ccd9304eab1138844490b"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b2039f8d545f20c4e52713eea51a275e62153ee96c8035a32b2abb772b6fc9e5"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:34ad87a831940521d462ac11f1774edf867c34172010f5390b2f06b85dcc6014"}, - {file = "rpds_py-0.10.6-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:dcdc88b6b01015da066da3fb76545e8bb9a6880a5ebf89e0f0b2e3ca557b3ab7"}, - {file = "rpds_py-0.10.6-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:25860ed5c4e7f5e10c496ea78af46ae8d8468e0be745bd233bab9ca99bfd2647"}, - {file = "rpds_py-0.10.6-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:7854a207ef77319ec457c1eb79c361b48807d252d94348305db4f4b62f40f7f3"}, - {file = "rpds_py-0.10.6-cp39-none-win32.whl", hash = "sha256:e6fcc026a3f27c1282c7ed24b7fcac82cdd70a0e84cc848c0841a3ab1e3dea2d"}, - {file = "rpds_py-0.10.6-cp39-none-win_amd64.whl", hash = "sha256:e98c4c07ee4c4b3acf787e91b27688409d918212dfd34c872201273fdd5a0e18"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-macosx_10_7_x86_64.whl", hash = "sha256:68fe9199184c18d997d2e4293b34327c0009a78599ce703e15cd9a0f47349bba"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:3339eca941568ed52d9ad0f1b8eb9fe0958fa245381747cecf2e9a78a5539c42"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a360cfd0881d36c6dc271992ce1eda65dba5e9368575663de993eeb4523d895f"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:031f76fc87644a234883b51145e43985aa2d0c19b063e91d44379cd2786144f8"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1f36a9d751f86455dc5278517e8b65580eeee37d61606183897f122c9e51cef3"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:052a832078943d2b2627aea0d19381f607fe331cc0eb5df01991268253af8417"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:023574366002bf1bd751ebaf3e580aef4a468b3d3c216d2f3f7e16fdabd885ed"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:defa2c0c68734f4a82028c26bcc85e6b92cced99866af118cd6a89b734ad8e0d"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:879fb24304ead6b62dbe5034e7b644b71def53c70e19363f3c3be2705c17a3b4"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-musllinux_1_2_i686.whl", hash = "sha256:53c43e10d398e365da2d4cc0bcaf0854b79b4c50ee9689652cdc72948e86f487"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:3777cc9dea0e6c464e4b24760664bd8831738cc582c1d8aacf1c3f546bef3f65"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-macosx_10_7_x86_64.whl", hash = "sha256:40578a6469e5d1df71b006936ce95804edb5df47b520c69cf5af264d462f2cbb"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:cf71343646756a072b85f228d35b1d7407da1669a3de3cf47f8bbafe0c8183a4"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:10f32b53f424fc75ff7b713b2edb286fdbfc94bf16317890260a81c2c00385dc"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:81de24a1c51cfb32e1fbf018ab0bdbc79c04c035986526f76c33e3f9e0f3356c"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ac17044876e64a8ea20ab132080ddc73b895b4abe9976e263b0e30ee5be7b9c2"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5e8a78bd4879bff82daef48c14d5d4057f6856149094848c3ed0ecaf49f5aec2"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:78ca33811e1d95cac8c2e49cb86c0fb71f4d8409d8cbea0cb495b6dbddb30a55"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c63c3ef43f0b3fb00571cff6c3967cc261c0ebd14a0a134a12e83bdb8f49f21f"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:7fde6d0e00b2fd0dbbb40c0eeec463ef147819f23725eda58105ba9ca48744f4"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-musllinux_1_2_i686.whl", hash = "sha256:79edd779cfc46b2e15b0830eecd8b4b93f1a96649bcb502453df471a54ce7977"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:9164ec8010327ab9af931d7ccd12ab8d8b5dc2f4c6a16cbdd9d087861eaaefa1"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-macosx_10_7_x86_64.whl", hash = "sha256:d29ddefeab1791e3c751e0189d5f4b3dbc0bbe033b06e9c333dca1f99e1d523e"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:30adb75ecd7c2a52f5e76af50644b3e0b5ba036321c390b8e7ec1bb2a16dd43c"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dd609fafdcdde6e67a139898196698af37438b035b25ad63704fd9097d9a3482"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6eef672de005736a6efd565577101277db6057f65640a813de6c2707dc69f396"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6cf4393c7b41abbf07c88eb83e8af5013606b1cdb7f6bc96b1b3536b53a574b8"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ad857f42831e5b8d41a32437f88d86ead6c191455a3499c4b6d15e007936d4cf"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1d7360573f1e046cb3b0dceeb8864025aa78d98be4bb69f067ec1c40a9e2d9df"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d08f63561c8a695afec4975fae445245386d645e3e446e6f260e81663bfd2e38"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:f0f17f2ce0f3529177a5fff5525204fad7b43dd437d017dd0317f2746773443d"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-musllinux_1_2_i686.whl", hash = "sha256:442626328600bde1d09dc3bb00434f5374948838ce75c41a52152615689f9403"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:e9616f5bd2595f7f4a04b67039d890348ab826e943a9bfdbe4938d0eba606971"}, - {file = "rpds_py-0.10.6.tar.gz", hash = "sha256:4ce5a708d65a8dbf3748d2474b580d606b1b9f91b5c6ab2a316e0b0cf7a4ba50"}, + {file = "rpds_py-0.13.2-cp310-cp310-macosx_10_7_x86_64.whl", hash = "sha256:1ceebd0ae4f3e9b2b6b553b51971921853ae4eebf3f54086be0565d59291e53d"}, + {file = "rpds_py-0.13.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:46e1ed994a0920f350a4547a38471217eb86f57377e9314fbaaa329b71b7dfe3"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee353bb51f648924926ed05e0122b6a0b1ae709396a80eb583449d5d477fcdf7"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:530190eb0cd778363bbb7596612ded0bb9fef662daa98e9d92a0419ab27ae914"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:29d311e44dd16d2434d5506d57ef4d7036544fc3c25c14b6992ef41f541b10fb"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2e72f750048b32d39e87fc85c225c50b2a6715034848dbb196bf3348aa761fa1"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:db09b98c7540df69d4b47218da3fbd7cb466db0fb932e971c321f1c76f155266"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2ac26f50736324beb0282c819668328d53fc38543fa61eeea2c32ea8ea6eab8d"}, + {file = "rpds_py-0.13.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:12ecf89bd54734c3c2c79898ae2021dca42750c7bcfb67f8fb3315453738ac8f"}, + {file = "rpds_py-0.13.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:3a44c8440183b43167fd1a0819e8356692bf5db1ad14ce140dbd40a1485f2dea"}, + {file = "rpds_py-0.13.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:bcef4f2d3dc603150421de85c916da19471f24d838c3c62a4f04c1eb511642c1"}, + {file = "rpds_py-0.13.2-cp310-none-win32.whl", hash = "sha256:ee6faebb265e28920a6f23a7d4c362414b3f4bb30607141d718b991669e49ddc"}, + {file = "rpds_py-0.13.2-cp310-none-win_amd64.whl", hash = "sha256:ac96d67b37f28e4b6ecf507c3405f52a40658c0a806dffde624a8fcb0314d5fd"}, + {file = "rpds_py-0.13.2-cp311-cp311-macosx_10_7_x86_64.whl", hash = "sha256:b5f6328e8e2ae8238fc767703ab7b95785521c42bb2b8790984e3477d7fa71ad"}, + {file = "rpds_py-0.13.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:729408136ef8d45a28ee9a7411917c9e3459cf266c7e23c2f7d4bb8ef9e0da42"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:65cfed9c807c27dee76407e8bb29e6f4e391e436774bcc769a037ff25ad8646e"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:aefbdc934115d2f9278f153952003ac52cd2650e7313750390b334518c589568"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d48db29bd47814671afdd76c7652aefacc25cf96aad6daefa82d738ee87461e2"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3c55d7f2d817183d43220738270efd3ce4e7a7b7cbdaefa6d551ed3d6ed89190"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6aadae3042f8e6db3376d9e91f194c606c9a45273c170621d46128f35aef7cd0"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5feae2f9aa7270e2c071f488fab256d768e88e01b958f123a690f1cc3061a09c"}, + {file = "rpds_py-0.13.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:51967a67ea0d7b9b5cd86036878e2d82c0b6183616961c26d825b8c994d4f2c8"}, + {file = "rpds_py-0.13.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:4d0c10d803549427f427085ed7aebc39832f6e818a011dcd8785e9c6a1ba9b3e"}, + {file = "rpds_py-0.13.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:603d5868f7419081d616dab7ac3cfa285296735e7350f7b1e4f548f6f953ee7d"}, + {file = "rpds_py-0.13.2-cp311-none-win32.whl", hash = "sha256:b8996ffb60c69f677245f5abdbcc623e9442bcc91ed81b6cd6187129ad1fa3e7"}, + {file = "rpds_py-0.13.2-cp311-none-win_amd64.whl", hash = "sha256:5379e49d7e80dca9811b36894493d1c1ecb4c57de05c36f5d0dd09982af20211"}, + {file = "rpds_py-0.13.2-cp312-cp312-macosx_10_7_x86_64.whl", hash = "sha256:8a776a29b77fe0cc28fedfd87277b0d0f7aa930174b7e504d764e0b43a05f381"}, + {file = "rpds_py-0.13.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2a1472956c5bcc49fb0252b965239bffe801acc9394f8b7c1014ae9258e4572b"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f252dfb4852a527987a9156cbcae3022a30f86c9d26f4f17b8c967d7580d65d2"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f0d320e70b6b2300ff6029e234e79fe44e9dbbfc7b98597ba28e054bd6606a57"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ade2ccb937060c299ab0dfb2dea3d2ddf7e098ed63ee3d651ebfc2c8d1e8632a"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b9d121be0217787a7d59a5c6195b0842d3f701007333426e5154bf72346aa658"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8fa6bd071ec6d90f6e7baa66ae25820d57a8ab1b0a3c6d3edf1834d4b26fafa2"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c918621ee0a3d1fe61c313f2489464f2ae3d13633e60f520a8002a5e910982ee"}, + {file = "rpds_py-0.13.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:25b28b3d33ec0a78e944aaaed7e5e2a94ac811bcd68b557ca48a0c30f87497d2"}, + {file = "rpds_py-0.13.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:31e220a040b89a01505128c2f8a59ee74732f666439a03e65ccbf3824cdddae7"}, + {file = "rpds_py-0.13.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:15253fff410873ebf3cfba1cc686a37711efcd9b8cb30ea21bb14a973e393f60"}, + {file = "rpds_py-0.13.2-cp312-none-win32.whl", hash = "sha256:b981a370f8f41c4024c170b42fbe9e691ae2dbc19d1d99151a69e2c84a0d194d"}, + {file = "rpds_py-0.13.2-cp312-none-win_amd64.whl", hash = "sha256:4c4e314d36d4f31236a545696a480aa04ea170a0b021e9a59ab1ed94d4c3ef27"}, + {file = "rpds_py-0.13.2-cp38-cp38-macosx_10_7_x86_64.whl", hash = "sha256:80e5acb81cb49fd9f2d5c08f8b74ffff14ee73b10ca88297ab4619e946bcb1e1"}, + {file = "rpds_py-0.13.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:efe093acc43e869348f6f2224df7f452eab63a2c60a6c6cd6b50fd35c4e075ba"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8c2a61c0e4811012b0ba9f6cdcb4437865df5d29eab5d6018ba13cee1c3064a0"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:751758d9dd04d548ec679224cc00e3591f5ebf1ff159ed0d4aba6a0746352452"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6ba8858933f0c1a979781272a5f65646fca8c18c93c99c6ddb5513ad96fa54b1"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bfdfbe6a36bc3059fff845d64c42f2644cf875c65f5005db54f90cdfdf1df815"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aa0379c1935c44053c98826bc99ac95f3a5355675a297ac9ce0dfad0ce2d50ca"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d5593855b5b2b73dd8413c3fdfa5d95b99d657658f947ba2c4318591e745d083"}, + {file = "rpds_py-0.13.2-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:2a7bef6977043673750a88da064fd513f89505111014b4e00fbdd13329cd4e9a"}, + {file = "rpds_py-0.13.2-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:3ab96754d23372009638a402a1ed12a27711598dd49d8316a22597141962fe66"}, + {file = "rpds_py-0.13.2-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:e06cfea0ece444571d24c18ed465bc93afb8c8d8d74422eb7026662f3d3f779b"}, + {file = "rpds_py-0.13.2-cp38-none-win32.whl", hash = "sha256:5493569f861fb7b05af6d048d00d773c6162415ae521b7010197c98810a14cab"}, + {file = "rpds_py-0.13.2-cp38-none-win_amd64.whl", hash = "sha256:b07501b720cf060c5856f7b5626e75b8e353b5f98b9b354a21eb4bfa47e421b1"}, + {file = "rpds_py-0.13.2-cp39-cp39-macosx_10_7_x86_64.whl", hash = "sha256:881df98f0a8404d32b6de0fd33e91c1b90ed1516a80d4d6dc69d414b8850474c"}, + {file = "rpds_py-0.13.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d79c159adea0f1f4617f54aa156568ac69968f9ef4d1e5fefffc0a180830308e"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:38d4f822ee2f338febcc85aaa2547eb5ba31ba6ff68d10b8ec988929d23bb6b4"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5d75d6d220d55cdced2f32cc22f599475dbe881229aeddba6c79c2e9df35a2b3"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5d97e9ae94fb96df1ee3cb09ca376c34e8a122f36927230f4c8a97f469994bff"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:67a429520e97621a763cf9b3ba27574779c4e96e49a27ff8a1aa99ee70beb28a"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:188435794405c7f0573311747c85a96b63c954a5f2111b1df8018979eca0f2f0"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:38f9bf2ad754b4a45b8210a6c732fe876b8a14e14d5992a8c4b7c1ef78740f53"}, + {file = "rpds_py-0.13.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:a6ba2cb7d676e9415b9e9ac7e2aae401dc1b1e666943d1f7bc66223d3d73467b"}, + {file = "rpds_py-0.13.2-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:eaffbd8814bb1b5dc3ea156a4c5928081ba50419f9175f4fc95269e040eff8f0"}, + {file = "rpds_py-0.13.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:5a4c1058cdae6237d97af272b326e5f78ee7ee3bbffa6b24b09db4d828810468"}, + {file = "rpds_py-0.13.2-cp39-none-win32.whl", hash = "sha256:b5267feb19070bef34b8dea27e2b504ebd9d31748e3ecacb3a4101da6fcb255c"}, + {file = "rpds_py-0.13.2-cp39-none-win_amd64.whl", hash = "sha256:ddf23960cb42b69bce13045d5bc66f18c7d53774c66c13f24cf1b9c144ba3141"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-macosx_10_7_x86_64.whl", hash = "sha256:97163a1ab265a1073a6372eca9f4eeb9f8c6327457a0b22ddfc4a17dcd613e74"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:25ea41635d22b2eb6326f58e608550e55d01df51b8a580ea7e75396bafbb28e9"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76d59d4d451ba77f08cb4cd9268dec07be5bc65f73666302dbb5061989b17198"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e7c564c58cf8f248fe859a4f0fe501b050663f3d7fbc342172f259124fb59933"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:61dbc1e01dc0c5875da2f7ae36d6e918dc1b8d2ce04e871793976594aad8a57a"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fdb82eb60d31b0c033a8e8ee9f3fc7dfbaa042211131c29da29aea8531b4f18f"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d204957169f0b3511fb95395a9da7d4490fb361763a9f8b32b345a7fe119cb45"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c45008ca79bad237cbc03c72bc5205e8c6f66403773929b1b50f7d84ef9e4d07"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:79bf58c08f0756adba691d480b5a20e4ad23f33e1ae121584cf3a21717c36dfa"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-musllinux_1_2_i686.whl", hash = "sha256:e86593bf8637659e6a6ed58854b6c87ec4e9e45ee8a4adfd936831cef55c2d21"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:d329896c40d9e1e5c7715c98529e4a188a1f2df51212fd65102b32465612b5dc"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-macosx_10_7_x86_64.whl", hash = "sha256:4a5375c5fff13f209527cd886dc75394f040c7d1ecad0a2cb0627f13ebe78a12"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:06d218e4464d31301e943b65b2c6919318ea6f69703a351961e1baaf60347276"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c1f41d32a2ddc5a94df4b829b395916a4b7f103350fa76ba6de625fcb9e773ac"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6bc568b05e02cd612be53900c88aaa55012e744930ba2eeb56279db4c6676eb3"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d94d78418203904730585efa71002286ac4c8ac0689d0eb61e3c465f9e608ff"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bed0252c85e21cf73d2d033643c945b460d6a02fc4a7d644e3b2d6f5f2956c64"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:244e173bb6d8f3b2f0c4d7370a1aa341f35da3e57ffd1798e5b2917b91731fd3"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7f55cd9cf1564b7b03f238e4c017ca4794c05b01a783e9291065cb2858d86ce4"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:f03a1b3a4c03e3e0161642ac5367f08479ab29972ea0ffcd4fa18f729cd2be0a"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-musllinux_1_2_i686.whl", hash = "sha256:f5f4424cb87a20b016bfdc157ff48757b89d2cc426256961643d443c6c277007"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:c82bbf7e03748417c3a88c1b0b291288ce3e4887a795a3addaa7a1cfd9e7153e"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-macosx_10_7_x86_64.whl", hash = "sha256:c0095b8aa3e432e32d372e9a7737e65b58d5ed23b9620fea7cb81f17672f1fa1"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:4c2d26aa03d877c9730bf005621c92da263523a1e99247590abbbe252ccb7824"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:96f2975fb14f39c5fe75203f33dd3010fe37d1c4e33177feef1107b5ced750e3"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:4dcc5ee1d0275cb78d443fdebd0241e58772a354a6d518b1d7af1580bbd2c4e8"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:61d42d2b08430854485135504f672c14d4fc644dd243a9c17e7c4e0faf5ed07e"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d3a61e928feddc458a55110f42f626a2a20bea942ccedb6fb4cee70b4830ed41"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7de12b69d95072394998c622cfd7e8cea8f560db5fca6a62a148f902a1029f8b"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:87a90f5545fd61f6964e65eebde4dc3fa8660bb7d87adb01d4cf17e0a2b484ad"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:9c95a1a290f9acf7a8f2ebbdd183e99215d491beea52d61aa2a7a7d2c618ddc6"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-musllinux_1_2_i686.whl", hash = "sha256:35f53c76a712e323c779ca39b9a81b13f219a8e3bc15f106ed1e1462d56fcfe9"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:96fb0899bb2ab353f42e5374c8f0789f54e0a94ef2f02b9ac7149c56622eaf31"}, + {file = "rpds_py-0.13.2.tar.gz", hash = "sha256:f8eae66a1304de7368932b42d801c67969fd090ddb1a7a24f27b435ed4bed68f"}, ] [[package]] @@ -2352,17 +2610,17 @@ files = [ [[package]] name = "setuptools" -version = "68.2.2" +version = "69.0.2" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "setuptools-68.2.2-py3-none-any.whl", hash = "sha256:b454a35605876da60632df1a60f736524eb73cc47bbc9f3f1ef1b644de74fd2a"}, - {file = "setuptools-68.2.2.tar.gz", hash = "sha256:4ac1475276d2f1c48684874089fefcd83bd7162ddaafb81fac866ba0db282a87"}, + {file = "setuptools-69.0.2-py3-none-any.whl", hash = "sha256:1e8fdff6797d3865f37397be788a4e3cba233608e9b509382a2777d25ebde7f2"}, + {file = "setuptools-69.0.2.tar.gz", hash = "sha256:735896e78a4742605974de002ac60562d286fa8051a7e2299445e8e8fbb01aa6"}, ] [package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.1)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] @@ -2399,6 +2657,17 @@ files = [ {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, ] +[[package]] +name = "tomlkit" +version = "0.12.3" +description = "Style preserving TOML library" +optional = false +python-versions = ">=3.7" +files = [ + {file = "tomlkit-0.12.3-py3-none-any.whl", hash = "sha256:b0a645a9156dc7cb5d3a1f0d4bab66db287fcb8e0430bdd4664a095ea16414ba"}, + {file = "tomlkit-0.12.3.tar.gz", hash = "sha256:75baf5012d06501f07bee5bf8e801b9f343e7aac5a92581f20f80ce632e6b5a4"}, +] + [[package]] name = "toolz" version = "0.12.0" @@ -2412,13 +2681,13 @@ files = [ [[package]] name = "typing-extensions" -version = "4.8.0" +version = "4.9.0" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" files = [ - {file = "typing_extensions-4.8.0-py3-none-any.whl", hash = "sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0"}, - {file = "typing_extensions-4.8.0.tar.gz", hash = "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef"}, + {file = "typing_extensions-4.9.0-py3-none-any.whl", hash = "sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd"}, + {file = "typing_extensions-4.9.0.tar.gz", hash = "sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783"}, ] [[package]] @@ -2439,19 +2708,19 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] [[package]] name = "virtualenv" -version = "20.24.6" +version = "20.25.0" description = "Virtual Python Environment builder" optional = false python-versions = ">=3.7" files = [ - {file = "virtualenv-20.24.6-py3-none-any.whl", hash = "sha256:520d056652454c5098a00c0f073611ccbea4c79089331f60bf9d7ba247bb7381"}, - {file = "virtualenv-20.24.6.tar.gz", hash = "sha256:02ece4f56fbf939dbbc33c0715159951d6bf14aaf5457b092e4548e1382455af"}, + {file = "virtualenv-20.25.0-py3-none-any.whl", hash = "sha256:4238949c5ffe6876362d9c0180fc6c3a824a7b12b80604eeb8085f2ed7460de3"}, + {file = "virtualenv-20.25.0.tar.gz", hash = "sha256:bf51c0d9c7dd63ea8e44086fa1e4fb1093a31e963b86959257378aef020e1f1b"}, ] [package.dependencies] distlib = ">=0.3.7,<1" filelock = ">=3.12.2,<4" -platformdirs = ">=3.9.1,<4" +platformdirs = ">=3.9.1,<5" [package.extras] docs = ["furo (>=2023.7.26)", "proselint (>=0.13)", "sphinx (>=7.1.2)", "sphinx-argparse (>=0.4)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=23.6)"] @@ -2459,13 +2728,13 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [[package]] name = "web3" -version = "6.11.1" +version = "6.11.4" description = "web3.py" optional = false python-versions = ">=3.7.2" files = [ - {file = "web3-6.11.1-py3-none-any.whl", hash = "sha256:0d39f58cbb0c652b45e711f01e01ec655117b47ba4eefd1f9550c52d205afa8c"}, - {file = "web3-6.11.1.tar.gz", hash = "sha256:d301d7120922d5b9e5c9535ef9780012ea25ea4011c2b177490ba7d3ef886b92"}, + {file = "web3-6.11.4-py3-none-any.whl", hash = "sha256:b63d461c6d48e9ec12ed22c293c1d22ef83d1ec650c570e70fc24a6432b1b4a3"}, + {file = "web3-6.11.4.tar.gz", hash = "sha256:5bf785e63868c271ebee05a9ab257858630a0b105d34872cfe6a6049a887fec6"}, ] [package.dependencies] @@ -2477,7 +2746,7 @@ eth-typing = ">=3.0.0" eth-utils = ">=2.1.0" hexbytes = ">=0.1.0,<0.4.0" jsonschema = ">=4.0.0" -lru-dict = ">=1.1.6" +lru-dict = ">=1.1.6,<1.3.0" protobuf = ">=4.21.6" pyunormalize = ">=15.0.0" pywin32 = {version = ">=223", markers = "platform_system == \"Windows\""} @@ -2573,87 +2842,117 @@ files = [ {file = "websockets-12.0.tar.gz", hash = "sha256:81df9cbcbb6c260de1e007e58c011bfebe2dafc8435107b0537f393dd38c8b1b"}, ] +[[package]] +name = "yarg" +version = "0.1.9" +description = "A semi hard Cornish cheese, also queries PyPI (PyPI client)" +optional = false +python-versions = "*" +files = [ + {file = "yarg-0.1.9-py2.py3-none-any.whl", hash = "sha256:4f9cebdc00fac946c9bf2783d634e538a71c7d280a4d806d45fd4dc0ef441492"}, + {file = "yarg-0.1.9.tar.gz", hash = "sha256:55695bf4d1e3e7f756496c36a69ba32c40d18f821e38f61d028f6049e5e15911"}, +] + +[package.dependencies] +requests = "*" + [[package]] name = "yarl" -version = "1.9.2" +version = "1.9.4" description = "Yet another URL library" optional = false python-versions = ">=3.7" files = [ - {file = "yarl-1.9.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8c2ad583743d16ddbdf6bb14b5cd76bf43b0d0006e918809d5d4ddf7bde8dd82"}, - {file = "yarl-1.9.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:82aa6264b36c50acfb2424ad5ca537a2060ab6de158a5bd2a72a032cc75b9eb8"}, - {file = "yarl-1.9.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c0c77533b5ed4bcc38e943178ccae29b9bcf48ffd1063f5821192f23a1bd27b9"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee4afac41415d52d53a9833ebae7e32b344be72835bbb589018c9e938045a560"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9bf345c3a4f5ba7f766430f97f9cc1320786f19584acc7086491f45524a551ac"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2a96c19c52ff442a808c105901d0bdfd2e28575b3d5f82e2f5fd67e20dc5f4ea"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:891c0e3ec5ec881541f6c5113d8df0315ce5440e244a716b95f2525b7b9f3608"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c3a53ba34a636a256d767c086ceb111358876e1fb6b50dfc4d3f4951d40133d5"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:566185e8ebc0898b11f8026447eacd02e46226716229cea8db37496c8cdd26e0"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:2b0738fb871812722a0ac2154be1f049c6223b9f6f22eec352996b69775b36d4"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:32f1d071b3f362c80f1a7d322bfd7b2d11e33d2adf395cc1dd4df36c9c243095"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:e9fdc7ac0d42bc3ea78818557fab03af6181e076a2944f43c38684b4b6bed8e3"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:56ff08ab5df8429901ebdc5d15941b59f6253393cb5da07b4170beefcf1b2528"}, - {file = "yarl-1.9.2-cp310-cp310-win32.whl", hash = "sha256:8ea48e0a2f931064469bdabca50c2f578b565fc446f302a79ba6cc0ee7f384d3"}, - {file = "yarl-1.9.2-cp310-cp310-win_amd64.whl", hash = "sha256:50f33040f3836e912ed16d212f6cc1efb3231a8a60526a407aeb66c1c1956dde"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:646d663eb2232d7909e6601f1a9107e66f9791f290a1b3dc7057818fe44fc2b6"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:aff634b15beff8902d1f918012fc2a42e0dbae6f469fce134c8a0dc51ca423bb"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a83503934c6273806aed765035716216cc9ab4e0364f7f066227e1aaea90b8d0"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b25322201585c69abc7b0e89e72790469f7dad90d26754717f3310bfe30331c2"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:22a94666751778629f1ec4280b08eb11815783c63f52092a5953faf73be24191"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8ec53a0ea2a80c5cd1ab397925f94bff59222aa3cf9c6da938ce05c9ec20428d"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:159d81f22d7a43e6eabc36d7194cb53f2f15f498dbbfa8edc8a3239350f59fe7"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:832b7e711027c114d79dffb92576acd1bd2decc467dec60e1cac96912602d0e6"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:95d2ecefbcf4e744ea952d073c6922e72ee650ffc79028eb1e320e732898d7e8"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:d4e2c6d555e77b37288eaf45b8f60f0737c9efa3452c6c44626a5455aeb250b9"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:783185c75c12a017cc345015ea359cc801c3b29a2966c2655cd12b233bf5a2be"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:b8cc1863402472f16c600e3e93d542b7e7542a540f95c30afd472e8e549fc3f7"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:822b30a0f22e588b32d3120f6d41e4ed021806418b4c9f0bc3048b8c8cb3f92a"}, - {file = "yarl-1.9.2-cp311-cp311-win32.whl", hash = "sha256:a60347f234c2212a9f0361955007fcf4033a75bf600a33c88a0a8e91af77c0e8"}, - {file = "yarl-1.9.2-cp311-cp311-win_amd64.whl", hash = "sha256:be6b3fdec5c62f2a67cb3f8c6dbf56bbf3f61c0f046f84645cd1ca73532ea051"}, - {file = "yarl-1.9.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:38a3928ae37558bc1b559f67410df446d1fbfa87318b124bf5032c31e3447b74"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ac9bb4c5ce3975aeac288cfcb5061ce60e0d14d92209e780c93954076c7c4367"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3da8a678ca8b96c8606bbb8bfacd99a12ad5dd288bc6f7979baddd62f71c63ef"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:13414591ff516e04fcdee8dc051c13fd3db13b673c7a4cb1350e6b2ad9639ad3"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bf74d08542c3a9ea97bb8f343d4fcbd4d8f91bba5ec9d5d7f792dbe727f88938"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6e7221580dc1db478464cfeef9b03b95c5852cc22894e418562997df0d074ccc"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:494053246b119b041960ddcd20fd76224149cfea8ed8777b687358727911dd33"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:52a25809fcbecfc63ac9ba0c0fb586f90837f5425edfd1ec9f3372b119585e45"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:e65610c5792870d45d7b68c677681376fcf9cc1c289f23e8e8b39c1485384185"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:1b1bba902cba32cdec51fca038fd53f8beee88b77efc373968d1ed021024cc04"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:662e6016409828ee910f5d9602a2729a8a57d74b163c89a837de3fea050c7582"}, - {file = "yarl-1.9.2-cp37-cp37m-win32.whl", hash = "sha256:f364d3480bffd3aa566e886587eaca7c8c04d74f6e8933f3f2c996b7f09bee1b"}, - {file = "yarl-1.9.2-cp37-cp37m-win_amd64.whl", hash = "sha256:6a5883464143ab3ae9ba68daae8e7c5c95b969462bbe42e2464d60e7e2698368"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5610f80cf43b6202e2c33ba3ec2ee0a2884f8f423c8f4f62906731d876ef4fac"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b9a4e67ad7b646cd6f0938c7ebfd60e481b7410f574c560e455e938d2da8e0f4"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:83fcc480d7549ccebe9415d96d9263e2d4226798c37ebd18c930fce43dfb9574"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5fcd436ea16fee7d4207c045b1e340020e58a2597301cfbcfdbe5abd2356c2fb"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:84e0b1599334b1e1478db01b756e55937d4614f8654311eb26012091be109d59"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3458a24e4ea3fd8930e934c129b676c27452e4ebda80fbe47b56d8c6c7a63a9e"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:838162460b3a08987546e881a2bfa573960bb559dfa739e7800ceeec92e64417"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f4e2d08f07a3d7d3e12549052eb5ad3eab1c349c53ac51c209a0e5991bbada78"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:de119f56f3c5f0e2fb4dee508531a32b069a5f2c6e827b272d1e0ff5ac040333"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:149ddea5abf329752ea5051b61bd6c1d979e13fbf122d3a1f9f0c8be6cb6f63c"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:674ca19cbee4a82c9f54e0d1eee28116e63bc6fd1e96c43031d11cbab8b2afd5"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:9b3152f2f5677b997ae6c804b73da05a39daa6a9e85a512e0e6823d81cdad7cc"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5415d5a4b080dc9612b1b63cba008db84e908b95848369aa1da3686ae27b6d2b"}, - {file = "yarl-1.9.2-cp38-cp38-win32.whl", hash = "sha256:f7a3d8146575e08c29ed1cd287068e6d02f1c7bdff8970db96683b9591b86ee7"}, - {file = "yarl-1.9.2-cp38-cp38-win_amd64.whl", hash = "sha256:63c48f6cef34e6319a74c727376e95626f84ea091f92c0250a98e53e62c77c72"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:75df5ef94c3fdc393c6b19d80e6ef1ecc9ae2f4263c09cacb178d871c02a5ba9"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c027a6e96ef77d401d8d5a5c8d6bc478e8042f1e448272e8d9752cb0aff8b5c8"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f3b078dbe227f79be488ffcfc7a9edb3409d018e0952cf13f15fd6512847f3f7"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:59723a029760079b7d991a401386390c4be5bfec1e7dd83e25a6a0881859e716"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b03917871bf859a81ccb180c9a2e6c1e04d2f6a51d953e6a5cdd70c93d4e5a2a"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c1012fa63eb6c032f3ce5d2171c267992ae0c00b9e164efe4d73db818465fac3"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a74dcbfe780e62f4b5a062714576f16c2f3493a0394e555ab141bf0d746bb955"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c56986609b057b4839968ba901944af91b8e92f1725d1a2d77cbac6972b9ed1"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:2c315df3293cd521033533d242d15eab26583360b58f7ee5d9565f15fee1bef4"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:b7232f8dfbd225d57340e441d8caf8652a6acd06b389ea2d3222b8bc89cbfca6"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:53338749febd28935d55b41bf0bcc79d634881195a39f6b2f767870b72514caf"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:066c163aec9d3d073dc9ffe5dd3ad05069bcb03fcaab8d221290ba99f9f69ee3"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8288d7cd28f8119b07dd49b7230d6b4562f9b61ee9a4ab02221060d21136be80"}, - {file = "yarl-1.9.2-cp39-cp39-win32.whl", hash = "sha256:b124e2a6d223b65ba8768d5706d103280914d61f5cae3afbc50fc3dfcc016623"}, - {file = "yarl-1.9.2-cp39-cp39-win_amd64.whl", hash = "sha256:61016e7d582bc46a5378ffdd02cd0314fb8ba52f40f9cf4d9a5e7dbef88dee18"}, - {file = "yarl-1.9.2.tar.gz", hash = "sha256:04ab9d4b9f587c06d801c2abfe9317b77cdf996c65a90d5e84ecc45010823571"}, + {file = "yarl-1.9.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a8c1df72eb746f4136fe9a2e72b0c9dc1da1cbd23b5372f94b5820ff8ae30e0e"}, + {file = "yarl-1.9.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a3a6ed1d525bfb91b3fc9b690c5a21bb52de28c018530ad85093cc488bee2dd2"}, + {file = "yarl-1.9.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c38c9ddb6103ceae4e4498f9c08fac9b590c5c71b0370f98714768e22ac6fa66"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d9e09c9d74f4566e905a0b8fa668c58109f7624db96a2171f21747abc7524234"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b8477c1ee4bd47c57d49621a062121c3023609f7a13b8a46953eb6c9716ca392"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d5ff2c858f5f6a42c2a8e751100f237c5e869cbde669a724f2062d4c4ef93551"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:357495293086c5b6d34ca9616a43d329317feab7917518bc97a08f9e55648455"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:54525ae423d7b7a8ee81ba189f131054defdb122cde31ff17477951464c1691c"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:801e9264d19643548651b9db361ce3287176671fb0117f96b5ac0ee1c3530d53"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e516dc8baf7b380e6c1c26792610230f37147bb754d6426462ab115a02944385"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:7d5aaac37d19b2904bb9dfe12cdb08c8443e7ba7d2852894ad448d4b8f442863"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:54beabb809ffcacbd9d28ac57b0db46e42a6e341a030293fb3185c409e626b8b"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bac8d525a8dbc2a1507ec731d2867025d11ceadcb4dd421423a5d42c56818541"}, + {file = "yarl-1.9.4-cp310-cp310-win32.whl", hash = "sha256:7855426dfbddac81896b6e533ebefc0af2f132d4a47340cee6d22cac7190022d"}, + {file = "yarl-1.9.4-cp310-cp310-win_amd64.whl", hash = "sha256:848cd2a1df56ddbffeb375535fb62c9d1645dde33ca4d51341378b3f5954429b"}, + {file = "yarl-1.9.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:35a2b9396879ce32754bd457d31a51ff0a9d426fd9e0e3c33394bf4b9036b099"}, + {file = "yarl-1.9.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4c7d56b293cc071e82532f70adcbd8b61909eec973ae9d2d1f9b233f3d943f2c"}, + {file = "yarl-1.9.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d8a1c6c0be645c745a081c192e747c5de06e944a0d21245f4cf7c05e457c36e0"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4b3c1ffe10069f655ea2d731808e76e0f452fc6c749bea04781daf18e6039525"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:549d19c84c55d11687ddbd47eeb348a89df9cb30e1993f1b128f4685cd0ebbf8"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a7409f968456111140c1c95301cadf071bd30a81cbd7ab829169fb9e3d72eae9"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e23a6d84d9d1738dbc6e38167776107e63307dfc8ad108e580548d1f2c587f42"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d8b889777de69897406c9fb0b76cdf2fd0f31267861ae7501d93003d55f54fbe"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:03caa9507d3d3c83bca08650678e25364e1843b484f19986a527630ca376ecce"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:4e9035df8d0880b2f1c7f5031f33f69e071dfe72ee9310cfc76f7b605958ceb9"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:c0ec0ed476f77db9fb29bca17f0a8fcc7bc97ad4c6c1d8959c507decb22e8572"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:ee04010f26d5102399bd17f8df8bc38dc7ccd7701dc77f4a68c5b8d733406958"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:49a180c2e0743d5d6e0b4d1a9e5f633c62eca3f8a86ba5dd3c471060e352ca98"}, + {file = "yarl-1.9.4-cp311-cp311-win32.whl", hash = "sha256:81eb57278deb6098a5b62e88ad8281b2ba09f2f1147c4767522353eaa6260b31"}, + {file = "yarl-1.9.4-cp311-cp311-win_amd64.whl", hash = "sha256:d1d2532b340b692880261c15aee4dc94dd22ca5d61b9db9a8a361953d36410b1"}, + {file = "yarl-1.9.4-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0d2454f0aef65ea81037759be5ca9947539667eecebca092733b2eb43c965a81"}, + {file = "yarl-1.9.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:44d8ffbb9c06e5a7f529f38f53eda23e50d1ed33c6c869e01481d3fafa6b8142"}, + {file = "yarl-1.9.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:aaaea1e536f98754a6e5c56091baa1b6ce2f2700cc4a00b0d49eca8dea471074"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3777ce5536d17989c91696db1d459574e9a9bd37660ea7ee4d3344579bb6f129"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9fc5fc1eeb029757349ad26bbc5880557389a03fa6ada41703db5e068881e5f2"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea65804b5dc88dacd4a40279af0cdadcfe74b3e5b4c897aa0d81cf86927fee78"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aa102d6d280a5455ad6a0f9e6d769989638718e938a6a0a2ff3f4a7ff8c62cc4"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:09efe4615ada057ba2d30df871d2f668af661e971dfeedf0c159927d48bbeff0"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:008d3e808d03ef28542372d01057fd09168419cdc8f848efe2804f894ae03e51"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:6f5cb257bc2ec58f437da2b37a8cd48f666db96d47b8a3115c29f316313654ff"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:992f18e0ea248ee03b5a6e8b3b4738850ae7dbb172cc41c966462801cbf62cf7"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:0e9d124c191d5b881060a9e5060627694c3bdd1fe24c5eecc8d5d7d0eb6faabc"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3986b6f41ad22988e53d5778f91855dc0399b043fc8946d4f2e68af22ee9ff10"}, + {file = "yarl-1.9.4-cp312-cp312-win32.whl", hash = "sha256:4b21516d181cd77ebd06ce160ef8cc2a5e9ad35fb1c5930882baff5ac865eee7"}, + {file = "yarl-1.9.4-cp312-cp312-win_amd64.whl", hash = "sha256:a9bd00dc3bc395a662900f33f74feb3e757429e545d831eef5bb280252631984"}, + {file = "yarl-1.9.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:63b20738b5aac74e239622d2fe30df4fca4942a86e31bf47a81a0e94c14df94f"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7d7f7de27b8944f1fee2c26a88b4dabc2409d2fea7a9ed3df79b67277644e17"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c74018551e31269d56fab81a728f683667e7c28c04e807ba08f8c9e3bba32f14"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ca06675212f94e7a610e85ca36948bb8fc023e458dd6c63ef71abfd482481aa5"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5aef935237d60a51a62b86249839b51345f47564208c6ee615ed2a40878dccdd"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2b134fd795e2322b7684155b7855cc99409d10b2e408056db2b93b51a52accc7"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:d25039a474c4c72a5ad4b52495056f843a7ff07b632c1b92ea9043a3d9950f6e"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:f7d6b36dd2e029b6bcb8a13cf19664c7b8e19ab3a58e0fefbb5b8461447ed5ec"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:957b4774373cf6f709359e5c8c4a0af9f6d7875db657adb0feaf8d6cb3c3964c"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:d7eeb6d22331e2fd42fce928a81c697c9ee2d51400bd1a28803965883e13cead"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:6a962e04b8f91f8c4e5917e518d17958e3bdee71fd1d8b88cdce74dd0ebbf434"}, + {file = "yarl-1.9.4-cp37-cp37m-win32.whl", hash = "sha256:f3bc6af6e2b8f92eced34ef6a96ffb248e863af20ef4fde9448cc8c9b858b749"}, + {file = "yarl-1.9.4-cp37-cp37m-win_amd64.whl", hash = "sha256:ad4d7a90a92e528aadf4965d685c17dacff3df282db1121136c382dc0b6014d2"}, + {file = "yarl-1.9.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:ec61d826d80fc293ed46c9dd26995921e3a82146feacd952ef0757236fc137be"}, + {file = "yarl-1.9.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:8be9e837ea9113676e5754b43b940b50cce76d9ed7d2461df1af39a8ee674d9f"}, + {file = "yarl-1.9.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:bef596fdaa8f26e3d66af846bbe77057237cb6e8efff8cd7cc8dff9a62278bbf"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2d47552b6e52c3319fede1b60b3de120fe83bde9b7bddad11a69fb0af7db32f1"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:84fc30f71689d7fc9168b92788abc977dc8cefa806909565fc2951d02f6b7d57"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4aa9741085f635934f3a2583e16fcf62ba835719a8b2b28fb2917bb0537c1dfa"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:206a55215e6d05dbc6c98ce598a59e6fbd0c493e2de4ea6cc2f4934d5a18d130"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:07574b007ee20e5c375a8fe4a0789fad26db905f9813be0f9fef5a68080de559"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:5a2e2433eb9344a163aced6a5f6c9222c0786e5a9e9cac2c89f0b28433f56e23"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:6ad6d10ed9b67a382b45f29ea028f92d25bc0bc1daf6c5b801b90b5aa70fb9ec"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:6fe79f998a4052d79e1c30eeb7d6c1c1056ad33300f682465e1b4e9b5a188b78"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:a825ec844298c791fd28ed14ed1bffc56a98d15b8c58a20e0e08c1f5f2bea1be"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8619d6915b3b0b34420cf9b2bb6d81ef59d984cb0fde7544e9ece32b4b3043c3"}, + {file = "yarl-1.9.4-cp38-cp38-win32.whl", hash = "sha256:686a0c2f85f83463272ddffd4deb5e591c98aac1897d65e92319f729c320eece"}, + {file = "yarl-1.9.4-cp38-cp38-win_amd64.whl", hash = "sha256:a00862fb23195b6b8322f7d781b0dc1d82cb3bcac346d1e38689370cc1cc398b"}, + {file = "yarl-1.9.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:604f31d97fa493083ea21bd9b92c419012531c4e17ea6da0f65cacdcf5d0bd27"}, + {file = "yarl-1.9.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:8a854227cf581330ffa2c4824d96e52ee621dd571078a252c25e3a3b3d94a1b1"}, + {file = "yarl-1.9.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ba6f52cbc7809cd8d74604cce9c14868306ae4aa0282016b641c661f981a6e91"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a6327976c7c2f4ee6816eff196e25385ccc02cb81427952414a64811037bbc8b"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8397a3817d7dcdd14bb266283cd1d6fc7264a48c186b986f32e86d86d35fbac5"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e0381b4ce23ff92f8170080c97678040fc5b08da85e9e292292aba67fdac6c34"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:23d32a2594cb5d565d358a92e151315d1b2268bc10f4610d098f96b147370136"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ddb2a5c08a4eaaba605340fdee8fc08e406c56617566d9643ad8bf6852778fc7"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:26a1dc6285e03f3cc9e839a2da83bcbf31dcb0d004c72d0730e755b33466c30e"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:18580f672e44ce1238b82f7fb87d727c4a131f3a9d33a5e0e82b793362bf18b4"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:29e0f83f37610f173eb7e7b5562dd71467993495e568e708d99e9d1944f561ec"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:1f23e4fe1e8794f74b6027d7cf19dc25f8b63af1483d91d595d4a07eca1fb26c"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:db8e58b9d79200c76956cefd14d5c90af54416ff5353c5bfd7cbe58818e26ef0"}, + {file = "yarl-1.9.4-cp39-cp39-win32.whl", hash = "sha256:c7224cab95645c7ab53791022ae77a4509472613e839dab722a72abe5a684575"}, + {file = "yarl-1.9.4-cp39-cp39-win_amd64.whl", hash = "sha256:824d6c50492add5da9374875ce72db7a0733b29c2394890aef23d533106e2b15"}, + {file = "yarl-1.9.4-py3-none-any.whl", hash = "sha256:928cecb0ef9d5a7946eb6ff58417ad2fe9375762382f1bf5c55e61645f2c43ad"}, + {file = "yarl-1.9.4.tar.gz", hash = "sha256:566db86717cf8080b99b58b083b773a908ae40f06681e87e589a976faf8246bf"}, ] [package.dependencies] From 33436cc7b0c515f287e999b5db453a8e46b7b4ef Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 20 Dec 2023 17:23:50 -0300 Subject: [PATCH 63/83] (feat) Added logic to provide access to the new `AccountPortfolioBalances` and `PositionsV2` endpoints provided by Indexer --- Makefile | 4 +- .../derivative_exchange_rpc/7_Positions.py | 2 +- .../portfolio_rpc/1_AccountPortfolio.py | 2 +- pyinjective/async_client.py | 18 +- .../grpc/indexer_grpc_derivative_api.py | 24 ++ .../grpc/indexer_grpc_portfolio_api.py | 6 + .../proto/cosmos/ics23/v1/proofs_pb2.py | 8 +- .../exchange/injective_accounts_rpc_pb2.py | 92 +++---- .../exchange/injective_campaign_rpc_pb2.py | 18 +- .../injective_derivative_exchange_rpc_pb2.py | 136 +++++----- ...ective_derivative_exchange_rpc_pb2_grpc.py | 35 +++ .../exchange/injective_portfolio_rpc_pb2.py | 20 +- .../injective_portfolio_rpc_pb2_grpc.py | 34 +++ .../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 | 56 ----- .../injective/wasmx/v1/proposal_pb2_grpc.py | 4 - .../proto/injective/wasmx/v1/query_pb2.py | 51 ---- .../injective/wasmx/v1/query_pb2_grpc.py | 138 ----------- .../proto/injective/wasmx/v1/tx_pb2.py | 77 ------ .../proto/injective/wasmx/v1/tx_pb2_grpc.py | 234 ------------------ .../proto/injective/wasmx/v1/wasmx_pb2.py | 41 --- .../injective/wasmx/v1/wasmx_pb2_grpc.py | 4 - .../configurable_derivative_query_servicer.py | 4 + .../configurable_portfolio_query_servicer.py | 6 + .../grpc/test_indexer_grpc_account_api.py | 4 + .../grpc/test_indexer_grpc_derivative_api.py | 72 ++++++ .../grpc/test_indexer_grpc_portfolio_api.py | 62 +++++ .../test_async_client_deprecation_warnings.py | 8 +- 31 files changed, 411 insertions(+), 826 deletions(-) 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 diff --git a/Makefile b/Makefile index 06334018..6f1690a6 100644 --- a/Makefile +++ b/Makefile @@ -28,10 +28,10 @@ clean-all: $(call clean_repos) clone-injective-core: - git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.6-testnet --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.8-testnet --depth 1 --single-branch clone-injective-indexer: - git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.59 --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.67 --depth 1 --single-branch clone-cometbft: git clone https://github.com/cometbft/cometbft.git -b v0.37.2 --depth 1 --single-branch diff --git a/examples/exchange_client/derivative_exchange_rpc/7_Positions.py b/examples/exchange_client/derivative_exchange_rpc/7_Positions.py index e0ffb8b1..06be45a7 100644 --- a/examples/exchange_client/derivative_exchange_rpc/7_Positions.py +++ b/examples/exchange_client/derivative_exchange_rpc/7_Positions.py @@ -19,7 +19,7 @@ async def main() -> None: skip = 4 limit = 4 pagination = PaginationOption(skip=skip, limit=limit) - positions = await client.fetch_derivative_positions( + positions = await client.fetch_derivative_positions_v2( market_ids=market_ids, subaccount_id=subaccount_id, direction=direction, diff --git a/examples/exchange_client/portfolio_rpc/1_AccountPortfolio.py b/examples/exchange_client/portfolio_rpc/1_AccountPortfolio.py index 232f8582..ea6ef020 100644 --- a/examples/exchange_client/portfolio_rpc/1_AccountPortfolio.py +++ b/examples/exchange_client/portfolio_rpc/1_AccountPortfolio.py @@ -9,7 +9,7 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) account_address = "inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt" - portfolio = await client.fetch_account_portfolio(account_address=account_address) + portfolio = await client.fetch_account_portfolio_balances(account_address=account_address) print(portfolio) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 75c3d159..3bfd30d1 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -2105,9 +2105,9 @@ async def listen_derivative_trades_updates( async def get_derivative_positions(self, **kwargs): """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_positions` instead + 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 instead", DeprecationWarning, stacklevel=2) + 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"), @@ -2119,7 +2119,7 @@ async def get_derivative_positions(self, **kwargs): ) return await self.stubDerivativeExchange.Positions(req) - async def fetch_derivative_positions( + async def fetch_derivative_positions_v2( self, market_ids: Optional[List[str]] = None, subaccount_id: Optional[str] = None, @@ -2127,7 +2127,7 @@ async def fetch_derivative_positions( subaccount_total_positions: Optional[bool] = None, pagination: Optional[PaginationOption] = None, ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_positions( + return await self.exchange_derivative_api.fetch_positions_v2( market_ids=market_ids, subaccount_id=subaccount_id, direction=direction, @@ -2344,14 +2344,16 @@ async def fetch_binary_options_market(self, market_id: str) -> Dict[str, Any]: async def get_account_portfolio(self, account_address: str): """ - This method is deprecated and will be removed soon. Please use `fetch_account_portfolio` instead + 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 instead", DeprecationWarning, stacklevel=2) + 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(self, account_address: str) -> Dict[str, Any]: - return await self.exchange_portfolio_api.fetch_account_portfolio(account_address=account_address) + 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): """ diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py index 2b69608e..7f28c7ac 100644 --- a/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py +++ b/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py @@ -127,6 +127,30 @@ async def fetch_positions( 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, diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py index a8fd319c..510f7054 100644 --- a/pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py +++ b/pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py @@ -20,5 +20,11 @@ async def fetch_account_portfolio(self, account_address: str) -> Dict[str, Any]: 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/proto/cosmos/ics23/v1/proofs_pb2.py b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py index 25677bb0..3b17a4a9 100644 --- a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py +++ b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/ics23/v1/proofs.proto\x12\x0f\x63osmos.ics23.v1\"{\n\x0e\x45xistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12%\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12&\n\x04path\x18\x04 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOp\"\x7f\n\x11NonExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12-\n\x04left\x18\x02 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProof\x12.\n\x05right\x18\x03 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProof\"\xef\x01\n\x0f\x43ommitmentProof\x12\x30\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00\x12\x36\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00\x12,\n\x05\x62\x61tch\x18\x03 \x01(\x0b\x32\x1b.cosmos.ics23.v1.BatchProofH\x00\x12;\n\ncompressed\x18\x04 \x01(\x0b\x32%.cosmos.ics23.v1.CompressedBatchProofH\x00\x42\x07\n\x05proof\"\xc8\x01\n\x06LeafOp\x12%\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12,\n\x0bprehash_key\x18\x02 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12.\n\rprehash_value\x18\x03 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12)\n\x06length\x18\x04 \x01(\x0e\x32\x19.cosmos.ics23.v1.LengthOp\x12\x0e\n\x06prefix\x18\x05 \x01(\x0c\"P\n\x07InnerOp\x12%\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12\x0e\n\x06prefix\x18\x02 \x01(\x0c\x12\x0e\n\x06suffix\x18\x03 \x01(\x0c\"\xb4\x01\n\tProofSpec\x12*\n\tleaf_spec\x18\x01 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12.\n\ninner_spec\x18\x02 \x01(\x0b\x32\x1a.cosmos.ics23.v1.InnerSpec\x12\x11\n\tmax_depth\x18\x03 \x01(\x05\x12\x11\n\tmin_depth\x18\x04 \x01(\x05\x12%\n\x1dprehash_key_before_comparison\x18\x05 \x01(\x08\"\xa6\x01\n\tInnerSpec\x12\x13\n\x0b\x63hild_order\x18\x01 \x03(\x05\x12\x12\n\nchild_size\x18\x02 \x01(\x05\x12\x19\n\x11min_prefix_length\x18\x03 \x01(\x05\x12\x19\n\x11max_prefix_length\x18\x04 \x01(\x05\x12\x13\n\x0b\x65mpty_child\x18\x05 \x01(\x0c\x12%\n\x04hash\x18\x06 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\":\n\nBatchProof\x12,\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.cosmos.ics23.v1.BatchEntry\"\x7f\n\nBatchEntry\x12\x30\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00\x12\x36\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00\x42\x07\n\x05proof\"\x7f\n\x14\x43ompressedBatchProof\x12\x36\n\x07\x65ntries\x18\x01 \x03(\x0b\x32%.cosmos.ics23.v1.CompressedBatchEntry\x12/\n\rlookup_inners\x18\x02 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOp\"\x9d\x01\n\x14\x43ompressedBatchEntry\x12:\n\x05\x65xist\x18\x01 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofH\x00\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32,.cosmos.ics23.v1.CompressedNonExistenceProofH\x00\x42\x07\n\x05proof\"k\n\x18\x43ompressedExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12%\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12\x0c\n\x04path\x18\x04 \x03(\x05\"\x9d\x01\n\x1b\x43ompressedNonExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\x37\n\x04left\x18\x02 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProof\x12\x38\n\x05right\x18\x03 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProof*\x93\x01\n\x06HashOp\x12\x0b\n\x07NO_HASH\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\n\n\x06SHA512\x10\x02\x12\n\n\x06KECCAK\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\"Z github.com/cosmos/ics23/go;ics23b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/ics23/v1/proofs.proto\x12\x0f\x63osmos.ics23.v1\"{\n\x0e\x45xistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12%\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12&\n\x04path\x18\x04 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOp\"\x7f\n\x11NonExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12-\n\x04left\x18\x02 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProof\x12.\n\x05right\x18\x03 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProof\"\xef\x01\n\x0f\x43ommitmentProof\x12\x30\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00\x12\x36\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00\x12,\n\x05\x62\x61tch\x18\x03 \x01(\x0b\x32\x1b.cosmos.ics23.v1.BatchProofH\x00\x12;\n\ncompressed\x18\x04 \x01(\x0b\x32%.cosmos.ics23.v1.CompressedBatchProofH\x00\x42\x07\n\x05proof\"\xc8\x01\n\x06LeafOp\x12%\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12,\n\x0bprehash_key\x18\x02 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12.\n\rprehash_value\x18\x03 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12)\n\x06length\x18\x04 \x01(\x0e\x32\x19.cosmos.ics23.v1.LengthOp\x12\x0e\n\x06prefix\x18\x05 \x01(\x0c\"P\n\x07InnerOp\x12%\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\x12\x0e\n\x06prefix\x18\x02 \x01(\x0c\x12\x0e\n\x06suffix\x18\x03 \x01(\x0c\"\xb4\x01\n\tProofSpec\x12*\n\tleaf_spec\x18\x01 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12.\n\ninner_spec\x18\x02 \x01(\x0b\x32\x1a.cosmos.ics23.v1.InnerSpec\x12\x11\n\tmax_depth\x18\x03 \x01(\x05\x12\x11\n\tmin_depth\x18\x04 \x01(\x05\x12%\n\x1dprehash_key_before_comparison\x18\x05 \x01(\x08\"\xa6\x01\n\tInnerSpec\x12\x13\n\x0b\x63hild_order\x18\x01 \x03(\x05\x12\x12\n\nchild_size\x18\x02 \x01(\x05\x12\x19\n\x11min_prefix_length\x18\x03 \x01(\x05\x12\x19\n\x11max_prefix_length\x18\x04 \x01(\x05\x12\x13\n\x0b\x65mpty_child\x18\x05 \x01(\x0c\x12%\n\x04hash\x18\x06 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOp\":\n\nBatchProof\x12,\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.cosmos.ics23.v1.BatchEntry\"\x7f\n\nBatchEntry\x12\x30\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00\x12\x36\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00\x42\x07\n\x05proof\"\x7f\n\x14\x43ompressedBatchProof\x12\x36\n\x07\x65ntries\x18\x01 \x03(\x0b\x32%.cosmos.ics23.v1.CompressedBatchEntry\x12/\n\rlookup_inners\x18\x02 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOp\"\x9d\x01\n\x14\x43ompressedBatchEntry\x12:\n\x05\x65xist\x18\x01 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofH\x00\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32,.cosmos.ics23.v1.CompressedNonExistenceProofH\x00\x42\x07\n\x05proof\"k\n\x18\x43ompressedExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12%\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOp\x12\x0c\n\x04path\x18\x04 \x03(\x05\"\x9d\x01\n\x1b\x43ompressedNonExistenceProof\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\x37\n\x04left\x18\x02 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProof\x12\x38\n\x05right\x18\x03 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProof*\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\"Z github.com/cosmos/ics23/go;ics23b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,9 +23,9 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z github.com/cosmos/ics23/go;ics23' _globals['_HASHOP']._serialized_start=1930 - _globals['_HASHOP']._serialized_end=2077 - _globals['_LENGTHOP']._serialized_start=2080 - _globals['_LENGTHOP']._serialized_end=2251 + _globals['_HASHOP']._serialized_end=2080 + _globals['_LENGTHOP']._serialized_start=2083 + _globals['_LENGTHOP']._serialized_end=2254 _globals['_EXISTENCEPROOF']._serialized_start=49 _globals['_EXISTENCEPROOF']._serialized_end=172 _globals['_NONEXISTENCEPROOF']._serialized_start=174 diff --git a/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py b/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py index 2ec5ce74..c164a8dc 100644 --- a/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_accounts_rpc.proto\x12\x16injective_accounts_rpc\"+\n\x10PortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"P\n\x11PortfolioResponse\x12;\n\tportfolio\x18\x01 \x01(\x0b\x32(.injective_accounts_rpc.AccountPortfolio\"\xb8\x01\n\x10\x41\x63\x63ountPortfolio\x12\x17\n\x0fportfolio_value\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\x12@\n\x0bsubaccounts\x18\x05 \x03(\x0b\x32+.injective_accounts_rpc.SubaccountPortfolio\"w\n\x13SubaccountPortfolio\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\"P\n\x12OrderStatesRequest\x12\x19\n\x11spot_order_hashes\x18\x01 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x02 \x03(\t\"\xa5\x01\n\x13OrderStatesResponse\x12\x43\n\x11spot_order_states\x18\x01 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\x12I\n\x17\x64\x65rivative_order_states\x18\x02 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\"\xe4\x01\n\x10OrderStateRecord\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x12\n\norder_type\x18\x04 \x01(\t\x12\x12\n\norder_side\x18\x05 \x01(\t\x12\r\n\x05state\x18\x06 \x01(\t\x12\x17\n\x0fquantity_filled\x18\x07 \x01(\t\x12\x1a\n\x12quantity_remaining\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\x12\x12\x12\n\nupdated_at\x18\n \x01(\x12\"1\n\x16SubaccountsListRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\".\n\x17SubaccountsListResponse\x12\x13\n\x0bsubaccounts\x18\x01 \x03(\t\"F\n\x1dSubaccountBalancesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"]\n\x1eSubaccountBalancesListResponse\x12;\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"\x8e\x01\n\x11SubaccountBalance\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x03 \x01(\t\x12:\n\x07\x64\x65posit\x18\x04 \x01(\x0b\x32).injective_accounts_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"H\n SubaccountBalanceEndpointRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"_\n!SubaccountBalanceEndpointResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"G\n\x1eStreamSubaccountBalanceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"p\n\x1fStreamSubaccountBalanceResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\x87\x01\n\x18SubaccountHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x16\n\x0etransfer_types\x18\x03 \x03(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\"\x91\x01\n\x19SubaccountHistoryResponse\x12\x44\n\ttransfers\x18\x01 \x03(\x0b\x32\x31.injective_accounts_rpc.SubaccountBalanceTransfer\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_accounts_rpc.Paging\"\xeb\x01\n\x19SubaccountBalanceTransfer\x12\x15\n\rtransfer_type\x18\x01 \x01(\t\x12\x19\n\x11src_subaccount_id\x18\x02 \x01(\t\x12\x1b\n\x13src_account_address\x18\x03 \x01(\t\x12\x19\n\x11\x64st_subaccount_id\x18\x04 \x01(\t\x12\x1b\n\x13\x64st_account_address\x18\x05 \x01(\t\x12\x32\n\x06\x61mount\x18\x06 \x01(\x0b\x32\".injective_accounts_rpc.CosmosCoin\x12\x13\n\x0b\x65xecuted_at\x18\x07 \x01(\x12\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"b\n\x1dSubaccountOrderSummaryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0forder_direction\x18\x03 \x01(\t\"\\\n\x1eSubaccountOrderSummaryResponse\x12\x19\n\x11spot_orders_total\x18\x01 \x01(\x12\x12\x1f\n\x17\x64\x65rivative_orders_total\x18\x02 \x01(\x12\"8\n\x0eRewardsRequest\x12\r\n\x05\x65poch\x18\x01 \x01(\x12\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"B\n\x0fRewardsResponse\x12/\n\x07rewards\x18\x01 \x03(\x0b\x32\x1e.injective_accounts_rpc.Reward\"h\n\x06Reward\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12-\n\x07rewards\x18\x02 \x03(\x0b\x32\x1c.injective_accounts_rpc.Coin\x12\x16\n\x0e\x64istributed_at\x18\x03 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xe0\x08\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.RewardsResponseB\x1bZ\x19/injective_accounts_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_accounts_rpc.proto\x12\x16injective_accounts_rpc\"+\n\x10PortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"P\n\x11PortfolioResponse\x12;\n\tportfolio\x18\x01 \x01(\x0b\x32(.injective_accounts_rpc.AccountPortfolio\"\xb8\x01\n\x10\x41\x63\x63ountPortfolio\x12\x17\n\x0fportfolio_value\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\x12@\n\x0bsubaccounts\x18\x05 \x03(\x0b\x32+.injective_accounts_rpc.SubaccountPortfolio\"w\n\x13SubaccountPortfolio\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\x12\x16\n\x0elocked_balance\x18\x03 \x01(\t\x12\x16\n\x0eunrealized_pnl\x18\x04 \x01(\t\"P\n\x12OrderStatesRequest\x12\x19\n\x11spot_order_hashes\x18\x01 \x03(\t\x12\x1f\n\x17\x64\x65rivative_order_hashes\x18\x02 \x03(\t\"\xa5\x01\n\x13OrderStatesResponse\x12\x43\n\x11spot_order_states\x18\x01 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\x12I\n\x17\x64\x65rivative_order_states\x18\x02 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecord\"\x83\x02\n\x10OrderStateRecord\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x12\n\norder_type\x18\x04 \x01(\t\x12\x12\n\norder_side\x18\x05 \x01(\t\x12\r\n\x05state\x18\x06 \x01(\t\x12\x17\n\x0fquantity_filled\x18\x07 \x01(\t\x12\x1a\n\x12quantity_remaining\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\x12\x12\x12\n\nupdated_at\x18\n \x01(\x12\x12\r\n\x05price\x18\x0b \x01(\t\x12\x0e\n\x06margin\x18\x0c \x01(\t\"1\n\x16SubaccountsListRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\".\n\x17SubaccountsListResponse\x12\x13\n\x0bsubaccounts\x18\x01 \x03(\t\"F\n\x1dSubaccountBalancesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"]\n\x1eSubaccountBalancesListResponse\x12;\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"\x8e\x01\n\x11SubaccountBalance\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x03 \x01(\t\x12:\n\x07\x64\x65posit\x18\x04 \x01(\x0b\x32).injective_accounts_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"H\n SubaccountBalanceEndpointRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"_\n!SubaccountBalanceEndpointResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\"G\n\x1eStreamSubaccountBalanceRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65noms\x18\x02 \x03(\t\"p\n\x1fStreamSubaccountBalanceResponse\x12:\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalance\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\x87\x01\n\x18SubaccountHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x16\n\x0etransfer_types\x18\x03 \x03(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\"\x91\x01\n\x19SubaccountHistoryResponse\x12\x44\n\ttransfers\x18\x01 \x03(\x0b\x32\x31.injective_accounts_rpc.SubaccountBalanceTransfer\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_accounts_rpc.Paging\"\xeb\x01\n\x19SubaccountBalanceTransfer\x12\x15\n\rtransfer_type\x18\x01 \x01(\t\x12\x19\n\x11src_subaccount_id\x18\x02 \x01(\t\x12\x1b\n\x13src_account_address\x18\x03 \x01(\t\x12\x19\n\x11\x64st_subaccount_id\x18\x04 \x01(\t\x12\x1b\n\x13\x64st_account_address\x18\x05 \x01(\t\x12\x32\n\x06\x61mount\x18\x06 \x01(\x0b\x32\".injective_accounts_rpc.CosmosCoin\x12\x13\n\x0b\x65xecuted_at\x18\x07 \x01(\x12\"+\n\nCosmosCoin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"b\n\x1dSubaccountOrderSummaryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0forder_direction\x18\x03 \x01(\t\"\\\n\x1eSubaccountOrderSummaryResponse\x12\x19\n\x11spot_orders_total\x18\x01 \x01(\x12\x12\x1f\n\x17\x64\x65rivative_orders_total\x18\x02 \x01(\x12\"8\n\x0eRewardsRequest\x12\r\n\x05\x65poch\x18\x01 \x01(\x12\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\t\"B\n\x0fRewardsResponse\x12/\n\x07rewards\x18\x01 \x03(\x0b\x32\x1e.injective_accounts_rpc.Reward\"h\n\x06Reward\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12-\n\x07rewards\x18\x02 \x03(\x0b\x32\x1c.injective_accounts_rpc.Coin\x12\x16\n\x0e\x64istributed_at\x18\x03 \x01(\x12\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t2\xe0\x08\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.RewardsResponseB\x1bZ\x19/injective_accounts_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -35,49 +35,49 @@ _globals['_ORDERSTATESRESPONSE']._serialized_start=583 _globals['_ORDERSTATESRESPONSE']._serialized_end=748 _globals['_ORDERSTATERECORD']._serialized_start=751 - _globals['_ORDERSTATERECORD']._serialized_end=979 - _globals['_SUBACCOUNTSLISTREQUEST']._serialized_start=981 - _globals['_SUBACCOUNTSLISTREQUEST']._serialized_end=1030 - _globals['_SUBACCOUNTSLISTRESPONSE']._serialized_start=1032 - _globals['_SUBACCOUNTSLISTRESPONSE']._serialized_end=1078 - _globals['_SUBACCOUNTBALANCESLISTREQUEST']._serialized_start=1080 - _globals['_SUBACCOUNTBALANCESLISTREQUEST']._serialized_end=1150 - _globals['_SUBACCOUNTBALANCESLISTRESPONSE']._serialized_start=1152 - _globals['_SUBACCOUNTBALANCESLISTRESPONSE']._serialized_end=1245 - _globals['_SUBACCOUNTBALANCE']._serialized_start=1248 - _globals['_SUBACCOUNTBALANCE']._serialized_end=1390 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=1392 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=1461 - _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_start=1463 - _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_end=1535 - _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_start=1537 - _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_end=1632 - _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_start=1634 - _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_end=1705 - _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_start=1707 - _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_end=1819 - _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_start=1822 - _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_end=1957 - _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_start=1960 - _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_end=2105 - _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_start=2108 - _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_end=2343 - _globals['_COSMOSCOIN']._serialized_start=2345 - _globals['_COSMOSCOIN']._serialized_end=2388 - _globals['_PAGING']._serialized_start=2390 - _globals['_PAGING']._serialized_end=2482 - _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_start=2484 - _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_end=2582 - _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_start=2584 - _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_end=2676 - _globals['_REWARDSREQUEST']._serialized_start=2678 - _globals['_REWARDSREQUEST']._serialized_end=2734 - _globals['_REWARDSRESPONSE']._serialized_start=2736 - _globals['_REWARDSRESPONSE']._serialized_end=2802 - _globals['_REWARD']._serialized_start=2804 - _globals['_REWARD']._serialized_end=2908 - _globals['_COIN']._serialized_start=2910 - _globals['_COIN']._serialized_end=2947 - _globals['_INJECTIVEACCOUNTSRPC']._serialized_start=2950 - _globals['_INJECTIVEACCOUNTSRPC']._serialized_end=4070 + _globals['_ORDERSTATERECORD']._serialized_end=1010 + _globals['_SUBACCOUNTSLISTREQUEST']._serialized_start=1012 + _globals['_SUBACCOUNTSLISTREQUEST']._serialized_end=1061 + _globals['_SUBACCOUNTSLISTRESPONSE']._serialized_start=1063 + _globals['_SUBACCOUNTSLISTRESPONSE']._serialized_end=1109 + _globals['_SUBACCOUNTBALANCESLISTREQUEST']._serialized_start=1111 + _globals['_SUBACCOUNTBALANCESLISTREQUEST']._serialized_end=1181 + _globals['_SUBACCOUNTBALANCESLISTRESPONSE']._serialized_start=1183 + _globals['_SUBACCOUNTBALANCESLISTRESPONSE']._serialized_end=1276 + _globals['_SUBACCOUNTBALANCE']._serialized_start=1279 + _globals['_SUBACCOUNTBALANCE']._serialized_end=1421 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=1423 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=1492 + _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_start=1494 + _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_end=1566 + _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_start=1568 + _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_end=1663 + _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_start=1665 + _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_end=1736 + _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_start=1738 + _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_end=1850 + _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_start=1853 + _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_end=1988 + _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_start=1991 + _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_end=2136 + _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_start=2139 + _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_end=2374 + _globals['_COSMOSCOIN']._serialized_start=2376 + _globals['_COSMOSCOIN']._serialized_end=2419 + _globals['_PAGING']._serialized_start=2421 + _globals['_PAGING']._serialized_end=2513 + _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_start=2515 + _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_end=2613 + _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_start=2615 + _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_end=2707 + _globals['_REWARDSREQUEST']._serialized_start=2709 + _globals['_REWARDSREQUEST']._serialized_end=2765 + _globals['_REWARDSRESPONSE']._serialized_start=2767 + _globals['_REWARDSRESPONSE']._serialized_end=2833 + _globals['_REWARD']._serialized_start=2835 + _globals['_REWARD']._serialized_end=2939 + _globals['_COIN']._serialized_start=2941 + _globals['_COIN']._serialized_end=2978 + _globals['_INJECTIVEACCOUNTSRPC']._serialized_start=2981 + _globals['_INJECTIVEACCOUNTSRPC']._serialized_end=4101 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py b/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py index 6b017d93..6fbcac44 100644 --- a/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_campaign_rpc.proto\x12\x16injective_campaign_rpc\"n\n\x0eRankingRequest\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\"\xaa\x01\n\x0fRankingResponse\x12\x32\n\x08\x63\x61mpaign\x18\x01 \x01(\x0b\x32 .injective_campaign_rpc.Campaign\x12\x33\n\x05users\x18\x02 \x03(\x0b\x32$.injective_campaign_rpc.CampaignUser\x12.\n\x06paging\x18\x03 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\"\x99\x01\n\x08\x43\x61mpaign\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0btotal_score\x18\x04 \x01(\t\x12\x14\n\x0clast_updated\x18\x05 \x01(\x12\x12\x12\n\nstart_date\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_date\x18\x07 \x01(\x12\x12\x14\n\x0cis_claimable\x18\x08 \x01(\x08\"\xd3\x01\n\x0c\x43\x61mpaignUser\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05score\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_updated\x18\x05 \x01(\x08\x12\x14\n\x0c\x62lock_height\x18\x06 \x01(\x12\x12\x12\n\nblock_time\x18\x07 \x01(\x12\x12\x18\n\x10purchased_amount\x18\x08 \x01(\t\x12\x15\n\rgalxe_updated\x18\t \x01(\x08\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\\\n\x11ListGuildsRequest\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\x0f\n\x07sort_by\x18\x04 \x01(\t\"\xca\x01\n\x12ListGuildsResponse\x12-\n\x06guilds\x18\x01 \x03(\x0b\x32\x1d.injective_campaign_rpc.Guild\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\x12\x12\n\nupdated_at\x18\x03 \x01(\x12\x12\x41\n\x10\x63\x61mpaign_summary\x18\x04 \x01(\x0b\x32\'.injective_campaign_rpc.CampaignSummary\"\xb9\x02\n\x05Guild\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x10\n\x08guild_id\x18\x02 \x01(\t\x12\x16\n\x0emaster_address\x18\x03 \x01(\t\x12\x12\n\ncreated_at\x18\x04 \x01(\x12\x12\x11\n\ttvl_score\x18\x05 \x01(\t\x12\x14\n\x0cvolume_score\x18\x06 \x01(\t\x12\x16\n\x0erank_by_volume\x18\x07 \x01(\x11\x12\x13\n\x0brank_by_tvl\x18\x08 \x01(\x11\x12\x0c\n\x04logo\x18\t \x01(\t\x12\x11\n\ttotal_tvl\x18\n \x01(\t\x12\x12\n\nupdated_at\x18\x0b \x01(\x12\x12\x0c\n\x04name\x18\x0e \x01(\t\x12\x11\n\tis_active\x18\r \x01(\x08\x12\x16\n\x0emaster_balance\x18\x0f \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x10 \x01(\t\"\xf8\x01\n\x0f\x43\x61mpaignSummary\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x19\n\x11\x63\x61mpaign_contract\x18\x02 \x01(\t\x12\x1a\n\x12total_guilds_count\x18\x03 \x01(\x11\x12\x11\n\ttotal_tvl\x18\x04 \x01(\t\x12\x19\n\x11total_average_tvl\x18\x05 \x01(\t\x12\x14\n\x0ctotal_volume\x18\x06 \x01(\t\x12\x12\n\nupdated_at\x18\x07 \x01(\x12\x12\x1b\n\x13total_members_count\x18\x08 \x01(\x11\x12\x12\n\nstart_time\x18\t \x01(\x12\x12\x10\n\x08\x65nd_time\x18\n \x01(\x12\"\x90\x01\n\x17ListGuildMembersRequest\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x10\n\x08guild_id\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x11\x12\x1a\n\x12include_guild_info\x18\x05 \x01(\x08\x12\x0f\n\x07sort_by\x18\x06 \x01(\t\"\xb3\x01\n\x18ListGuildMembersResponse\x12\x34\n\x07members\x18\x01 \x03(\x0b\x32#.injective_campaign_rpc.GuildMember\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\x12\x31\n\nguild_info\x18\x03 \x01(\x0b\x32\x1d.injective_campaign_rpc.Guild\"\xd9\x01\n\x0bGuildMember\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x10\n\x08guild_id\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x11\n\tjoined_at\x18\x04 \x01(\x12\x12\x11\n\ttvl_score\x18\x05 \x01(\t\x12\x14\n\x0cvolume_score\x18\x06 \x01(\t\x12\x11\n\ttotal_tvl\x18\x07 \x01(\t\x12\x1f\n\x17volume_score_percentage\x18\x08 \x01(\x01\x12\x1c\n\x14tvl_score_percentage\x18\t \x01(\x01\"C\n\x15GetGuildMemberRequest\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\"K\n\x16GetGuildMemberResponse\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.injective_campaign_rpc.GuildMember2\xbf\x03\n\x14InjectiveCampaignRPC\x12Z\n\x07Ranking\x12&.injective_campaign_rpc.RankingRequest\x1a\'.injective_campaign_rpc.RankingResponse\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\x1bZ\x19/injective_campaign_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%exchange/injective_campaign_rpc.proto\x12\x16injective_campaign_rpc\"n\n\x0eRankingRequest\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x0c\n\x04skip\x18\x05 \x01(\x04\"\xaa\x01\n\x0fRankingResponse\x12\x32\n\x08\x63\x61mpaign\x18\x01 \x01(\x0b\x32 .injective_campaign_rpc.Campaign\x12\x33\n\x05users\x18\x02 \x03(\x0b\x32$.injective_campaign_rpc.CampaignUser\x12.\n\x06paging\x18\x03 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\"\x99\x01\n\x08\x43\x61mpaign\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0btotal_score\x18\x04 \x01(\t\x12\x14\n\x0clast_updated\x18\x05 \x01(\x12\x12\x12\n\nstart_date\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_date\x18\x07 \x01(\x12\x12\x14\n\x0cis_claimable\x18\x08 \x01(\x08\"\xd3\x01\n\x0c\x43\x61mpaignUser\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\t\x12\r\n\x05score\x18\x04 \x01(\t\x12\x18\n\x10\x63ontract_updated\x18\x05 \x01(\x08\x12\x14\n\x0c\x62lock_height\x18\x06 \x01(\x12\x12\x12\n\nblock_time\x18\x07 \x01(\x12\x12\x18\n\x10purchased_amount\x18\x08 \x01(\t\x12\x15\n\rgalxe_updated\x18\t \x01(\x08\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"\\\n\x11ListGuildsRequest\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x11\x12\x0c\n\x04skip\x18\x03 \x01(\x11\x12\x0f\n\x07sort_by\x18\x04 \x01(\t\"\xca\x01\n\x12ListGuildsResponse\x12-\n\x06guilds\x18\x01 \x03(\x0b\x32\x1d.injective_campaign_rpc.Guild\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\x12\x12\n\nupdated_at\x18\x03 \x01(\x12\x12\x41\n\x10\x63\x61mpaign_summary\x18\x04 \x01(\x0b\x32\'.injective_campaign_rpc.CampaignSummary\"\xb9\x02\n\x05Guild\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x10\n\x08guild_id\x18\x02 \x01(\t\x12\x16\n\x0emaster_address\x18\x03 \x01(\t\x12\x12\n\ncreated_at\x18\x04 \x01(\x12\x12\x11\n\ttvl_score\x18\x05 \x01(\t\x12\x14\n\x0cvolume_score\x18\x06 \x01(\t\x12\x16\n\x0erank_by_volume\x18\x07 \x01(\x11\x12\x13\n\x0brank_by_tvl\x18\x08 \x01(\x11\x12\x0c\n\x04logo\x18\t \x01(\t\x12\x11\n\ttotal_tvl\x18\n \x01(\t\x12\x12\n\nupdated_at\x18\x0b \x01(\x12\x12\x0c\n\x04name\x18\x0e \x01(\t\x12\x11\n\tis_active\x18\r \x01(\x08\x12\x16\n\x0emaster_balance\x18\x0f \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x10 \x01(\t\"\xf8\x01\n\x0f\x43\x61mpaignSummary\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\t\x12\x19\n\x11\x63\x61mpaign_contract\x18\x02 \x01(\t\x12\x1a\n\x12total_guilds_count\x18\x03 \x01(\x11\x12\x11\n\ttotal_tvl\x18\x04 \x01(\t\x12\x19\n\x11total_average_tvl\x18\x05 \x01(\t\x12\x14\n\x0ctotal_volume\x18\x06 \x01(\t\x12\x12\n\nupdated_at\x18\x07 \x01(\x12\x12\x1b\n\x13total_members_count\x18\x08 \x01(\x11\x12\x12\n\nstart_time\x18\t \x01(\x12\x12\x10\n\x08\x65nd_time\x18\n \x01(\x12\"\x90\x01\n\x17ListGuildMembersRequest\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x10\n\x08guild_id\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x0c\n\x04skip\x18\x04 \x01(\x11\x12\x1a\n\x12include_guild_info\x18\x05 \x01(\x08\x12\x0f\n\x07sort_by\x18\x06 \x01(\t\"\xb3\x01\n\x18ListGuildMembersResponse\x12\x34\n\x07members\x18\x01 \x03(\x0b\x32#.injective_campaign_rpc.GuildMember\x12.\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_campaign_rpc.Paging\x12\x31\n\nguild_info\x18\x03 \x01(\x0b\x32\x1d.injective_campaign_rpc.Guild\"\xc0\x02\n\x0bGuildMember\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x10\n\x08guild_id\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x11\n\tjoined_at\x18\x04 \x01(\x12\x12\x11\n\ttvl_score\x18\x05 \x01(\t\x12\x14\n\x0cvolume_score\x18\x06 \x01(\t\x12\x11\n\ttotal_tvl\x18\x07 \x01(\t\x12\x1f\n\x17volume_score_percentage\x18\x08 \x01(\x01\x12\x1c\n\x14tvl_score_percentage\x18\t \x01(\x01\x12\x30\n\ntvl_reward\x18\n \x03(\x0b\x32\x1c.injective_campaign_rpc.Coin\x12\x33\n\rvolume_reward\x18\x0b \x03(\x0b\x32\x1c.injective_campaign_rpc.Coin\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"C\n\x15GetGuildMemberRequest\x12\x19\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\"K\n\x16GetGuildMemberResponse\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.injective_campaign_rpc.GuildMember2\xbf\x03\n\x14InjectiveCampaignRPC\x12Z\n\x07Ranking\x12&.injective_campaign_rpc.RankingRequest\x1a\'.injective_campaign_rpc.RankingResponse\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\x1bZ\x19/injective_campaign_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -45,11 +45,13 @@ _globals['_LISTGUILDMEMBERSRESPONSE']._serialized_start=1828 _globals['_LISTGUILDMEMBERSRESPONSE']._serialized_end=2007 _globals['_GUILDMEMBER']._serialized_start=2010 - _globals['_GUILDMEMBER']._serialized_end=2227 - _globals['_GETGUILDMEMBERREQUEST']._serialized_start=2229 - _globals['_GETGUILDMEMBERREQUEST']._serialized_end=2296 - _globals['_GETGUILDMEMBERRESPONSE']._serialized_start=2298 - _globals['_GETGUILDMEMBERRESPONSE']._serialized_end=2373 - _globals['_INJECTIVECAMPAIGNRPC']._serialized_start=2376 - _globals['_INJECTIVECAMPAIGNRPC']._serialized_end=2823 + _globals['_GUILDMEMBER']._serialized_end=2330 + _globals['_COIN']._serialized_start=2332 + _globals['_COIN']._serialized_end=2369 + _globals['_GETGUILDMEMBERREQUEST']._serialized_start=2371 + _globals['_GETGUILDMEMBERREQUEST']._serialized_end=2438 + _globals['_GETGUILDMEMBERRESPONSE']._serialized_start=2440 + _globals['_GETGUILDMEMBERRESPONSE']._serialized_end=2515 + _globals['_INJECTIVECAMPAIGNRPC']._serialized_start=2518 + _globals['_INJECTIVECAMPAIGNRPC']._serialized_end=2965 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py index 25f4d987..b591863c 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcf\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\x12\x0b\n\x03\x63id\x18\r \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\xa6\x02\n\x0fTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x91\x01\n\x10TradesV2Response\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xac\x02\n\x15StreamTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x86\x01\n\x16StreamTradesV2Response\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\xc6\x19\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\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"\xcc\x01\n\x12PositionsV2Request\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x9c\x01\n\x13PositionsV2Response\x12J\n\tpositions\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativePositionV2\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xdd\x01\n\x14\x44\x65rivativePositionV2\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12\x12\n\nupdated_at\x18\x0b \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcf\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\x12\x0b\n\x03\x63id\x18\r \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\xa6\x02\n\x0fTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x91\x01\n\x10TradesV2Response\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xac\x02\n\x15StreamTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x86\x01\n\x16StreamTradesV2Response\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -94,68 +94,74 @@ _globals['_POSITIONSRESPONSE']._serialized_end=5569 _globals['_DERIVATIVEPOSITION']._serialized_start=5572 _globals['_DERIVATIVEPOSITION']._serialized_end=5851 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=5853 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=5929 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=5931 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6034 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6037 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6170 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6173 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6326 - _globals['_FUNDINGPAYMENT']._serialized_start=6328 - _globals['_FUNDINGPAYMENT']._serialized_end=6421 - _globals['_FUNDINGRATESREQUEST']._serialized_start=6423 - _globals['_FUNDINGRATESREQUEST']._serialized_end=6510 - _globals['_FUNDINGRATESRESPONSE']._serialized_start=6513 - _globals['_FUNDINGRATESRESPONSE']._serialized_end=6665 - _globals['_FUNDINGRATE']._serialized_start=6667 - _globals['_FUNDINGRATE']._serialized_end=6732 - _globals['_STREAMPOSITIONSREQUEST']._serialized_start=6734 - _globals['_STREAMPOSITIONSREQUEST']._serialized_end=6844 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=6846 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=6963 - _globals['_STREAMORDERSREQUEST']._serialized_start=6966 - _globals['_STREAMORDERSREQUEST']._serialized_end=7270 - _globals['_STREAMORDERSRESPONSE']._serialized_start=7273 - _globals['_STREAMORDERSRESPONSE']._serialized_end=7410 - _globals['_TRADESREQUEST']._serialized_start=7413 - _globals['_TRADESREQUEST']._serialized_end=7705 - _globals['_TRADESRESPONSE']._serialized_start=7708 - _globals['_TRADESRESPONSE']._serialized_end=7851 - _globals['_DERIVATIVETRADE']._serialized_start=7854 - _globals['_DERIVATIVETRADE']._serialized_end=8189 - _globals['_POSITIONDELTA']._serialized_start=8191 - _globals['_POSITIONDELTA']._serialized_end=8310 - _globals['_TRADESV2REQUEST']._serialized_start=8313 - _globals['_TRADESV2REQUEST']._serialized_end=8607 - _globals['_TRADESV2RESPONSE']._serialized_start=8610 - _globals['_TRADESV2RESPONSE']._serialized_end=8755 - _globals['_STREAMTRADESREQUEST']._serialized_start=8758 - _globals['_STREAMTRADESREQUEST']._serialized_end=9056 - _globals['_STREAMTRADESRESPONSE']._serialized_start=9059 - _globals['_STREAMTRADESRESPONSE']._serialized_end=9191 - _globals['_STREAMTRADESV2REQUEST']._serialized_start=9194 - _globals['_STREAMTRADESV2REQUEST']._serialized_end=9494 - _globals['_STREAMTRADESV2RESPONSE']._serialized_start=9497 - _globals['_STREAMTRADESV2RESPONSE']._serialized_end=9631 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=9633 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=9733 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=9736 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=9898 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=9901 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=10044 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=10046 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=10144 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=10147 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=10482 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=10485 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=10642 - _globals['_DERIVATIVEORDERHISTORY']._serialized_start=10645 - _globals['_DERIVATIVEORDERHISTORY']._serialized_end=11090 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=11093 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=11243 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=11246 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=11392 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=11395 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=14665 + _globals['_POSITIONSV2REQUEST']._serialized_start=5854 + _globals['_POSITIONSV2REQUEST']._serialized_end=6058 + _globals['_POSITIONSV2RESPONSE']._serialized_start=6061 + _globals['_POSITIONSV2RESPONSE']._serialized_end=6217 + _globals['_DERIVATIVEPOSITIONV2']._serialized_start=6220 + _globals['_DERIVATIVEPOSITIONV2']._serialized_end=6441 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=6443 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=6519 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=6521 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6624 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6627 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6760 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6763 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6916 + _globals['_FUNDINGPAYMENT']._serialized_start=6918 + _globals['_FUNDINGPAYMENT']._serialized_end=7011 + _globals['_FUNDINGRATESREQUEST']._serialized_start=7013 + _globals['_FUNDINGRATESREQUEST']._serialized_end=7100 + _globals['_FUNDINGRATESRESPONSE']._serialized_start=7103 + _globals['_FUNDINGRATESRESPONSE']._serialized_end=7255 + _globals['_FUNDINGRATE']._serialized_start=7257 + _globals['_FUNDINGRATE']._serialized_end=7322 + _globals['_STREAMPOSITIONSREQUEST']._serialized_start=7324 + _globals['_STREAMPOSITIONSREQUEST']._serialized_end=7434 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=7436 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=7553 + _globals['_STREAMORDERSREQUEST']._serialized_start=7556 + _globals['_STREAMORDERSREQUEST']._serialized_end=7860 + _globals['_STREAMORDERSRESPONSE']._serialized_start=7863 + _globals['_STREAMORDERSRESPONSE']._serialized_end=8000 + _globals['_TRADESREQUEST']._serialized_start=8003 + _globals['_TRADESREQUEST']._serialized_end=8295 + _globals['_TRADESRESPONSE']._serialized_start=8298 + _globals['_TRADESRESPONSE']._serialized_end=8441 + _globals['_DERIVATIVETRADE']._serialized_start=8444 + _globals['_DERIVATIVETRADE']._serialized_end=8779 + _globals['_POSITIONDELTA']._serialized_start=8781 + _globals['_POSITIONDELTA']._serialized_end=8900 + _globals['_TRADESV2REQUEST']._serialized_start=8903 + _globals['_TRADESV2REQUEST']._serialized_end=9197 + _globals['_TRADESV2RESPONSE']._serialized_start=9200 + _globals['_TRADESV2RESPONSE']._serialized_end=9345 + _globals['_STREAMTRADESREQUEST']._serialized_start=9348 + _globals['_STREAMTRADESREQUEST']._serialized_end=9646 + _globals['_STREAMTRADESRESPONSE']._serialized_start=9649 + _globals['_STREAMTRADESRESPONSE']._serialized_end=9781 + _globals['_STREAMTRADESV2REQUEST']._serialized_start=9784 + _globals['_STREAMTRADESV2REQUEST']._serialized_end=10084 + _globals['_STREAMTRADESV2RESPONSE']._serialized_start=10087 + _globals['_STREAMTRADESV2RESPONSE']._serialized_end=10221 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=10223 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=10323 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=10326 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=10488 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=10491 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=10634 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=10636 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=10734 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=10737 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=11072 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=11075 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=11232 + _globals['_DERIVATIVEORDERHISTORY']._serialized_start=11235 + _globals['_DERIVATIVEORDERHISTORY']._serialized_end=11680 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=11683 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=11833 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=11836 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=11982 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=11985 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=15381 # @@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 index f6336cc3..352b540a 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py @@ -71,6 +71,11 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsRequest.SerializeToString, response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsResponse.FromString, ) + 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, + ) self.LiquidablePositions = channel.unary_unary( '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions', request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.LiquidablePositionsRequest.SerializeToString, @@ -220,6 +225,14 @@ def Positions(self, request, context): 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. """ @@ -370,6 +383,11 @@ def add_InjectiveDerivativeExchangeRPCServicer_to_server(servicer, server): 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, @@ -634,6 +652,23 @@ def Positions(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @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) + @staticmethod def LiquidablePositions(request, target, diff --git a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py index 9d765df5..4d3218ba 100644 --- a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&exchange/injective_portfolio_rpc.proto\x12\x17injective_portfolio_rpc\"2\n\x17\x41\x63\x63ountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"Q\n\x18\x41\x63\x63ountPortfolioResponse\x12\x35\n\tportfolio\x18\x01 \x01(\x0b\x32\".injective_portfolio_rpc.Portfolio\"\xe6\x01\n\tPortfolio\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x34\n\rbank_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x41\n\x0bsubaccounts\x18\x03 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2\x12G\n\x13positions_with_upnl\x18\x04 \x03(\x0b\x32*.injective_portfolio_rpc.PositionsWithUPNL\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"x\n\x13SubaccountBalanceV2\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12;\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32*.injective_portfolio_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"j\n\x11PositionsWithUPNL\x12=\n\x08position\x18\x01 \x01(\x0b\x32+.injective_portfolio_rpc.DerivativePosition\x12\x16\n\x0eunrealized_pnl\x18\x02 \x01(\t\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"]\n\x1dStreamAccountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"w\n\x1eStreamAccountPortfolioResponse\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x11\n\ttimestamp\x18\x05 \x01(\x12\x32\x9e\x02\n\x15InjectivePortfolioRPC\x12w\n\x10\x41\x63\x63ountPortfolio\x12\x30.injective_portfolio_rpc.AccountPortfolioRequest\x1a\x31.injective_portfolio_rpc.AccountPortfolioResponse\x12\x8b\x01\n\x16StreamAccountPortfolio\x12\x36.injective_portfolio_rpc.StreamAccountPortfolioRequest\x1a\x37.injective_portfolio_rpc.StreamAccountPortfolioResponse0\x01\x42\x1cZ\x1a/injective_portfolio_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&exchange/injective_portfolio_rpc.proto\x12\x17injective_portfolio_rpc\"2\n\x17\x41\x63\x63ountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"Q\n\x18\x41\x63\x63ountPortfolioResponse\x12\x35\n\tportfolio\x18\x01 \x01(\x0b\x32\".injective_portfolio_rpc.Portfolio\"\xe6\x01\n\tPortfolio\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x34\n\rbank_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x41\n\x0bsubaccounts\x18\x03 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2\x12G\n\x13positions_with_upnl\x18\x04 \x03(\x0b\x32*.injective_portfolio_rpc.PositionsWithUPNL\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"x\n\x13SubaccountBalanceV2\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12;\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32*.injective_portfolio_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"j\n\x11PositionsWithUPNL\x12=\n\x08position\x18\x01 \x01(\x0b\x32+.injective_portfolio_rpc.DerivativePosition\x12\x16\n\x0eunrealized_pnl\x18\x02 \x01(\t\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\":\n\x1f\x41\x63\x63ountPortfolioBalancesRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"a\n AccountPortfolioBalancesResponse\x12=\n\tportfolio\x18\x01 \x01(\x0b\x32*.injective_portfolio_rpc.PortfolioBalances\"\xa5\x01\n\x11PortfolioBalances\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x34\n\rbank_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x41\n\x0bsubaccounts\x18\x03 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2\"]\n\x1dStreamAccountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"w\n\x1eStreamAccountPortfolioResponse\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x11\n\ttimestamp\x18\x05 \x01(\x12\x32\xb0\x03\n\x15InjectivePortfolioRPC\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\x1cZ\x1a/injective_portfolio_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -38,10 +38,16 @@ _globals['_POSITIONSWITHUPNL']._serialized_end=773 _globals['_DERIVATIVEPOSITION']._serialized_start=776 _globals['_DERIVATIVEPOSITION']._serialized_end=1055 - _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_start=1057 - _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_end=1150 - _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_start=1152 - _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_end=1271 - _globals['_INJECTIVEPORTFOLIORPC']._serialized_start=1274 - _globals['_INJECTIVEPORTFOLIORPC']._serialized_end=1560 + _globals['_ACCOUNTPORTFOLIOBALANCESREQUEST']._serialized_start=1057 + _globals['_ACCOUNTPORTFOLIOBALANCESREQUEST']._serialized_end=1115 + _globals['_ACCOUNTPORTFOLIOBALANCESRESPONSE']._serialized_start=1117 + _globals['_ACCOUNTPORTFOLIOBALANCESRESPONSE']._serialized_end=1214 + _globals['_PORTFOLIOBALANCES']._serialized_start=1217 + _globals['_PORTFOLIOBALANCES']._serialized_end=1382 + _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_start=1384 + _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_end=1477 + _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_start=1479 + _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_end=1598 + _globals['_INJECTIVEPORTFOLIORPC']._serialized_start=1601 + _globals['_INJECTIVEPORTFOLIORPC']._serialized_end=2033 # @@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 index 2e875c38..b1702ddc 100644 --- a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2_grpc.py @@ -20,6 +20,11 @@ def __init__(self, channel): request_serializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioRequest.SerializeToString, response_deserializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioResponse.FromString, ) + 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, + ) self.StreamAccountPortfolio = channel.unary_stream( '/injective_portfolio_rpc.InjectivePortfolioRPC/StreamAccountPortfolio', request_serializer=exchange_dot_injective__portfolio__rpc__pb2.StreamAccountPortfolioRequest.SerializeToString, @@ -38,6 +43,13 @@ def AccountPortfolio(self, request, context): 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 """ @@ -53,6 +65,11 @@ def add_InjectivePortfolioRPCServicer_to_server(servicer, server): 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, @@ -86,6 +103,23 @@ def AccountPortfolio(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @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) + @staticmethod def StreamAccountPortfolio(request, target, 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 98439a5e..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 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 -from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"r\n\x16\x45ventContractExecution\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x10\n\x08response\x18\x02 \x01(\x0c\x12\x13\n\x0bother_error\x18\x03 \x01(\t\x12\x17\n\x0f\x65xecution_error\x18\x04 \x01(\t\"\xf9\x01\n\x17\x45ventContractRegistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode\"5\n\x19\x45ventContractDeregistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.events_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' - _globals['_EVENTCONTRACTEXECUTION']._serialized_start=144 - _globals['_EVENTCONTRACTEXECUTION']._serialized_end=258 - _globals['_EVENTCONTRACTREGISTERED']._serialized_start=261 - _globals['_EVENTCONTRACTREGISTERED']._serialized_end=510 - _globals['_EVENTCONTRACTDEREGISTERED']._serialized_start=512 - _globals['_EVENTCONTRACTDEREGISTERED']._serialized_end=565 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/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 458ed453..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 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto\"u\n\x1dRegisteredContractWithAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x43\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract\"\x97\x01\n\x0cGenesisState\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\x12U\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.genesis_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' - _GENESISSTATE.fields_by_name['params']._options = None - _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _GENESISSTATE.fields_by_name['registered_contracts']._options = None - _GENESISSTATE.fields_by_name['registered_contracts']._serialized_options = b'\310\336\037\000' - _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_start=110 - _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_end=227 - _globals['_GENESISSTATE']._serialized_start=230 - _globals['_GENESISSTATE']._serialized_end=381 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/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 5c0d113c..00000000 --- a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/wasmx/v1/proposal.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from cosmwasm.wasm.v1 import proposal_pb2 as cosmwasm_dot_wasm_dot_v1_dot_proposal__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1f\x63osmwasm/wasm/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"\xcf\x01\n#ContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd5\x01\n(BatchContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12]\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x84\x01\n#BatchContractDeregistrationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tcontracts\x18\x03 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb0\x02\n\x1b\x43ontractRegistrationRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12<\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.proposal_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' - _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._options = None - _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' - _CONTRACTREGISTRATIONREQUESTPROPOSAL._options = None - _CONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._options = None - _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._serialized_options = b'\310\336\037\000' - _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._options = None - _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _BATCHCONTRACTDEREGISTRATIONPROPOSAL._options = None - _BATCHCONTRACTDEREGISTRATIONPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _CONTRACTREGISTRATIONREQUEST._options = None - _CONTRACTREGISTRATIONREQUEST._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' - _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._options = None - _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._serialized_options = b'\310\336\037\000' - _BATCHSTORECODEPROPOSAL._options = None - _BATCHSTORECODEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_FUNDINGMODE']._serialized_start=1172 - _globals['_FUNDINGMODE']._serialized_end=1243 - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=140 - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=347 - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=350 - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=563 - _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_start=566 - _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_end=698 - _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_start=701 - _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_end=1005 - _globals['_BATCHSTORECODEPROPOSAL']._serialized_start=1008 - _globals['_BATCHSTORECODEPROPOSAL']._serialized_end=1170 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py 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 5edd5832..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 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 -from injective.wasmx.v1 import genesis_pb2 as injective_dot_wasmx_dot_v1_dot_genesis__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto\"\x19\n\x17QueryWasmxParamsRequest\"L\n\x18QueryWasmxParamsResponse\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\"\x19\n\x17QueryModuleStateRequest\"K\n\x18QueryModuleStateResponse\x12/\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisState\"@\n$QueryContractRegistrationInfoRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"a\n%QueryContractRegistrationInfoResponse\x12\x38\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/wasmx/v1/module_stateBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.query_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' - _QUERYWASMXPARAMSRESPONSE.fields_by_name['params']._options = None - _QUERYWASMXPARAMSRESPONSE.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _QUERY.methods_by_name['WasmxParams']._options = None - _QUERY.methods_by_name['WasmxParams']._serialized_options = b'\202\323\344\223\002\034\022\032/injective/wasmx/v1/params' - _QUERY.methods_by_name['ContractRegistrationInfo']._options = None - _QUERY.methods_by_name['ContractRegistrationInfo']._serialized_options = b'\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}' - _QUERY.methods_by_name['WasmxModuleState']._options = None - _QUERY.methods_by_name['WasmxModuleState']._serialized_options = b'\202\323\344\223\002\"\022 /injective/wasmx/v1/module_state' - _globals['_QUERYWASMXPARAMSREQUEST']._serialized_start=172 - _globals['_QUERYWASMXPARAMSREQUEST']._serialized_end=197 - _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_start=199 - _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_end=275 - _globals['_QUERYMODULESTATEREQUEST']._serialized_start=277 - _globals['_QUERYMODULESTATEREQUEST']._serialized_end=302 - _globals['_QUERYMODULESTATERESPONSE']._serialized_start=304 - _globals['_QUERYMODULESTATERESPONSE']._serialized_end=379 - _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_start=381 - _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_end=445 - _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_start=447 - _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_end=544 - _globals['_QUERY']._serialized_start=547 - _globals['_QUERY']._serialized_end=1063 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py deleted file mode 100644 index d43e993c..00000000 --- a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py +++ /dev/null @@ -1,138 +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 injective.wasmx.v1 import query_pb2 as injective_dot_wasmx_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.WasmxParams = channel.unary_unary( - '/injective.wasmx.v1.Query/WasmxParams', - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, - ) - self.ContractRegistrationInfo = channel.unary_unary( - '/injective.wasmx.v1.Query/ContractRegistrationInfo', - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, - ) - self.WasmxModuleState = channel.unary_unary( - '/injective.wasmx.v1.Query/WasmxModuleState', - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, - ) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def WasmxParams(self, request, context): - """Retrieves wasmx params - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ContractRegistrationInfo(self, request, context): - """Retrieves contract registration info - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def WasmxModuleState(self, request, context): - """Retrieves the entire wasmx module's state - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'WasmxParams': grpc.unary_unary_rpc_method_handler( - servicer.WasmxParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.SerializeToString, - ), - 'ContractRegistrationInfo': grpc.unary_unary_rpc_method_handler( - servicer.ContractRegistrationInfo, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.SerializeToString, - ), - 'WasmxModuleState': grpc.unary_unary_rpc_method_handler( - servicer.WasmxModuleState, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.wasmx.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def WasmxParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/WasmxParams', - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ContractRegistrationInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/ContractRegistrationInfo', - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def WasmxModuleState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/WasmxModuleState', - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py deleted file mode 100644 index 205467f5..00000000 --- a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py +++ /dev/null @@ -1,77 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/wasmx/v1/tx.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 -from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\"e\n\x18MsgExecuteContractCompat\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x0b\n\x03msg\x18\x03 \x01(\t\x12\r\n\x05\x66unds\x18\x04 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"0\n MsgExecuteContractCompatResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x8d\x01\n\x11MsgUpdateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x11\n\tgas_limit\x18\x03 \x01(\x04\x12\x11\n\tgas_price\x18\x04 \x01(\x04\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1b\n\x19MsgUpdateContractResponse\"L\n\x13MsgActivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgActivateContractResponse\"N\n\x15MsgDeactivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgDeactivateContractResponse\"\x80\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x90\x01\n\x13MsgRegisterContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgRegisterContractResponse2\xba\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponseBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.tx_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' - _MSGEXECUTECONTRACTCOMPAT._options = None - _MSGEXECUTECONTRACTCOMPAT._serialized_options = b'\202\347\260*\006sender' - _MSGUPDATECONTRACT.fields_by_name['admin_address']._options = None - _MSGUPDATECONTRACT.fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' - _MSGUPDATECONTRACT._options = None - _MSGUPDATECONTRACT._serialized_options = b'\202\347\260*\006sender' - _MSGACTIVATECONTRACT._options = None - _MSGACTIVATECONTRACT._serialized_options = b'\202\347\260*\006sender' - _MSGDEACTIVATECONTRACT._options = None - _MSGDEACTIVATECONTRACT._serialized_options = b'\202\347\260*\006sender' - _MSGUPDATEPARAMS.fields_by_name['authority']._options = None - _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGUPDATEPARAMS.fields_by_name['params']._options = None - _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' - _MSGREGISTERCONTRACT.fields_by_name['contract_registration_request']._options = None - _MSGREGISTERCONTRACT.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' - _MSGREGISTERCONTRACT._options = None - _MSGREGISTERCONTRACT._serialized_options = b'\202\347\260*\006sender' - _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_start=219 - _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_end=320 - _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_start=322 - _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_end=370 - _globals['_MSGUPDATECONTRACT']._serialized_start=373 - _globals['_MSGUPDATECONTRACT']._serialized_end=514 - _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_start=516 - _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_end=543 - _globals['_MSGACTIVATECONTRACT']._serialized_start=545 - _globals['_MSGACTIVATECONTRACT']._serialized_end=621 - _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_start=623 - _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_end=652 - _globals['_MSGDEACTIVATECONTRACT']._serialized_start=654 - _globals['_MSGDEACTIVATECONTRACT']._serialized_end=732 - _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_start=734 - _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_end=765 - _globals['_MSGUPDATEPARAMS']._serialized_start=768 - _globals['_MSGUPDATEPARAMS']._serialized_end=896 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=898 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=923 - _globals['_MSGREGISTERCONTRACT']._serialized_start=926 - _globals['_MSGREGISTERCONTRACT']._serialized_end=1070 - _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_start=1072 - _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_end=1101 - _globals['_MSG']._serialized_start=1104 - _globals['_MSG']._serialized_end=1802 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py deleted file mode 100644 index fe1b58d0..00000000 --- a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,234 +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 injective.wasmx.v1 import tx_pb2 as injective_dot_wasmx_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the wasmx Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UpdateRegistryContractParams = channel.unary_unary( - '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, - ) - self.ActivateRegistryContract = channel.unary_unary( - '/injective.wasmx.v1.Msg/ActivateRegistryContract', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, - ) - self.DeactivateRegistryContract = channel.unary_unary( - '/injective.wasmx.v1.Msg/DeactivateRegistryContract', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, - ) - self.ExecuteContractCompat = channel.unary_unary( - '/injective.wasmx.v1.Msg/ExecuteContractCompat', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, - ) - self.UpdateParams = channel.unary_unary( - '/injective.wasmx.v1.Msg/UpdateParams', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - ) - self.RegisterContract = channel.unary_unary( - '/injective.wasmx.v1.Msg/RegisterContract', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, - ) - - -class MsgServicer(object): - """Msg defines the wasmx Msg service. - """ - - def UpdateRegistryContractParams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ActivateRegistryContract(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeactivateRegistryContract(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ExecuteContractCompat(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RegisterContract(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'UpdateRegistryContractParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateRegistryContractParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.SerializeToString, - ), - 'ActivateRegistryContract': grpc.unary_unary_rpc_method_handler( - servicer.ActivateRegistryContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.SerializeToString, - ), - 'DeactivateRegistryContract': grpc.unary_unary_rpc_method_handler( - servicer.DeactivateRegistryContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.SerializeToString, - ), - 'ExecuteContractCompat': grpc.unary_unary_rpc_method_handler( - servicer.ExecuteContractCompat, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'RegisterContract': grpc.unary_unary_rpc_method_handler( - servicer.RegisterContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.wasmx.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the wasmx Msg service. - """ - - @staticmethod - def UpdateRegistryContractParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ActivateRegistryContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/ActivateRegistryContract', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeactivateRegistryContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/DeactivateRegistryContract', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ExecuteContractCompat(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/ExecuteContractCompat', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/UpdateParams', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RegisterContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/RegisterContract', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py deleted file mode 100644 index 707f0df4..00000000 --- a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/wasmx/v1/wasmx.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a!injective/wasmx/v1/proposal.proto\"\x86\x01\n\x06Params\x12\x1c\n\x14is_execution_enabled\x18\x01 \x01(\x08\x12!\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04\x12\x1e\n\x16max_contract_gas_limit\x18\x03 \x01(\x04\x12\x15\n\rmin_gas_price\x18\x04 \x01(\x04:\x04\xe8\xa0\x1f\x01\"\xde\x01\n\x12RegisteredContract\x12\x11\n\tgas_limit\x18\x01 \x01(\x04\x12\x11\n\tgas_price\x18\x02 \x01(\x04\x12\x15\n\ris_executable\x18\x03 \x01(\x08\x12\x15\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x1d\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x32\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x04\xe8\xa0\x1f\x01\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.wasmx_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' - _PARAMS._options = None - _PARAMS._serialized_options = b'\350\240\037\001' - _REGISTEREDCONTRACT.fields_by_name['code_id']._options = None - _REGISTEREDCONTRACT.fields_by_name['code_id']._serialized_options = b'\310\336\037\001' - _REGISTEREDCONTRACT.fields_by_name['admin_address']._options = None - _REGISTEREDCONTRACT.fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' - _REGISTEREDCONTRACT.fields_by_name['granter_address']._options = None - _REGISTEREDCONTRACT.fields_by_name['granter_address']._serialized_options = b'\310\336\037\001' - _REGISTEREDCONTRACT._options = None - _REGISTEREDCONTRACT._serialized_options = b'\350\240\037\001' - _globals['_PARAMS']._serialized_start=112 - _globals['_PARAMS']._serialized_end=246 - _globals['_REGISTEREDCONTRACT']._serialized_start=249 - _globals['_REGISTEREDCONTRACT']._serialized_end=471 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py 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/tests/client/indexer/configurable_derivative_query_servicer.py b/tests/client/indexer/configurable_derivative_query_servicer.py index 1f03370b..55a437e1 100644 --- a/tests/client/indexer/configurable_derivative_query_servicer.py +++ b/tests/client/indexer/configurable_derivative_query_servicer.py @@ -17,6 +17,7 @@ def __init__(self): 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() @@ -63,6 +64,9 @@ async def Orders(self, request: exchange_derivative_pb.OrdersRequest, context=No 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 ): diff --git a/tests/client/indexer/configurable_portfolio_query_servicer.py b/tests/client/indexer/configurable_portfolio_query_servicer.py index 50d329ca..49e98063 100644 --- a/tests/client/indexer/configurable_portfolio_query_servicer.py +++ b/tests/client/indexer/configurable_portfolio_query_servicer.py @@ -10,6 +10,7 @@ class ConfigurablePortfolioQueryServicer(exchange_portfolio_grpc.InjectivePortfo 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( @@ -17,6 +18,11 @@ async def AccountPortfolio( ): 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 ): diff --git a/tests/client/indexer/grpc/test_indexer_grpc_account_api.py b/tests/client/indexer/grpc/test_indexer_grpc_account_api.py index 8466c29b..895e35c0 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_account_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_account_api.py @@ -77,6 +77,8 @@ async def test_order_states( 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]) @@ -102,6 +104,8 @@ async def test_order_states( "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": [], diff --git a/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py b/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py index 3b61ccfe..21f83f75 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py @@ -700,6 +700,78 @@ async def test_fetch_positions( 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, + ) + + 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcDerivativeApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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), + }, + ], + "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, diff --git a/tests/client/indexer/grpc/test_indexer_grpc_portfolio_api.py b/tests/client/indexer/grpc/test_indexer_grpc_portfolio_api.py index 86a50382..ad88d127 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_portfolio_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_portfolio_api.py @@ -113,5 +113,67 @@ async def test_fetch_account_portfolio( 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, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_exchange_endpoint) + + api = IndexerGrpcPortfolioApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = 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 + async def _dummy_metadata_provider(self): return None diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py index 13ced627..dae2d807 100644 --- a/tests/test_async_client_deprecation_warnings.py +++ b/tests/test_async_client_deprecation_warnings.py @@ -1160,7 +1160,8 @@ async def test_get_derivative_positions_deprecation_warning( 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 instead" + str(deprecation_warnings[0].message) + == "This method is deprecated. Use fetch_derivative_positions_v2 instead" ) @pytest.mark.asyncio @@ -1470,7 +1471,10 @@ async def test_get_account_portfolio_deprecation_warning( 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 instead" + 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( From 8da302a67ccea69566212c68889ede62fa09ce65 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 25 Dec 2023 16:59:01 -0300 Subject: [PATCH 64/83] (feat) Added all endpoint for chain bank module --- examples/chain_client/50_SpendableBalances.py | 16 + .../51_SpendableBalancesByDenom.py | 17 + examples/chain_client/52_TotalSupply.py | 18 + examples/chain_client/53_SupplyOf.py | 15 + examples/chain_client/54_DenomMetadata.py | 16 + examples/chain_client/55_DenomsMetadata.py | 18 + examples/chain_client/56_DenomOwners.py | 20 ++ examples/chain_client/57_SendEnabled.py | 20 ++ pyinjective/async_client.py | 36 ++ .../client/chain/grpc/chain_grpc_bank_api.py | 82 ++++- .../grpc/configurable_bank_query_servicer.py | 32 ++ .../chain/grpc/test_chain_grpc_bank_api.py | 325 ++++++++++++++++++ 12 files changed, 612 insertions(+), 3 deletions(-) create mode 100644 examples/chain_client/50_SpendableBalances.py create mode 100644 examples/chain_client/51_SpendableBalancesByDenom.py create mode 100644 examples/chain_client/52_TotalSupply.py create mode 100644 examples/chain_client/53_SupplyOf.py create mode 100644 examples/chain_client/54_DenomMetadata.py create mode 100644 examples/chain_client/55_DenomsMetadata.py create mode 100644 examples/chain_client/56_DenomOwners.py create mode 100644 examples/chain_client/57_SendEnabled.py diff --git a/examples/chain_client/50_SpendableBalances.py b/examples/chain_client/50_SpendableBalances.py new file mode 100644 index 00000000..d13836e0 --- /dev/null +++ b/examples/chain_client/50_SpendableBalances.py @@ -0,0 +1,16 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r" + spendable_balances = await client.fetch_spendable_balances(address=address) + print(spendable_balances) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/51_SpendableBalancesByDenom.py b/examples/chain_client/51_SpendableBalancesByDenom.py new file mode 100644 index 00000000..639d7933 --- /dev/null +++ b/examples/chain_client/51_SpendableBalancesByDenom.py @@ -0,0 +1,17 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r" + denom = "inj" + spendable_balances = await client.fetch_spendable_balances_by_denom(address=address, denom=denom) + print(spendable_balances) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/52_TotalSupply.py b/examples/chain_client/52_TotalSupply.py new file mode 100644 index 00000000..8156c54b --- /dev/null +++ b/examples/chain_client/52_TotalSupply.py @@ -0,0 +1,18 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + total_supply = await client.fetch_total_supply( + pagination=PaginationOption(limit=10), + ) + print(total_supply) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/53_SupplyOf.py b/examples/chain_client/53_SupplyOf.py new file mode 100644 index 00000000..225b9db7 --- /dev/null +++ b/examples/chain_client/53_SupplyOf.py @@ -0,0 +1,15 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + supply_of = await client.fetch_supply_of(denom="inj") + print(supply_of) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/54_DenomMetadata.py b/examples/chain_client/54_DenomMetadata.py new file mode 100644 index 00000000..ff8a9337 --- /dev/null +++ b/examples/chain_client/54_DenomMetadata.py @@ -0,0 +1,16 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denom = "factory/inj107aqkjc3t5r3l9j4n9lgrma5tm3jav8qgppz6m/position" + metadata = await client.fetch_denom_metadata(denom=denom) + print(metadata) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/55_DenomsMetadata.py b/examples/chain_client/55_DenomsMetadata.py new file mode 100644 index 00000000..26402f49 --- /dev/null +++ b/examples/chain_client/55_DenomsMetadata.py @@ -0,0 +1,18 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denoms = await client.fetch_denoms_metadata( + pagination=PaginationOption(limit=10), + ) + print(denoms) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/56_DenomOwners.py b/examples/chain_client/56_DenomOwners.py new file mode 100644 index 00000000..3204cc34 --- /dev/null +++ b/examples/chain_client/56_DenomOwners.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denom = "inj" + owners = await client.fetch_denom_owners( + denom=denom, + pagination=PaginationOption(limit=10), + ) + print(owners) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/57_SendEnabled.py b/examples/chain_client/57_SendEnabled.py new file mode 100644 index 00000000..03ed41d9 --- /dev/null +++ b/examples/chain_client/57_SendEnabled.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denom = "inj" + enabled = await client.fetch_send_enabled( + denoms=[denom], + pagination=PaginationOption(limit=10), + ) + print(enabled) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 75c3d159..7480613b 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -522,6 +522,42 @@ async def get_bank_balance(self, address: str, denom: str): async def fetch_bank_balance(self, address: str, denom: str) -> Dict[str, Any]: return await self.bank_api.fetch_balance(account_address=address, denom=denom) + async def fetch_spendable_balances( + self, + address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.bank_api.fetch_spendable_balances(account_address=address, pagination=pagination) + + async def fetch_spendable_balances_by_denom( + self, + address: str, + denom: str, + ) -> Dict[str, Any]: + return await self.bank_api.fetch_spendable_balances_by_denom(account_address=address, denom=denom) + + async def fetch_total_supply(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + return await self.bank_api.fetch_total_supply(pagination=pagination) + + async def fetch_supply_of(self, denom: str) -> Dict[str, Any]: + return await self.bank_api.fetch_supply_of(denom=denom) + + async def fetch_denom_metadata(self, denom: str) -> Dict[str, Any]: + return await self.bank_api.fetch_denom_metadata(denom=denom) + + async def fetch_denoms_metadata(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + return await self.bank_api.fetch_denoms_metadata(pagination=pagination) + + async def fetch_denom_owners(self, denom: str, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + return await self.bank_api.fetch_denom_owners(denom=denom, pagination=pagination) + + async def fetch_send_enabled( + self, + denoms: Optional[List[str]] = None, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.bank_api.fetch_send_enabled(denoms=denoms, pagination=pagination) + # Injective Exchange client methods # Auction RPC diff --git a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py index b774707f..69d0cd0e 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py @@ -1,7 +1,8 @@ -from typing import Any, Callable, Dict +from typing import Any, Callable, Dict, List, Optional from grpc.aio import Channel +from pyinjective.client.model.pagination import PaginationOption 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 @@ -29,11 +30,86 @@ async def fetch_balances(self, account_address: str) -> Dict[str, Any]: return response - async def fetch_total_supply(self) -> Dict[str, Any]: - request = bank_query_pb.QueryTotalSupplyRequest() + async def fetch_spendable_balances( + self, + account_address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QuerySpendableBalancesRequest( + address=account_address, + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.SpendableBalances, request=request) + + return response + + async def fetch_spendable_balances_by_denom( + self, + account_address: str, + denom: str, + ) -> Dict[str, Any]: + request = bank_query_pb.QuerySpendableBalanceByDenomRequest( + address=account_address, + denom=denom, + ) + response = await self._execute_call(call=self._stub.SpendableBalanceByDenom, request=request) + + return response + + async def fetch_total_supply(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QueryTotalSupplyRequest(pagination=pagination_request) response = await self._execute_call(call=self._stub.TotalSupply, request=request) return response + async def fetch_supply_of(self, denom: str) -> Dict[str, Any]: + request = bank_query_pb.QuerySupplyOfRequest(denom=denom) + response = await self._execute_call(call=self._stub.SupplyOf, request=request) + + return response + + async def fetch_denom_metadata(self, denom: str) -> Dict[str, Any]: + request = bank_query_pb.QueryDenomMetadataRequest(denom=denom) + response = await self._execute_call(call=self._stub.DenomMetadata, request=request) + + return response + + async def fetch_denoms_metadata(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QueryDenomsMetadataRequest(pagination=pagination_request) + response = await self._execute_call(call=self._stub.DenomsMetadata, request=request) + + return response + + async def fetch_denom_owners(self, denom: str, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QueryDenomOwnersRequest(denom=denom, pagination=pagination_request) + response = await self._execute_call(call=self._stub.DenomOwners, request=request) + + return response + + async def fetch_send_enabled( + self, + denoms: Optional[List[str]] = None, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QuerySendEnabledRequest(denoms=denoms, pagination=pagination_request) + response = await self._execute_call(call=self._stub.SendEnabled, 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/tests/client/chain/grpc/configurable_bank_query_servicer.py b/tests/client/chain/grpc/configurable_bank_query_servicer.py index 015ce2c8..314a6622 100644 --- a/tests/client/chain/grpc/configurable_bank_query_servicer.py +++ b/tests/client/chain/grpc/configurable_bank_query_servicer.py @@ -9,7 +9,14 @@ def __init__(self): self.bank_params = deque() self.balance_responses = deque() self.balances_responses = deque() + self.spendable_balances_responses = deque() + self.spendable_balances_by_denom_responses = deque() self.total_supply_responses = deque() + self.supply_of_responses = deque() + self.denom_metadata_responses = deque() + self.denoms_metadata_responses = deque() + self.denom_owners_responses = deque() + self.send_enabled_responses = deque() async def Params(self, request: bank_query_pb.QueryParamsRequest, context=None, metadata=None): return self.bank_params.pop() @@ -20,5 +27,30 @@ async def Balance(self, request: bank_query_pb.QueryBalanceRequest, context=None async def AllBalances(self, request: bank_query_pb.QueryAllBalancesRequest, context=None, metadata=None): return self.balances_responses.pop() + async def SpendableBalances( + self, request: bank_query_pb.QuerySpendableBalancesRequest, context=None, metadata=None + ): + return self.spendable_balances_responses.pop() + + async def SpendableBalanceByDenom( + self, request: bank_query_pb.QuerySpendableBalanceByDenomRequest, context=None, metadata=None + ): + return self.spendable_balances_by_denom_responses.pop() + async def TotalSupply(self, request: bank_query_pb.QueryTotalSupplyRequest, context=None, metadata=None): return self.total_supply_responses.pop() + + async def SupplyOf(self, request: bank_query_pb.QuerySupplyOfRequest, context=None, metadata=None): + return self.supply_of_responses.pop() + + async def DenomMetadata(self, request: bank_query_pb.QueryDenomMetadataRequest, context=None, metadata=None): + return self.denom_metadata_responses.pop() + + async def DenomsMetadata(self, request: bank_query_pb.QueryDenomsMetadataRequest, context=None, metadata=None): + return self.denoms_metadata_responses.pop() + + async def DenomOwners(self, request: bank_query_pb.QueryDenomOwnersRequest, context=None, metadata=None): + return self.denom_owners_responses.pop() + + async def SendEnabled(self, request: bank_query_pb.QuerySendEnabledRequest, context=None, metadata=None): + return self.send_enabled_responses.pop() 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 1c8c0ffa..f2c6cbdd 100644 --- a/tests/client/chain/grpc/test_chain_grpc_bank_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_bank_api.py @@ -4,6 +4,7 @@ import pytest from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import 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 @@ -120,6 +121,69 @@ async def test_fetch_balances( assert expected_balances == bank_balances + @pytest.mark.asyncio + async def test_fetch_spendable_balances( + self, + bank_servicer, + ): + first_balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + second_balance = coin_pb.Coin(denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", amount="54497408") + pagination = pagination_pb.PageResponse(total=2) + + bank_servicer.spendable_balances_responses.append( + bank_query_pb.QuerySpendableBalancesResponse( + balances=[first_balance, second_balance], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + balances = await api.fetch_spendable_balances( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_balances = { + "balances": [{"denom": coin.denom, "amount": coin.amount} for coin in [first_balance, second_balance]], + "pagination": {"nextKey": "", "total": "2"}, + } + + assert expected_balances == balances + + @pytest.mark.asyncio + async def test_fetch_spendable_balances_by_denom( + self, + bank_servicer, + ): + first_balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + + bank_servicer.spendable_balances_by_denom_responses.append( + bank_query_pb.QuerySpendableBalanceByDenomResponse(balance=first_balance) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + balances = await api.fetch_spendable_balances_by_denom( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + denom=first_balance.denom, + ) + expected_balances = { + "balance": {"denom": first_balance.denom, "amount": first_balance.amount}, + } + + assert expected_balances == balances + @pytest.mark.asyncio async def test_fetch_total_supply( self, @@ -164,5 +228,266 @@ async def test_fetch_total_supply( assert expected_supply == total_supply + @pytest.mark.asyncio + async def test_fetch_supply_of( + self, + bank_servicer, + ): + first_supply = coin_pb.Coin( + denom="factory/inj108t3mlej0dph8er6ca2lq5cs9pdgzva5mqsn5p/position", amount="5556700000000000000" + ) + + bank_servicer.supply_of_responses.append( + bank_query_pb.QuerySupplyOfResponse( + amount=first_supply, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + total_supply = await api.fetch_supply_of(denom=first_supply.denom) + expected_supply = {"amount": {"denom": first_supply.denom, "amount": first_supply.amount}} + + assert expected_supply == total_supply + + @pytest.mark.asyncio + async def test_fetch_denom_metadata( + self, + bank_servicer, + ): + first_denom_unit = bank_pb.DenomUnit( + denom="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", exponent=0, aliases=["microSMART"] + ) + second_denom_unit = bank_pb.DenomUnit(denom="SMART", exponent=6, aliases=["SMART"]) + metadata = bank_pb.Metadata( + description="SMART", + denom_units=[first_denom_unit, second_denom_unit], + base="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", + display="SMART", + name="SMART", + symbol="SMART", + uri=( + "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/" + "Flag_of_the_People%27s_Republic_of_China.svg/" + "2560px-Flag_of_the_People%27s_Republic_of_China.svg.png" + ), + uri_hash="", + ) + + bank_servicer.denom_metadata_responses.append( + bank_query_pb.QueryDenomMetadataResponse( + metadata=metadata, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denom_metadata = await api.fetch_denom_metadata(denom=metadata.base) + + expected_denom_metadata = { + "metadata": { + "description": metadata.description, + "denomUnits": [ + {"denom": denom.denom, "exponent": denom.exponent, "aliases": denom.aliases} + for denom in [first_denom_unit, second_denom_unit] + ], + "base": metadata.base, + "display": metadata.display, + "name": metadata.name, + "symbol": metadata.symbol, + "uri": metadata.uri, + "uriHash": metadata.uri_hash, + } + } + + assert expected_denom_metadata == denom_metadata + + @pytest.mark.asyncio + async def test_fetch_denoms_metadata( + self, + bank_servicer, + ): + first_denom_unit = bank_pb.DenomUnit( + denom="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", exponent=0, aliases=["microSMART"] + ) + second_denom_unit = bank_pb.DenomUnit(denom="SMART", exponent=6, aliases=["SMART"]) + metadata = bank_pb.Metadata( + description="SMART", + denom_units=[first_denom_unit, second_denom_unit], + base="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", + display="SMART", + name="SMART", + symbol="SMART", + uri=( + "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/" + "Flag_of_the_People%27s_Republic_of_China.svg/" + "2560px-Flag_of_the_People%27s_Republic_of_China.svg.png" + ), + uri_hash="", + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + bank_servicer.denoms_metadata_responses.append( + bank_query_pb.QueryDenomsMetadataResponse( + metadatas=[metadata], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denoms_metadata = await api.fetch_denoms_metadata( + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + next_key = "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + expected_denoms_metadata = { + "metadatas": [ + { + "description": metadata.description, + "denomUnits": [ + {"denom": denom.denom, "exponent": denom.exponent, "aliases": denom.aliases} + for denom in [first_denom_unit, second_denom_unit] + ], + "base": metadata.base, + "display": metadata.display, + "name": metadata.name, + "symbol": metadata.symbol, + "uri": metadata.uri, + "uriHash": metadata.uri_hash, + }, + ], + "pagination": { + "nextKey": base64.b64encode(next_key.encode()).decode(), + "total": "179", + }, + } + + assert expected_denoms_metadata == denoms_metadata + + @pytest.mark.asyncio + async def test_fetch_denom_owners( + self, + bank_servicer, + ): + balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + denom_owner = bank_query_pb.DenomOwner(address="inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", balance=balance) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + bank_servicer.denom_owners_responses.append( + bank_query_pb.QueryDenomOwnersResponse( + denom_owners=[denom_owner], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denoms_metadata = await api.fetch_denom_owners( + denom=balance.denom, + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + next_key = "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + expected_denoms_metadata = { + "denomOwners": [ + { + "address": denom_owner.address, + "balance": { + "denom": balance.denom, + "amount": balance.amount, + }, + }, + ], + "pagination": { + "nextKey": base64.b64encode(next_key.encode()).decode(), + "total": "179", + }, + } + + assert expected_denoms_metadata == denoms_metadata + + @pytest.mark.asyncio + async def test_fetch_send_enabled( + self, + bank_servicer, + ): + send_enabled = bank_pb.SendEnabled( + denom="inj", + enabled=True, + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + bank_servicer.send_enabled_responses.append( + bank_query_pb.QuerySendEnabledResponse( + send_enabled=[send_enabled], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denoms_metadata = await api.fetch_send_enabled( + denoms=[send_enabled.denom], + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + next_key = "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + expected_denoms_metadata = { + "sendEnabled": [ + { + "denom": send_enabled.denom, + "enabled": send_enabled.enabled, + }, + ], + "pagination": { + "nextKey": base64.b64encode(next_key.encode()).decode(), + "total": "179", + }, + } + + assert expected_denoms_metadata == denoms_metadata + async def _dummy_metadata_provider(self): return None From 50d93a43af8899fc340fb7ccde77aa74afee664a Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 25 Dec 2023 23:26:52 -0300 Subject: [PATCH 65/83] (feat) Added logic to initialize tokens in AsyncClient using the denoms metadata from chain bank module --- pyinjective/async_client.py | 46 ++++++++++++++++++ pyinjective/client/model/pagination.py | 2 +- tests/rpc_fixtures/markets_fixtures.py | 26 ++++++++++ tests/test_async_client.py | 66 ++++++++++++++++++++++---- 4 files changed, 131 insertions(+), 9 deletions(-) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 7480613b..ebd140fd 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -1,4 +1,5 @@ import asyncio +import base64 import time from copy import deepcopy from decimal import Decimal @@ -2495,6 +2496,51 @@ async def composer(self): tokens=await self.all_tokens(), ) + async def initialize_tokens_from_chain_denoms(self): + # force initialization of markets and tokens + await self.all_tokens() + + all_denoms_metadata = [] + + query_result = await self.fetch_denoms_metadata() + + all_denoms_metadata.extend(query_result.get("metadatas", [])) + next_key = query_result.get("pagination", {}).get("nextKey", "") + + while next_key != "": + query_result = await self.fetch_denoms_metadata(pagination=PaginationOption(key=next_key)) + + all_denoms_metadata.extend(query_result.get("metadatas", [])) + result_next_key = query_result.get("pagination", {}).get("nextKey", "") + next_key = base64.b64decode(result_next_key).decode() + + for token_metadata in all_denoms_metadata: + symbol = token_metadata["symbol"] + denom = token_metadata["base"] + + if denom != "" and symbol != "" and denom not in self._tokens_by_denom: + name = token_metadata["name"] or symbol + decimals = max({denom_unit["exponent"] for denom_unit in token_metadata["denomUnits"]}) + + unique_symbol = denom + for symbol_candidate in [symbol, name]: + if symbol_candidate not in self._tokens_by_symbol: + unique_symbol = symbol_candidate + break + + token = Token( + name=name, + symbol=symbol, + denom=denom, + address="", + decimals=decimals, + logo=token_metadata["uri"], + updated=-1, + ) + + self._tokens_by_denom[denom] = token + self._tokens_by_symbol[unique_symbol] = token + async def _initialize_tokens_and_markets(self): spot_markets = dict() derivative_markets = dict() diff --git a/pyinjective/client/model/pagination.py b/pyinjective/client/model/pagination.py index f3607c17..906a6060 100644 --- a/pyinjective/client/model/pagination.py +++ b/pyinjective/client/model/pagination.py @@ -31,7 +31,7 @@ def create_pagination_request(self) -> pagination_pb.PageRequest: page_request = pagination_pb.PageRequest() if self.key is not None: - page_request.key = bytes.fromhex(self.key) + page_request.key = self.key.encode() if self.skip is not None: page_request.offset = self.skip if self.limit is not None: diff --git a/tests/rpc_fixtures/markets_fixtures.py b/tests/rpc_fixtures/markets_fixtures.py index 69f835df..9c3a56ad 100644 --- a/tests/rpc_fixtures/markets_fixtures.py +++ b/tests/rpc_fixtures/markets_fixtures.py @@ -1,6 +1,32 @@ import pytest +@pytest.fixture +def smart_denom_metadata(): + from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as bank_pb + + first_denom_unit = bank_pb.DenomUnit( + denom="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", exponent=0, aliases=["microSMART"] + ) + second_denom_unit = bank_pb.DenomUnit(denom="SMART", exponent=6, aliases=["SMART"]) + metadata = bank_pb.Metadata( + description="SMART", + denom_units=[first_denom_unit, second_denom_unit], + base="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", + display="SMART", + name="SMART", + symbol="SMART", + uri=( + "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/" + "Flag_of_the_People%27s_Republic_of_China.svg/" + "2560px-Flag_of_the_People%27s_Republic_of_China.svg.png" + ), + uri_hash="", + ) + + return metadata + + @pytest.fixture def inj_token_meta(): from pyinjective.proto.exchange.injective_spot_exchange_rpc_pb2 import TokenMeta diff --git a/tests/test_async_client.py b/tests/test_async_client.py index 7780e088..b7b597ed 100644 --- a/tests/test_async_client.py +++ b/tests/test_async_client.py @@ -4,22 +4,31 @@ from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +from pyinjective.proto.cosmos.bank.v1beta1 import query_pb2 as bank_query_pb +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb from pyinjective.proto.exchange import injective_derivative_exchange_rpc_pb2, injective_spot_exchange_rpc_pb2 +from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer from tests.client.indexer.configurable_derivative_query_servicer import ConfigurableDerivativeQueryServicer from tests.client.indexer.configurable_spot_query_servicer import ConfigurableSpotQueryServicer -from tests.rpc_fixtures.markets_fixtures import ape_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import ape_usdt_spot_market_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import btc_usdt_perp_market_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import inj_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import inj_usdt_spot_market_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import usdt_perp_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import usdt_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import ( # noqa: F401; noqa: F401; noqa: F401 +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 +def bank_servicer(): + return ConfigurableBankQueryServicer() + + @pytest.fixture def spot_servicer(): return ConfigurableSpotQueryServicer() @@ -127,3 +136,44 @@ async def test_initialize_tokens_and_markets( assert any( (first_match_bet_market_meta.market_id == market.id for market in all_binary_option_markets.values()) ) + + @pytest.mark.asyncio + async def test_initialize_tokens_from_chain_denoms( + self, + bank_servicer, + spot_servicer, + derivative_servicer, + smart_denom_metadata, + ): + pagination = pagination_pb.PageResponse( + total=1, + ) + + bank_servicer.denoms_metadata_responses.append( + bank_query_pb.QueryDenomsMetadataResponse( + metadatas=[smart_denom_metadata], + pagination=pagination, + ) + ) + + spot_servicer.markets_responses.append(injective_spot_exchange_rpc_pb2.MarketsResponse(markets=[])) + derivative_servicer.markets_responses.append(injective_derivative_exchange_rpc_pb2.MarketsResponse(markets=[])) + derivative_servicer.binary_options_markets_responses.append( + injective_derivative_exchange_rpc_pb2.BinaryOptionsMarketsResponse(markets=[]) + ) + + client = AsyncClient( + network=Network.local(), + insecure=False, + ) + + client.bank_api._stub = bank_servicer + client.exchange_spot_api._stub = spot_servicer + client.exchange_derivative_api._stub = derivative_servicer + + await client._initialize_tokens_and_markets() + await client.initialize_tokens_from_chain_denoms() + + all_tokens = await client.all_tokens() + assert 1 == len(all_tokens) + assert smart_denom_metadata.symbol in all_tokens From ff3aa9df2afde5b66ba7977b89df89560710102e Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 25 Dec 2023 16:59:01 -0300 Subject: [PATCH 66/83] (feat) Added all endpoint for chain bank module --- examples/chain_client/50_SpendableBalances.py | 16 + .../51_SpendableBalancesByDenom.py | 17 + examples/chain_client/52_TotalSupply.py | 18 + examples/chain_client/53_SupplyOf.py | 15 + examples/chain_client/54_DenomMetadata.py | 16 + examples/chain_client/55_DenomsMetadata.py | 18 + examples/chain_client/56_DenomOwners.py | 20 ++ examples/chain_client/57_SendEnabled.py | 20 ++ pyinjective/async_client.py | 36 ++ .../client/chain/grpc/chain_grpc_bank_api.py | 82 ++++- .../grpc/configurable_bank_query_servicer.py | 32 ++ .../chain/grpc/test_chain_grpc_bank_api.py | 325 ++++++++++++++++++ 12 files changed, 612 insertions(+), 3 deletions(-) create mode 100644 examples/chain_client/50_SpendableBalances.py create mode 100644 examples/chain_client/51_SpendableBalancesByDenom.py create mode 100644 examples/chain_client/52_TotalSupply.py create mode 100644 examples/chain_client/53_SupplyOf.py create mode 100644 examples/chain_client/54_DenomMetadata.py create mode 100644 examples/chain_client/55_DenomsMetadata.py create mode 100644 examples/chain_client/56_DenomOwners.py create mode 100644 examples/chain_client/57_SendEnabled.py diff --git a/examples/chain_client/50_SpendableBalances.py b/examples/chain_client/50_SpendableBalances.py new file mode 100644 index 00000000..d13836e0 --- /dev/null +++ b/examples/chain_client/50_SpendableBalances.py @@ -0,0 +1,16 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r" + spendable_balances = await client.fetch_spendable_balances(address=address) + print(spendable_balances) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/51_SpendableBalancesByDenom.py b/examples/chain_client/51_SpendableBalancesByDenom.py new file mode 100644 index 00000000..639d7933 --- /dev/null +++ b/examples/chain_client/51_SpendableBalancesByDenom.py @@ -0,0 +1,17 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r" + denom = "inj" + spendable_balances = await client.fetch_spendable_balances_by_denom(address=address, denom=denom) + print(spendable_balances) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/52_TotalSupply.py b/examples/chain_client/52_TotalSupply.py new file mode 100644 index 00000000..8156c54b --- /dev/null +++ b/examples/chain_client/52_TotalSupply.py @@ -0,0 +1,18 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + total_supply = await client.fetch_total_supply( + pagination=PaginationOption(limit=10), + ) + print(total_supply) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/53_SupplyOf.py b/examples/chain_client/53_SupplyOf.py new file mode 100644 index 00000000..225b9db7 --- /dev/null +++ b/examples/chain_client/53_SupplyOf.py @@ -0,0 +1,15 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + supply_of = await client.fetch_supply_of(denom="inj") + print(supply_of) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/54_DenomMetadata.py b/examples/chain_client/54_DenomMetadata.py new file mode 100644 index 00000000..ff8a9337 --- /dev/null +++ b/examples/chain_client/54_DenomMetadata.py @@ -0,0 +1,16 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denom = "factory/inj107aqkjc3t5r3l9j4n9lgrma5tm3jav8qgppz6m/position" + metadata = await client.fetch_denom_metadata(denom=denom) + print(metadata) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/55_DenomsMetadata.py b/examples/chain_client/55_DenomsMetadata.py new file mode 100644 index 00000000..26402f49 --- /dev/null +++ b/examples/chain_client/55_DenomsMetadata.py @@ -0,0 +1,18 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denoms = await client.fetch_denoms_metadata( + pagination=PaginationOption(limit=10), + ) + print(denoms) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/56_DenomOwners.py b/examples/chain_client/56_DenomOwners.py new file mode 100644 index 00000000..3204cc34 --- /dev/null +++ b/examples/chain_client/56_DenomOwners.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denom = "inj" + owners = await client.fetch_denom_owners( + denom=denom, + pagination=PaginationOption(limit=10), + ) + print(owners) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/57_SendEnabled.py b/examples/chain_client/57_SendEnabled.py new file mode 100644 index 00000000..03ed41d9 --- /dev/null +++ b/examples/chain_client/57_SendEnabled.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denom = "inj" + enabled = await client.fetch_send_enabled( + denoms=[denom], + pagination=PaginationOption(limit=10), + ) + print(enabled) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 3bfd30d1..f437db7f 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -522,6 +522,42 @@ async def get_bank_balance(self, address: str, denom: str): async def fetch_bank_balance(self, address: str, denom: str) -> Dict[str, Any]: return await self.bank_api.fetch_balance(account_address=address, denom=denom) + async def fetch_spendable_balances( + self, + address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.bank_api.fetch_spendable_balances(account_address=address, pagination=pagination) + + async def fetch_spendable_balances_by_denom( + self, + address: str, + denom: str, + ) -> Dict[str, Any]: + return await self.bank_api.fetch_spendable_balances_by_denom(account_address=address, denom=denom) + + async def fetch_total_supply(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + return await self.bank_api.fetch_total_supply(pagination=pagination) + + async def fetch_supply_of(self, denom: str) -> Dict[str, Any]: + return await self.bank_api.fetch_supply_of(denom=denom) + + async def fetch_denom_metadata(self, denom: str) -> Dict[str, Any]: + return await self.bank_api.fetch_denom_metadata(denom=denom) + + async def fetch_denoms_metadata(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + return await self.bank_api.fetch_denoms_metadata(pagination=pagination) + + async def fetch_denom_owners(self, denom: str, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + return await self.bank_api.fetch_denom_owners(denom=denom, pagination=pagination) + + async def fetch_send_enabled( + self, + denoms: Optional[List[str]] = None, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.bank_api.fetch_send_enabled(denoms=denoms, pagination=pagination) + # Injective Exchange client methods # Auction RPC diff --git a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py index b774707f..69d0cd0e 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py @@ -1,7 +1,8 @@ -from typing import Any, Callable, Dict +from typing import Any, Callable, Dict, List, Optional from grpc.aio import Channel +from pyinjective.client.model.pagination import PaginationOption 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 @@ -29,11 +30,86 @@ async def fetch_balances(self, account_address: str) -> Dict[str, Any]: return response - async def fetch_total_supply(self) -> Dict[str, Any]: - request = bank_query_pb.QueryTotalSupplyRequest() + async def fetch_spendable_balances( + self, + account_address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QuerySpendableBalancesRequest( + address=account_address, + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.SpendableBalances, request=request) + + return response + + async def fetch_spendable_balances_by_denom( + self, + account_address: str, + denom: str, + ) -> Dict[str, Any]: + request = bank_query_pb.QuerySpendableBalanceByDenomRequest( + address=account_address, + denom=denom, + ) + response = await self._execute_call(call=self._stub.SpendableBalanceByDenom, request=request) + + return response + + async def fetch_total_supply(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QueryTotalSupplyRequest(pagination=pagination_request) response = await self._execute_call(call=self._stub.TotalSupply, request=request) return response + async def fetch_supply_of(self, denom: str) -> Dict[str, Any]: + request = bank_query_pb.QuerySupplyOfRequest(denom=denom) + response = await self._execute_call(call=self._stub.SupplyOf, request=request) + + return response + + async def fetch_denom_metadata(self, denom: str) -> Dict[str, Any]: + request = bank_query_pb.QueryDenomMetadataRequest(denom=denom) + response = await self._execute_call(call=self._stub.DenomMetadata, request=request) + + return response + + async def fetch_denoms_metadata(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QueryDenomsMetadataRequest(pagination=pagination_request) + response = await self._execute_call(call=self._stub.DenomsMetadata, request=request) + + return response + + async def fetch_denom_owners(self, denom: str, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QueryDenomOwnersRequest(denom=denom, pagination=pagination_request) + response = await self._execute_call(call=self._stub.DenomOwners, request=request) + + return response + + async def fetch_send_enabled( + self, + denoms: Optional[List[str]] = None, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QuerySendEnabledRequest(denoms=denoms, pagination=pagination_request) + response = await self._execute_call(call=self._stub.SendEnabled, 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/tests/client/chain/grpc/configurable_bank_query_servicer.py b/tests/client/chain/grpc/configurable_bank_query_servicer.py index 015ce2c8..314a6622 100644 --- a/tests/client/chain/grpc/configurable_bank_query_servicer.py +++ b/tests/client/chain/grpc/configurable_bank_query_servicer.py @@ -9,7 +9,14 @@ def __init__(self): self.bank_params = deque() self.balance_responses = deque() self.balances_responses = deque() + self.spendable_balances_responses = deque() + self.spendable_balances_by_denom_responses = deque() self.total_supply_responses = deque() + self.supply_of_responses = deque() + self.denom_metadata_responses = deque() + self.denoms_metadata_responses = deque() + self.denom_owners_responses = deque() + self.send_enabled_responses = deque() async def Params(self, request: bank_query_pb.QueryParamsRequest, context=None, metadata=None): return self.bank_params.pop() @@ -20,5 +27,30 @@ async def Balance(self, request: bank_query_pb.QueryBalanceRequest, context=None async def AllBalances(self, request: bank_query_pb.QueryAllBalancesRequest, context=None, metadata=None): return self.balances_responses.pop() + async def SpendableBalances( + self, request: bank_query_pb.QuerySpendableBalancesRequest, context=None, metadata=None + ): + return self.spendable_balances_responses.pop() + + async def SpendableBalanceByDenom( + self, request: bank_query_pb.QuerySpendableBalanceByDenomRequest, context=None, metadata=None + ): + return self.spendable_balances_by_denom_responses.pop() + async def TotalSupply(self, request: bank_query_pb.QueryTotalSupplyRequest, context=None, metadata=None): return self.total_supply_responses.pop() + + async def SupplyOf(self, request: bank_query_pb.QuerySupplyOfRequest, context=None, metadata=None): + return self.supply_of_responses.pop() + + async def DenomMetadata(self, request: bank_query_pb.QueryDenomMetadataRequest, context=None, metadata=None): + return self.denom_metadata_responses.pop() + + async def DenomsMetadata(self, request: bank_query_pb.QueryDenomsMetadataRequest, context=None, metadata=None): + return self.denoms_metadata_responses.pop() + + async def DenomOwners(self, request: bank_query_pb.QueryDenomOwnersRequest, context=None, metadata=None): + return self.denom_owners_responses.pop() + + async def SendEnabled(self, request: bank_query_pb.QuerySendEnabledRequest, context=None, metadata=None): + return self.send_enabled_responses.pop() 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 1c8c0ffa..f2c6cbdd 100644 --- a/tests/client/chain/grpc/test_chain_grpc_bank_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_bank_api.py @@ -4,6 +4,7 @@ import pytest from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import 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 @@ -120,6 +121,69 @@ async def test_fetch_balances( assert expected_balances == bank_balances + @pytest.mark.asyncio + async def test_fetch_spendable_balances( + self, + bank_servicer, + ): + first_balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + second_balance = coin_pb.Coin(denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", amount="54497408") + pagination = pagination_pb.PageResponse(total=2) + + bank_servicer.spendable_balances_responses.append( + bank_query_pb.QuerySpendableBalancesResponse( + balances=[first_balance, second_balance], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + balances = await api.fetch_spendable_balances( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_balances = { + "balances": [{"denom": coin.denom, "amount": coin.amount} for coin in [first_balance, second_balance]], + "pagination": {"nextKey": "", "total": "2"}, + } + + assert expected_balances == balances + + @pytest.mark.asyncio + async def test_fetch_spendable_balances_by_denom( + self, + bank_servicer, + ): + first_balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + + bank_servicer.spendable_balances_by_denom_responses.append( + bank_query_pb.QuerySpendableBalanceByDenomResponse(balance=first_balance) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + balances = await api.fetch_spendable_balances_by_denom( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + denom=first_balance.denom, + ) + expected_balances = { + "balance": {"denom": first_balance.denom, "amount": first_balance.amount}, + } + + assert expected_balances == balances + @pytest.mark.asyncio async def test_fetch_total_supply( self, @@ -164,5 +228,266 @@ async def test_fetch_total_supply( assert expected_supply == total_supply + @pytest.mark.asyncio + async def test_fetch_supply_of( + self, + bank_servicer, + ): + first_supply = coin_pb.Coin( + denom="factory/inj108t3mlej0dph8er6ca2lq5cs9pdgzva5mqsn5p/position", amount="5556700000000000000" + ) + + bank_servicer.supply_of_responses.append( + bank_query_pb.QuerySupplyOfResponse( + amount=first_supply, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + total_supply = await api.fetch_supply_of(denom=first_supply.denom) + expected_supply = {"amount": {"denom": first_supply.denom, "amount": first_supply.amount}} + + assert expected_supply == total_supply + + @pytest.mark.asyncio + async def test_fetch_denom_metadata( + self, + bank_servicer, + ): + first_denom_unit = bank_pb.DenomUnit( + denom="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", exponent=0, aliases=["microSMART"] + ) + second_denom_unit = bank_pb.DenomUnit(denom="SMART", exponent=6, aliases=["SMART"]) + metadata = bank_pb.Metadata( + description="SMART", + denom_units=[first_denom_unit, second_denom_unit], + base="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", + display="SMART", + name="SMART", + symbol="SMART", + uri=( + "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/" + "Flag_of_the_People%27s_Republic_of_China.svg/" + "2560px-Flag_of_the_People%27s_Republic_of_China.svg.png" + ), + uri_hash="", + ) + + bank_servicer.denom_metadata_responses.append( + bank_query_pb.QueryDenomMetadataResponse( + metadata=metadata, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denom_metadata = await api.fetch_denom_metadata(denom=metadata.base) + + expected_denom_metadata = { + "metadata": { + "description": metadata.description, + "denomUnits": [ + {"denom": denom.denom, "exponent": denom.exponent, "aliases": denom.aliases} + for denom in [first_denom_unit, second_denom_unit] + ], + "base": metadata.base, + "display": metadata.display, + "name": metadata.name, + "symbol": metadata.symbol, + "uri": metadata.uri, + "uriHash": metadata.uri_hash, + } + } + + assert expected_denom_metadata == denom_metadata + + @pytest.mark.asyncio + async def test_fetch_denoms_metadata( + self, + bank_servicer, + ): + first_denom_unit = bank_pb.DenomUnit( + denom="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", exponent=0, aliases=["microSMART"] + ) + second_denom_unit = bank_pb.DenomUnit(denom="SMART", exponent=6, aliases=["SMART"]) + metadata = bank_pb.Metadata( + description="SMART", + denom_units=[first_denom_unit, second_denom_unit], + base="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", + display="SMART", + name="SMART", + symbol="SMART", + uri=( + "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/" + "Flag_of_the_People%27s_Republic_of_China.svg/" + "2560px-Flag_of_the_People%27s_Republic_of_China.svg.png" + ), + uri_hash="", + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + bank_servicer.denoms_metadata_responses.append( + bank_query_pb.QueryDenomsMetadataResponse( + metadatas=[metadata], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denoms_metadata = await api.fetch_denoms_metadata( + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + next_key = "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + expected_denoms_metadata = { + "metadatas": [ + { + "description": metadata.description, + "denomUnits": [ + {"denom": denom.denom, "exponent": denom.exponent, "aliases": denom.aliases} + for denom in [first_denom_unit, second_denom_unit] + ], + "base": metadata.base, + "display": metadata.display, + "name": metadata.name, + "symbol": metadata.symbol, + "uri": metadata.uri, + "uriHash": metadata.uri_hash, + }, + ], + "pagination": { + "nextKey": base64.b64encode(next_key.encode()).decode(), + "total": "179", + }, + } + + assert expected_denoms_metadata == denoms_metadata + + @pytest.mark.asyncio + async def test_fetch_denom_owners( + self, + bank_servicer, + ): + balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + denom_owner = bank_query_pb.DenomOwner(address="inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", balance=balance) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + bank_servicer.denom_owners_responses.append( + bank_query_pb.QueryDenomOwnersResponse( + denom_owners=[denom_owner], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denoms_metadata = await api.fetch_denom_owners( + denom=balance.denom, + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + next_key = "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + expected_denoms_metadata = { + "denomOwners": [ + { + "address": denom_owner.address, + "balance": { + "denom": balance.denom, + "amount": balance.amount, + }, + }, + ], + "pagination": { + "nextKey": base64.b64encode(next_key.encode()).decode(), + "total": "179", + }, + } + + assert expected_denoms_metadata == denoms_metadata + + @pytest.mark.asyncio + async def test_fetch_send_enabled( + self, + bank_servicer, + ): + send_enabled = bank_pb.SendEnabled( + denom="inj", + enabled=True, + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + bank_servicer.send_enabled_responses.append( + bank_query_pb.QuerySendEnabledResponse( + send_enabled=[send_enabled], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denoms_metadata = await api.fetch_send_enabled( + denoms=[send_enabled.denom], + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + next_key = "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + expected_denoms_metadata = { + "sendEnabled": [ + { + "denom": send_enabled.denom, + "enabled": send_enabled.enabled, + }, + ], + "pagination": { + "nextKey": base64.b64encode(next_key.encode()).decode(), + "total": "179", + }, + } + + assert expected_denoms_metadata == denoms_metadata + async def _dummy_metadata_provider(self): return None From 65281889a10ea906b74ae12bca714313c645cf3f Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 25 Dec 2023 23:26:52 -0300 Subject: [PATCH 67/83] (feat) Added logic to initialize tokens in AsyncClient using the denoms metadata from chain bank module --- pyinjective/async_client.py | 46 ++++++++++++++++++ pyinjective/client/model/pagination.py | 2 +- tests/rpc_fixtures/markets_fixtures.py | 26 ++++++++++ tests/test_async_client.py | 66 ++++++++++++++++++++++---- 4 files changed, 131 insertions(+), 9 deletions(-) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index f437db7f..50eddecf 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -1,4 +1,5 @@ import asyncio +import base64 import time from copy import deepcopy from decimal import Decimal @@ -2497,6 +2498,51 @@ async def composer(self): tokens=await self.all_tokens(), ) + async def initialize_tokens_from_chain_denoms(self): + # force initialization of markets and tokens + await self.all_tokens() + + all_denoms_metadata = [] + + query_result = await self.fetch_denoms_metadata() + + all_denoms_metadata.extend(query_result.get("metadatas", [])) + next_key = query_result.get("pagination", {}).get("nextKey", "") + + while next_key != "": + query_result = await self.fetch_denoms_metadata(pagination=PaginationOption(key=next_key)) + + all_denoms_metadata.extend(query_result.get("metadatas", [])) + result_next_key = query_result.get("pagination", {}).get("nextKey", "") + next_key = base64.b64decode(result_next_key).decode() + + for token_metadata in all_denoms_metadata: + symbol = token_metadata["symbol"] + denom = token_metadata["base"] + + if denom != "" and symbol != "" and denom not in self._tokens_by_denom: + name = token_metadata["name"] or symbol + decimals = max({denom_unit["exponent"] for denom_unit in token_metadata["denomUnits"]}) + + unique_symbol = denom + for symbol_candidate in [symbol, name]: + if symbol_candidate not in self._tokens_by_symbol: + unique_symbol = symbol_candidate + break + + token = Token( + name=name, + symbol=symbol, + denom=denom, + address="", + decimals=decimals, + logo=token_metadata["uri"], + updated=-1, + ) + + self._tokens_by_denom[denom] = token + self._tokens_by_symbol[unique_symbol] = token + async def _initialize_tokens_and_markets(self): spot_markets = dict() derivative_markets = dict() diff --git a/pyinjective/client/model/pagination.py b/pyinjective/client/model/pagination.py index f3607c17..906a6060 100644 --- a/pyinjective/client/model/pagination.py +++ b/pyinjective/client/model/pagination.py @@ -31,7 +31,7 @@ def create_pagination_request(self) -> pagination_pb.PageRequest: page_request = pagination_pb.PageRequest() if self.key is not None: - page_request.key = bytes.fromhex(self.key) + page_request.key = self.key.encode() if self.skip is not None: page_request.offset = self.skip if self.limit is not None: diff --git a/tests/rpc_fixtures/markets_fixtures.py b/tests/rpc_fixtures/markets_fixtures.py index 69f835df..9c3a56ad 100644 --- a/tests/rpc_fixtures/markets_fixtures.py +++ b/tests/rpc_fixtures/markets_fixtures.py @@ -1,6 +1,32 @@ import pytest +@pytest.fixture +def smart_denom_metadata(): + from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as bank_pb + + first_denom_unit = bank_pb.DenomUnit( + denom="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", exponent=0, aliases=["microSMART"] + ) + second_denom_unit = bank_pb.DenomUnit(denom="SMART", exponent=6, aliases=["SMART"]) + metadata = bank_pb.Metadata( + description="SMART", + denom_units=[first_denom_unit, second_denom_unit], + base="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", + display="SMART", + name="SMART", + symbol="SMART", + uri=( + "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/" + "Flag_of_the_People%27s_Republic_of_China.svg/" + "2560px-Flag_of_the_People%27s_Republic_of_China.svg.png" + ), + uri_hash="", + ) + + return metadata + + @pytest.fixture def inj_token_meta(): from pyinjective.proto.exchange.injective_spot_exchange_rpc_pb2 import TokenMeta diff --git a/tests/test_async_client.py b/tests/test_async_client.py index 7780e088..b7b597ed 100644 --- a/tests/test_async_client.py +++ b/tests/test_async_client.py @@ -4,22 +4,31 @@ from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +from pyinjective.proto.cosmos.bank.v1beta1 import query_pb2 as bank_query_pb +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb from pyinjective.proto.exchange import injective_derivative_exchange_rpc_pb2, injective_spot_exchange_rpc_pb2 +from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer from tests.client.indexer.configurable_derivative_query_servicer import ConfigurableDerivativeQueryServicer from tests.client.indexer.configurable_spot_query_servicer import ConfigurableSpotQueryServicer -from tests.rpc_fixtures.markets_fixtures import ape_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import ape_usdt_spot_market_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import btc_usdt_perp_market_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import inj_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import inj_usdt_spot_market_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import usdt_perp_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import usdt_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import ( # noqa: F401; noqa: F401; noqa: F401 +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 +def bank_servicer(): + return ConfigurableBankQueryServicer() + + @pytest.fixture def spot_servicer(): return ConfigurableSpotQueryServicer() @@ -127,3 +136,44 @@ async def test_initialize_tokens_and_markets( assert any( (first_match_bet_market_meta.market_id == market.id for market in all_binary_option_markets.values()) ) + + @pytest.mark.asyncio + async def test_initialize_tokens_from_chain_denoms( + self, + bank_servicer, + spot_servicer, + derivative_servicer, + smart_denom_metadata, + ): + pagination = pagination_pb.PageResponse( + total=1, + ) + + bank_servicer.denoms_metadata_responses.append( + bank_query_pb.QueryDenomsMetadataResponse( + metadatas=[smart_denom_metadata], + pagination=pagination, + ) + ) + + spot_servicer.markets_responses.append(injective_spot_exchange_rpc_pb2.MarketsResponse(markets=[])) + derivative_servicer.markets_responses.append(injective_derivative_exchange_rpc_pb2.MarketsResponse(markets=[])) + derivative_servicer.binary_options_markets_responses.append( + injective_derivative_exchange_rpc_pb2.BinaryOptionsMarketsResponse(markets=[]) + ) + + client = AsyncClient( + network=Network.local(), + insecure=False, + ) + + client.bank_api._stub = bank_servicer + client.exchange_spot_api._stub = spot_servicer + client.exchange_derivative_api._stub = derivative_servicer + + await client._initialize_tokens_and_markets() + await client.initialize_tokens_from_chain_denoms() + + all_tokens = await client.all_tokens() + assert 1 == len(all_tokens) + assert smart_denom_metadata.symbol in all_tokens From cfeb5b4c7033c26a7de5e189473e49f7b970c671 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 11 Dec 2023 12:39:50 -0300 Subject: [PATCH 68/83] (feat) Changed default gas price from 500000000 to 160000000 --- pyinjective/constant.py | 2 +- pyinjective/core/broadcaster.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyinjective/constant.py b/pyinjective/constant.py index 91cc4839..07274205 100644 --- a/pyinjective/constant.py +++ b/pyinjective/constant.py @@ -1,7 +1,7 @@ import os from configparser import ConfigParser -GAS_PRICE = 500_000_000 +GAS_PRICE = 160_000_000 GAS_FEE_BUFFER_AMOUNT = 25_000 MAX_MEMO_CHARACTERS = 256 ADDITIONAL_CHAIN_FORMAT_DECIMALS = 18 diff --git a/pyinjective/core/broadcaster.py b/pyinjective/core/broadcaster.py index 45ca0fca..22df562b 100644 --- a/pyinjective/core/broadcaster.py +++ b/pyinjective/core/broadcaster.py @@ -9,6 +9,7 @@ from pyinjective import PrivateKey, PublicKey, Transaction from pyinjective.async_client import AsyncClient from pyinjective.composer import Composer +from pyinjective.constant import GAS_PRICE from pyinjective.core.gas_limit_estimator import GasLimitEstimator from pyinjective.core.network import Network @@ -35,7 +36,7 @@ def messages_prepared_for_transaction(self, messages: List[any_pb2.Any]) -> List class TransactionFeeCalculator(ABC): - DEFAULT_GAS_PRICE = 500_000_000 + DEFAULT_GAS_PRICE = GAS_PRICE @abstractmethod async def configure_gas_fee_for_transaction( From 2638031e3eee04312eca4eb56e7b026f949d67f1 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 11 Dec 2023 12:55:10 -0300 Subject: [PATCH 69/83] (feat) Update Poetry.lock file to solve GitHub tests workflow issues --- poetry.lock | 1717 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 1008 insertions(+), 709 deletions(-) diff --git a/poetry.lock b/poetry.lock index cc8e201b..c7b1c317 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2,111 +2,99 @@ [[package]] name = "aiohttp" -version = "3.8.6" +version = "3.9.1" description = "Async http client/server framework (asyncio)" optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" files = [ - {file = "aiohttp-3.8.6-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:41d55fc043954cddbbd82503d9cc3f4814a40bcef30b3569bc7b5e34130718c1"}, - {file = "aiohttp-3.8.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:1d84166673694841d8953f0a8d0c90e1087739d24632fe86b1a08819168b4566"}, - {file = "aiohttp-3.8.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:253bf92b744b3170eb4c4ca2fa58f9c4b87aeb1df42f71d4e78815e6e8b73c9e"}, - {file = "aiohttp-3.8.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3fd194939b1f764d6bb05490987bfe104287bbf51b8d862261ccf66f48fb4096"}, - {file = "aiohttp-3.8.6-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6c5f938d199a6fdbdc10bbb9447496561c3a9a565b43be564648d81e1102ac22"}, - {file = "aiohttp-3.8.6-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2817b2f66ca82ee699acd90e05c95e79bbf1dc986abb62b61ec8aaf851e81c93"}, - {file = "aiohttp-3.8.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0fa375b3d34e71ccccf172cab401cd94a72de7a8cc01847a7b3386204093bb47"}, - {file = "aiohttp-3.8.6-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9de50a199b7710fa2904be5a4a9b51af587ab24c8e540a7243ab737b45844543"}, - {file = "aiohttp-3.8.6-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e1d8cb0b56b3587c5c01de3bf2f600f186da7e7b5f7353d1bf26a8ddca57f965"}, - {file = "aiohttp-3.8.6-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:8e31e9db1bee8b4f407b77fd2507337a0a80665ad7b6c749d08df595d88f1cf5"}, - {file = "aiohttp-3.8.6-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:7bc88fc494b1f0311d67f29fee6fd636606f4697e8cc793a2d912ac5b19aa38d"}, - {file = "aiohttp-3.8.6-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:ec00c3305788e04bf6d29d42e504560e159ccaf0be30c09203b468a6c1ccd3b2"}, - {file = "aiohttp-3.8.6-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:ad1407db8f2f49329729564f71685557157bfa42b48f4b93e53721a16eb813ed"}, - {file = "aiohttp-3.8.6-cp310-cp310-win32.whl", hash = "sha256:ccc360e87341ad47c777f5723f68adbb52b37ab450c8bc3ca9ca1f3e849e5fe2"}, - {file = "aiohttp-3.8.6-cp310-cp310-win_amd64.whl", hash = "sha256:93c15c8e48e5e7b89d5cb4613479d144fda8344e2d886cf694fd36db4cc86865"}, - {file = "aiohttp-3.8.6-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6e2f9cc8e5328f829f6e1fb74a0a3a939b14e67e80832975e01929e320386b34"}, - {file = "aiohttp-3.8.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:e6a00ffcc173e765e200ceefb06399ba09c06db97f401f920513a10c803604ca"}, - {file = "aiohttp-3.8.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:41bdc2ba359032e36c0e9de5a3bd00d6fb7ea558a6ce6b70acedf0da86458321"}, - {file = "aiohttp-3.8.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:14cd52ccf40006c7a6cd34a0f8663734e5363fd981807173faf3a017e202fec9"}, - {file = "aiohttp-3.8.6-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2d5b785c792802e7b275c420d84f3397668e9d49ab1cb52bd916b3b3ffcf09ad"}, - {file = "aiohttp-3.8.6-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1bed815f3dc3d915c5c1e556c397c8667826fbc1b935d95b0ad680787896a358"}, - {file = "aiohttp-3.8.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:96603a562b546632441926cd1293cfcb5b69f0b4159e6077f7c7dbdfb686af4d"}, - {file = "aiohttp-3.8.6-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d76e8b13161a202d14c9584590c4df4d068c9567c99506497bdd67eaedf36403"}, - {file = "aiohttp-3.8.6-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e3f1e3f1a1751bb62b4a1b7f4e435afcdade6c17a4fd9b9d43607cebd242924a"}, - {file = "aiohttp-3.8.6-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:76b36b3124f0223903609944a3c8bf28a599b2cc0ce0be60b45211c8e9be97f8"}, - {file = "aiohttp-3.8.6-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:a2ece4af1f3c967a4390c284797ab595a9f1bc1130ef8b01828915a05a6ae684"}, - {file = "aiohttp-3.8.6-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:16d330b3b9db87c3883e565340d292638a878236418b23cc8b9b11a054aaa887"}, - {file = "aiohttp-3.8.6-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:42c89579f82e49db436b69c938ab3e1559e5a4409eb8639eb4143989bc390f2f"}, - {file = "aiohttp-3.8.6-cp311-cp311-win32.whl", hash = "sha256:efd2fcf7e7b9d7ab16e6b7d54205beded0a9c8566cb30f09c1abe42b4e22bdcb"}, - {file = "aiohttp-3.8.6-cp311-cp311-win_amd64.whl", hash = "sha256:3b2ab182fc28e7a81f6c70bfbd829045d9480063f5ab06f6e601a3eddbbd49a0"}, - {file = "aiohttp-3.8.6-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:fdee8405931b0615220e5ddf8cd7edd8592c606a8e4ca2a00704883c396e4479"}, - {file = "aiohttp-3.8.6-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d25036d161c4fe2225d1abff2bd52c34ed0b1099f02c208cd34d8c05729882f0"}, - {file = "aiohttp-3.8.6-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5d791245a894be071d5ab04bbb4850534261a7d4fd363b094a7b9963e8cdbd31"}, - {file = "aiohttp-3.8.6-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0cccd1de239afa866e4ce5c789b3032442f19c261c7d8a01183fd956b1935349"}, - {file = "aiohttp-3.8.6-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1f13f60d78224f0dace220d8ab4ef1dbc37115eeeab8c06804fec11bec2bbd07"}, - {file = "aiohttp-3.8.6-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8a9b5a0606faca4f6cc0d338359d6fa137104c337f489cd135bb7fbdbccb1e39"}, - {file = "aiohttp-3.8.6-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:13da35c9ceb847732bf5c6c5781dcf4780e14392e5d3b3c689f6d22f8e15ae31"}, - {file = "aiohttp-3.8.6-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:4d4cbe4ffa9d05f46a28252efc5941e0462792930caa370a6efaf491f412bc66"}, - {file = "aiohttp-3.8.6-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:229852e147f44da0241954fc6cb910ba074e597f06789c867cb7fb0621e0ba7a"}, - {file = "aiohttp-3.8.6-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:713103a8bdde61d13490adf47171a1039fd880113981e55401a0f7b42c37d071"}, - {file = "aiohttp-3.8.6-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:45ad816b2c8e3b60b510f30dbd37fe74fd4a772248a52bb021f6fd65dff809b6"}, - {file = "aiohttp-3.8.6-cp36-cp36m-win32.whl", hash = "sha256:2b8d4e166e600dcfbff51919c7a3789ff6ca8b3ecce16e1d9c96d95dd569eb4c"}, - {file = "aiohttp-3.8.6-cp36-cp36m-win_amd64.whl", hash = "sha256:0912ed87fee967940aacc5306d3aa8ba3a459fcd12add0b407081fbefc931e53"}, - {file = "aiohttp-3.8.6-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:e2a988a0c673c2e12084f5e6ba3392d76c75ddb8ebc6c7e9ead68248101cd446"}, - {file = "aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ebf3fd9f141700b510d4b190094db0ce37ac6361a6806c153c161dc6c041ccda"}, - {file = "aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3161ce82ab85acd267c8f4b14aa226047a6bee1e4e6adb74b798bd42c6ae1f80"}, - {file = "aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d95fc1bf33a9a81469aa760617b5971331cdd74370d1214f0b3109272c0e1e3c"}, - {file = "aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c43ecfef7deaf0617cee936836518e7424ee12cb709883f2c9a1adda63cc460"}, - {file = "aiohttp-3.8.6-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ca80e1b90a05a4f476547f904992ae81eda5c2c85c66ee4195bb8f9c5fb47f28"}, - {file = "aiohttp-3.8.6-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:90c72ebb7cb3a08a7f40061079817133f502a160561d0675b0a6adf231382c92"}, - {file = "aiohttp-3.8.6-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:bb54c54510e47a8c7c8e63454a6acc817519337b2b78606c4e840871a3e15349"}, - {file = "aiohttp-3.8.6-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:de6a1c9f6803b90e20869e6b99c2c18cef5cc691363954c93cb9adeb26d9f3ae"}, - {file = "aiohttp-3.8.6-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:a3628b6c7b880b181a3ae0a0683698513874df63783fd89de99b7b7539e3e8a8"}, - {file = "aiohttp-3.8.6-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:fc37e9aef10a696a5a4474802930079ccfc14d9f9c10b4662169671ff034b7df"}, - {file = "aiohttp-3.8.6-cp37-cp37m-win32.whl", hash = "sha256:f8ef51e459eb2ad8e7a66c1d6440c808485840ad55ecc3cafefadea47d1b1ba2"}, - {file = "aiohttp-3.8.6-cp37-cp37m-win_amd64.whl", hash = "sha256:b2fe42e523be344124c6c8ef32a011444e869dc5f883c591ed87f84339de5976"}, - {file = "aiohttp-3.8.6-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:9e2ee0ac5a1f5c7dd3197de309adfb99ac4617ff02b0603fd1e65b07dc772e4b"}, - {file = "aiohttp-3.8.6-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:01770d8c04bd8db568abb636c1fdd4f7140b284b8b3e0b4584f070180c1e5c62"}, - {file = "aiohttp-3.8.6-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:3c68330a59506254b556b99a91857428cab98b2f84061260a67865f7f52899f5"}, - {file = "aiohttp-3.8.6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:89341b2c19fb5eac30c341133ae2cc3544d40d9b1892749cdd25892bbc6ac951"}, - {file = "aiohttp-3.8.6-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:71783b0b6455ac8f34b5ec99d83e686892c50498d5d00b8e56d47f41b38fbe04"}, - {file = "aiohttp-3.8.6-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f628dbf3c91e12f4d6c8b3f092069567d8eb17814aebba3d7d60c149391aee3a"}, - {file = "aiohttp-3.8.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b04691bc6601ef47c88f0255043df6f570ada1a9ebef99c34bd0b72866c217ae"}, - {file = "aiohttp-3.8.6-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7ee912f7e78287516df155f69da575a0ba33b02dd7c1d6614dbc9463f43066e3"}, - {file = "aiohttp-3.8.6-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:9c19b26acdd08dd239e0d3669a3dddafd600902e37881f13fbd8a53943079dbc"}, - {file = "aiohttp-3.8.6-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:99c5ac4ad492b4a19fc132306cd57075c28446ec2ed970973bbf036bcda1bcc6"}, - {file = "aiohttp-3.8.6-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:f0f03211fd14a6a0aed2997d4b1c013d49fb7b50eeb9ffdf5e51f23cfe2c77fa"}, - {file = "aiohttp-3.8.6-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:8d399dade330c53b4106160f75f55407e9ae7505263ea86f2ccca6bfcbdb4921"}, - {file = "aiohttp-3.8.6-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:ec4fd86658c6a8964d75426517dc01cbf840bbf32d055ce64a9e63a40fd7b771"}, - {file = "aiohttp-3.8.6-cp38-cp38-win32.whl", hash = "sha256:33164093be11fcef3ce2571a0dccd9041c9a93fa3bde86569d7b03120d276c6f"}, - {file = "aiohttp-3.8.6-cp38-cp38-win_amd64.whl", hash = "sha256:bdf70bfe5a1414ba9afb9d49f0c912dc524cf60141102f3a11143ba3d291870f"}, - {file = "aiohttp-3.8.6-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:d52d5dc7c6682b720280f9d9db41d36ebe4791622c842e258c9206232251ab2b"}, - {file = "aiohttp-3.8.6-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:4ac39027011414dbd3d87f7edb31680e1f430834c8cef029f11c66dad0670aa5"}, - {file = "aiohttp-3.8.6-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3f5c7ce535a1d2429a634310e308fb7d718905487257060e5d4598e29dc17f0b"}, - {file = "aiohttp-3.8.6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b30e963f9e0d52c28f284d554a9469af073030030cef8693106d918b2ca92f54"}, - {file = "aiohttp-3.8.6-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:918810ef188f84152af6b938254911055a72e0f935b5fbc4c1a4ed0b0584aed1"}, - {file = "aiohttp-3.8.6-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:002f23e6ea8d3dd8d149e569fd580c999232b5fbc601c48d55398fbc2e582e8c"}, - {file = "aiohttp-3.8.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4fcf3eabd3fd1a5e6092d1242295fa37d0354b2eb2077e6eb670accad78e40e1"}, - {file = "aiohttp-3.8.6-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:255ba9d6d5ff1a382bb9a578cd563605aa69bec845680e21c44afc2670607a95"}, - {file = "aiohttp-3.8.6-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d67f8baed00870aa390ea2590798766256f31dc5ed3ecc737debb6e97e2ede78"}, - {file = "aiohttp-3.8.6-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:86f20cee0f0a317c76573b627b954c412ea766d6ada1a9fcf1b805763ae7feeb"}, - {file = "aiohttp-3.8.6-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:39a312d0e991690ccc1a61f1e9e42daa519dcc34ad03eb6f826d94c1190190dd"}, - {file = "aiohttp-3.8.6-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:e827d48cf802de06d9c935088c2924e3c7e7533377d66b6f31ed175c1620e05e"}, - {file = "aiohttp-3.8.6-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:bd111d7fc5591ddf377a408ed9067045259ff2770f37e2d94e6478d0f3fc0c17"}, - {file = "aiohttp-3.8.6-cp39-cp39-win32.whl", hash = "sha256:caf486ac1e689dda3502567eb89ffe02876546599bbf915ec94b1fa424eeffd4"}, - {file = "aiohttp-3.8.6-cp39-cp39-win_amd64.whl", hash = "sha256:3f0e27e5b733803333bb2371249f41cf42bae8884863e8e8965ec69bebe53132"}, - {file = "aiohttp-3.8.6.tar.gz", hash = "sha256:b0cf2a4501bff9330a8a5248b4ce951851e415bdcce9dc158e76cfd55e15085c"}, + {file = "aiohttp-3.9.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e1f80197f8b0b846a8d5cf7b7ec6084493950d0882cc5537fb7b96a69e3c8590"}, + {file = "aiohttp-3.9.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c72444d17777865734aa1a4d167794c34b63e5883abb90356a0364a28904e6c0"}, + {file = "aiohttp-3.9.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9b05d5cbe9dafcdc733262c3a99ccf63d2f7ce02543620d2bd8db4d4f7a22f83"}, + {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5c4fa235d534b3547184831c624c0b7c1e262cd1de847d95085ec94c16fddcd5"}, + {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:289ba9ae8e88d0ba16062ecf02dd730b34186ea3b1e7489046fc338bdc3361c4"}, + {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bff7e2811814fa2271be95ab6e84c9436d027a0e59665de60edf44e529a42c1f"}, + {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:81b77f868814346662c96ab36b875d7814ebf82340d3284a31681085c051320f"}, + {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3b9c7426923bb7bd66d409da46c41e3fb40f5caf679da624439b9eba92043fa6"}, + {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:8d44e7bf06b0c0a70a20f9100af9fcfd7f6d9d3913e37754c12d424179b4e48f"}, + {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:22698f01ff5653fe66d16ffb7658f582a0ac084d7da1323e39fd9eab326a1f26"}, + {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ca7ca5abfbfe8d39e653870fbe8d7710be7a857f8a8386fc9de1aae2e02ce7e4"}, + {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:8d7f98fde213f74561be1d6d3fa353656197f75d4edfbb3d94c9eb9b0fc47f5d"}, + {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:5216b6082c624b55cfe79af5d538e499cd5f5b976820eac31951fb4325974501"}, + {file = "aiohttp-3.9.1-cp310-cp310-win32.whl", hash = "sha256:0e7ba7ff228c0d9a2cd66194e90f2bca6e0abca810b786901a569c0de082f489"}, + {file = "aiohttp-3.9.1-cp310-cp310-win_amd64.whl", hash = "sha256:c7e939f1ae428a86e4abbb9a7c4732bf4706048818dfd979e5e2839ce0159f23"}, + {file = "aiohttp-3.9.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:df9cf74b9bc03d586fc53ba470828d7b77ce51b0582d1d0b5b2fb673c0baa32d"}, + {file = "aiohttp-3.9.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ecca113f19d5e74048c001934045a2b9368d77b0b17691d905af18bd1c21275e"}, + {file = "aiohttp-3.9.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8cef8710fb849d97c533f259103f09bac167a008d7131d7b2b0e3a33269185c0"}, + {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bea94403a21eb94c93386d559bce297381609153e418a3ffc7d6bf772f59cc35"}, + {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:91c742ca59045dce7ba76cab6e223e41d2c70d79e82c284a96411f8645e2afff"}, + {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6c93b7c2e52061f0925c3382d5cb8980e40f91c989563d3d32ca280069fd6a87"}, + {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ee2527134f95e106cc1653e9ac78846f3a2ec1004cf20ef4e02038035a74544d"}, + {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:11ff168d752cb41e8492817e10fb4f85828f6a0142b9726a30c27c35a1835f01"}, + {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b8c3a67eb87394386847d188996920f33b01b32155f0a94f36ca0e0c635bf3e3"}, + {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c7b5d5d64e2a14e35a9240b33b89389e0035e6de8dbb7ffa50d10d8b65c57449"}, + {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:69985d50a2b6f709412d944ffb2e97d0be154ea90600b7a921f95a87d6f108a2"}, + {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:c9110c06eaaac7e1f5562caf481f18ccf8f6fdf4c3323feab28a93d34cc646bd"}, + {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d737e69d193dac7296365a6dcb73bbbf53bb760ab25a3727716bbd42022e8d7a"}, + {file = "aiohttp-3.9.1-cp311-cp311-win32.whl", hash = "sha256:4ee8caa925aebc1e64e98432d78ea8de67b2272252b0a931d2ac3bd876ad5544"}, + {file = "aiohttp-3.9.1-cp311-cp311-win_amd64.whl", hash = "sha256:a34086c5cc285be878622e0a6ab897a986a6e8bf5b67ecb377015f06ed316587"}, + {file = "aiohttp-3.9.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:f800164276eec54e0af5c99feb9494c295118fc10a11b997bbb1348ba1a52065"}, + {file = "aiohttp-3.9.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:500f1c59906cd142d452074f3811614be04819a38ae2b3239a48b82649c08821"}, + {file = "aiohttp-3.9.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0b0a6a36ed7e164c6df1e18ee47afbd1990ce47cb428739d6c99aaabfaf1b3af"}, + {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69da0f3ed3496808e8cbc5123a866c41c12c15baaaead96d256477edf168eb57"}, + {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:176df045597e674fa950bf5ae536be85699e04cea68fa3a616cf75e413737eb5"}, + {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b796b44111f0cab6bbf66214186e44734b5baab949cb5fb56154142a92989aeb"}, + {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f27fdaadce22f2ef950fc10dcdf8048407c3b42b73779e48a4e76b3c35bca26c"}, + {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bcb6532b9814ea7c5a6a3299747c49de30e84472fa72821b07f5a9818bce0f66"}, + {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:54631fb69a6e44b2ba522f7c22a6fb2667a02fd97d636048478db2fd8c4e98fe"}, + {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:4b4c452d0190c5a820d3f5c0f3cd8a28ace48c54053e24da9d6041bf81113183"}, + {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:cae4c0c2ca800c793cae07ef3d40794625471040a87e1ba392039639ad61ab5b"}, + {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:565760d6812b8d78d416c3c7cfdf5362fbe0d0d25b82fed75d0d29e18d7fc30f"}, + {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:54311eb54f3a0c45efb9ed0d0a8f43d1bc6060d773f6973efd90037a51cd0a3f"}, + {file = "aiohttp-3.9.1-cp312-cp312-win32.whl", hash = "sha256:85c3e3c9cb1d480e0b9a64c658cd66b3cfb8e721636ab8b0e746e2d79a7a9eed"}, + {file = "aiohttp-3.9.1-cp312-cp312-win_amd64.whl", hash = "sha256:11cb254e397a82efb1805d12561e80124928e04e9c4483587ce7390b3866d213"}, + {file = "aiohttp-3.9.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:8a22a34bc594d9d24621091d1b91511001a7eea91d6652ea495ce06e27381f70"}, + {file = "aiohttp-3.9.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:598db66eaf2e04aa0c8900a63b0101fdc5e6b8a7ddd805c56d86efb54eb66672"}, + {file = "aiohttp-3.9.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:2c9376e2b09895c8ca8b95362283365eb5c03bdc8428ade80a864160605715f1"}, + {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41473de252e1797c2d2293804e389a6d6986ef37cbb4a25208de537ae32141dd"}, + {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9c5857612c9813796960c00767645cb5da815af16dafb32d70c72a8390bbf690"}, + {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ffcd828e37dc219a72c9012ec44ad2e7e3066bec6ff3aaa19e7d435dbf4032ca"}, + {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:219a16763dc0294842188ac8a12262b5671817042b35d45e44fd0a697d8c8361"}, + {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f694dc8a6a3112059258a725a4ebe9acac5fe62f11c77ac4dcf896edfa78ca28"}, + {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:bcc0ea8d5b74a41b621ad4a13d96c36079c81628ccc0b30cfb1603e3dfa3a014"}, + {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:90ec72d231169b4b8d6085be13023ece8fa9b1bb495e4398d847e25218e0f431"}, + {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:cf2a0ac0615842b849f40c4d7f304986a242f1e68286dbf3bd7a835e4f83acfd"}, + {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:0e49b08eafa4f5707ecfb321ab9592717a319e37938e301d462f79b4e860c32a"}, + {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:2c59e0076ea31c08553e868cec02d22191c086f00b44610f8ab7363a11a5d9d8"}, + {file = "aiohttp-3.9.1-cp38-cp38-win32.whl", hash = "sha256:4831df72b053b1eed31eb00a2e1aff6896fb4485301d4ccb208cac264b648db4"}, + {file = "aiohttp-3.9.1-cp38-cp38-win_amd64.whl", hash = "sha256:3135713c5562731ee18f58d3ad1bf41e1d8883eb68b363f2ffde5b2ea4b84cc7"}, + {file = "aiohttp-3.9.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:cfeadf42840c1e870dc2042a232a8748e75a36b52d78968cda6736de55582766"}, + {file = "aiohttp-3.9.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:70907533db712f7aa791effb38efa96f044ce3d4e850e2d7691abd759f4f0ae0"}, + {file = "aiohttp-3.9.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:cdefe289681507187e375a5064c7599f52c40343a8701761c802c1853a504558"}, + {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7481f581251bb5558ba9f635db70908819caa221fc79ee52a7f58392778c636"}, + {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:49f0c1b3c2842556e5de35f122fc0f0b721334ceb6e78c3719693364d4af8499"}, + {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0d406b01a9f5a7e232d1b0d161b40c05275ffbcbd772dc18c1d5a570961a1ca4"}, + {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d8e4450e7fe24d86e86b23cc209e0023177b6d59502e33807b732d2deb6975f"}, + {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3c0266cd6f005e99f3f51e583012de2778e65af6b73860038b968a0a8888487a"}, + {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ab221850108a4a063c5b8a70f00dd7a1975e5a1713f87f4ab26a46e5feac5a0e"}, + {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:c88a15f272a0ad3d7773cf3a37cc7b7d077cbfc8e331675cf1346e849d97a4e5"}, + {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:237533179d9747080bcaad4d02083ce295c0d2eab3e9e8ce103411a4312991a0"}, + {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:02ab6006ec3c3463b528374c4cdce86434e7b89ad355e7bf29e2f16b46c7dd6f"}, + {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04fa38875e53eb7e354ece1607b1d2fdee2d175ea4e4d745f6ec9f751fe20c7c"}, + {file = "aiohttp-3.9.1-cp39-cp39-win32.whl", hash = "sha256:82eefaf1a996060602f3cc1112d93ba8b201dbf5d8fd9611227de2003dddb3b7"}, + {file = "aiohttp-3.9.1-cp39-cp39-win_amd64.whl", hash = "sha256:9b05d33ff8e6b269e30a7957bd3244ffbce2a7a35a81b81c382629b80af1a8bf"}, + {file = "aiohttp-3.9.1.tar.gz", hash = "sha256:8fc49a87ac269d4529da45871e2ffb6874e87779c3d0e2ccd813c0899221239d"}, ] [package.dependencies] aiosignal = ">=1.1.2" -async-timeout = ">=4.0.0a3,<5.0" +async-timeout = {version = ">=4.0,<5.0", markers = "python_version < \"3.11\""} attrs = ">=17.3.0" -charset-normalizer = ">=2.0,<4.0" frozenlist = ">=1.1.1" multidict = ">=4.5,<7.0" yarl = ">=1.0,<2.0" [package.extras] -speedups = ["Brotli", "aiodns", "cchardet"] +speedups = ["Brotli", "aiodns", "brotlicffi"] [[package]] name = "aiosignal" @@ -122,6 +110,17 @@ files = [ [package.dependencies] frozenlist = ">=1.1.0" +[[package]] +name = "annotated-types" +version = "0.6.0" +description = "Reusable constraint types to use with typing.Annotated" +optional = false +python-versions = ">=3.8" +files = [ + {file = "annotated_types-0.6.0-py3-none-any.whl", hash = "sha256:0641064de18ba7a25dee8f96403ebc39113d0cb953a01429249d5c7564666a43"}, + {file = "annotated_types-0.6.0.tar.gz", hash = "sha256:563339e807e53ffd9c267e99fc6d9ea23eb8443c08f112651963e24e22f84a5d"}, +] + [[package]] name = "asn1crypto" version = "1.5.1" @@ -217,160 +216,160 @@ coincurve = ">=15.0,<19" [[package]] name = "bitarray" -version = "2.8.2" +version = "2.8.5" description = "efficient arrays of booleans -- C extension" optional = false python-versions = "*" files = [ - {file = "bitarray-2.8.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:525eda30469522cd840a11ba866d0616c132f6c4be8966a297d7545e97fcb822"}, - {file = "bitarray-2.8.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c3d9730341c825eb167ca06c9dddf6ad4d1b4e71ea7da73cc8c5139fcb5e14ca"}, - {file = "bitarray-2.8.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ad8f8c39c8df184e346184699783f105755003662f0dbe1233d9d9849650ab5f"}, - {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2cb8d08330d250df47088c13683322083afbdfafdc31df205616506d6b9f068f"}, - {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:56f19ccba8a6ddf1382b0fb4fb8d4e1330e4a1b148e5d198f0981ba2a97c3492"}, - {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4db2e0f58153a376d9a14873e342d507ca32640640284cddf3c1e74a65929477"}, - {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b9b3c27aeea1752f0c1df1e29115e4b6f0249173d71e53c5f7e2c821706f028b"}, - {file = "bitarray-2.8.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ef23f62b3abd287cf368341540ef2a81c86b48de9d488e182e63fe24ac165538"}, - {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6d79fd3c58a4dc71ffd0fc55982a9a2079fe94c76ccff2777092f6107d6a049a"}, - {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:8528c59d3d3df6618777892b60435022d8917de9ea32933d439c7ffd24437237"}, - {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:c35bb5fe018fd9c42be3c28e74dc7dcfae471c3c6689679dbd0bd1d6dc0f51b7"}, - {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:232e8faa8e624f3eb0552a636ebe745cee00480e0e56ad62f17808d281838f2e"}, - {file = "bitarray-2.8.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:945e97ad2bbf7885426f39641a735a31fd4ca2e84e4d0cd271d9880372d6eae1"}, - {file = "bitarray-2.8.2-cp310-cp310-win32.whl", hash = "sha256:88c2d427ab1b20f220c1d53171b0691faa8f0a219367d84e859f1001e90ceefc"}, - {file = "bitarray-2.8.2-cp310-cp310-win_amd64.whl", hash = "sha256:f7c5745e0f96c2c16c03c7540dbe26f3b62ddee63059be0a014156933f054024"}, - {file = "bitarray-2.8.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a610426251d1340baa4d8b7942d2cbfe6a1e20b92c66817ab582e0d341185ab5"}, - {file = "bitarray-2.8.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:599b04b04eb1b5b964a35986bea2bc4381145836fe550cc33c40a796b855b985"}, - {file = "bitarray-2.8.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9014660472f2080d550157164cc5f9376245a34a0ab877b82b95c1f894af5b28"}, - {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:532d63c54159f7e0fb520e2f72ef596493bc43810eaa75fac7a188e898ab593b"}, - {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ad1563f11dd70cb1684cfe841e4cf7f35d4f65769de21d12b72cf773a7932615"}, - {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2e456150af62ee1f24a0c9976947629bfb80d80b4fbd37aa901cf794db6ba9b0"}, - {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1cc29909e4cef05d5e49f5d77ace1dc49311c7791734a048b690521c76b4b7a0"}, - {file = "bitarray-2.8.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:608385f07a4b0391d4982d1efb83ad70920cd8ca495a7868e44d2a4511cbf84e"}, - {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d2baf7ec353fa64917045b3efe26e7c12ce0d7b4d120c3773a612dce54f91585"}, - {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:2c39d1cb04fc277701de6fe2119cc71facc4aff2ca0414b2e326aec337fa1ab4"}, - {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:3caf4ca668854bb23db4b65af0068238677b5791bcc45694bf8990f3e26e85c9"}, - {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4bbfe4474d3470c724e283bd1fe8ee9ab3cb6a4c378112926f45d41e326a7622"}, - {file = "bitarray-2.8.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:cb941981676dc7859d53199a10a33ca56a3146cce6a45bc6ad70572c1147157d"}, - {file = "bitarray-2.8.2-cp311-cp311-win32.whl", hash = "sha256:e8963d7ac292f41654fa7cbc1a34efdb09e5a42399b2e3689c3fd5b8b4e0fe16"}, - {file = "bitarray-2.8.2-cp311-cp311-win_amd64.whl", hash = "sha256:ee779a291330287b341044635fce2979176d113b0dcce0308dc5d62da7951eec"}, - {file = "bitarray-2.8.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:05d84765bbfd0aa10890c765c56c917c237987325c4e327f3c0febbfc34365c8"}, - {file = "bitarray-2.8.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c7b7be4bff27d7ce6a81d3993755371b5f5b42436afa151868e8fd599acbab19"}, - {file = "bitarray-2.8.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c3d51ab9f3d5b9a10295abe480c50bf74ee5bf3d984c4cee77e493e575acc869"}, - {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:00bad63ef6f9d22ba36b01b89167176a451ea22a916d1dfa77d73e0298f1d1f9"}, - {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:225e19d37b234d4d721557434b7d5590cd63b6342492b689e2d694d44d7cc537"}, - {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d7e3ab9870c496e5a058436bf4d96ed111ca6154c8ef8147b70c44c188d6fb2c"}, - {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ff3e182c766cd6f302e99e0d8e44927d533356e9d6ac93fcd09987ebead467aa"}, - {file = "bitarray-2.8.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a7bb559b68eb9cb3c4f867eb9fb39a696c4da70a41fad37b410bd0c7b426a8ce"}, - {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:97e658a3793478d6bca684f47f29f62542312683687bc045dc3cb588160e74b3"}, - {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:dd351b8fbc77c2e2ebc3eeadc0cf72bd5024a43bef5a847697e2b076d1201636"}, - {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:280809e56a7098f48165ce134222098e4cfe7084b10d69bbc31367942e541dfd"}, - {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:14bc38ced7edffff25ee748c1eabc530624c9af68f86322b030b11b7918b966f"}, - {file = "bitarray-2.8.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:de4953b6b1e19dabd23767bd1f83f1cf73978372189dec0e2dd8b3d6971100d6"}, - {file = "bitarray-2.8.2-cp312-cp312-win32.whl", hash = "sha256:99196b4730d887a4bc578f05039b55dc57b131c81b5a5e03efa619b587bdf293"}, - {file = "bitarray-2.8.2-cp312-cp312-win_amd64.whl", hash = "sha256:215a5bf8fdcbed700cc8782d4044e1f036606d5c321710d83e8da6d0fdfe07d5"}, - {file = "bitarray-2.8.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:e9c54136c9fab2cefe9801e336b8a3aa7299bcfe7f387379cc6394ad1d5a484b"}, - {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:08ad70c1555d9622cecd8f1b132a5341d183a9161aba93cc9739bbaabe4220b0"}, - {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:384be6b7df8fb6a93ddd88d4184094f2ba4f1d07c30dcd4ae164d185d31a2af6"}, - {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd2a098250c683d248a6490ac437ed56f7164d2151572231bd26c76bfe111b11"}, - {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a6ae5c18b9a70cb0ae576a8a3c8a9a0659356c016b49cc6b263dd987d344f30d"}, - {file = "bitarray-2.8.2-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:188f5780f1cfbeba0c3ddb1aa3fa0415ab1a8aa04e9e89f70ad5403197013437"}, - {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:5f2a96c5b40727bc21a695d3a106f49e88572fa11427bf2193cabd99e624c901"}, - {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:b6df948da34b5fb949698092573d798c76c54f2f2188db59276d599075f9ed04"}, - {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:a1f00c328b8dae1828844bac019dfe425d10a2043cc70e2f967224c5392d19ad"}, - {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:7965108069f9731306a882872c23ad4f5a8531668e82b27932a19814c52a8dd8"}, - {file = "bitarray-2.8.2-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:420aa610fe392c4ee700e474673276bb4f3c4f091d001f58b1f018bf650840c1"}, - {file = "bitarray-2.8.2-cp36-cp36m-win32.whl", hash = "sha256:b85929db81105c06e8292c05cac093068e86464555c628c03f99c9f8090d68d4"}, - {file = "bitarray-2.8.2-cp36-cp36m-win_amd64.whl", hash = "sha256:cba09dfd3aea2addc994eb21a861c3cea2d68141bb7ebe68b0e94c73405540f9"}, - {file = "bitarray-2.8.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:172169099797f1ec469b0aadb00c653193a74757f99312c9c17dc1a18d23d972"}, - {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:351a4fed240728dcc96966e0c4cfd3dce870525377a1cb5afac8e5cfe116ff7b"}, - {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ff31bef13fd278446b6d1969a46db9f02c36fd905f3e75878f0fe17271f7d897"}, - {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fb8b727cd9ddff848c5f73e65470abb110f026beab403bcebbd74e7439b9bd8f"}, - {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d1356c86eefbde3fe8a3c39fb81bbc8b16acc8e442e191408042e8b1d6904e3"}, - {file = "bitarray-2.8.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7706336bd15acf4e42300579e42bef742c01a4eb202998f6c20c443a2ce5fd60"}, - {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:a4b43949477dc2b0d3e1d8b7c413ed74f515cef01954cdcc3fb1e2dcc49f2aff"}, - {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:06d9de5db244c6e45a5318713367765de0a57d82ad616869a004a710a95541e9"}, - {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:5569c8314335e92570c471d60b4b03eb2a4467864805a560d133d24b27b3961a"}, - {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:76a4faef4c31953aa7b9ebe00d162f7ce9bc03fc8d423ab2dc690a11d7520a8e"}, - {file = "bitarray-2.8.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:1474db8c4297026e1daa1699e70e25e56dff91104fe025b1a9804332f2737604"}, - {file = "bitarray-2.8.2-cp37-cp37m-win32.whl", hash = "sha256:85b504f233f0484e9a74df4f286a9ae56fbbe2a648c45726761cf7b6f072cdc8"}, - {file = "bitarray-2.8.2-cp37-cp37m-win_amd64.whl", hash = "sha256:3dde123ce85d1ba99d9bdf44b1b3174fa22bc8fb10004e0d72bb661a0444c1a9"}, - {file = "bitarray-2.8.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:23fae6a5a1403d16592b8823d5dea93f738c6e217a1e1bb0eefad242fb03d47f"}, - {file = "bitarray-2.8.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c44b3022115eb1697315bc51aeadbade1a19d7188bcda66c52d91209cf2963ca"}, - {file = "bitarray-2.8.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:fea9354b7169810e2bdd6f3265ff128b564a25d38479b9ad0a9c5776e4fd0cfc"}, - {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6f699bf2cb223aeec04a106003bd2bf8a4fc6d4c5eddf79cacecb6b267657ac5"}, - {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:462c9425fbc5315cbc20a72ca62558e5545bb0f6dc9355e2fa96fa747e9b1a80"}, - {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0c8716b4c45fb128cd4da143749e276f150ecb0acb711f4969d7e7ebc9b2a675"}, - {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:79fde5b27e35aedd958f5fb58ebabce47d7eddae5a5e3774088c30c9610195ef"}, - {file = "bitarray-2.8.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6abf2593b91e36f1cb1c40ac895993c7d2eb30d3f1cb0954a80e5f13697b6b69"}, - {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:ab2e03dd140ab93b91f94a785d1cd6082d5ab53ab6ec958726efa0ad17f7b87a"}, - {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:9e895cc3e5ffee269dd9866097e227a68022ef2b78d627a6ed737534d0c88c14"}, - {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:0bbeb7120ec1a9b26ce423e74cad7b414cea9e35f8e05599e3b3dceb87f4d1b6"}, - {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:51d45d56be14b69720d11a8c61e101d86a65dc8a3a9f356bbe4d98cf4f3c5617"}, - {file = "bitarray-2.8.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:726a598e34657772e5f131115741ea8709e9b55fa35d63c4717bc16b2a737d38"}, - {file = "bitarray-2.8.2-cp38-cp38-win32.whl", hash = "sha256:ab87c4c50d65932788d058adbbd28a209144523ffacbab81dd41582ffce26af9"}, - {file = "bitarray-2.8.2-cp38-cp38-win_amd64.whl", hash = "sha256:316147fb62c810a7667277e5ae7bb75b2871c32d2c398aeb4503cbd4cf3315e7"}, - {file = "bitarray-2.8.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:36bdde1aba78e4a3a6ce5cbebd0a6bc967b0c3fbd8bd99a197dcc17d654f423c"}, - {file = "bitarray-2.8.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:932f7b77750dff7140522dc97dfd94533a599ef1c5d0be3733f556fd44a68821"}, - {file = "bitarray-2.8.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5819b95d0ccce864066f062d2329363ae8a64b9c3d076d039c75ffc9204c2a12"}, - {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1c28b52e59a5e6aa00a929b35b04473bd479a74237ab1170c573c49e8aca61fe"}, - {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3ecdd528268478efeb78ed0132b01104bda6cd8f10c8a57708fc87b1add77e4d"}, - {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9f6f245d4a5e707d48274f38551b654a36db4fb83437c98be00d2019263aa364"}, - {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b088f06d9e2f523683ae363e227173ac454dbb56c938c6d42791fdd78bad8da7"}, - {file = "bitarray-2.8.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e883919cea8e446c5c49717a7ce5c93a016a02b9429b81d64b9ab1d80fc12e42"}, - {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:09d729420b8edc4d8a23a518ae4553074a0054d0441c1a461b425c2f033fab5e"}, - {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:d0d0923087fe1f2d85daa68463d221e90b4b8ed0356480c887eea90b2a2cc7ee"}, - {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:70cebcf9bc345ac1e034fa781eac3619323eaf87f7bbe26f0e28850beb6f5634"}, - {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:890355bf6ba3dc04b5a23d1328eb1f6062165e6262197cebc9acfebdcb23144c"}, - {file = "bitarray-2.8.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:f0b54b95e39036c116ffc057b3f56f6084ce88822de3d5d1f57fa38554ccf5c1"}, - {file = "bitarray-2.8.2-cp39-cp39-win32.whl", hash = "sha256:b499d93fa31a73e31ee62f2cbe07e4df833fd7151734b8f07c48ffe3e4547ec5"}, - {file = "bitarray-2.8.2-cp39-cp39-win_amd64.whl", hash = "sha256:b007aaf5810c708c5a2778e371aa546d7084e4e9f82f65865b2ce5a182376f42"}, - {file = "bitarray-2.8.2-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:1b734b074a09b1b2e1de7df423565412d9213faefa8ca422f32be756b189f729"}, - {file = "bitarray-2.8.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dd074b06be9484040acb4c2c0462c4d19a43e377716be7ba10440f51a57bb98c"}, - {file = "bitarray-2.8.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e678696bb613f0344b79be385747aae705b327a9a32ace45a353dd16497bc719"}, - {file = "bitarray-2.8.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bb337ffa10824fa2025c4b1c06a2d809dbed4a4bf9e3ffb262676d084c4e0c50"}, - {file = "bitarray-2.8.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:2b3c7aa2c9a6533dc7234d2a303efdcb9df3f4ac4d0919ec1caf568868f12a0a"}, - {file = "bitarray-2.8.2-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:e6765c47b487341837b3731cca3c8033b971ee082f6ab41cb430aa3447686eec"}, - {file = "bitarray-2.8.2-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cb8566b535bc4ebb26247d6f636a27bb0038bc93fa7e55121628f5cd6b0906ac"}, - {file = "bitarray-2.8.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:56764825f64ab983d32b8c1d4ee483f415f2559e59388ba266a9fcafc44305bf"}, - {file = "bitarray-2.8.2-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0f45f7d58c399e90ee3bddff4f3e2f53ff95c948b2d43de304266153ebd1d778"}, - {file = "bitarray-2.8.2-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:095851409e0db75b1416c8c3e24957135d5a2a206790578e43739e92a00c17c4"}, - {file = "bitarray-2.8.2-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:8bb60d5a948f00901da1d7e4953189259b3c7ef79391fecd6f18db3f48a036fe"}, - {file = "bitarray-2.8.2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2b2dc483ada55ef35990b67dc0e7a779f0b2ce79d156e452dc8b835b03c0dca9"}, - {file = "bitarray-2.8.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8a35e308c23f039064600108fc1c8416bd102bc3cf3a6915761a9f7c801237e0"}, - {file = "bitarray-2.8.2-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fa49f6cfcae4305d8cff028dc9c9a881189a38f7ca43c085aef894c58cb6fbde"}, - {file = "bitarray-2.8.2-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:111bf9913ebee4630e2cb43b61d0abb39813b231262b114e5268cd6a405a22b9"}, - {file = "bitarray-2.8.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:b71d82e3f001bcb53463023f7f37e223fff56cf048f577c6d85597db94770f10"}, - {file = "bitarray-2.8.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:440c537fdf2eaee7fdd41fb1dce5701c490c1964fdb74225b10b49a7c45bc7b4"}, - {file = "bitarray-2.8.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c384c49ce52b82d5b0355000b8aeb7e3a7654997916c1e6fd9d29697edda1076"}, - {file = "bitarray-2.8.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:27428d7b0e706307d0c697f81599e7af4f52e5873ea6bc269eae3604b16b81fe"}, - {file = "bitarray-2.8.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:4963982d5da0825768f9a80760a8560c3e4cf711a9a7ea06ff9bcb7bd250b131"}, - {file = "bitarray-2.8.2.tar.gz", hash = "sha256:f90b2f44b5b23364d5fbade2c34652e15b1fcfe813c46f828e008f68a709160f"}, + {file = "bitarray-2.8.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:5970beec89c26e85874311b3928db3ca61d91badbc4cd18ef712cb456f933b45"}, + {file = "bitarray-2.8.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:641d1a437e9121c56cf6efdc73636d1a62d8150e75146ad23b2dc6723e1117d7"}, + {file = "bitarray-2.8.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:519cc61816c5d00af2f6178baa11fc51cf5fd0a6a7af78c6c06e1218f01b54d0"}, + {file = "bitarray-2.8.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:30d2dc6b4e46804f74c7e8c416562f6af6707b164fcaef19cf8335019c1353db"}, + {file = "bitarray-2.8.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4581f6e579ea351a6c2bb1eeea2261cccbf2a06271230072025b82bc9b1d64cb"}, + {file = "bitarray-2.8.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8e67d02e498bca3941d4a1af8f11d9a84d9876a6573a7c67717fd3a34f2b421c"}, + {file = "bitarray-2.8.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dbead40d87d27c407c547ea1ded4c64832e972cba9a5241ffb76ed3d3bf874f6"}, + {file = "bitarray-2.8.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:63b4c16a4e4f9332d489d2385a9fe919cbcf67b250b200f9d3a6d0fd1f26f16f"}, + {file = "bitarray-2.8.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:b54a89fce51b4f329e6aa03d9993d1a07b640bb5b555e7c0c81feafead01e2e4"}, + {file = "bitarray-2.8.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:638f666598f1e0a2b261c48788772e8273772e0a2987263ab71466967543ed84"}, + {file = "bitarray-2.8.5-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:39fbfbc325768e8a74499b9616622768aeccbfa8837ed2dd458dd74dc3b7443c"}, + {file = "bitarray-2.8.5-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:0610a823be0e512567f73648d61938a120d8594ac6ca1b04fad1e8fe72522dcd"}, + {file = "bitarray-2.8.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8d990ee363ae8845f5af742fd02b4eb6b784f0279cc0ae85f3da3e81b6eb0050"}, + {file = "bitarray-2.8.5-cp310-cp310-win32.whl", hash = "sha256:46dec1b3aff26af53e92680f9a439f56e8968f832d8aca0f8e131d2be2ae6cc1"}, + {file = "bitarray-2.8.5-cp310-cp310-win_amd64.whl", hash = "sha256:b90b86d445a5c904eff92b890cb7c36a77f5a91ef8d1744933b9cf478f46f6e5"}, + {file = "bitarray-2.8.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:09ba2973929dc405d269296a0ae2d2d45fd3286149d62f883067b0ab8cb6ba30"}, + {file = "bitarray-2.8.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ca41d7ccb5f4036abac0c94072e1b07206b071c51068e064bbd6be6627f34cbb"}, + {file = "bitarray-2.8.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:51de323b17b4f1312be20497d4cee0ae092903c70ad752d66ae44037e0a65be5"}, + {file = "bitarray-2.8.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41b65f373a11d256021ee6ad802544f4c04e3d7ad971a96117f828a3bf65fc27"}, + {file = "bitarray-2.8.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ea443f107d2ee95ac21f3acc080006dd27a8304d2e95adeb9e256133993d3381"}, + {file = "bitarray-2.8.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5c2f890beff3b0fa4e89bcfe73b844f38bb3407d25bcc036d21e4ae319bfe4ac"}, + {file = "bitarray-2.8.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c8211533d5f1c73470f6b656ceebba72d555adb00a01a9359f4182cb100b01d"}, + {file = "bitarray-2.8.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3944d548e24eecbfa19353b14c20abe9bc1b07267b8045ad9f2f82fdac8f1d9f"}, + {file = "bitarray-2.8.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:da0281f041680306c582f0a0d65f4ab0547fa313687f24017f3e6ecf57097cbb"}, + {file = "bitarray-2.8.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:9c4f3adc0370dcb4dcabb81a4eabd40fdc0e15afbded0ab214d7046c5669bb51"}, + {file = "bitarray-2.8.5-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:751ec37d423121ccaf0a5ca0f216ff7caef4d86773cb40ec67b400a187dee092"}, + {file = "bitarray-2.8.5-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:f42103b470c9a7fa33122b880ea0fc4f4ed53b38fd84915e0d4b0e569ff8397d"}, + {file = "bitarray-2.8.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:36d3ad647b7c9b51bb84aa709cd467bbb202c6e678ff4871b743c2464c4888ef"}, + {file = "bitarray-2.8.5-cp311-cp311-win32.whl", hash = "sha256:fabf6dd12627aee02a0f06a73a7379fbe493569e8206d2e4c3755c36d37acba0"}, + {file = "bitarray-2.8.5-cp311-cp311-win_amd64.whl", hash = "sha256:6b6338e07c923791b761138664b3aa36995cdb6378d12500829d449bdbf0ce6c"}, + {file = "bitarray-2.8.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:9a9dbee82c3f53898d6ff339c31c753c5888cf33ee90e6668a2425602121291e"}, + {file = "bitarray-2.8.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ccd7849ca9eb89ea9d2b07be55ec8dbbc1984258775002373ba39bc2cf17b4ea"}, + {file = "bitarray-2.8.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e67f0d205acbd8d4c550d4d97a6c7ea21459a38bbdba2392fb62ff7414f25550"}, + {file = "bitarray-2.8.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:916398e3792fcfe46d88d078aa38cd41ab7a1b808481d10ad6cdc2693772241d"}, + {file = "bitarray-2.8.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3365867e5c910c1fd527175cca7539788df138375523acda3a65663d1e35ea7d"}, + {file = "bitarray-2.8.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2292aa678a6f158feb1eb295ece26a0f487e0094cd43483390cc2883bd0ca551"}, + {file = "bitarray-2.8.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7fd1f1d3b35ecc004eb18fc36d1dbc2df75e8b759e2e74e7cf6983ca0c6a8a7e"}, + {file = "bitarray-2.8.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:964e1057bc94c287d0b04be281a4ceaa14182b3a8fd58c3be75251a377021745"}, + {file = "bitarray-2.8.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:a8a9006ae20dbe30e6d7d3d8464171d8ee0924799281c13389c73b841fe2f104"}, + {file = "bitarray-2.8.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:468a69f8406f8a39a87b765d4a08f18758204853c5daa52f5e43662ca973895a"}, + {file = "bitarray-2.8.5-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:a576df7dfa2c86067697a016a6c66fef1477e0fc41b90ccd80331aec62c8ace6"}, + {file = "bitarray-2.8.5-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:330ef4733c254fb166b183c83ec9571bf90049e2d04d4efda160660b95cf9820"}, + {file = "bitarray-2.8.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:166a1c8381a006f420ff3772e59d79f4b50f3638d76056fe01c8e1e08b7ce0bd"}, + {file = "bitarray-2.8.5-cp312-cp312-win32.whl", hash = "sha256:181e6ff49d844cefdc32920ad3c734b120646e949a9a3ce51e8aa78aeb1cdf1b"}, + {file = "bitarray-2.8.5-cp312-cp312-win_amd64.whl", hash = "sha256:f56f662421003c04d4fb3c82ac046ee77f69d65719c045821257cf40cc498402"}, + {file = "bitarray-2.8.5-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:47ee48d9aba59a14abbbd96372e4155461b76d19b461d57287d6eb26c5406bf9"}, + {file = "bitarray-2.8.5-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a9d66bb8d159b0d19d733f4e6c3512a63228a6ab1f4654d2dca6736ede62fb83"}, + {file = "bitarray-2.8.5-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2f3fbaa9a1fff8e6784c2340e9678a52fc6bd9d6ee438d065133a543267e0348"}, + {file = "bitarray-2.8.5-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a2c5722425dac1b5366da783d32dbfb7d09961ade934210b9428c60c05418f11"}, + {file = "bitarray-2.8.5-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bca0034064b66209b07c5df1fa39697890e6305b36e4560d9958713ae0c23698"}, + {file = "bitarray-2.8.5-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bac4e535bd5e82d83676a6492c3486e93837771e1183a3bbf4557ac5bda715a4"}, + {file = "bitarray-2.8.5-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:52702217c0d84d24601d45f652d41c0881d1a66c772e3094b7dadec4181462f8"}, + {file = "bitarray-2.8.5-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:a9bfe75add2d6684414bb8182ff55b4a3a7b9157f54675e87098a66e6d3e03d4"}, + {file = "bitarray-2.8.5-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:5589324d8f762ede479bdb9cbd8f2a14dfa4c378209fe6c4807ca9b12c06d0dc"}, + {file = "bitarray-2.8.5-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:ccf1b41554245c16ae50a9838637190f590f9748fe319b7271154bfa9295805a"}, + {file = "bitarray-2.8.5-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:923a536d6bcfb20402b88d73c1f08c1d1b7cb0d026a8207a72df3c38c7223d40"}, + {file = "bitarray-2.8.5-cp36-cp36m-win32.whl", hash = "sha256:75083026b7969600c14cd40019ce09192f17222fdad6010df9ea3fa48e949089"}, + {file = "bitarray-2.8.5-cp36-cp36m-win_amd64.whl", hash = "sha256:801144db5c237f25deafc910d7dc3cd008be5f104da0d937fe9db7cdabe8fdf8"}, + {file = "bitarray-2.8.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b03a23b7f69877441bcdecb94182491ab827fe635079861aa28ecc4da0477f27"}, + {file = "bitarray-2.8.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c5948915f572757c0b6a44116baff0f416256a163e339e43dd46846d82105354"}, + {file = "bitarray-2.8.5-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7914054d5d5ecfdfaf55de026cacc4a998f79143f6d96782449f7927e0340258"}, + {file = "bitarray-2.8.5-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ef01042e1b4eb87d367e81265b5c037066652dd20ce81f3ff519a0f023786ecd"}, + {file = "bitarray-2.8.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a24a91b5637d0398b61903e3f33b87007b2ec16ddfb9687e294453c18b1a1bef"}, + {file = "bitarray-2.8.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9aa571e45bf4df5f1e99b38c4c7af5a840a51c5b0f601beebd8d8160b035581"}, + {file = "bitarray-2.8.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:ce48a3abc7cfb9153bba5e198cc58ae2b31f164631b685d67ba10e9a21ef12f6"}, + {file = "bitarray-2.8.5-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:99acc9b8474443fb13d077adf33caa6e7e17bc16510faeb8aa5f8d80947fcc02"}, + {file = "bitarray-2.8.5-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:9a39b4479eea530f7a2738db1845529a0cfb7b4eef1d200ae812cd416fbec4b7"}, + {file = "bitarray-2.8.5-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:f4aa5f3601967d90ee780b1fbf783db2aba30afbc967656d10e257f817c9a7f0"}, + {file = "bitarray-2.8.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:eee881c7b4c2eb05e2316aa7e0d417b8f51a745c7a6e14de0223fcf36c60205a"}, + {file = "bitarray-2.8.5-cp37-cp37m-win32.whl", hash = "sha256:8340b3044fc421e5c14997aa346a015fdf9e7cf39a4ed29559fa78a93efcc18c"}, + {file = "bitarray-2.8.5-cp37-cp37m-win_amd64.whl", hash = "sha256:0802aed38f0b39974cad73457640c7577995f62873318e978cb2fed0b7c6ce9b"}, + {file = "bitarray-2.8.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:c2640070dc06f146cc4098001cf0c857f4fab5d9fbc5edbacc52001751f15349"}, + {file = "bitarray-2.8.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ee2e373890fc8a287c393cb619e85650c388f9915b44a9592dd8f06026d8cad1"}, + {file = "bitarray-2.8.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:55492cb5362e9e7648503adb6507d8d49e7b55b847217a331243b7ad26929190"}, + {file = "bitarray-2.8.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d51e1e5a94813c33bf27eeac3009c6021b303a8591719dab8c47cd0ee75fbca0"}, + {file = "bitarray-2.8.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:19d5c20a66046690e981ed624889378fe4e02cd302eb3d8c05d082d53751443c"}, + {file = "bitarray-2.8.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bc481046d824002511e9c3355fef700c4831a9ac6bea57643b43843e4fd27aa6"}, + {file = "bitarray-2.8.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70506cbd34d396a58592e9b651fc2ef4d4956b8c99cc7c732be638d9a5864202"}, + {file = "bitarray-2.8.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cd2c6d472363980235000304bb777f1c4c9d13534aee7629c7f6d11c3b17f16f"}, + {file = "bitarray-2.8.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:7d85a8da1683faca4b5a6d270778c69e47faee44effda9148df49546551518db"}, + {file = "bitarray-2.8.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:49cfeef05f49afb71308537189766e39fabddb296906e6a3433303c2df6ccaa4"}, + {file = "bitarray-2.8.5-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:f29678680d54f849b933dbea217cc3e13999e11637ad834cfc147dd7de68b46e"}, + {file = "bitarray-2.8.5-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:5daff9edebdb5b0bdc0461af37e9de00e5d3bafb9be0e41c7575095e9f60119b"}, + {file = "bitarray-2.8.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:e8639cde035b32f11c51b12e6caea96bdc0f28ef212a38405319df62747c9e3c"}, + {file = "bitarray-2.8.5-cp38-cp38-win32.whl", hash = "sha256:2eaf80e8560cb9061b8da21be4898086e9da26ffbfa0997704eca1f2838a10ed"}, + {file = "bitarray-2.8.5-cp38-cp38-win_amd64.whl", hash = "sha256:e374452faec82b88ff50c63ba7c423524b9a02cfb5ad76eb3d32166fc6277d30"}, + {file = "bitarray-2.8.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:037c239573cad4d95623dcb2d840fa01a28e0120e9c5195b9cb7b9d6c8aa6a9b"}, + {file = "bitarray-2.8.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:80e68f44a69f9b8f69aef6858a4ffdefcfb46342789804c9b8d3c6fdda0f7247"}, + {file = "bitarray-2.8.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e3c322c4cda8fee03132d80ced2d44e1a9f07a1ab69f22f4fc7e8ba34fe30f93"}, + {file = "bitarray-2.8.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb3692aed783e351598c3b9f5180b0912c75fe6538f6e324f372b4204b12f0cc"}, + {file = "bitarray-2.8.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e094247c49c9048391b2b5a21705059428d47b4bf5c4d353cf602bd61762565f"}, + {file = "bitarray-2.8.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:23fe468ae57652c873d4b2d4db7cde0f8fb38bf315be20edaa5bf2e130f2ca4b"}, + {file = "bitarray-2.8.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6cb14bff7f528ee18f68ab89c0790cc2d6c73272ba6d0675edfa7692470c867d"}, + {file = "bitarray-2.8.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6b71825f4478dfae301e60d7067d82196fc5f7eee05fdad35880fba9a89f9684"}, + {file = "bitarray-2.8.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:94e8a8703914930f5a673b27b0a221d2819c4805699e7b545e675e86cae7bcab"}, + {file = "bitarray-2.8.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:4739948b067d29d2a9858943329f9d984b239f912f6141c2ead4806e4470d2b3"}, + {file = "bitarray-2.8.5-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:a60db40f0a86fa1e88ed8a94580f0ae638035238c5aaaf4f29f5867dd0765266"}, + {file = "bitarray-2.8.5-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:c867d02724d57ae7f799a304d15ef05c675860c7a67ee2903ad88b40cfe40105"}, + {file = "bitarray-2.8.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:84ee826d1e35ddedd65b5af9820e240a0d7a4c5b6e16078ae2965541bcd1f922"}, + {file = "bitarray-2.8.5-cp39-cp39-win32.whl", hash = "sha256:86b6a64aa854b4c108e3c76388fb0acc859c424ca321260cb2ea83bbfb40985c"}, + {file = "bitarray-2.8.5-cp39-cp39-win_amd64.whl", hash = "sha256:1f270dc9476c3c6ac7d865f625ff4e9ec09f544a44ce58c31dd4d989534de758"}, + {file = "bitarray-2.8.5-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:17b61aadf929550279414f638a28e99ef0048c88951dc9fe045734362fb40218"}, + {file = "bitarray-2.8.5-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:eae1eb20a574b02eca607379b9a609f25669e3c532fa1c2576355a5dbee0b274"}, + {file = "bitarray-2.8.5-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4c0be77c7a6b4e90e53c004b11f683fab839b0bf6eecd15f978c85053e5826dc"}, + {file = "bitarray-2.8.5-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dc239f6a9c2877245f60b1b1a9a381c3df14db704bdabac91a28b49b9093c4ba"}, + {file = "bitarray-2.8.5-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:cf6d0e91a45371fe4d8de172a2455a5925a4958bea2785f194dde0cd80711098"}, + {file = "bitarray-2.8.5-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:dd43180febbf28bc63b40a4f5d8627f26f468d2e5e0a9c637aa86fd94144a5d4"}, + {file = "bitarray-2.8.5-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:152ecc17e42cab84d1564815377a361008e04cd035f9959c2f7ba1cd2d70a952"}, + {file = "bitarray-2.8.5-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c73350d5d251ae7fce68d3a0677c6fd5d123760643bf46e4830994f1a2d03e61"}, + {file = "bitarray-2.8.5-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ea70b2b7a3e9ad76b05e664851a8c406c9e81231ada519bb8392a970fae981a"}, + {file = "bitarray-2.8.5-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:a6229bcc61f2d932dbd5e52d9ffb6a128ac77a2acfcdf91c6e9a32a700de857d"}, + {file = "bitarray-2.8.5-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:f6367c58f3f6716d593fd756a85d9daae5d96a9ce6daa2a3ba683e2b37d155f6"}, + {file = "bitarray-2.8.5-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d5a1230393ed10d6c525ba5dd86a5b11cc375b933470920fa63df2f859769ad6"}, + {file = "bitarray-2.8.5-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c414bda2f9e7537e549ef0d81512c70950ad319e303646eb5ace7f123777ab52"}, + {file = "bitarray-2.8.5-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:da894ec250fd035fa0443ffd910071bfa49609cd2c0a7e0d527d4a9d907d9381"}, + {file = "bitarray-2.8.5-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:980852f02631280e303b8d8e42f6d42838b9b73353df0da2e2bad110275b5cfc"}, + {file = "bitarray-2.8.5-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:b1a6b53a320766c4ad85aa22ad4590b1099d43fc0cf7d9c9f2c3d17a5d7027d9"}, + {file = "bitarray-2.8.5-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2e5401deb5c40c0aebc9da543be2133ba63901f1296d060c3d2fdea6aa2735b7"}, + {file = "bitarray-2.8.5-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:97b0ad82100af78abd58e21b8af5ddcad517c2b2ef1f35be3cefcbc5240d7094"}, + {file = "bitarray-2.8.5-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5e189393da3b8883970db6b4a00a2cc8f13405dc9dc215fc28567d5b17a2a3fa"}, + {file = "bitarray-2.8.5-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:0f3d171f01aa40aa393d4dd21d515fd5992bb92149852f9528f8db95ae384ee3"}, + {file = "bitarray-2.8.5.tar.gz", hash = "sha256:b7564fd218cc4479f7f0106d341e096f78907b47865aeeff702c807df1927c01"}, ] [[package]] name = "black" -version = "23.10.1" +version = "23.11.0" description = "The uncompromising code formatter." optional = false python-versions = ">=3.8" files = [ - {file = "black-23.10.1-cp310-cp310-macosx_10_16_arm64.whl", hash = "sha256:ec3f8e6234c4e46ff9e16d9ae96f4ef69fa328bb4ad08198c8cee45bb1f08c69"}, - {file = "black-23.10.1-cp310-cp310-macosx_10_16_x86_64.whl", hash = "sha256:1b917a2aa020ca600483a7b340c165970b26e9029067f019e3755b56e8dd5916"}, - {file = "black-23.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9c74de4c77b849e6359c6f01987e94873c707098322b91490d24296f66d067dc"}, - {file = "black-23.10.1-cp310-cp310-win_amd64.whl", hash = "sha256:7b4d10b0f016616a0d93d24a448100adf1699712fb7a4efd0e2c32bbb219b173"}, - {file = "black-23.10.1-cp311-cp311-macosx_10_16_arm64.whl", hash = "sha256:b15b75fc53a2fbcac8a87d3e20f69874d161beef13954747e053bca7a1ce53a0"}, - {file = "black-23.10.1-cp311-cp311-macosx_10_16_x86_64.whl", hash = "sha256:e293e4c2f4a992b980032bbd62df07c1bcff82d6964d6c9496f2cd726e246ace"}, - {file = "black-23.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7d56124b7a61d092cb52cce34182a5280e160e6aff3137172a68c2c2c4b76bcb"}, - {file = "black-23.10.1-cp311-cp311-win_amd64.whl", hash = "sha256:3f157a8945a7b2d424da3335f7ace89c14a3b0625e6593d21139c2d8214d55ce"}, - {file = "black-23.10.1-cp38-cp38-macosx_10_16_arm64.whl", hash = "sha256:cfcce6f0a384d0da692119f2d72d79ed07c7159879d0bb1bb32d2e443382bf3a"}, - {file = "black-23.10.1-cp38-cp38-macosx_10_16_x86_64.whl", hash = "sha256:33d40f5b06be80c1bbce17b173cda17994fbad096ce60eb22054da021bf933d1"}, - {file = "black-23.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:840015166dbdfbc47992871325799fd2dc0dcf9395e401ada6d88fe11498abad"}, - {file = "black-23.10.1-cp38-cp38-win_amd64.whl", hash = "sha256:037e9b4664cafda5f025a1728c50a9e9aedb99a759c89f760bd83730e76ba884"}, - {file = "black-23.10.1-cp39-cp39-macosx_10_16_arm64.whl", hash = "sha256:7cb5936e686e782fddb1c73f8aa6f459e1ad38a6a7b0e54b403f1f05a1507ee9"}, - {file = "black-23.10.1-cp39-cp39-macosx_10_16_x86_64.whl", hash = "sha256:7670242e90dc129c539e9ca17665e39a146a761e681805c54fbd86015c7c84f7"}, - {file = "black-23.10.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5ed45ac9a613fb52dad3b61c8dea2ec9510bf3108d4db88422bacc7d1ba1243d"}, - {file = "black-23.10.1-cp39-cp39-win_amd64.whl", hash = "sha256:6d23d7822140e3fef190734216cefb262521789367fbdc0b3f22af6744058982"}, - {file = "black-23.10.1-py3-none-any.whl", hash = "sha256:d431e6739f727bb2e0495df64a6c7a5310758e87505f5f8cde9ff6c0f2d7e4fe"}, - {file = "black-23.10.1.tar.gz", hash = "sha256:1f8ce316753428ff68749c65a5f7844631aa18c8679dfd3ca9dc1a289979c258"}, + {file = "black-23.11.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:dbea0bb8575c6b6303cc65017b46351dc5953eea5c0a59d7b7e3a2d2f433a911"}, + {file = "black-23.11.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:412f56bab20ac85927f3a959230331de5614aecda1ede14b373083f62ec24e6f"}, + {file = "black-23.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d136ef5b418c81660ad847efe0e55c58c8208b77a57a28a503a5f345ccf01394"}, + {file = "black-23.11.0-cp310-cp310-win_amd64.whl", hash = "sha256:6c1cac07e64433f646a9a838cdc00c9768b3c362805afc3fce341af0e6a9ae9f"}, + {file = "black-23.11.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cf57719e581cfd48c4efe28543fea3d139c6b6f1238b3f0102a9c73992cbb479"}, + {file = "black-23.11.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:698c1e0d5c43354ec5d6f4d914d0d553a9ada56c85415700b81dc90125aac244"}, + {file = "black-23.11.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:760415ccc20f9e8747084169110ef75d545f3b0932ee21368f63ac0fee86b221"}, + {file = "black-23.11.0-cp311-cp311-win_amd64.whl", hash = "sha256:58e5f4d08a205b11800332920e285bd25e1a75c54953e05502052738fe16b3b5"}, + {file = "black-23.11.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:45aa1d4675964946e53ab81aeec7a37613c1cb71647b5394779e6efb79d6d187"}, + {file = "black-23.11.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4c44b7211a3a0570cc097e81135faa5f261264f4dfaa22bd5ee2875a4e773bd6"}, + {file = "black-23.11.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2a9acad1451632021ee0d146c8765782a0c3846e0e0ea46659d7c4f89d9b212b"}, + {file = "black-23.11.0-cp38-cp38-win_amd64.whl", hash = "sha256:fc7f6a44d52747e65a02558e1d807c82df1d66ffa80a601862040a43ec2e3142"}, + {file = "black-23.11.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7f622b6822f02bfaf2a5cd31fdb7cd86fcf33dab6ced5185c35f5db98260b055"}, + {file = "black-23.11.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:250d7e60f323fcfc8ea6c800d5eba12f7967400eb6c2d21ae85ad31c204fb1f4"}, + {file = "black-23.11.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5133f5507007ba08d8b7b263c7aa0f931af5ba88a29beacc4b2dc23fcefe9c06"}, + {file = "black-23.11.0-cp39-cp39-win_amd64.whl", hash = "sha256:421f3e44aa67138ab1b9bfbc22ee3780b22fa5b291e4db8ab7eee95200726b07"}, + {file = "black-23.11.0-py3-none-any.whl", hash = "sha256:54caaa703227c6e0c87b76326d0862184729a69b73d3b7305b6288e1d830067e"}, + {file = "black-23.11.0.tar.gz", hash = "sha256:4c68855825ff432d197229846f971bc4d6666ce90492e5b02013bcaca4d9ab05"}, ] [package.dependencies] @@ -388,15 +387,26 @@ d = ["aiohttp (>=3.7.4)"] jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] uvloop = ["uvloop (>=0.15.2)"] +[[package]] +name = "cerberus" +version = "1.3.5" +description = "Lightweight, extensible schema and data validation tool for Pythondictionaries." +optional = false +python-versions = "*" +files = [ + {file = "Cerberus-1.3.5-py3-none-any.whl", hash = "sha256:7649a5815024d18eb7c6aa5e7a95355c649a53aacfc9b050e9d0bf6bfa2af372"}, + {file = "Cerberus-1.3.5.tar.gz", hash = "sha256:81011e10266ef71b6ec6d50e60171258a5b134d69f8fb387d16e4936d0d47642"}, +] + [[package]] name = "certifi" -version = "2023.7.22" +version = "2023.11.17" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" files = [ - {file = "certifi-2023.7.22-py3-none-any.whl", hash = "sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9"}, - {file = "certifi-2023.7.22.tar.gz", hash = "sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082"}, + {file = "certifi-2023.11.17-py3-none-any.whl", hash = "sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474"}, + {file = "certifi-2023.11.17.tar.gz", hash = "sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1"}, ] [[package]] @@ -476,101 +486,101 @@ files = [ [[package]] name = "charset-normalizer" -version = "3.3.1" +version = "3.3.2" 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.3.1.tar.gz", hash = "sha256:d9137a876020661972ca6eec0766d81aef8a5627df628b664b234b73396e727e"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8aee051c89e13565c6bd366813c386939f8e928af93c29fda4af86d25b73d8f8"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:352a88c3df0d1fa886562384b86f9a9e27563d4704ee0e9d56ec6fcd270ea690"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:223b4d54561c01048f657fa6ce41461d5ad8ff128b9678cfe8b2ecd951e3f8a2"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4f861d94c2a450b974b86093c6c027888627b8082f1299dfd5a4bae8e2292821"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1171ef1fc5ab4693c5d151ae0fdad7f7349920eabbaca6271f95969fa0756c2d"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28f512b9a33235545fbbdac6a330a510b63be278a50071a336afc1b78781b147"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0e842112fe3f1a4ffcf64b06dc4c61a88441c2f02f373367f7b4c1aa9be2ad5"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3f9bc2ce123637a60ebe819f9fccc614da1bcc05798bbbaf2dd4ec91f3e08846"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:f194cce575e59ffe442c10a360182a986535fd90b57f7debfaa5c845c409ecc3"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:9a74041ba0bfa9bc9b9bb2cd3238a6ab3b7618e759b41bd15b5f6ad958d17605"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:b578cbe580e3b41ad17b1c428f382c814b32a6ce90f2d8e39e2e635d49e498d1"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:6db3cfb9b4fcecb4390db154e75b49578c87a3b9979b40cdf90d7e4b945656e1"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:debb633f3f7856f95ad957d9b9c781f8e2c6303ef21724ec94bea2ce2fcbd056"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-win32.whl", hash = "sha256:87071618d3d8ec8b186d53cb6e66955ef2a0e4fa63ccd3709c0c90ac5a43520f"}, - {file = "charset_normalizer-3.3.1-cp310-cp310-win_amd64.whl", hash = "sha256:e372d7dfd154009142631de2d316adad3cc1c36c32a38b16a4751ba78da2a397"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ae4070f741f8d809075ef697877fd350ecf0b7c5837ed68738607ee0a2c572cf"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:58e875eb7016fd014c0eea46c6fa92b87b62c0cb31b9feae25cbbe62c919f54d"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dbd95e300367aa0827496fe75a1766d198d34385a58f97683fe6e07f89ca3e3c"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:de0b4caa1c8a21394e8ce971997614a17648f94e1cd0640fbd6b4d14cab13a72"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:985c7965f62f6f32bf432e2681173db41336a9c2611693247069288bcb0c7f8b"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a15c1fe6d26e83fd2e5972425a772cca158eae58b05d4a25a4e474c221053e2d"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ae55d592b02c4349525b6ed8f74c692509e5adffa842e582c0f861751701a673"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:be4d9c2770044a59715eb57c1144dedea7c5d5ae80c68fb9959515037cde2008"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:851cf693fb3aaef71031237cd68699dded198657ec1e76a76eb8be58c03a5d1f"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:31bbaba7218904d2eabecf4feec0d07469284e952a27400f23b6628439439fa7"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:871d045d6ccc181fd863a3cd66ee8e395523ebfbc57f85f91f035f50cee8e3d4"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:501adc5eb6cd5f40a6f77fbd90e5ab915c8fd6e8c614af2db5561e16c600d6f3"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f5fb672c396d826ca16a022ac04c9dce74e00a1c344f6ad1a0fdc1ba1f332213"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-win32.whl", hash = "sha256:bb06098d019766ca16fc915ecaa455c1f1cd594204e7f840cd6258237b5079a8"}, - {file = "charset_normalizer-3.3.1-cp311-cp311-win_amd64.whl", hash = "sha256:8af5a8917b8af42295e86b64903156b4f110a30dca5f3b5aedea123fbd638bff"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:7ae8e5142dcc7a49168f4055255dbcced01dc1714a90a21f87448dc8d90617d1"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:5b70bab78accbc672f50e878a5b73ca692f45f5b5e25c8066d748c09405e6a55"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5ceca5876032362ae73b83347be8b5dbd2d1faf3358deb38c9c88776779b2e2f"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:34d95638ff3613849f473afc33f65c401a89f3b9528d0d213c7037c398a51296"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9edbe6a5bf8b56a4a84533ba2b2f489d0046e755c29616ef8830f9e7d9cf5728"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f6a02a3c7950cafaadcd46a226ad9e12fc9744652cc69f9e5534f98b47f3bbcf"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:10b8dd31e10f32410751b3430996f9807fc4d1587ca69772e2aa940a82ab571a"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:edc0202099ea1d82844316604e17d2b175044f9bcb6b398aab781eba957224bd"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b891a2f68e09c5ef989007fac11476ed33c5c9994449a4e2c3386529d703dc8b"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:71ef3b9be10070360f289aea4838c784f8b851be3ba58cf796262b57775c2f14"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:55602981b2dbf8184c098bc10287e8c245e351cd4fdcad050bd7199d5a8bf514"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:46fb9970aa5eeca547d7aa0de5d4b124a288b42eaefac677bde805013c95725c"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:520b7a142d2524f999447b3a0cf95115df81c4f33003c51a6ab637cbda9d0bf4"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-win32.whl", hash = "sha256:8ec8ef42c6cd5856a7613dcd1eaf21e5573b2185263d87d27c8edcae33b62a61"}, - {file = "charset_normalizer-3.3.1-cp312-cp312-win_amd64.whl", hash = "sha256:baec8148d6b8bd5cee1ae138ba658c71f5b03e0d69d5907703e3e1df96db5e41"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:63a6f59e2d01310f754c270e4a257426fe5a591dc487f1983b3bbe793cf6bac6"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d6bfc32a68bc0933819cfdfe45f9abc3cae3877e1d90aac7259d57e6e0f85b1"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4f3100d86dcd03c03f7e9c3fdb23d92e32abbca07e7c13ebd7ddfbcb06f5991f"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:39b70a6f88eebe239fa775190796d55a33cfb6d36b9ffdd37843f7c4c1b5dc67"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4e12f8ee80aa35e746230a2af83e81bd6b52daa92a8afaef4fea4a2ce9b9f4fa"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7b6cefa579e1237ce198619b76eaa148b71894fb0d6bcf9024460f9bf30fd228"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:61f1e3fb621f5420523abb71f5771a204b33c21d31e7d9d86881b2cffe92c47c"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:4f6e2a839f83a6a76854d12dbebde50e4b1afa63e27761549d006fa53e9aa80e"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:1ec937546cad86d0dce5396748bf392bb7b62a9eeb8c66efac60e947697f0e58"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:82ca51ff0fc5b641a2d4e1cc8c5ff108699b7a56d7f3ad6f6da9dbb6f0145b48"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:633968254f8d421e70f91c6ebe71ed0ab140220469cf87a9857e21c16687c034"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-win32.whl", hash = "sha256:c0c72d34e7de5604df0fde3644cc079feee5e55464967d10b24b1de268deceb9"}, - {file = "charset_normalizer-3.3.1-cp37-cp37m-win_amd64.whl", hash = "sha256:63accd11149c0f9a99e3bc095bbdb5a464862d77a7e309ad5938fbc8721235ae"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5a3580a4fdc4ac05f9e53c57f965e3594b2f99796231380adb2baaab96e22761"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2465aa50c9299d615d757c1c888bc6fef384b7c4aec81c05a0172b4400f98557"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:cb7cd68814308aade9d0c93c5bd2ade9f9441666f8ba5aa9c2d4b389cb5e2a45"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:91e43805ccafa0a91831f9cd5443aa34528c0c3f2cc48c4cb3d9a7721053874b"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:854cc74367180beb327ab9d00f964f6d91da06450b0855cbbb09187bcdb02de5"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c15070ebf11b8b7fd1bfff7217e9324963c82dbdf6182ff7050519e350e7ad9f"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2c4c99f98fc3a1835af8179dcc9013f93594d0670e2fa80c83aa36346ee763d2"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3fb765362688821404ad6cf86772fc54993ec11577cd5a92ac44b4c2ba52155b"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:dced27917823df984fe0c80a5c4ad75cf58df0fbfae890bc08004cd3888922a2"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a66bcdf19c1a523e41b8e9d53d0cedbfbac2e93c649a2e9502cb26c014d0980c"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:ecd26be9f112c4f96718290c10f4caea6cc798459a3a76636b817a0ed7874e42"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:3f70fd716855cd3b855316b226a1ac8bdb3caf4f7ea96edcccc6f484217c9597"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:17a866d61259c7de1bdadef418a37755050ddb4b922df8b356503234fff7932c"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-win32.whl", hash = "sha256:548eefad783ed787b38cb6f9a574bd8664468cc76d1538215d510a3cd41406cb"}, - {file = "charset_normalizer-3.3.1-cp38-cp38-win_amd64.whl", hash = "sha256:45f053a0ece92c734d874861ffe6e3cc92150e32136dd59ab1fb070575189c97"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:bc791ec3fd0c4309a753f95bb6c749ef0d8ea3aea91f07ee1cf06b7b02118f2f"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:0c8c61fb505c7dad1d251c284e712d4e0372cef3b067f7ddf82a7fa82e1e9a93"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:2c092be3885a1b7899cd85ce24acedc1034199d6fca1483fa2c3a35c86e43041"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c2000c54c395d9e5e44c99dc7c20a64dc371f777faf8bae4919ad3e99ce5253e"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4cb50a0335382aac15c31b61d8531bc9bb657cfd848b1d7158009472189f3d62"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c30187840d36d0ba2893bc3271a36a517a717f9fd383a98e2697ee890a37c273"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fe81b35c33772e56f4b6cf62cf4aedc1762ef7162a31e6ac7fe5e40d0149eb67"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d0bf89afcbcf4d1bb2652f6580e5e55a840fdf87384f6063c4a4f0c95e378656"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:06cf46bdff72f58645434d467bf5228080801298fbba19fe268a01b4534467f5"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:3c66df3f41abee950d6638adc7eac4730a306b022570f71dd0bd6ba53503ab57"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:cd805513198304026bd379d1d516afbf6c3c13f4382134a2c526b8b854da1c2e"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:9505dc359edb6a330efcd2be825fdb73ee3e628d9010597aa1aee5aa63442e97"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:31445f38053476a0c4e6d12b047b08ced81e2c7c712e5a1ad97bc913256f91b2"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-win32.whl", hash = "sha256:bd28b31730f0e982ace8663d108e01199098432a30a4c410d06fe08fdb9e93f4"}, - {file = "charset_normalizer-3.3.1-cp39-cp39-win_amd64.whl", hash = "sha256:555fe186da0068d3354cdf4bbcbc609b0ecae4d04c921cc13e209eece7720727"}, - {file = "charset_normalizer-3.3.1-py3-none-any.whl", hash = "sha256:800561453acdecedaac137bf09cd719c7a440b6800ec182f077bb8e7025fb708"}, + {file = "charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-win32.whl", hash = "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-win32.whl", hash = "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-win32.whl", hash = "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-win32.whl", hash = "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-win_amd64.whl", hash = "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-win32.whl", hash = "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-win_amd64.whl", hash = "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-win32.whl", hash = "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-win_amd64.whl", hash = "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d"}, + {file = "charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc"}, ] [[package]] @@ -850,6 +860,16 @@ files = [ {file = "distlib-0.3.7.tar.gz", hash = "sha256:9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8"}, ] +[[package]] +name = "docopt" +version = "0.6.2" +description = "Pythonic argument parser, that will make you smile" +optional = false +python-versions = "*" +files = [ + {file = "docopt-0.6.2.tar.gz", hash = "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"}, +] + [[package]] name = "ecdsa" version = "0.18.0" @@ -870,18 +890,18 @@ gmpy2 = ["gmpy2"] [[package]] name = "eip712" -version = "0.2.1" +version = "0.2.2" description = "eip712: Message classes for typed structured data hashing and signing in Ethereum" optional = false python-versions = ">=3.8,<4" files = [ - {file = "eip712-0.2.1-py3-none-any.whl", hash = "sha256:c984c577358d1c7e5d4e52802bf4bd0432e965ba7326448998f95fcc1b6d5269"}, - {file = "eip712-0.2.1.tar.gz", hash = "sha256:3997dace7e581b66a84d106a10baac47a3f6c94095d79c7d0971ca0ede1926ad"}, + {file = "eip712-0.2.2-py3-none-any.whl", hash = "sha256:576476dd1d276e444a633ac22ab25209e18f8f41e5016e576a132d190043a4ba"}, + {file = "eip712-0.2.2.tar.gz", hash = "sha256:6d2e07a83c66fb1cbe2448bb4dfea1c91913c4822b7d9b89231e5b61473ae426"}, ] [package.dependencies] dataclassy = ">=0.8.2,<1" -eth-abi = ">=4.0.0,<5" +eth-abi = ">=4.1.0,<5" eth-account = ">=0.8.0,<0.9" eth-hash = {version = "*", extras = ["pycryptodome"]} eth-typing = ">=3.3.0,<4" @@ -889,9 +909,9 @@ eth-utils = ">=2.1.0,<3" hexbytes = ">=0.3.0,<1" [package.extras] -dev = ["IPython", "Sphinx (>=5.3.0,<6)", "black (>=23.1.0,<24)", "commitizen (>=2.42,<3)", "flake8 (>=6.0.0,<7)", "hypothesis (>=6.70.0,<7)", "ipdb", "isort (>=5.12.0,<6)", "mdformat (>=0.7.16,<0.8)", "mdformat-frontmatter (>=0.4.1,<0.5)", "mdformat-gfm (>=0.3.5,<0.4)", "mypy (>=1.1.1,<2)", "myst-parser (>=0.18.1,<0.19)", "pre-commit", "pytest (>=6.0,<8)", "pytest-cov", "pytest-watch", "pytest-xdist", "setuptools", "sphinx-rtd-theme (>=1.2.0,<2)", "sphinxcontrib-napoleon (>=0.7)", "twine", "types-setuptools", "wheel"] +dev = ["IPython", "Sphinx (>=5.3.0,<6)", "black (>=23.7.0,<24)", "commitizen (>=2.42,<3)", "flake8 (>=6.0.0,<7)", "hypothesis (>=6.70.0,<7)", "ipdb", "isort (>=5.12.0,<6)", "mdformat (>=0.7.16,<0.8)", "mdformat-frontmatter (>=0.4.1,<0.5)", "mdformat-gfm (>=0.3.5,<0.4)", "mypy (>=1.5.1,<2)", "myst-parser (>=0.18.1,<0.19)", "pre-commit", "pytest (>=6.0,<8)", "pytest-cov", "pytest-watch", "pytest-xdist", "setuptools", "sphinx-rtd-theme (>=1.2.0,<2)", "sphinxcontrib-napoleon (>=0.7)", "twine", "types-setuptools", "wheel"] doc = ["Sphinx (>=5.3.0,<6)", "myst-parser (>=0.18.1,<0.19)", "sphinx-rtd-theme (>=1.2.0,<2)", "sphinxcontrib-napoleon (>=0.7)"] -lint = ["black (>=23.1.0,<24)", "flake8 (>=6.0.0,<7)", "isort (>=5.12.0,<6)", "mdformat (>=0.7.16,<0.8)", "mdformat-frontmatter (>=0.4.1,<0.5)", "mdformat-gfm (>=0.3.5,<0.4)", "mypy (>=1.1.1,<2)", "types-setuptools"] +lint = ["black (>=23.7.0,<24)", "flake8 (>=6.0.0,<7)", "isort (>=5.12.0,<6)", "mdformat (>=0.7.16,<0.8)", "mdformat-frontmatter (>=0.4.1,<0.5)", "mdformat-gfm (>=0.3.5,<0.4)", "mypy (>=1.5.1,<2)", "types-setuptools"] release = ["setuptools", "twine", "wheel"] test = ["hypothesis (>=6.70.0,<7)", "pytest (>=6.0,<8)", "pytest-cov", "pytest-xdist"] @@ -1046,13 +1066,13 @@ test = ["eth-hash[pycryptodome]", "pytest (>=6.2.5,<7)", "pytest-xdist", "tox (= [[package]] name = "eth-typing" -version = "3.5.1" +version = "3.5.2" description = "eth-typing: Common type annotations for ethereum python packages" optional = false python-versions = ">=3.7.2, <4" files = [ - {file = "eth-typing-3.5.1.tar.gz", hash = "sha256:e21a8b0688581a6765f72fa184d86d06c3949e354d4af5293798abc0b4255989"}, - {file = "eth_typing-3.5.1-py3-none-any.whl", hash = "sha256:9d80c7d112a8774bddeb7278b1bc2f17ca4c062825476ce6bc9cba4d47956010"}, + {file = "eth-typing-3.5.2.tar.gz", hash = "sha256:22bf051ddfaa35ff827c30090de167e5c5b8cc6d343f7f35c9b1c7553f6ab64d"}, + {file = "eth_typing-3.5.2-py3-none-any.whl", hash = "sha256:1842e628fb1ffa929b94f89a9d33caafbeb9978dc96abb6036a12bc91f1c624b"}, ] [package.dependencies] @@ -1066,13 +1086,13 @@ test = ["pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)"] [[package]] name = "eth-utils" -version = "2.3.0" +version = "2.3.1" description = "eth-utils: Common utility functions for python code that interacts with Ethereum" optional = false python-versions = ">=3.7,<4" files = [ - {file = "eth-utils-2.3.0.tar.gz", hash = "sha256:085b42f5745f46d22a186fbd873d79f66a79171c02eccd78792d1dddd672f324"}, - {file = "eth_utils-2.3.0-py3-none-any.whl", hash = "sha256:d539ac0bb1e759abb39f71efbcd77301eede86b4bf449278e4ad2fbf10aac67a"}, + {file = "eth-utils-2.3.1.tar.gz", hash = "sha256:56a969b0536d4969dcb27e580521de35abf2dbed8b1bf072b5c80770c4324e27"}, + {file = "eth_utils-2.3.1-py3-none-any.whl", hash = "sha256:614eedc5ffcaf4e6708ca39e23b12bd69526a312068c1170c773bd1307d13972"}, ] [package.dependencies] @@ -1089,13 +1109,13 @@ test = ["hypothesis (>=4.43.0)", "mypy (==0.971)", "pytest (>=7.0.0)", "pytest-x [[package]] name = "exceptiongroup" -version = "1.1.3" +version = "1.2.0" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" files = [ - {file = "exceptiongroup-1.1.3-py3-none-any.whl", hash = "sha256:343280667a4585d195ca1cf9cef84a4e178c4b6cf2274caef9859782b567d5e3"}, - {file = "exceptiongroup-1.1.3.tar.gz", hash = "sha256:097acd85d473d75af5bb98e41b61ff7fe35efe6675e4f9370ec6ec5126d160e9"}, + {file = "exceptiongroup-1.2.0-py3-none-any.whl", hash = "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14"}, + {file = "exceptiongroup-1.2.0.tar.gz", hash = "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68"}, ] [package.extras] @@ -1103,19 +1123,19 @@ test = ["pytest (>=6)"] [[package]] name = "filelock" -version = "3.12.4" +version = "3.13.1" description = "A platform independent file lock." optional = false python-versions = ">=3.8" files = [ - {file = "filelock-3.12.4-py3-none-any.whl", hash = "sha256:08c21d87ded6e2b9da6728c3dff51baf1dcecf973b768ef35bcbc3447edb9ad4"}, - {file = "filelock-3.12.4.tar.gz", hash = "sha256:2e6f249f1f3654291606e046b09f1fd5eac39b360664c27f5aad072012f8bcbd"}, + {file = "filelock-3.13.1-py3-none-any.whl", hash = "sha256:57dbda9b35157b05fb3e58ee91448612eb674172fab98ee235ccb0b5bee19a1c"}, + {file = "filelock-3.13.1.tar.gz", hash = "sha256:521f5f56c50f8426f5e03ad3b281b490a87ef15bc6c526f168290f0c7148d44e"}, ] [package.extras] -docs = ["furo (>=2023.7.26)", "sphinx (>=7.1.2)", "sphinx-autodoc-typehints (>=1.24)"] -testing = ["covdefaults (>=2.3)", "coverage (>=7.3)", "diff-cover (>=7.7)", "pytest (>=7.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.11.1)", "pytest-timeout (>=2.1)"] -typing = ["typing-extensions (>=4.7.1)"] +docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.24)"] +testing = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "diff-cover (>=8)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-timeout (>=2.2)"] +typing = ["typing-extensions (>=4.8)"] [[package]] name = "flake8" @@ -1227,135 +1247,135 @@ files = [ [[package]] name = "grpcio" -version = "1.59.0" +version = "1.60.0" description = "HTTP/2-based RPC framework" optional = false python-versions = ">=3.7" files = [ - {file = "grpcio-1.59.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:225e5fa61c35eeaebb4e7491cd2d768cd8eb6ed00f2664fa83a58f29418b39fd"}, - {file = "grpcio-1.59.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:b95ec8ecc4f703f5caaa8d96e93e40c7f589bad299a2617bdb8becbcce525539"}, - {file = "grpcio-1.59.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:1a839ba86764cc48226f50b924216000c79779c563a301586a107bda9cbe9dcf"}, - {file = "grpcio-1.59.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f6cfe44a5d7c7d5f1017a7da1c8160304091ca5dc64a0f85bca0d63008c3137a"}, - {file = "grpcio-1.59.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d0fcf53df684fcc0154b1e61f6b4a8c4cf5f49d98a63511e3f30966feff39cd0"}, - {file = "grpcio-1.59.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:fa66cac32861500f280bb60fe7d5b3e22d68c51e18e65367e38f8669b78cea3b"}, - {file = "grpcio-1.59.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8cd2d38c2d52f607d75a74143113174c36d8a416d9472415eab834f837580cf7"}, - {file = "grpcio-1.59.0-cp310-cp310-win32.whl", hash = "sha256:228b91ce454876d7eed74041aff24a8f04c0306b7250a2da99d35dd25e2a1211"}, - {file = "grpcio-1.59.0-cp310-cp310-win_amd64.whl", hash = "sha256:ca87ee6183421b7cea3544190061f6c1c3dfc959e0b57a5286b108511fd34ff4"}, - {file = "grpcio-1.59.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:c173a87d622ea074ce79be33b952f0b424fa92182063c3bda8625c11d3585d09"}, - {file = "grpcio-1.59.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:ec78aebb9b6771d6a1de7b6ca2f779a2f6113b9108d486e904bde323d51f5589"}, - {file = "grpcio-1.59.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:0b84445fa94d59e6806c10266b977f92fa997db3585f125d6b751af02ff8b9fe"}, - {file = "grpcio-1.59.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c251d22de8f9f5cca9ee47e4bade7c5c853e6e40743f47f5cc02288ee7a87252"}, - {file = "grpcio-1.59.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:956f0b7cb465a65de1bd90d5a7475b4dc55089b25042fe0f6c870707e9aabb1d"}, - {file = "grpcio-1.59.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:38da5310ef84e16d638ad89550b5b9424df508fd5c7b968b90eb9629ca9be4b9"}, - {file = "grpcio-1.59.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:63982150a7d598281fa1d7ffead6096e543ff8be189d3235dd2b5604f2c553e5"}, - {file = "grpcio-1.59.0-cp311-cp311-win32.whl", hash = "sha256:50eff97397e29eeee5df106ea1afce3ee134d567aa2c8e04fabab05c79d791a7"}, - {file = "grpcio-1.59.0-cp311-cp311-win_amd64.whl", hash = "sha256:15f03bd714f987d48ae57fe092cf81960ae36da4e520e729392a59a75cda4f29"}, - {file = "grpcio-1.59.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:f1feb034321ae2f718172d86b8276c03599846dc7bb1792ae370af02718f91c5"}, - {file = "grpcio-1.59.0-cp312-cp312-macosx_10_10_universal2.whl", hash = "sha256:d09bd2a4e9f5a44d36bb8684f284835c14d30c22d8ec92ce796655af12163588"}, - {file = "grpcio-1.59.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:2f120d27051e4c59db2f267b71b833796770d3ea36ca712befa8c5fff5da6ebd"}, - {file = "grpcio-1.59.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ba0ca727a173ee093f49ead932c051af463258b4b493b956a2c099696f38aa66"}, - {file = "grpcio-1.59.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5711c51e204dc52065f4a3327dca46e69636a0b76d3e98c2c28c4ccef9b04c52"}, - {file = "grpcio-1.59.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:d74f7d2d7c242a6af9d4d069552ec3669965b74fed6b92946e0e13b4168374f9"}, - {file = "grpcio-1.59.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3859917de234a0a2a52132489c4425a73669de9c458b01c9a83687f1f31b5b10"}, - {file = "grpcio-1.59.0-cp312-cp312-win32.whl", hash = "sha256:de2599985b7c1b4ce7526e15c969d66b93687571aa008ca749d6235d056b7205"}, - {file = "grpcio-1.59.0-cp312-cp312-win_amd64.whl", hash = "sha256:598f3530231cf10ae03f4ab92d48c3be1fee0c52213a1d5958df1a90957e6a88"}, - {file = "grpcio-1.59.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:b34c7a4c31841a2ea27246a05eed8a80c319bfc0d3e644412ec9ce437105ff6c"}, - {file = "grpcio-1.59.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:c4dfdb49f4997dc664f30116af2d34751b91aa031f8c8ee251ce4dcfc11277b0"}, - {file = "grpcio-1.59.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:61bc72a00ecc2b79d9695220b4d02e8ba53b702b42411397e831c9b0589f08a3"}, - {file = "grpcio-1.59.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f367e4b524cb319e50acbdea57bb63c3b717c5d561974ace0b065a648bb3bad3"}, - {file = "grpcio-1.59.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:849c47ef42424c86af069a9c5e691a765e304079755d5c29eff511263fad9c2a"}, - {file = "grpcio-1.59.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c0488c2b0528e6072010182075615620071371701733c63ab5be49140ed8f7f0"}, - {file = "grpcio-1.59.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:611d9aa0017fa386809bddcb76653a5ab18c264faf4d9ff35cb904d44745f575"}, - {file = "grpcio-1.59.0-cp37-cp37m-win_amd64.whl", hash = "sha256:e5378785dce2b91eb2e5b857ec7602305a3b5cf78311767146464bfa365fc897"}, - {file = "grpcio-1.59.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:fe976910de34d21057bcb53b2c5e667843588b48bf11339da2a75f5c4c5b4055"}, - {file = "grpcio-1.59.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:c041a91712bf23b2a910f61e16565a05869e505dc5a5c025d429ca6de5de842c"}, - {file = "grpcio-1.59.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:0ae444221b2c16d8211b55326f8ba173ba8f8c76349bfc1768198ba592b58f74"}, - {file = "grpcio-1.59.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ceb1e68135788c3fce2211de86a7597591f0b9a0d2bb80e8401fd1d915991bac"}, - {file = "grpcio-1.59.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c4b1cc3a9dc1924d2eb26eec8792fedd4b3fcd10111e26c1d551f2e4eda79ce"}, - {file = "grpcio-1.59.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:871371ce0c0055d3db2a86fdebd1e1d647cf21a8912acc30052660297a5a6901"}, - {file = "grpcio-1.59.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:93e9cb546e610829e462147ce724a9cb108e61647a3454500438a6deef610be1"}, - {file = "grpcio-1.59.0-cp38-cp38-win32.whl", hash = "sha256:f21917aa50b40842b51aff2de6ebf9e2f6af3fe0971c31960ad6a3a2b24988f4"}, - {file = "grpcio-1.59.0-cp38-cp38-win_amd64.whl", hash = "sha256:14890da86a0c0e9dc1ea8e90101d7a3e0e7b1e71f4487fab36e2bfd2ecadd13c"}, - {file = "grpcio-1.59.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:34341d9e81a4b669a5f5dca3b2a760b6798e95cdda2b173e65d29d0b16692857"}, - {file = "grpcio-1.59.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:986de4aa75646e963466b386a8c5055c8b23a26a36a6c99052385d6fe8aaf180"}, - {file = "grpcio-1.59.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:aca8a24fef80bef73f83eb8153f5f5a0134d9539b4c436a716256b311dda90a6"}, - {file = "grpcio-1.59.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:936b2e04663660c600d5173bc2cc84e15adbad9c8f71946eb833b0afc205b996"}, - {file = "grpcio-1.59.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc8bf2e7bc725e76c0c11e474634a08c8f24bcf7426c0c6d60c8f9c6e70e4d4a"}, - {file = "grpcio-1.59.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:81d86a096ccd24a57fa5772a544c9e566218bc4de49e8c909882dae9d73392df"}, - {file = "grpcio-1.59.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:2ea95cd6abbe20138b8df965b4a8674ec312aaef3147c0f46a0bac661f09e8d0"}, - {file = "grpcio-1.59.0-cp39-cp39-win32.whl", hash = "sha256:3b8ff795d35a93d1df6531f31c1502673d1cebeeba93d0f9bd74617381507e3f"}, - {file = "grpcio-1.59.0-cp39-cp39-win_amd64.whl", hash = "sha256:38823bd088c69f59966f594d087d3a929d1ef310506bee9e3648317660d65b81"}, - {file = "grpcio-1.59.0.tar.gz", hash = "sha256:acf70a63cf09dd494000007b798aff88a436e1c03b394995ce450be437b8e54f"}, + {file = "grpcio-1.60.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:d020cfa595d1f8f5c6b343530cd3ca16ae5aefdd1e832b777f9f0eb105f5b139"}, + {file = "grpcio-1.60.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:b98f43fcdb16172dec5f4b49f2fece4b16a99fd284d81c6bbac1b3b69fcbe0ff"}, + {file = "grpcio-1.60.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:20e7a4f7ded59097c84059d28230907cd97130fa74f4a8bfd1d8e5ba18c81491"}, + {file = "grpcio-1.60.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:452ca5b4afed30e7274445dd9b441a35ece656ec1600b77fff8c216fdf07df43"}, + {file = "grpcio-1.60.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:43e636dc2ce9ece583b3e2ca41df5c983f4302eabc6d5f9cd04f0562ee8ec1ae"}, + {file = "grpcio-1.60.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:6e306b97966369b889985a562ede9d99180def39ad42c8014628dd3cc343f508"}, + {file = "grpcio-1.60.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:f897c3b127532e6befdcf961c415c97f320d45614daf84deba0a54e64ea2457b"}, + {file = "grpcio-1.60.0-cp310-cp310-win32.whl", hash = "sha256:b87efe4a380887425bb15f220079aa8336276398dc33fce38c64d278164f963d"}, + {file = "grpcio-1.60.0-cp310-cp310-win_amd64.whl", hash = "sha256:a9c7b71211f066908e518a2ef7a5e211670761651039f0d6a80d8d40054047df"}, + {file = "grpcio-1.60.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:fb464479934778d7cc5baf463d959d361954d6533ad34c3a4f1d267e86ee25fd"}, + {file = "grpcio-1.60.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:4b44d7e39964e808b071714666a812049765b26b3ea48c4434a3b317bac82f14"}, + {file = "grpcio-1.60.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:90bdd76b3f04bdb21de5398b8a7c629676c81dfac290f5f19883857e9371d28c"}, + {file = "grpcio-1.60.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:91229d7203f1ef0ab420c9b53fe2ca5c1fbeb34f69b3bc1b5089466237a4a134"}, + {file = "grpcio-1.60.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b36a2c6d4920ba88fa98075fdd58ff94ebeb8acc1215ae07d01a418af4c0253"}, + {file = "grpcio-1.60.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:297eef542156d6b15174a1231c2493ea9ea54af8d016b8ca7d5d9cc65cfcc444"}, + {file = "grpcio-1.60.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:87c9224acba0ad8bacddf427a1c2772e17ce50b3042a789547af27099c5f751d"}, + {file = "grpcio-1.60.0-cp311-cp311-win32.whl", hash = "sha256:95ae3e8e2c1b9bf671817f86f155c5da7d49a2289c5cf27a319458c3e025c320"}, + {file = "grpcio-1.60.0-cp311-cp311-win_amd64.whl", hash = "sha256:467a7d31554892eed2aa6c2d47ded1079fc40ea0b9601d9f79204afa8902274b"}, + {file = "grpcio-1.60.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:a7152fa6e597c20cb97923407cf0934e14224af42c2b8d915f48bc3ad2d9ac18"}, + {file = "grpcio-1.60.0-cp312-cp312-macosx_10_10_universal2.whl", hash = "sha256:7db16dd4ea1b05ada504f08d0dca1cd9b926bed3770f50e715d087c6f00ad748"}, + {file = "grpcio-1.60.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:b0571a5aef36ba9177e262dc88a9240c866d903a62799e44fd4aae3f9a2ec17e"}, + {file = "grpcio-1.60.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6fd9584bf1bccdfff1512719316efa77be235469e1e3295dce64538c4773840b"}, + {file = "grpcio-1.60.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d6a478581b1a1a8fdf3318ecb5f4d0cda41cacdffe2b527c23707c9c1b8fdb55"}, + {file = "grpcio-1.60.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:77c8a317f0fd5a0a2be8ed5cbe5341537d5c00bb79b3bb27ba7c5378ba77dbca"}, + {file = "grpcio-1.60.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:1c30bb23a41df95109db130a6cc1b974844300ae2e5d68dd4947aacba5985aa5"}, + {file = "grpcio-1.60.0-cp312-cp312-win32.whl", hash = "sha256:2aef56e85901c2397bd557c5ba514f84de1f0ae5dd132f5d5fed042858115951"}, + {file = "grpcio-1.60.0-cp312-cp312-win_amd64.whl", hash = "sha256:e381fe0c2aa6c03b056ad8f52f8efca7be29fb4d9ae2f8873520843b6039612a"}, + {file = "grpcio-1.60.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:92f88ca1b956eb8427a11bb8b4a0c0b2b03377235fc5102cb05e533b8693a415"}, + {file = "grpcio-1.60.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:e278eafb406f7e1b1b637c2cf51d3ad45883bb5bd1ca56bc05e4fc135dfdaa65"}, + {file = "grpcio-1.60.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:a48edde788b99214613e440fce495bbe2b1e142a7f214cce9e0832146c41e324"}, + {file = "grpcio-1.60.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:de2ad69c9a094bf37c1102b5744c9aec6cf74d2b635558b779085d0263166454"}, + {file = "grpcio-1.60.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:073f959c6f570797272f4ee9464a9997eaf1e98c27cb680225b82b53390d61e6"}, + {file = "grpcio-1.60.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c826f93050c73e7769806f92e601e0efdb83ec8d7c76ddf45d514fee54e8e619"}, + {file = "grpcio-1.60.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:9e30be89a75ee66aec7f9e60086fadb37ff8c0ba49a022887c28c134341f7179"}, + {file = "grpcio-1.60.0-cp37-cp37m-win_amd64.whl", hash = "sha256:b0fb2d4801546598ac5cd18e3ec79c1a9af8b8f2a86283c55a5337c5aeca4b1b"}, + {file = "grpcio-1.60.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:9073513ec380434eb8d21970e1ab3161041de121f4018bbed3146839451a6d8e"}, + {file = "grpcio-1.60.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:74d7d9fa97809c5b892449b28a65ec2bfa458a4735ddad46074f9f7d9550ad13"}, + {file = "grpcio-1.60.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:1434ca77d6fed4ea312901122dc8da6c4389738bf5788f43efb19a838ac03ead"}, + {file = "grpcio-1.60.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e61e76020e0c332a98290323ecfec721c9544f5b739fab925b6e8cbe1944cf19"}, + {file = "grpcio-1.60.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:675997222f2e2f22928fbba640824aebd43791116034f62006e19730715166c0"}, + {file = "grpcio-1.60.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:5208a57eae445ae84a219dfd8b56e04313445d146873117b5fa75f3245bc1390"}, + {file = "grpcio-1.60.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:428d699c8553c27e98f4d29fdc0f0edc50e9a8a7590bfd294d2edb0da7be3629"}, + {file = "grpcio-1.60.0-cp38-cp38-win32.whl", hash = "sha256:83f2292ae292ed5a47cdcb9821039ca8e88902923198f2193f13959360c01860"}, + {file = "grpcio-1.60.0-cp38-cp38-win_amd64.whl", hash = "sha256:705a68a973c4c76db5d369ed573fec3367d7d196673fa86614b33d8c8e9ebb08"}, + {file = "grpcio-1.60.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:c193109ca4070cdcaa6eff00fdb5a56233dc7610216d58fb81638f89f02e4968"}, + {file = "grpcio-1.60.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:676e4a44e740deaba0f4d95ba1d8c5c89a2fcc43d02c39f69450b1fa19d39590"}, + {file = "grpcio-1.60.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:5ff21e000ff2f658430bde5288cb1ac440ff15c0d7d18b5fb222f941b46cb0d2"}, + {file = "grpcio-1.60.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c86343cf9ff7b2514dd229bdd88ebba760bd8973dac192ae687ff75e39ebfab"}, + {file = "grpcio-1.60.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0fd3b3968ffe7643144580f260f04d39d869fcc2cddb745deef078b09fd2b328"}, + {file = "grpcio-1.60.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:30943b9530fe3620e3b195c03130396cd0ee3a0d10a66c1bee715d1819001eaf"}, + {file = "grpcio-1.60.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:b10241250cb77657ab315270b064a6c7f1add58af94befa20687e7c8d8603ae6"}, + {file = "grpcio-1.60.0-cp39-cp39-win32.whl", hash = "sha256:79a050889eb8d57a93ed21d9585bb63fca881666fc709f5d9f7f9372f5e7fd03"}, + {file = "grpcio-1.60.0-cp39-cp39-win_amd64.whl", hash = "sha256:8a97a681e82bc11a42d4372fe57898d270a2707f36c45c6676e49ce0d5c41353"}, + {file = "grpcio-1.60.0.tar.gz", hash = "sha256:2199165a1affb666aa24adf0c97436686d0a61bc5fc113c037701fb7c7fceb96"}, ] [package.extras] -protobuf = ["grpcio-tools (>=1.59.0)"] +protobuf = ["grpcio-tools (>=1.60.0)"] [[package]] name = "grpcio-tools" -version = "1.59.0" +version = "1.60.0" description = "Protobuf code generator for gRPC" optional = false python-versions = ">=3.7" files = [ - {file = "grpcio-tools-1.59.0.tar.gz", hash = "sha256:aa4018f2d8662ac4d9830445d3d253a11b3e096e8afe20865547137aa1160e93"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:882b809b42b5464bee55288f4e60837297f9618e53e69ae3eea6d61b05ce48fa"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:4499d4bc5aa9c7b645018d8b0db4bebd663d427aabcd7bee7777046cb1bcbca7"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:f381ae3ad6a5eb27aad8d810438937d8228977067c54e0bd456fce7e11fdbf3d"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f1c684c0d9226d04cadafced620a46ab38c346d0780eaac7448da96bf12066a3"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:40cbf712769242c2ba237745285ef789114d7fcfe8865fc4817d87f20015e99a"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:1df755951f204e65bf9232a9cac5afe7d6b8e4c87ac084d3ecd738fdc7aa4174"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:de156c18b0c638aaee3be6ad650c8ba7dec94ed4bac26403aec3dce95ffe9407"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-win32.whl", hash = "sha256:9af7e138baa9b2895cf1f3eb718ac96fc5ae2f8e31fca405e21e0e5cd1643c52"}, - {file = "grpcio_tools-1.59.0-cp310-cp310-win_amd64.whl", hash = "sha256:f14a6e4f700dfd30ff8f0e6695f944affc16ae5a1e738666b3fae4e44b65637e"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:db030140d0da2368319e2f23655df3baec278c7e0078ecbe051eaf609a69382c"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:eeed386971bb8afc3ec45593df6a1154d680d87be1209ef8e782e44f85f47e64"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:962d1a3067129152cee3e172213486cb218a6bad703836991f46f216caefcf00"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:26eb2eebf150a33ebf088e67c1acf37eb2ac4133d9bfccbaa011ad2148c08b42"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5b2d6da553980c590487f2e7fd3ec9c1ad8805ff2ec77977b92faa7e3ca14e1f"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:335e2f355a0c544a88854e2c053aff8a3f398b84a263a96fa19d063ca1fe513a"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:204e08f807b1d83f5f0efea30c4e680afe26a43dec8ba614a45fa698a7ef0a19"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-win32.whl", hash = "sha256:05bf7b3ed01c8a562bb7e840f864c58acedbd6924eb616367c0bd0a760bdf483"}, - {file = "grpcio_tools-1.59.0-cp311-cp311-win_amd64.whl", hash = "sha256:df85096fcac7cea8aa5bd84b7a39c4cdbf556b93669bb4772eb96aacd3222a4e"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:240a7a3c2c54f77f1f66085a635bca72003d02f56a670e7db19aec531eda8f78"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-macosx_10_10_universal2.whl", hash = "sha256:6119f62c462d119c63227b9534210f0f13506a888151b9bf586f71e7edf5088b"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:387662bee8e4c0b52cc0f61eaaca0ca583f5b227103f685b76083a3590a71a3e"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8f0da5861ee276ca68493b217daef358960e8527cc63c7cb292ca1c9c54939af"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d0f0806de1161c7f248e4c183633ee7a58dfe45c2b77ddf0136e2e7ad0650b1b"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:c683be38a9bf4024c223929b4cd2f0a0858c94e9dc8b36d7eaa5a48ce9323a6f"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:f965707da2b48a33128615bcfebedd215a3a30e346447e885bb3da37a143177a"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-win32.whl", hash = "sha256:2ee960904dde12a7fa48e1591a5b3eeae054bdce57bacf9fd26685a98138f5bf"}, - {file = "grpcio_tools-1.59.0-cp312-cp312-win_amd64.whl", hash = "sha256:71cc6db1d66da3bc3730d9937bddc320f7b1f1dfdff6342bcb5741515fe4110b"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:f6263b85261b62471cb97b7505df72d72b8b62e5e22d8184924871a6155b4dbf"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:b8e95d921cc2a1521d4750eedefec9f16031457920a6677edebe9d1b2ad6ae60"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:cb63055739808144b541986291679d643bae58755d0eb082157c4d4c04443905"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c4634b3589efa156a8d5860c0a2547315bd5c9e52d14c960d716fe86e0927be"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2d970aa26854f535ffb94ea098aa8b43de020d9a14682e4a15dcdaeac7801b27"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:821dba464d84ebbcffd9d420302404db2fa7a40c7ff4c4c4c93726f72bfa2769"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:0548e901894399886ff4a4cd808cb850b60c021feb4a8977a0751f14dd7e55d9"}, - {file = "grpcio_tools-1.59.0-cp37-cp37m-win_amd64.whl", hash = "sha256:bb87158dbbb9e5a79effe78d54837599caa16df52d8d35366e06a91723b587ae"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:1d551ff42962c7c333c3da5c70d5e617a87dee581fa2e2c5ae2d5137c8886779"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:4ee443abcd241a5befb05629013fbf2eac637faa94aaa3056351aded8a31c1bc"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:520c0c83ea79d14b0679ba43e19c64ca31d30926b26ad2ca7db37cbd89c167e2"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9fc02a6e517c34dcf885ff3b57260b646551083903e3d2c780b4971ce7d4ab7c"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6aec8a4ed3808b7dfc1276fe51e3e24bec0eeaf610d395bcd42934647cf902a3"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:99b3bde646720bbfb77f263f5ba3e1a0de50632d43c38d405a0ef9c7e94373cd"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:51d9595629998d8b519126c5a610f15deb0327cd6325ed10796b47d1d292e70b"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-win32.whl", hash = "sha256:bfa4b2b7d21c5634b62e5f03462243bd705adc1a21806b5356b8ce06d902e160"}, - {file = "grpcio_tools-1.59.0-cp38-cp38-win_amd64.whl", hash = "sha256:9ed05197c5ab071e91bcef28901e97ca168c4ae94510cb67a14cb4931b94255a"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:498e7be0b14385980efa681444ba481349c131fc5ec88003819f5d929646947c"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:b519f2ecde9a579cad2f4a7057d5bb4e040ad17caab8b5e691ed7a13b9db0be9"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:ef3e8aca2261f7f07436d4e2111556c1fb9bf1f9cfcdf35262743ccdee1b6ce9"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:27a7f226b741b2ebf7e2d0779d2c9b17f446d1b839d59886c1619e62cc2ae472"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:784aa52965916fec5afa1a28eeee6f0073bb43a2a1d7fedf963393898843077a"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:e312ddc2d8bec1a23306a661ad52734f984c9aad5d8f126ebb222a778d95407d"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:868892ad9e00651a38dace3e4924bae82fc4fd4df2c65d37b74381570ee8deb1"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-win32.whl", hash = "sha256:a4f6cae381f21fee1ef0a5cbbbb146680164311157ae618edf3061742d844383"}, - {file = "grpcio_tools-1.59.0-cp39-cp39-win_amd64.whl", hash = "sha256:4a10e59cca462208b489478340b52a96d64e8b8b6f1ac097f3e8cb211d3f66c0"}, + {file = "grpcio-tools-1.60.0.tar.gz", hash = "sha256:ed30499340228d733ff69fcf4a66590ed7921f94eb5a2bf692258b1280b9dac7"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:6807b7a3f3e6e594566100bd7fe04a2c42ce6d5792652677f1aaf5aa5adaef3d"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:857c5351e9dc33a019700e171163f94fcc7e3ae0f6d2b026b10fda1e3c008ef1"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:ec0e401e9a43d927d216d5169b03c61163fb52b665c5af2fed851357b15aef88"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e68dc4474f30cad11a965f0eb5d37720a032b4720afa0ec19dbcea2de73b5aae"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bbf0ed772d2ae7e8e5d7281fcc00123923ab130b94f7a843eee9af405918f924"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:c771b19dce2bfe06899247168c077d7ab4e273f6655d8174834f9a6034415096"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:e5614cf0960456d21d8a0f4902e3e5e3bcacc4e400bf22f196e5dd8aabb978b7"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-win32.whl", hash = "sha256:87cf439178f3eb45c1a889b2e4a17cbb4c450230d92c18d9c57e11271e239c55"}, + {file = "grpcio_tools-1.60.0-cp310-cp310-win_amd64.whl", hash = "sha256:687f576d7ff6ce483bc9a196d1ceac45144e8733b953620a026daed8e450bc38"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:2a8a758701f3ac07ed85f5a4284c6a9ddefcab7913a8e552497f919349e72438"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:7c1cde49631732356cb916ee1710507967f19913565ed5f9991e6c9cb37e3887"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:d941749bd8dc3f8be58fe37183143412a27bec3df8482d5abd6b4ec3f1ac2924"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9ee35234f1da8fba7ddbc544856ff588243f1128ea778d7a1da3039be829a134"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b8f7a5094adb49e85db13ea3df5d99a976c2bdfd83b0ba26af20ebb742ac6786"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:24c4ead4a03037beaeb8ef2c90d13d70101e35c9fae057337ed1a9144ef10b53"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:811abb9c4fb6679e0058dfa123fb065d97b158b71959c0e048e7972bbb82ba0f"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-win32.whl", hash = "sha256:bd2a17b0193fbe4793c215d63ce1e01ae00a8183d81d7c04e77e1dfafc4b2b8a"}, + {file = "grpcio_tools-1.60.0-cp311-cp311-win_amd64.whl", hash = "sha256:b22b1299b666eebd5752ba7719da536075eae3053abcf2898b65f763c314d9da"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:74025fdd6d1cb7ba4b5d087995339e9a09f0c16cf15dfe56368b23e41ffeaf7a"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-macosx_10_10_universal2.whl", hash = "sha256:5a907a4f1ffba86501b2cdb8682346249ea032b922fc69a92f082ba045cca548"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:1fbb9554466d560472f07d906bfc8dcaf52f365c2a407015185993e30372a886"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f10ef47460ce3c6fd400f05fe757b90df63486c9b84d1ecad42dcc5f80c8ac14"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:321b18f42a70813545e416ddcb8bf20defa407a8114906711c9710a69596ceda"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:081336d8258f1a56542aa8a7a5dec99a2b38d902e19fbdd744594783301b0210"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:addc9b23d6ff729d9f83d4a2846292d4c84f5eb2ec38f08489a6a0d66ac2b91e"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-win32.whl", hash = "sha256:e87cabac7969bdde309575edc2456357667a1b28262b2c1f12580ef48315b19d"}, + {file = "grpcio_tools-1.60.0-cp312-cp312-win_amd64.whl", hash = "sha256:e70d867c120d9849093b0ac24d861e378bc88af2552e743d83b9f642d2caa7c2"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-linux_armv7l.whl", hash = "sha256:559ce714fe212aaf4abbe1493c5bb8920def00cc77ce0d45266f4fd9d8b3166f"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:7a5263a0f2ddb7b1cfb2349e392cfc4f318722e0f48f886393e06946875d40f3"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:18976684a931ca4bcba65c78afa778683aefaae310f353e198b1823bf09775a0"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e5c519a0d4ba1ab44a004fa144089738c59278233e2010b2cf4527dc667ff297"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6170873b1e5b6580ebb99e87fb6e4ea4c48785b910bd7af838cc6e44b2bccb04"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:fb4df80868b3e397d5fbccc004c789d2668b622b51a9d2387b4c89c80d31e2c5"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:dba6e32c87b4af29b5f475fb2f470f7ee3140bfc128644f17c6c59ddeb670680"}, + {file = "grpcio_tools-1.60.0-cp37-cp37m-win_amd64.whl", hash = "sha256:f610384dee4b1ca705e8da66c5b5fe89a2de3d165c5282c3d1ddf40cb18924e4"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:4041538f55aad5b3ae7e25ab314d7995d689e968bfc8aa169d939a3160b1e4c6"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:2fb4cf74bfe1e707cf10bc9dd38a1ebaa145179453d150febb121c7e9cd749bf"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:2fd1671c52f96e79a2302c8b1c1f78b8a561664b8b3d6946f20d8f1cc6b4225a"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dd1e68c232fe01dd5312a8dbe52c50ecd2b5991d517d7f7446af4ba6334ba872"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:17a32b3da4fc0798cdcec0a9c974ac2a1e98298f151517bf9148294a3b1a5742"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:9970d384fb0c084b00945ef57d98d57a8d32be106d8f0bd31387f7cbfe411b5b"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5ce6bbd4936977ec1114f2903eb4342781960d521b0d82f73afedb9335251f6f"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-win32.whl", hash = "sha256:2e00de389729ca8d8d1a63c2038703078a887ff738dc31be640b7da9c26d0d4f"}, + {file = "grpcio_tools-1.60.0-cp38-cp38-win_amd64.whl", hash = "sha256:6192184b1f99372ff1d9594bd4b12264e3ff26440daba7eb043726785200ff77"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:eae27f9b16238e2aaee84c77b5923c6924d6dccb0bdd18435bf42acc8473ae1a"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:b96981f3a31b85074b73d97c8234a5ed9053d65a36b18f4a9c45a2120a5b7a0a"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:1748893efd05cf4a59a175d7fa1e4fbb652f4d84ccaa2109f7869a2be48ed25e"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7a6fe752205caae534f29fba907e2f59ff79aa42c6205ce9a467e9406cbac68c"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3456df087ea61a0972a5bc165aed132ed6ddcc63f5749e572f9fff84540bdbad"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:f3d916606dcf5610d4367918245b3d9d8cd0d2ec0b7043d1bbb8c50fe9815c3a"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:fc01bc1079279ec342f0f1b6a107b3f5dc3169c33369cf96ada6e2e171f74e86"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-win32.whl", hash = "sha256:2dd01257e4feff986d256fa0bac9f56de59dc735eceeeb83de1c126e2e91f653"}, + {file = "grpcio_tools-1.60.0-cp39-cp39-win_amd64.whl", hash = "sha256:1b93ae8ffd18e9af9a965ebca5fa521e89066267de7abdde20721edc04e42721"}, ] [package.dependencies] -grpcio = ">=1.59.0" +grpcio = ">=1.60.0" protobuf = ">=4.21.6,<5.0dev" setuptools = "*" @@ -1392,13 +1412,13 @@ test = ["eth-utils (>=1.0.1,<3)", "hypothesis (>=3.44.24,<=6.31.6)", "pytest (>= [[package]] name = "identify" -version = "2.5.30" +version = "2.5.33" description = "File identification library for Python" optional = false python-versions = ">=3.8" files = [ - {file = "identify-2.5.30-py2.py3-none-any.whl", hash = "sha256:afe67f26ae29bab007ec21b03d4114f41316ab9dd15aa8736a167481e108da54"}, - {file = "identify-2.5.30.tar.gz", hash = "sha256:f302a4256a15c849b91cfcdcec052a8ce914634b2f77ae87dad29cd749f2d88d"}, + {file = "identify-2.5.33-py2.py3-none-any.whl", hash = "sha256:d40ce5fcd762817627670da8a7d8d8e65f24342d14539c59488dc603bf662e34"}, + {file = "identify-2.5.33.tar.gz", hash = "sha256:161558f9fe4559e1557e1bff323e8631f6a0e4837f7497767c1782832f16b62d"}, ] [package.extras] @@ -1406,13 +1426,13 @@ license = ["ukkonen"] [[package]] name = "idna" -version = "3.4" +version = "3.6" description = "Internationalized Domain Names in Applications (IDNA)" optional = false python-versions = ">=3.5" files = [ - {file = "idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"}, - {file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"}, + {file = "idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f"}, + {file = "idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"}, ] [[package]] @@ -1428,30 +1448,33 @@ files = [ [[package]] name = "isort" -version = "5.12.0" +version = "5.13.0" description = "A Python utility / library to sort Python imports." optional = false python-versions = ">=3.8.0" files = [ - {file = "isort-5.12.0-py3-none-any.whl", hash = "sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6"}, - {file = "isort-5.12.0.tar.gz", hash = "sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504"}, + {file = "isort-5.13.0-py3-none-any.whl", hash = "sha256:15e0e937819b350bc256a7ae13bb25f4fe4f8871a0bc335b20c3627dba33f458"}, + {file = "isort-5.13.0.tar.gz", hash = "sha256:d67f78c6a1715f224cca46b29d740037bdb6eea15323a133e897cda15876147b"}, ] +[package.dependencies] +pip-api = "*" +pipreqs = "*" +requirementslib = "*" + [package.extras] -colors = ["colorama (>=0.4.3)"] -pipfile-deprecated-finder = ["pip-shims (>=0.5.2)", "pipreqs", "requirementslib"] +colors = ["colorama (>=0.4.6)"] plugins = ["setuptools"] -requirements-deprecated-finder = ["pip-api", "pipreqs"] [[package]] name = "jsonschema" -version = "4.19.1" +version = "4.20.0" description = "An implementation of JSON Schema validation for Python" optional = false python-versions = ">=3.8" files = [ - {file = "jsonschema-4.19.1-py3-none-any.whl", hash = "sha256:cd5f1f9ed9444e554b38ba003af06c0a8c2868131e56bfbef0550fb450c0330e"}, - {file = "jsonschema-4.19.1.tar.gz", hash = "sha256:ec84cc37cfa703ef7cd4928db24f9cb31428a5d0fa77747b8b51a847458e0bbf"}, + {file = "jsonschema-4.20.0-py3-none-any.whl", hash = "sha256:ed6231f0429ecf966f5bc8dfef245998220549cbbcf140f913b7464c52c3b6b3"}, + {file = "jsonschema-4.20.0.tar.gz", hash = "sha256:4f614fd46d8d61258610998997743ec5492a648b33cf478c1ddc23ed4598a5fa"}, ] [package.dependencies] @@ -1466,17 +1489,17 @@ format-nongpl = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339- [[package]] name = "jsonschema-specifications" -version = "2023.7.1" +version = "2023.11.2" description = "The JSON Schema meta-schemas and vocabularies, exposed as a Registry" optional = false python-versions = ">=3.8" files = [ - {file = "jsonschema_specifications-2023.7.1-py3-none-any.whl", hash = "sha256:05adf340b659828a004220a9613be00fa3f223f2b82002e273dee62fd50524b1"}, - {file = "jsonschema_specifications-2023.7.1.tar.gz", hash = "sha256:c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb"}, + {file = "jsonschema_specifications-2023.11.2-py3-none-any.whl", hash = "sha256:e74ba7c0a65e8cb49dc26837d6cfe576557084a8b423ed16a420984228104f93"}, + {file = "jsonschema_specifications-2023.11.2.tar.gz", hash = "sha256:9472fc4fea474cd74bea4a2b190daeccb5a9e4db2ea80efcf7a1b582fc9a81b8"}, ] [package.dependencies] -referencing = ">=0.28.0" +referencing = ">=0.31.0" [[package]] name = "lru-dict" @@ -1728,30 +1751,103 @@ regex = ">=2022.3.15" [[package]] name = "pathspec" -version = "0.11.2" +version = "0.12.1" description = "Utility library for gitignore style pattern matching of file paths." optional = false +python-versions = ">=3.8" +files = [ + {file = "pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08"}, + {file = "pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"}, +] + +[[package]] +name = "pep517" +version = "0.13.1" +description = "Wrappers to build Python packages using PEP 517 hooks" +optional = false +python-versions = ">=3.6" +files = [ + {file = "pep517-0.13.1-py3-none-any.whl", hash = "sha256:31b206f67165b3536dd577c5c3f1518e8fbaf38cbc57efff8369a392feff1721"}, + {file = "pep517-0.13.1.tar.gz", hash = "sha256:1b2fa2ffd3938bb4beffe5d6146cbcb2bda996a5a4da9f31abffd8b24e07b317"}, +] + +[package.dependencies] +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} + +[[package]] +name = "pip" +version = "23.3.1" +description = "The PyPA recommended tool for installing Python packages." +optional = false python-versions = ">=3.7" files = [ - {file = "pathspec-0.11.2-py3-none-any.whl", hash = "sha256:1d6ed233af05e679efb96b1851550ea95bbb64b7c490b0f5aa52996c11e92a20"}, - {file = "pathspec-0.11.2.tar.gz", hash = "sha256:e0d8d0ac2f12da61956eb2306b69f9469b42f4deb0f3cb6ed47b9cce9996ced3"}, + {file = "pip-23.3.1-py3-none-any.whl", hash = "sha256:55eb67bb6171d37447e82213be585b75fe2b12b359e993773aca4de9247a052b"}, + {file = "pip-23.3.1.tar.gz", hash = "sha256:1fcaa041308d01f14575f6d0d2ea4b75a3e2871fe4f9c694976f908768e14174"}, ] +[[package]] +name = "pip-api" +version = "0.0.30" +description = "An unofficial, importable pip API" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pip-api-0.0.30.tar.gz", hash = "sha256:a05df2c7aa9b7157374bcf4273544201a0c7bae60a9c65bcf84f3959ef3896f3"}, + {file = "pip_api-0.0.30-py3-none-any.whl", hash = "sha256:2a0314bd31522eb9ffe8a99668b0d07fee34ebc537931e7b6483001dbedcbdc9"}, +] + +[package.dependencies] +pip = "*" + +[[package]] +name = "pipreqs" +version = "0.4.13" +description = "Pip requirements.txt generator based on imports in project" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pipreqs-0.4.13-py2.py3-none-any.whl", hash = "sha256:e522b9ed54aa3e8b7978ff251ab7a9af2f75d2cd8de4c102e881b666a79a308e"}, + {file = "pipreqs-0.4.13.tar.gz", hash = "sha256:a17f167880b6921be37533ce4c81ddc6e22b465c107aad557db43b1add56a99b"}, +] + +[package.dependencies] +docopt = "*" +yarg = "*" + [[package]] name = "platformdirs" -version = "3.11.0" +version = "4.1.0" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "platformdirs-3.11.0-py3-none-any.whl", hash = "sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e"}, - {file = "platformdirs-3.11.0.tar.gz", hash = "sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3"}, + {file = "platformdirs-4.1.0-py3-none-any.whl", hash = "sha256:11c8f37bcca40db96d8144522d925583bdb7a31f7b0e37e3ed4318400a8e2380"}, + {file = "platformdirs-4.1.0.tar.gz", hash = "sha256:906d548203468492d432bcb294d4bc2fff751bf84971fbb2c10918cc206ee420"}, ] [package.extras] docs = ["furo (>=2023.7.26)", "proselint (>=0.13)", "sphinx (>=7.1.1)", "sphinx-autodoc-typehints (>=1.24)"] test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.11.1)"] +[[package]] +name = "plette" +version = "0.4.4" +description = "Structured Pipfile and Pipfile.lock models." +optional = false +python-versions = ">=3.7" +files = [ + {file = "plette-0.4.4-py2.py3-none-any.whl", hash = "sha256:42d68ce8c6b966874b68758d87d7f20fcff2eff0d861903eea1062126be4d98f"}, + {file = "plette-0.4.4.tar.gz", hash = "sha256:06b8c09eb90293ad0b8101cb5c95c4ea53e9b2b582901845d0904ff02d237454"}, +] + +[package.dependencies] +cerberus = {version = "*", optional = true, markers = "extra == \"validation\""} +tomlkit = "*" + +[package.extras] +tests = ["pytest", "pytest-cov", "pytest-xdist"] +validation = ["cerberus"] + [[package]] name = "pluggy" version = "1.3.0" @@ -1769,13 +1865,13 @@ testing = ["pytest", "pytest-benchmark"] [[package]] name = "pre-commit" -version = "3.5.0" +version = "3.6.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pre_commit-3.5.0-py2.py3-none-any.whl", hash = "sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660"}, - {file = "pre_commit-3.5.0.tar.gz", hash = "sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32"}, + {file = "pre_commit-3.6.0-py2.py3-none-any.whl", hash = "sha256:c255039ef399049a5544b6ce13d135caba8f2c28c3b4033277a788f434308376"}, + {file = "pre_commit-3.6.0.tar.gz", hash = "sha256:d30bad9abf165f7785c15a21a1f46da7d0677cb00ee7ff4c579fd38922efe15d"}, ] [package.dependencies] @@ -1787,24 +1883,22 @@ virtualenv = ">=20.10.0" [[package]] name = "protobuf" -version = "4.24.4" +version = "4.25.1" description = "" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "protobuf-4.24.4-cp310-abi3-win32.whl", hash = "sha256:ec9912d5cb6714a5710e28e592ee1093d68c5ebfeda61983b3f40331da0b1ebb"}, - {file = "protobuf-4.24.4-cp310-abi3-win_amd64.whl", hash = "sha256:1badab72aa8a3a2b812eacfede5020472e16c6b2212d737cefd685884c191085"}, - {file = "protobuf-4.24.4-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:8e61a27f362369c2f33248a0ff6896c20dcd47b5d48239cb9720134bef6082e4"}, - {file = "protobuf-4.24.4-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:bffa46ad9612e6779d0e51ae586fde768339b791a50610d85eb162daeb23661e"}, - {file = "protobuf-4.24.4-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:b493cb590960ff863743b9ff1452c413c2ee12b782f48beca77c8da3e2ffe9d9"}, - {file = "protobuf-4.24.4-cp37-cp37m-win32.whl", hash = "sha256:dbbed8a56e56cee8d9d522ce844a1379a72a70f453bde6243e3c86c30c2a3d46"}, - {file = "protobuf-4.24.4-cp37-cp37m-win_amd64.whl", hash = "sha256:6b7d2e1c753715dcfe9d284a25a52d67818dd43c4932574307daf836f0071e37"}, - {file = "protobuf-4.24.4-cp38-cp38-win32.whl", hash = "sha256:02212557a76cd99574775a81fefeba8738d0f668d6abd0c6b1d3adcc75503dbe"}, - {file = "protobuf-4.24.4-cp38-cp38-win_amd64.whl", hash = "sha256:2fa3886dfaae6b4c5ed2730d3bf47c7a38a72b3a1f0acb4d4caf68e6874b947b"}, - {file = "protobuf-4.24.4-cp39-cp39-win32.whl", hash = "sha256:b77272f3e28bb416e2071186cb39efd4abbf696d682cbb5dc731308ad37fa6dd"}, - {file = "protobuf-4.24.4-cp39-cp39-win_amd64.whl", hash = "sha256:9fee5e8aa20ef1b84123bb9232b3f4a5114d9897ed89b4b8142d81924e05d79b"}, - {file = "protobuf-4.24.4-py3-none-any.whl", hash = "sha256:80797ce7424f8c8d2f2547e2d42bfbb6c08230ce5832d6c099a37335c9c90a92"}, - {file = "protobuf-4.24.4.tar.gz", hash = "sha256:5a70731910cd9104762161719c3d883c960151eea077134458503723b60e3667"}, + {file = "protobuf-4.25.1-cp310-abi3-win32.whl", hash = "sha256:193f50a6ab78a970c9b4f148e7c750cfde64f59815e86f686c22e26b4fe01ce7"}, + {file = "protobuf-4.25.1-cp310-abi3-win_amd64.whl", hash = "sha256:3497c1af9f2526962f09329fd61a36566305e6c72da2590ae0d7d1322818843b"}, + {file = "protobuf-4.25.1-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:0bf384e75b92c42830c0a679b0cd4d6e2b36ae0cf3dbb1e1dfdda48a244f4bcd"}, + {file = "protobuf-4.25.1-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:0f881b589ff449bf0b931a711926e9ddaad3b35089cc039ce1af50b21a4ae8cb"}, + {file = "protobuf-4.25.1-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:ca37bf6a6d0046272c152eea90d2e4ef34593aaa32e8873fc14c16440f22d4b7"}, + {file = "protobuf-4.25.1-cp38-cp38-win32.whl", hash = "sha256:abc0525ae2689a8000837729eef7883b9391cd6aa7950249dcf5a4ede230d5dd"}, + {file = "protobuf-4.25.1-cp38-cp38-win_amd64.whl", hash = "sha256:1484f9e692091450e7edf418c939e15bfc8fc68856e36ce399aed6889dae8bb0"}, + {file = "protobuf-4.25.1-cp39-cp39-win32.whl", hash = "sha256:8bdbeaddaac52d15c6dce38c71b03038ef7772b977847eb6d374fc86636fa510"}, + {file = "protobuf-4.25.1-cp39-cp39-win_amd64.whl", hash = "sha256:becc576b7e6b553d22cbdf418686ee4daa443d7217999125c045ad56322dda10"}, + {file = "protobuf-4.25.1-py3-none-any.whl", hash = "sha256:a19731d5e83ae4737bb2a089605e636077ac001d18781b3cf489b9546c7c80d6"}, + {file = "protobuf-4.25.1.tar.gz", hash = "sha256:57d65074b4f5baa4ab5da1605c02be90ac20c8b40fb137d6a8df9f416b0d0ce2"}, ] [[package]] @@ -1870,6 +1964,142 @@ files = [ {file = "pycryptodome-3.19.0.tar.gz", hash = "sha256:bc35d463222cdb4dbebd35e0784155c81e161b9284e567e7e933d722e533331e"}, ] +[[package]] +name = "pydantic" +version = "2.5.2" +description = "Data validation using Python type hints" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pydantic-2.5.2-py3-none-any.whl", hash = "sha256:80c50fb8e3dcecfddae1adbcc00ec5822918490c99ab31f6cf6140ca1c1429f0"}, + {file = "pydantic-2.5.2.tar.gz", hash = "sha256:ff177ba64c6faf73d7afa2e8cad38fd456c0dbe01c9954e71038001cd15a6edd"}, +] + +[package.dependencies] +annotated-types = ">=0.4.0" +pydantic-core = "2.14.5" +typing-extensions = ">=4.6.1" + +[package.extras] +email = ["email-validator (>=2.0.0)"] + +[[package]] +name = "pydantic-core" +version = "2.14.5" +description = "" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pydantic_core-2.14.5-cp310-cp310-macosx_10_7_x86_64.whl", hash = "sha256:7e88f5696153dc516ba6e79f82cc4747e87027205f0e02390c21f7cb3bd8abfd"}, + {file = "pydantic_core-2.14.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4641e8ad4efb697f38a9b64ca0523b557c7931c5f84e0fd377a9a3b05121f0de"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:774de879d212db5ce02dfbf5b0da9a0ea386aeba12b0b95674a4ce0593df3d07"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ebb4e035e28f49b6f1a7032920bb9a0c064aedbbabe52c543343d39341a5b2a3"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b53e9ad053cd064f7e473a5f29b37fc4cc9dc6d35f341e6afc0155ea257fc911"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8aa1768c151cf562a9992462239dfc356b3d1037cc5a3ac829bb7f3bda7cc1f9"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eac5c82fc632c599f4639a5886f96867ffced74458c7db61bc9a66ccb8ee3113"}, + {file = "pydantic_core-2.14.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d2ae91f50ccc5810b2f1b6b858257c9ad2e08da70bf890dee02de1775a387c66"}, + {file = "pydantic_core-2.14.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6b9ff467ffbab9110e80e8c8de3bcfce8e8b0fd5661ac44a09ae5901668ba997"}, + {file = "pydantic_core-2.14.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:61ea96a78378e3bd5a0be99b0e5ed00057b71f66115f5404d0dae4819f495093"}, + {file = "pydantic_core-2.14.5-cp310-none-win32.whl", hash = "sha256:bb4c2eda937a5e74c38a41b33d8c77220380a388d689bcdb9b187cf6224c9720"}, + {file = "pydantic_core-2.14.5-cp310-none-win_amd64.whl", hash = "sha256:b7851992faf25eac90bfcb7bfd19e1f5ffa00afd57daec8a0042e63c74a4551b"}, + {file = "pydantic_core-2.14.5-cp311-cp311-macosx_10_7_x86_64.whl", hash = "sha256:4e40f2bd0d57dac3feb3a3aed50f17d83436c9e6b09b16af271b6230a2915459"}, + {file = "pydantic_core-2.14.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ab1cdb0f14dc161ebc268c09db04d2c9e6f70027f3b42446fa11c153521c0e88"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aae7ea3a1c5bb40c93cad361b3e869b180ac174656120c42b9fadebf685d121b"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:60b7607753ba62cf0739177913b858140f11b8af72f22860c28eabb2f0a61937"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2248485b0322c75aee7565d95ad0e16f1c67403a470d02f94da7344184be770f"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:823fcc638f67035137a5cd3f1584a4542d35a951c3cc68c6ead1df7dac825c26"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:96581cfefa9123accc465a5fd0cc833ac4d75d55cc30b633b402e00e7ced00a6"}, + {file = "pydantic_core-2.14.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a33324437018bf6ba1bb0f921788788641439e0ed654b233285b9c69704c27b4"}, + {file = "pydantic_core-2.14.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:9bd18fee0923ca10f9a3ff67d4851c9d3e22b7bc63d1eddc12f439f436f2aada"}, + {file = "pydantic_core-2.14.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:853a2295c00f1d4429db4c0fb9475958543ee80cfd310814b5c0ef502de24dda"}, + {file = "pydantic_core-2.14.5-cp311-none-win32.whl", hash = "sha256:cb774298da62aea5c80a89bd58c40205ab4c2abf4834453b5de207d59d2e1651"}, + {file = "pydantic_core-2.14.5-cp311-none-win_amd64.whl", hash = "sha256:e87fc540c6cac7f29ede02e0f989d4233f88ad439c5cdee56f693cc9c1c78077"}, + {file = "pydantic_core-2.14.5-cp311-none-win_arm64.whl", hash = "sha256:57d52fa717ff445cb0a5ab5237db502e6be50809b43a596fb569630c665abddf"}, + {file = "pydantic_core-2.14.5-cp312-cp312-macosx_10_7_x86_64.whl", hash = "sha256:e60f112ac88db9261ad3a52032ea46388378034f3279c643499edb982536a093"}, + {file = "pydantic_core-2.14.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6e227c40c02fd873c2a73a98c1280c10315cbebe26734c196ef4514776120aeb"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f0cbc7fff06a90bbd875cc201f94ef0ee3929dfbd5c55a06674b60857b8b85ed"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:103ef8d5b58596a731b690112819501ba1db7a36f4ee99f7892c40da02c3e189"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c949f04ecad823f81b1ba94e7d189d9dfb81edbb94ed3f8acfce41e682e48cef"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c1452a1acdf914d194159439eb21e56b89aa903f2e1c65c60b9d874f9b950e5d"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb4679d4c2b089e5ef89756bc73e1926745e995d76e11925e3e96a76d5fa51fc"}, + {file = "pydantic_core-2.14.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:cf9d3fe53b1ee360e2421be95e62ca9b3296bf3f2fb2d3b83ca49ad3f925835e"}, + {file = "pydantic_core-2.14.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:70f4b4851dbb500129681d04cc955be2a90b2248d69273a787dda120d5cf1f69"}, + {file = "pydantic_core-2.14.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:59986de5710ad9613ff61dd9b02bdd2f615f1a7052304b79cc8fa2eb4e336d2d"}, + {file = "pydantic_core-2.14.5-cp312-none-win32.whl", hash = "sha256:699156034181e2ce106c89ddb4b6504c30db8caa86e0c30de47b3e0654543260"}, + {file = "pydantic_core-2.14.5-cp312-none-win_amd64.whl", hash = "sha256:5baab5455c7a538ac7e8bf1feec4278a66436197592a9bed538160a2e7d11e36"}, + {file = "pydantic_core-2.14.5-cp312-none-win_arm64.whl", hash = "sha256:e47e9a08bcc04d20975b6434cc50bf82665fbc751bcce739d04a3120428f3e27"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-macosx_10_7_x86_64.whl", hash = "sha256:af36f36538418f3806048f3b242a1777e2540ff9efaa667c27da63d2749dbce0"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-macosx_11_0_arm64.whl", hash = "sha256:45e95333b8418ded64745f14574aa9bfc212cb4fbeed7a687b0c6e53b5e188cd"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e47a76848f92529879ecfc417ff88a2806438f57be4a6a8bf2961e8f9ca9ec7"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d81e6987b27bc7d101c8597e1cd2bcaa2fee5e8e0f356735c7ed34368c471550"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:34708cc82c330e303f4ce87758828ef6e457681b58ce0e921b6e97937dd1e2a3"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:652c1988019752138b974c28f43751528116bcceadad85f33a258869e641d753"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e4d090e73e0725b2904fdbdd8d73b8802ddd691ef9254577b708d413bf3006e"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5c7d5b5005f177764e96bd584d7bf28d6e26e96f2a541fdddb934c486e36fd59"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:a71891847f0a73b1b9eb86d089baee301477abef45f7eaf303495cd1473613e4"}, + {file = "pydantic_core-2.14.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:a717aef6971208f0851a2420b075338e33083111d92041157bbe0e2713b37325"}, + {file = "pydantic_core-2.14.5-cp37-none-win32.whl", hash = "sha256:de790a3b5aa2124b8b78ae5faa033937a72da8efe74b9231698b5a1dd9be3405"}, + {file = "pydantic_core-2.14.5-cp37-none-win_amd64.whl", hash = "sha256:6c327e9cd849b564b234da821236e6bcbe4f359a42ee05050dc79d8ed2a91588"}, + {file = "pydantic_core-2.14.5-cp38-cp38-macosx_10_7_x86_64.whl", hash = "sha256:ef98ca7d5995a82f43ec0ab39c4caf6a9b994cb0b53648ff61716370eadc43cf"}, + {file = "pydantic_core-2.14.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:c6eae413494a1c3f89055da7a5515f32e05ebc1a234c27674a6956755fb2236f"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dcf4e6d85614f7a4956c2de5a56531f44efb973d2fe4a444d7251df5d5c4dcfd"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6637560562134b0e17de333d18e69e312e0458ee4455bdad12c37100b7cad706"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:77fa384d8e118b3077cccfcaf91bf83c31fe4dc850b5e6ee3dc14dc3d61bdba1"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:16e29bad40bcf97aac682a58861249ca9dcc57c3f6be22f506501833ddb8939c"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:531f4b4252fac6ca476fbe0e6f60f16f5b65d3e6b583bc4d87645e4e5ddde331"}, + {file = "pydantic_core-2.14.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:074f3d86f081ce61414d2dc44901f4f83617329c6f3ab49d2bc6c96948b2c26b"}, + {file = "pydantic_core-2.14.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:c2adbe22ab4babbca99c75c5d07aaf74f43c3195384ec07ccbd2f9e3bddaecec"}, + {file = "pydantic_core-2.14.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:0f6116a558fd06d1b7c2902d1c4cf64a5bd49d67c3540e61eccca93f41418124"}, + {file = "pydantic_core-2.14.5-cp38-none-win32.whl", hash = "sha256:fe0a5a1025eb797752136ac8b4fa21aa891e3d74fd340f864ff982d649691867"}, + {file = "pydantic_core-2.14.5-cp38-none-win_amd64.whl", hash = "sha256:079206491c435b60778cf2b0ee5fd645e61ffd6e70c47806c9ed51fc75af078d"}, + {file = "pydantic_core-2.14.5-cp39-cp39-macosx_10_7_x86_64.whl", hash = "sha256:a6a16f4a527aae4f49c875da3cdc9508ac7eef26e7977952608610104244e1b7"}, + {file = "pydantic_core-2.14.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:abf058be9517dc877227ec3223f0300034bd0e9f53aebd63cf4456c8cb1e0863"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:49b08aae5013640a3bfa25a8eebbd95638ec3f4b2eaf6ed82cf0c7047133f03b"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c2d97e906b4ff36eb464d52a3bc7d720bd6261f64bc4bcdbcd2c557c02081ed2"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3128e0bbc8c091ec4375a1828d6118bc20404883169ac95ffa8d983b293611e6"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:88e74ab0cdd84ad0614e2750f903bb0d610cc8af2cc17f72c28163acfcf372a4"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c339dabd8ee15f8259ee0f202679b6324926e5bc9e9a40bf981ce77c038553db"}, + {file = "pydantic_core-2.14.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3387277f1bf659caf1724e1afe8ee7dbc9952a82d90f858ebb931880216ea955"}, + {file = "pydantic_core-2.14.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ba6b6b3846cfc10fdb4c971980a954e49d447cd215ed5a77ec8190bc93dd7bc5"}, + {file = "pydantic_core-2.14.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ca61d858e4107ce5e1330a74724fe757fc7135190eb5ce5c9d0191729f033209"}, + {file = "pydantic_core-2.14.5-cp39-none-win32.whl", hash = "sha256:ec1e72d6412f7126eb7b2e3bfca42b15e6e389e1bc88ea0069d0cc1742f477c6"}, + {file = "pydantic_core-2.14.5-cp39-none-win_amd64.whl", hash = "sha256:c0b97ec434041827935044bbbe52b03d6018c2897349670ff8fe11ed24d1d4ab"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-macosx_10_7_x86_64.whl", hash = "sha256:79e0a2cdbdc7af3f4aee3210b1172ab53d7ddb6a2d8c24119b5706e622b346d0"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:678265f7b14e138d9a541ddabbe033012a2953315739f8cfa6d754cc8063e8ca"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:95b15e855ae44f0c6341ceb74df61b606e11f1087e87dcb7482377374aac6abe"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:09b0e985fbaf13e6b06a56d21694d12ebca6ce5414b9211edf6f17738d82b0f8"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3ad873900297bb36e4b6b3f7029d88ff9829ecdc15d5cf20161775ce12306f8a"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:2d0ae0d8670164e10accbeb31d5ad45adb71292032d0fdb9079912907f0085f4"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:d37f8ec982ead9ba0a22a996129594938138a1503237b87318392a48882d50b7"}, + {file = "pydantic_core-2.14.5-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:35613015f0ba7e14c29ac6c2483a657ec740e5ac5758d993fdd5870b07a61d8b"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-macosx_10_7_x86_64.whl", hash = "sha256:ab4ea451082e684198636565224bbb179575efc1658c48281b2c866bfd4ddf04"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ce601907e99ea5b4adb807ded3570ea62186b17f88e271569144e8cca4409c7"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fb2ed8b3fe4bf4506d6dab3b93b83bbc22237e230cba03866d561c3577517d18"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:70f947628e074bb2526ba1b151cee10e4c3b9670af4dbb4d73bc8a89445916b5"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:4bc536201426451f06f044dfbf341c09f540b4ebdb9fd8d2c6164d733de5e634"}, + {file = "pydantic_core-2.14.5-pp37-pypy37_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f4791cf0f8c3104ac668797d8c514afb3431bc3305f5638add0ba1a5a37e0d88"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-macosx_10_7_x86_64.whl", hash = "sha256:038c9f763e650712b899f983076ce783175397c848da04985658e7628cbe873b"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:27548e16c79702f1e03f5628589c6057c9ae17c95b4c449de3c66b589ead0520"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c97bee68898f3f4344eb02fec316db93d9700fb1e6a5b760ffa20d71d9a46ce3"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b9b759b77f5337b4ea024f03abc6464c9f35d9718de01cfe6bae9f2e139c397e"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:439c9afe34638ace43a49bf72d201e0ffc1a800295bed8420c2a9ca8d5e3dbb3"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:ba39688799094c75ea8a16a6b544eb57b5b0f3328697084f3f2790892510d144"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:ccd4d5702bb90b84df13bd491be8d900b92016c5a455b7e14630ad7449eb03f8"}, + {file = "pydantic_core-2.14.5-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:81982d78a45d1e5396819bbb4ece1fadfe5f079335dd28c4ab3427cd95389944"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-macosx_10_7_x86_64.whl", hash = "sha256:7f8210297b04e53bc3da35db08b7302a6a1f4889c79173af69b72ec9754796b8"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:8c8a8812fe6f43a3a5b054af6ac2d7b8605c7bcab2804a8a7d68b53f3cd86e00"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:206ed23aecd67c71daf5c02c3cd19c0501b01ef3cbf7782db9e4e051426b3d0d"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c2027d05c8aebe61d898d4cffd774840a9cb82ed356ba47a90d99ad768f39789"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:40180930807ce806aa71eda5a5a5447abb6b6a3c0b4b3b1b1962651906484d68"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:615a0a4bff11c45eb3c1996ceed5bdaa2f7b432425253a7c2eed33bb86d80abc"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f5e412d717366e0677ef767eac93566582518fe8be923361a5c204c1a62eaafe"}, + {file = "pydantic_core-2.14.5-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:513b07e99c0a267b1d954243845d8a833758a6726a3b5d8948306e3fe14675e3"}, + {file = "pydantic_core-2.14.5.tar.gz", hash = "sha256:6d30226dfc816dd0fdf120cae611dd2215117e4f9b124af8c60ab9093b6e8e71"}, +] + +[package.dependencies] +typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" + [[package]] name = "pyflakes" version = "2.4.0" @@ -1883,17 +2113,18 @@ files = [ [[package]] name = "pygments" -version = "2.16.1" +version = "2.17.2" description = "Pygments is a syntax highlighting package written in Python." optional = false python-versions = ">=3.7" files = [ - {file = "Pygments-2.16.1-py3-none-any.whl", hash = "sha256:13fc09fa63bc8d8671a6d247e1eb303c4b343eaee81d861f3404db2935653692"}, - {file = "Pygments-2.16.1.tar.gz", hash = "sha256:1daff0494820c69bc8941e407aa20f577374ee88364ee10a98fdbe0aece96e29"}, + {file = "pygments-2.17.2-py3-none-any.whl", hash = "sha256:b27c2826c47d0f3219f29554824c30c5e8945175d888647acd804ddd04af846c"}, + {file = "pygments-2.17.2.tar.gz", hash = "sha256:da46cec9fd2de5be3a8a784f434e4c4ab670b4ff54d605c4c2717e9d49c4c367"}, ] [package.extras] plugins = ["importlib-metadata"] +windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pytest" @@ -1919,13 +2150,13 @@ testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "no [[package]] name = "pytest-asyncio" -version = "0.21.1" +version = "0.23.2" description = "Pytest support for asyncio" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "pytest-asyncio-0.21.1.tar.gz", hash = "sha256:40a7eae6dded22c7b604986855ea48400ab15b069ae38116e8c01238e9eeb64d"}, - {file = "pytest_asyncio-0.21.1-py3-none-any.whl", hash = "sha256:8666c1c8ac02631d7c51ba282e0c69a8a452b211ffedf2599099845da5c5c37b"}, + {file = "pytest-asyncio-0.23.2.tar.gz", hash = "sha256:c16052382554c7b22d48782ab3438d5b10f8cf7a4bdcae7f0f67f097d95beecc"}, + {file = "pytest_asyncio-0.23.2-py3-none-any.whl", hash = "sha256:ea9021364e32d58f0be43b91c6233fb8d2224ccef2398d6837559e587682808f"}, ] [package.dependencies] @@ -1933,7 +2164,7 @@ pytest = ">=7.0.0" [package.extras] docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1.0)"] -testing = ["coverage (>=6.2)", "flaky (>=3.5.0)", "hypothesis (>=5.7.1)", "mypy (>=0.931)", "pytest-trio (>=0.7.0)"] +testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"] [[package]] name = "pytest-cov" @@ -1969,12 +2200,12 @@ pytest = ">=3.6.0" [[package]] name = "pyunormalize" -version = "15.0.0" +version = "15.1.0" description = "Unicode normalization forms (NFC, NFKC, NFD, NFKD). A library independent from the Python core Unicode database." optional = false python-versions = ">=3.6" files = [ - {file = "pyunormalize-15.0.0.tar.gz", hash = "sha256:e63fdba0d85ea04579dde2fc29a072dba773dcae600b04faf6cc90714c8b1302"}, + {file = "pyunormalize-15.1.0.tar.gz", hash = "sha256:cf4a87451a0f1cb76911aa97f432f4579e1f564a2f0c84ce488c73a73901b6c1"}, ] [[package]] @@ -2061,13 +2292,13 @@ files = [ [[package]] name = "referencing" -version = "0.30.2" +version = "0.32.0" description = "JSON Referencing + Python" optional = false python-versions = ">=3.8" files = [ - {file = "referencing-0.30.2-py3-none-any.whl", hash = "sha256:449b6669b6121a9e96a7f9e410b245d471e8d48964c67113ce9afe50c8dd7bdf"}, - {file = "referencing-0.30.2.tar.gz", hash = "sha256:794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0"}, + {file = "referencing-0.32.0-py3-none-any.whl", hash = "sha256:bdcd3efb936f82ff86f993093f6da7435c7de69a3b3a5a06678a6050184bee99"}, + {file = "referencing-0.32.0.tar.gz", hash = "sha256:689e64fe121843dcfd57b71933318ef1f91188ffb45367332700a86ac8fd6161"}, ] [package.dependencies] @@ -2211,6 +2442,33 @@ six = "*" fixture = ["fixtures"] test = ["fixtures", "mock", "purl", "pytest", "requests-futures", "sphinx", "testtools"] +[[package]] +name = "requirementslib" +version = "3.0.0" +description = "A tool for converting between pip-style and pipfile requirements." +optional = false +python-versions = ">=3.7" +files = [ + {file = "requirementslib-3.0.0-py2.py3-none-any.whl", hash = "sha256:67b42903d7c32f89c7047d1020c619d37cb515c475a4ae6f4e5683e1c56d7bf7"}, + {file = "requirementslib-3.0.0.tar.gz", hash = "sha256:28f8e0b1c38b34ae06de68ef115b03bbcdcdb99f9e9393333ff06ded443e3f24"}, +] + +[package.dependencies] +distlib = ">=0.2.8" +pep517 = ">=0.5.0" +pip = ">=23.1" +platformdirs = "*" +plette = {version = "*", extras = ["validation"]} +pydantic = "*" +requests = "*" +setuptools = ">=40.8" +tomlkit = ">=0.5.3" + +[package.extras] +dev = ["nox", "parver", "towncrier", "twine"] +docs = ["sphinx", "sphinx-rtd-theme"] +tests = ["coverage", "hypothesis", "pytest", "pytest-cov", "pytest-timeout", "pytest-xdist", "readme-renderer[md]"] + [[package]] name = "rlp" version = "3.0.0" @@ -2234,110 +2492,110 @@ test = ["hypothesis (==5.19.0)", "pytest (>=6.2.5,<7)", "tox (>=2.9.1,<3)"] [[package]] name = "rpds-py" -version = "0.10.6" +version = "0.13.2" description = "Python bindings to Rust's persistent data structures (rpds)" optional = false python-versions = ">=3.8" files = [ - {file = "rpds_py-0.10.6-cp310-cp310-macosx_10_7_x86_64.whl", hash = "sha256:6bdc11f9623870d75692cc33c59804b5a18d7b8a4b79ef0b00b773a27397d1f6"}, - {file = "rpds_py-0.10.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:26857f0f44f0e791f4a266595a7a09d21f6b589580ee0585f330aaccccb836e3"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7f5e15c953ace2e8dde9824bdab4bec50adb91a5663df08d7d994240ae6fa31"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:61fa268da6e2e1cd350739bb61011121fa550aa2545762e3dc02ea177ee4de35"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c48f3fbc3e92c7dd6681a258d22f23adc2eb183c8cb1557d2fcc5a024e80b094"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c0503c5b681566e8b722fe8c4c47cce5c7a51f6935d5c7012c4aefe952a35eed"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:734c41f9f57cc28658d98270d3436dba65bed0cfc730d115b290e970150c540d"}, - {file = "rpds_py-0.10.6-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a5d7ed104d158c0042a6a73799cf0eb576dfd5fc1ace9c47996e52320c37cb7c"}, - {file = "rpds_py-0.10.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:e3df0bc35e746cce42579826b89579d13fd27c3d5319a6afca9893a9b784ff1b"}, - {file = "rpds_py-0.10.6-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:73e0a78a9b843b8c2128028864901f55190401ba38aae685350cf69b98d9f7c9"}, - {file = "rpds_py-0.10.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5ed505ec6305abd2c2c9586a7b04fbd4baf42d4d684a9c12ec6110deefe2a063"}, - {file = "rpds_py-0.10.6-cp310-none-win32.whl", hash = "sha256:d97dd44683802000277bbf142fd9f6b271746b4846d0acaf0cefa6b2eaf2a7ad"}, - {file = "rpds_py-0.10.6-cp310-none-win_amd64.whl", hash = "sha256:b455492cab07107bfe8711e20cd920cc96003e0da3c1f91297235b1603d2aca7"}, - {file = "rpds_py-0.10.6-cp311-cp311-macosx_10_7_x86_64.whl", hash = "sha256:e8cdd52744f680346ff8c1ecdad5f4d11117e1724d4f4e1874f3a67598821069"}, - {file = "rpds_py-0.10.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:66414dafe4326bca200e165c2e789976cab2587ec71beb80f59f4796b786a238"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cc435d059f926fdc5b05822b1be4ff2a3a040f3ae0a7bbbe672babb468944722"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8e7f2219cb72474571974d29a191714d822e58be1eb171f229732bc6fdedf0ac"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3953c6926a63f8ea5514644b7afb42659b505ece4183fdaaa8f61d978754349e"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2bb2e4826be25e72013916eecd3d30f66fd076110de09f0e750163b416500721"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7bf347b495b197992efc81a7408e9a83b931b2f056728529956a4d0858608b80"}, - {file = "rpds_py-0.10.6-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:102eac53bb0bf0f9a275b438e6cf6904904908562a1463a6fc3323cf47d7a532"}, - {file = "rpds_py-0.10.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:40f93086eef235623aa14dbddef1b9fb4b22b99454cb39a8d2e04c994fb9868c"}, - {file = "rpds_py-0.10.6-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e22260a4741a0e7a206e175232867b48a16e0401ef5bce3c67ca5b9705879066"}, - {file = "rpds_py-0.10.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f4e56860a5af16a0fcfa070a0a20c42fbb2012eed1eb5ceeddcc7f8079214281"}, - {file = "rpds_py-0.10.6-cp311-none-win32.whl", hash = "sha256:0774a46b38e70fdde0c6ded8d6d73115a7c39d7839a164cc833f170bbf539116"}, - {file = "rpds_py-0.10.6-cp311-none-win_amd64.whl", hash = "sha256:4a5ee600477b918ab345209eddafde9f91c0acd931f3776369585a1c55b04c57"}, - {file = "rpds_py-0.10.6-cp312-cp312-macosx_10_7_x86_64.whl", hash = "sha256:5ee97c683eaface61d38ec9a489e353d36444cdebb128a27fe486a291647aff6"}, - {file = "rpds_py-0.10.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0713631d6e2d6c316c2f7b9320a34f44abb644fc487b77161d1724d883662e31"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b5a53f5998b4bbff1cb2e967e66ab2addc67326a274567697379dd1e326bded7"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6a555ae3d2e61118a9d3e549737bb4a56ff0cec88a22bd1dfcad5b4e04759175"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:945eb4b6bb8144909b203a88a35e0a03d22b57aefb06c9b26c6e16d72e5eb0f0"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:52c215eb46307c25f9fd2771cac8135d14b11a92ae48d17968eda5aa9aaf5071"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c1b3cd23d905589cb205710b3988fc8f46d4a198cf12862887b09d7aaa6bf9b9"}, - {file = "rpds_py-0.10.6-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:64ccc28683666672d7c166ed465c09cee36e306c156e787acef3c0c62f90da5a"}, - {file = "rpds_py-0.10.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:516a611a2de12fbea70c78271e558f725c660ce38e0006f75139ba337d56b1f6"}, - {file = "rpds_py-0.10.6-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:9ff93d3aedef11f9c4540cf347f8bb135dd9323a2fc705633d83210d464c579d"}, - {file = "rpds_py-0.10.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d858532212f0650be12b6042ff4378dc2efbb7792a286bee4489eaa7ba010586"}, - {file = "rpds_py-0.10.6-cp312-none-win32.whl", hash = "sha256:3c4eff26eddac49d52697a98ea01b0246e44ca82ab09354e94aae8823e8bda02"}, - {file = "rpds_py-0.10.6-cp312-none-win_amd64.whl", hash = "sha256:150eec465dbc9cbca943c8e557a21afdcf9bab8aaabf386c44b794c2f94143d2"}, - {file = "rpds_py-0.10.6-cp38-cp38-macosx_10_7_x86_64.whl", hash = "sha256:cf693eb4a08eccc1a1b636e4392322582db2a47470d52e824b25eca7a3977b53"}, - {file = "rpds_py-0.10.6-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4134aa2342f9b2ab6c33d5c172e40f9ef802c61bb9ca30d21782f6e035ed0043"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e782379c2028a3611285a795b89b99a52722946d19fc06f002f8b53e3ea26ea9"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2f6da6d842195fddc1cd34c3da8a40f6e99e4a113918faa5e60bf132f917c247"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b4a9fe992887ac68256c930a2011255bae0bf5ec837475bc6f7edd7c8dfa254e"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b788276a3c114e9f51e257f2a6f544c32c02dab4aa7a5816b96444e3f9ffc336"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:caa1afc70a02645809c744eefb7d6ee8fef7e2fad170ffdeacca267fd2674f13"}, - {file = "rpds_py-0.10.6-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:bddd4f91eede9ca5275e70479ed3656e76c8cdaaa1b354e544cbcf94c6fc8ac4"}, - {file = "rpds_py-0.10.6-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:775049dfa63fb58293990fc59473e659fcafd953bba1d00fc5f0631a8fd61977"}, - {file = "rpds_py-0.10.6-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:c6c45a2d2b68c51fe3d9352733fe048291e483376c94f7723458cfd7b473136b"}, - {file = "rpds_py-0.10.6-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:0699ab6b8c98df998c3eacf51a3b25864ca93dab157abe358af46dc95ecd9801"}, - {file = "rpds_py-0.10.6-cp38-none-win32.whl", hash = "sha256:ebdab79f42c5961682654b851f3f0fc68e6cc7cd8727c2ac4ffff955154123c1"}, - {file = "rpds_py-0.10.6-cp38-none-win_amd64.whl", hash = "sha256:24656dc36f866c33856baa3ab309da0b6a60f37d25d14be916bd3e79d9f3afcf"}, - {file = "rpds_py-0.10.6-cp39-cp39-macosx_10_7_x86_64.whl", hash = "sha256:0898173249141ee99ffcd45e3829abe7bcee47d941af7434ccbf97717df020e5"}, - {file = "rpds_py-0.10.6-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:9e9184fa6c52a74a5521e3e87badbf9692549c0fcced47443585876fcc47e469"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5752b761902cd15073a527b51de76bbae63d938dc7c5c4ad1e7d8df10e765138"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:99a57006b4ec39dbfb3ed67e5b27192792ffb0553206a107e4aadb39c5004cd5"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:09586f51a215d17efdb3a5f090d7cbf1633b7f3708f60a044757a5d48a83b393"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e225a6a14ecf44499aadea165299092ab0cba918bb9ccd9304eab1138844490b"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b2039f8d545f20c4e52713eea51a275e62153ee96c8035a32b2abb772b6fc9e5"}, - {file = "rpds_py-0.10.6-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:34ad87a831940521d462ac11f1774edf867c34172010f5390b2f06b85dcc6014"}, - {file = "rpds_py-0.10.6-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:dcdc88b6b01015da066da3fb76545e8bb9a6880a5ebf89e0f0b2e3ca557b3ab7"}, - {file = "rpds_py-0.10.6-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:25860ed5c4e7f5e10c496ea78af46ae8d8468e0be745bd233bab9ca99bfd2647"}, - {file = "rpds_py-0.10.6-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:7854a207ef77319ec457c1eb79c361b48807d252d94348305db4f4b62f40f7f3"}, - {file = "rpds_py-0.10.6-cp39-none-win32.whl", hash = "sha256:e6fcc026a3f27c1282c7ed24b7fcac82cdd70a0e84cc848c0841a3ab1e3dea2d"}, - {file = "rpds_py-0.10.6-cp39-none-win_amd64.whl", hash = "sha256:e98c4c07ee4c4b3acf787e91b27688409d918212dfd34c872201273fdd5a0e18"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-macosx_10_7_x86_64.whl", hash = "sha256:68fe9199184c18d997d2e4293b34327c0009a78599ce703e15cd9a0f47349bba"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:3339eca941568ed52d9ad0f1b8eb9fe0958fa245381747cecf2e9a78a5539c42"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a360cfd0881d36c6dc271992ce1eda65dba5e9368575663de993eeb4523d895f"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:031f76fc87644a234883b51145e43985aa2d0c19b063e91d44379cd2786144f8"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1f36a9d751f86455dc5278517e8b65580eeee37d61606183897f122c9e51cef3"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:052a832078943d2b2627aea0d19381f607fe331cc0eb5df01991268253af8417"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:023574366002bf1bd751ebaf3e580aef4a468b3d3c216d2f3f7e16fdabd885ed"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:defa2c0c68734f4a82028c26bcc85e6b92cced99866af118cd6a89b734ad8e0d"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:879fb24304ead6b62dbe5034e7b644b71def53c70e19363f3c3be2705c17a3b4"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-musllinux_1_2_i686.whl", hash = "sha256:53c43e10d398e365da2d4cc0bcaf0854b79b4c50ee9689652cdc72948e86f487"}, - {file = "rpds_py-0.10.6-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:3777cc9dea0e6c464e4b24760664bd8831738cc582c1d8aacf1c3f546bef3f65"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-macosx_10_7_x86_64.whl", hash = "sha256:40578a6469e5d1df71b006936ce95804edb5df47b520c69cf5af264d462f2cbb"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:cf71343646756a072b85f228d35b1d7407da1669a3de3cf47f8bbafe0c8183a4"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:10f32b53f424fc75ff7b713b2edb286fdbfc94bf16317890260a81c2c00385dc"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:81de24a1c51cfb32e1fbf018ab0bdbc79c04c035986526f76c33e3f9e0f3356c"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ac17044876e64a8ea20ab132080ddc73b895b4abe9976e263b0e30ee5be7b9c2"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5e8a78bd4879bff82daef48c14d5d4057f6856149094848c3ed0ecaf49f5aec2"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:78ca33811e1d95cac8c2e49cb86c0fb71f4d8409d8cbea0cb495b6dbddb30a55"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c63c3ef43f0b3fb00571cff6c3967cc261c0ebd14a0a134a12e83bdb8f49f21f"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:7fde6d0e00b2fd0dbbb40c0eeec463ef147819f23725eda58105ba9ca48744f4"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-musllinux_1_2_i686.whl", hash = "sha256:79edd779cfc46b2e15b0830eecd8b4b93f1a96649bcb502453df471a54ce7977"}, - {file = "rpds_py-0.10.6-pp38-pypy38_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:9164ec8010327ab9af931d7ccd12ab8d8b5dc2f4c6a16cbdd9d087861eaaefa1"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-macosx_10_7_x86_64.whl", hash = "sha256:d29ddefeab1791e3c751e0189d5f4b3dbc0bbe033b06e9c333dca1f99e1d523e"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:30adb75ecd7c2a52f5e76af50644b3e0b5ba036321c390b8e7ec1bb2a16dd43c"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dd609fafdcdde6e67a139898196698af37438b035b25ad63704fd9097d9a3482"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6eef672de005736a6efd565577101277db6057f65640a813de6c2707dc69f396"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6cf4393c7b41abbf07c88eb83e8af5013606b1cdb7f6bc96b1b3536b53a574b8"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ad857f42831e5b8d41a32437f88d86ead6c191455a3499c4b6d15e007936d4cf"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1d7360573f1e046cb3b0dceeb8864025aa78d98be4bb69f067ec1c40a9e2d9df"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d08f63561c8a695afec4975fae445245386d645e3e446e6f260e81663bfd2e38"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:f0f17f2ce0f3529177a5fff5525204fad7b43dd437d017dd0317f2746773443d"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-musllinux_1_2_i686.whl", hash = "sha256:442626328600bde1d09dc3bb00434f5374948838ce75c41a52152615689f9403"}, - {file = "rpds_py-0.10.6-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:e9616f5bd2595f7f4a04b67039d890348ab826e943a9bfdbe4938d0eba606971"}, - {file = "rpds_py-0.10.6.tar.gz", hash = "sha256:4ce5a708d65a8dbf3748d2474b580d606b1b9f91b5c6ab2a316e0b0cf7a4ba50"}, + {file = "rpds_py-0.13.2-cp310-cp310-macosx_10_7_x86_64.whl", hash = "sha256:1ceebd0ae4f3e9b2b6b553b51971921853ae4eebf3f54086be0565d59291e53d"}, + {file = "rpds_py-0.13.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:46e1ed994a0920f350a4547a38471217eb86f57377e9314fbaaa329b71b7dfe3"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee353bb51f648924926ed05e0122b6a0b1ae709396a80eb583449d5d477fcdf7"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:530190eb0cd778363bbb7596612ded0bb9fef662daa98e9d92a0419ab27ae914"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:29d311e44dd16d2434d5506d57ef4d7036544fc3c25c14b6992ef41f541b10fb"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2e72f750048b32d39e87fc85c225c50b2a6715034848dbb196bf3348aa761fa1"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:db09b98c7540df69d4b47218da3fbd7cb466db0fb932e971c321f1c76f155266"}, + {file = "rpds_py-0.13.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2ac26f50736324beb0282c819668328d53fc38543fa61eeea2c32ea8ea6eab8d"}, + {file = "rpds_py-0.13.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:12ecf89bd54734c3c2c79898ae2021dca42750c7bcfb67f8fb3315453738ac8f"}, + {file = "rpds_py-0.13.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:3a44c8440183b43167fd1a0819e8356692bf5db1ad14ce140dbd40a1485f2dea"}, + {file = "rpds_py-0.13.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:bcef4f2d3dc603150421de85c916da19471f24d838c3c62a4f04c1eb511642c1"}, + {file = "rpds_py-0.13.2-cp310-none-win32.whl", hash = "sha256:ee6faebb265e28920a6f23a7d4c362414b3f4bb30607141d718b991669e49ddc"}, + {file = "rpds_py-0.13.2-cp310-none-win_amd64.whl", hash = "sha256:ac96d67b37f28e4b6ecf507c3405f52a40658c0a806dffde624a8fcb0314d5fd"}, + {file = "rpds_py-0.13.2-cp311-cp311-macosx_10_7_x86_64.whl", hash = "sha256:b5f6328e8e2ae8238fc767703ab7b95785521c42bb2b8790984e3477d7fa71ad"}, + {file = "rpds_py-0.13.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:729408136ef8d45a28ee9a7411917c9e3459cf266c7e23c2f7d4bb8ef9e0da42"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:65cfed9c807c27dee76407e8bb29e6f4e391e436774bcc769a037ff25ad8646e"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:aefbdc934115d2f9278f153952003ac52cd2650e7313750390b334518c589568"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d48db29bd47814671afdd76c7652aefacc25cf96aad6daefa82d738ee87461e2"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3c55d7f2d817183d43220738270efd3ce4e7a7b7cbdaefa6d551ed3d6ed89190"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6aadae3042f8e6db3376d9e91f194c606c9a45273c170621d46128f35aef7cd0"}, + {file = "rpds_py-0.13.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5feae2f9aa7270e2c071f488fab256d768e88e01b958f123a690f1cc3061a09c"}, + {file = "rpds_py-0.13.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:51967a67ea0d7b9b5cd86036878e2d82c0b6183616961c26d825b8c994d4f2c8"}, + {file = "rpds_py-0.13.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:4d0c10d803549427f427085ed7aebc39832f6e818a011dcd8785e9c6a1ba9b3e"}, + {file = "rpds_py-0.13.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:603d5868f7419081d616dab7ac3cfa285296735e7350f7b1e4f548f6f953ee7d"}, + {file = "rpds_py-0.13.2-cp311-none-win32.whl", hash = "sha256:b8996ffb60c69f677245f5abdbcc623e9442bcc91ed81b6cd6187129ad1fa3e7"}, + {file = "rpds_py-0.13.2-cp311-none-win_amd64.whl", hash = "sha256:5379e49d7e80dca9811b36894493d1c1ecb4c57de05c36f5d0dd09982af20211"}, + {file = "rpds_py-0.13.2-cp312-cp312-macosx_10_7_x86_64.whl", hash = "sha256:8a776a29b77fe0cc28fedfd87277b0d0f7aa930174b7e504d764e0b43a05f381"}, + {file = "rpds_py-0.13.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2a1472956c5bcc49fb0252b965239bffe801acc9394f8b7c1014ae9258e4572b"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f252dfb4852a527987a9156cbcae3022a30f86c9d26f4f17b8c967d7580d65d2"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f0d320e70b6b2300ff6029e234e79fe44e9dbbfc7b98597ba28e054bd6606a57"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ade2ccb937060c299ab0dfb2dea3d2ddf7e098ed63ee3d651ebfc2c8d1e8632a"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b9d121be0217787a7d59a5c6195b0842d3f701007333426e5154bf72346aa658"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8fa6bd071ec6d90f6e7baa66ae25820d57a8ab1b0a3c6d3edf1834d4b26fafa2"}, + {file = "rpds_py-0.13.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c918621ee0a3d1fe61c313f2489464f2ae3d13633e60f520a8002a5e910982ee"}, + {file = "rpds_py-0.13.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:25b28b3d33ec0a78e944aaaed7e5e2a94ac811bcd68b557ca48a0c30f87497d2"}, + {file = "rpds_py-0.13.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:31e220a040b89a01505128c2f8a59ee74732f666439a03e65ccbf3824cdddae7"}, + {file = "rpds_py-0.13.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:15253fff410873ebf3cfba1cc686a37711efcd9b8cb30ea21bb14a973e393f60"}, + {file = "rpds_py-0.13.2-cp312-none-win32.whl", hash = "sha256:b981a370f8f41c4024c170b42fbe9e691ae2dbc19d1d99151a69e2c84a0d194d"}, + {file = "rpds_py-0.13.2-cp312-none-win_amd64.whl", hash = "sha256:4c4e314d36d4f31236a545696a480aa04ea170a0b021e9a59ab1ed94d4c3ef27"}, + {file = "rpds_py-0.13.2-cp38-cp38-macosx_10_7_x86_64.whl", hash = "sha256:80e5acb81cb49fd9f2d5c08f8b74ffff14ee73b10ca88297ab4619e946bcb1e1"}, + {file = "rpds_py-0.13.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:efe093acc43e869348f6f2224df7f452eab63a2c60a6c6cd6b50fd35c4e075ba"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8c2a61c0e4811012b0ba9f6cdcb4437865df5d29eab5d6018ba13cee1c3064a0"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:751758d9dd04d548ec679224cc00e3591f5ebf1ff159ed0d4aba6a0746352452"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6ba8858933f0c1a979781272a5f65646fca8c18c93c99c6ddb5513ad96fa54b1"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bfdfbe6a36bc3059fff845d64c42f2644cf875c65f5005db54f90cdfdf1df815"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aa0379c1935c44053c98826bc99ac95f3a5355675a297ac9ce0dfad0ce2d50ca"}, + {file = "rpds_py-0.13.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d5593855b5b2b73dd8413c3fdfa5d95b99d657658f947ba2c4318591e745d083"}, + {file = "rpds_py-0.13.2-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:2a7bef6977043673750a88da064fd513f89505111014b4e00fbdd13329cd4e9a"}, + {file = "rpds_py-0.13.2-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:3ab96754d23372009638a402a1ed12a27711598dd49d8316a22597141962fe66"}, + {file = "rpds_py-0.13.2-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:e06cfea0ece444571d24c18ed465bc93afb8c8d8d74422eb7026662f3d3f779b"}, + {file = "rpds_py-0.13.2-cp38-none-win32.whl", hash = "sha256:5493569f861fb7b05af6d048d00d773c6162415ae521b7010197c98810a14cab"}, + {file = "rpds_py-0.13.2-cp38-none-win_amd64.whl", hash = "sha256:b07501b720cf060c5856f7b5626e75b8e353b5f98b9b354a21eb4bfa47e421b1"}, + {file = "rpds_py-0.13.2-cp39-cp39-macosx_10_7_x86_64.whl", hash = "sha256:881df98f0a8404d32b6de0fd33e91c1b90ed1516a80d4d6dc69d414b8850474c"}, + {file = "rpds_py-0.13.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d79c159adea0f1f4617f54aa156568ac69968f9ef4d1e5fefffc0a180830308e"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:38d4f822ee2f338febcc85aaa2547eb5ba31ba6ff68d10b8ec988929d23bb6b4"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5d75d6d220d55cdced2f32cc22f599475dbe881229aeddba6c79c2e9df35a2b3"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5d97e9ae94fb96df1ee3cb09ca376c34e8a122f36927230f4c8a97f469994bff"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:67a429520e97621a763cf9b3ba27574779c4e96e49a27ff8a1aa99ee70beb28a"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:188435794405c7f0573311747c85a96b63c954a5f2111b1df8018979eca0f2f0"}, + {file = "rpds_py-0.13.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:38f9bf2ad754b4a45b8210a6c732fe876b8a14e14d5992a8c4b7c1ef78740f53"}, + {file = "rpds_py-0.13.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:a6ba2cb7d676e9415b9e9ac7e2aae401dc1b1e666943d1f7bc66223d3d73467b"}, + {file = "rpds_py-0.13.2-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:eaffbd8814bb1b5dc3ea156a4c5928081ba50419f9175f4fc95269e040eff8f0"}, + {file = "rpds_py-0.13.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:5a4c1058cdae6237d97af272b326e5f78ee7ee3bbffa6b24b09db4d828810468"}, + {file = "rpds_py-0.13.2-cp39-none-win32.whl", hash = "sha256:b5267feb19070bef34b8dea27e2b504ebd9d31748e3ecacb3a4101da6fcb255c"}, + {file = "rpds_py-0.13.2-cp39-none-win_amd64.whl", hash = "sha256:ddf23960cb42b69bce13045d5bc66f18c7d53774c66c13f24cf1b9c144ba3141"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-macosx_10_7_x86_64.whl", hash = "sha256:97163a1ab265a1073a6372eca9f4eeb9f8c6327457a0b22ddfc4a17dcd613e74"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:25ea41635d22b2eb6326f58e608550e55d01df51b8a580ea7e75396bafbb28e9"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76d59d4d451ba77f08cb4cd9268dec07be5bc65f73666302dbb5061989b17198"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e7c564c58cf8f248fe859a4f0fe501b050663f3d7fbc342172f259124fb59933"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:61dbc1e01dc0c5875da2f7ae36d6e918dc1b8d2ce04e871793976594aad8a57a"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fdb82eb60d31b0c033a8e8ee9f3fc7dfbaa042211131c29da29aea8531b4f18f"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d204957169f0b3511fb95395a9da7d4490fb361763a9f8b32b345a7fe119cb45"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c45008ca79bad237cbc03c72bc5205e8c6f66403773929b1b50f7d84ef9e4d07"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:79bf58c08f0756adba691d480b5a20e4ad23f33e1ae121584cf3a21717c36dfa"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-musllinux_1_2_i686.whl", hash = "sha256:e86593bf8637659e6a6ed58854b6c87ec4e9e45ee8a4adfd936831cef55c2d21"}, + {file = "rpds_py-0.13.2-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:d329896c40d9e1e5c7715c98529e4a188a1f2df51212fd65102b32465612b5dc"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-macosx_10_7_x86_64.whl", hash = "sha256:4a5375c5fff13f209527cd886dc75394f040c7d1ecad0a2cb0627f13ebe78a12"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:06d218e4464d31301e943b65b2c6919318ea6f69703a351961e1baaf60347276"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c1f41d32a2ddc5a94df4b829b395916a4b7f103350fa76ba6de625fcb9e773ac"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6bc568b05e02cd612be53900c88aaa55012e744930ba2eeb56279db4c6676eb3"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d94d78418203904730585efa71002286ac4c8ac0689d0eb61e3c465f9e608ff"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bed0252c85e21cf73d2d033643c945b460d6a02fc4a7d644e3b2d6f5f2956c64"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:244e173bb6d8f3b2f0c4d7370a1aa341f35da3e57ffd1798e5b2917b91731fd3"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7f55cd9cf1564b7b03f238e4c017ca4794c05b01a783e9291065cb2858d86ce4"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:f03a1b3a4c03e3e0161642ac5367f08479ab29972ea0ffcd4fa18f729cd2be0a"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-musllinux_1_2_i686.whl", hash = "sha256:f5f4424cb87a20b016bfdc157ff48757b89d2cc426256961643d443c6c277007"}, + {file = "rpds_py-0.13.2-pp38-pypy38_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:c82bbf7e03748417c3a88c1b0b291288ce3e4887a795a3addaa7a1cfd9e7153e"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-macosx_10_7_x86_64.whl", hash = "sha256:c0095b8aa3e432e32d372e9a7737e65b58d5ed23b9620fea7cb81f17672f1fa1"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:4c2d26aa03d877c9730bf005621c92da263523a1e99247590abbbe252ccb7824"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:96f2975fb14f39c5fe75203f33dd3010fe37d1c4e33177feef1107b5ced750e3"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:4dcc5ee1d0275cb78d443fdebd0241e58772a354a6d518b1d7af1580bbd2c4e8"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:61d42d2b08430854485135504f672c14d4fc644dd243a9c17e7c4e0faf5ed07e"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d3a61e928feddc458a55110f42f626a2a20bea942ccedb6fb4cee70b4830ed41"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7de12b69d95072394998c622cfd7e8cea8f560db5fca6a62a148f902a1029f8b"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:87a90f5545fd61f6964e65eebde4dc3fa8660bb7d87adb01d4cf17e0a2b484ad"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:9c95a1a290f9acf7a8f2ebbdd183e99215d491beea52d61aa2a7a7d2c618ddc6"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-musllinux_1_2_i686.whl", hash = "sha256:35f53c76a712e323c779ca39b9a81b13f219a8e3bc15f106ed1e1462d56fcfe9"}, + {file = "rpds_py-0.13.2-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:96fb0899bb2ab353f42e5374c8f0789f54e0a94ef2f02b9ac7149c56622eaf31"}, + {file = "rpds_py-0.13.2.tar.gz", hash = "sha256:f8eae66a1304de7368932b42d801c67969fd090ddb1a7a24f27b435ed4bed68f"}, ] [[package]] @@ -2352,17 +2610,17 @@ files = [ [[package]] name = "setuptools" -version = "68.2.2" +version = "69.0.2" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "setuptools-68.2.2-py3-none-any.whl", hash = "sha256:b454a35605876da60632df1a60f736524eb73cc47bbc9f3f1ef1b644de74fd2a"}, - {file = "setuptools-68.2.2.tar.gz", hash = "sha256:4ac1475276d2f1c48684874089fefcd83bd7162ddaafb81fac866ba0db282a87"}, + {file = "setuptools-69.0.2-py3-none-any.whl", hash = "sha256:1e8fdff6797d3865f37397be788a4e3cba233608e9b509382a2777d25ebde7f2"}, + {file = "setuptools-69.0.2.tar.gz", hash = "sha256:735896e78a4742605974de002ac60562d286fa8051a7e2299445e8e8fbb01aa6"}, ] [package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.1)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] @@ -2399,6 +2657,17 @@ files = [ {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, ] +[[package]] +name = "tomlkit" +version = "0.12.3" +description = "Style preserving TOML library" +optional = false +python-versions = ">=3.7" +files = [ + {file = "tomlkit-0.12.3-py3-none-any.whl", hash = "sha256:b0a645a9156dc7cb5d3a1f0d4bab66db287fcb8e0430bdd4664a095ea16414ba"}, + {file = "tomlkit-0.12.3.tar.gz", hash = "sha256:75baf5012d06501f07bee5bf8e801b9f343e7aac5a92581f20f80ce632e6b5a4"}, +] + [[package]] name = "toolz" version = "0.12.0" @@ -2412,13 +2681,13 @@ files = [ [[package]] name = "typing-extensions" -version = "4.8.0" +version = "4.9.0" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" files = [ - {file = "typing_extensions-4.8.0-py3-none-any.whl", hash = "sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0"}, - {file = "typing_extensions-4.8.0.tar.gz", hash = "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef"}, + {file = "typing_extensions-4.9.0-py3-none-any.whl", hash = "sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd"}, + {file = "typing_extensions-4.9.0.tar.gz", hash = "sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783"}, ] [[package]] @@ -2439,19 +2708,19 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] [[package]] name = "virtualenv" -version = "20.24.6" +version = "20.25.0" description = "Virtual Python Environment builder" optional = false python-versions = ">=3.7" files = [ - {file = "virtualenv-20.24.6-py3-none-any.whl", hash = "sha256:520d056652454c5098a00c0f073611ccbea4c79089331f60bf9d7ba247bb7381"}, - {file = "virtualenv-20.24.6.tar.gz", hash = "sha256:02ece4f56fbf939dbbc33c0715159951d6bf14aaf5457b092e4548e1382455af"}, + {file = "virtualenv-20.25.0-py3-none-any.whl", hash = "sha256:4238949c5ffe6876362d9c0180fc6c3a824a7b12b80604eeb8085f2ed7460de3"}, + {file = "virtualenv-20.25.0.tar.gz", hash = "sha256:bf51c0d9c7dd63ea8e44086fa1e4fb1093a31e963b86959257378aef020e1f1b"}, ] [package.dependencies] distlib = ">=0.3.7,<1" filelock = ">=3.12.2,<4" -platformdirs = ">=3.9.1,<4" +platformdirs = ">=3.9.1,<5" [package.extras] docs = ["furo (>=2023.7.26)", "proselint (>=0.13)", "sphinx (>=7.1.2)", "sphinx-argparse (>=0.4)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=23.6)"] @@ -2459,13 +2728,13 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [[package]] name = "web3" -version = "6.11.1" +version = "6.11.4" description = "web3.py" optional = false python-versions = ">=3.7.2" files = [ - {file = "web3-6.11.1-py3-none-any.whl", hash = "sha256:0d39f58cbb0c652b45e711f01e01ec655117b47ba4eefd1f9550c52d205afa8c"}, - {file = "web3-6.11.1.tar.gz", hash = "sha256:d301d7120922d5b9e5c9535ef9780012ea25ea4011c2b177490ba7d3ef886b92"}, + {file = "web3-6.11.4-py3-none-any.whl", hash = "sha256:b63d461c6d48e9ec12ed22c293c1d22ef83d1ec650c570e70fc24a6432b1b4a3"}, + {file = "web3-6.11.4.tar.gz", hash = "sha256:5bf785e63868c271ebee05a9ab257858630a0b105d34872cfe6a6049a887fec6"}, ] [package.dependencies] @@ -2477,7 +2746,7 @@ eth-typing = ">=3.0.0" eth-utils = ">=2.1.0" hexbytes = ">=0.1.0,<0.4.0" jsonschema = ">=4.0.0" -lru-dict = ">=1.1.6" +lru-dict = ">=1.1.6,<1.3.0" protobuf = ">=4.21.6" pyunormalize = ">=15.0.0" pywin32 = {version = ">=223", markers = "platform_system == \"Windows\""} @@ -2573,87 +2842,117 @@ files = [ {file = "websockets-12.0.tar.gz", hash = "sha256:81df9cbcbb6c260de1e007e58c011bfebe2dafc8435107b0537f393dd38c8b1b"}, ] +[[package]] +name = "yarg" +version = "0.1.9" +description = "A semi hard Cornish cheese, also queries PyPI (PyPI client)" +optional = false +python-versions = "*" +files = [ + {file = "yarg-0.1.9-py2.py3-none-any.whl", hash = "sha256:4f9cebdc00fac946c9bf2783d634e538a71c7d280a4d806d45fd4dc0ef441492"}, + {file = "yarg-0.1.9.tar.gz", hash = "sha256:55695bf4d1e3e7f756496c36a69ba32c40d18f821e38f61d028f6049e5e15911"}, +] + +[package.dependencies] +requests = "*" + [[package]] name = "yarl" -version = "1.9.2" +version = "1.9.4" description = "Yet another URL library" optional = false python-versions = ">=3.7" files = [ - {file = "yarl-1.9.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8c2ad583743d16ddbdf6bb14b5cd76bf43b0d0006e918809d5d4ddf7bde8dd82"}, - {file = "yarl-1.9.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:82aa6264b36c50acfb2424ad5ca537a2060ab6de158a5bd2a72a032cc75b9eb8"}, - {file = "yarl-1.9.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c0c77533b5ed4bcc38e943178ccae29b9bcf48ffd1063f5821192f23a1bd27b9"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee4afac41415d52d53a9833ebae7e32b344be72835bbb589018c9e938045a560"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9bf345c3a4f5ba7f766430f97f9cc1320786f19584acc7086491f45524a551ac"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2a96c19c52ff442a808c105901d0bdfd2e28575b3d5f82e2f5fd67e20dc5f4ea"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:891c0e3ec5ec881541f6c5113d8df0315ce5440e244a716b95f2525b7b9f3608"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c3a53ba34a636a256d767c086ceb111358876e1fb6b50dfc4d3f4951d40133d5"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:566185e8ebc0898b11f8026447eacd02e46226716229cea8db37496c8cdd26e0"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:2b0738fb871812722a0ac2154be1f049c6223b9f6f22eec352996b69775b36d4"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:32f1d071b3f362c80f1a7d322bfd7b2d11e33d2adf395cc1dd4df36c9c243095"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:e9fdc7ac0d42bc3ea78818557fab03af6181e076a2944f43c38684b4b6bed8e3"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:56ff08ab5df8429901ebdc5d15941b59f6253393cb5da07b4170beefcf1b2528"}, - {file = "yarl-1.9.2-cp310-cp310-win32.whl", hash = "sha256:8ea48e0a2f931064469bdabca50c2f578b565fc446f302a79ba6cc0ee7f384d3"}, - {file = "yarl-1.9.2-cp310-cp310-win_amd64.whl", hash = "sha256:50f33040f3836e912ed16d212f6cc1efb3231a8a60526a407aeb66c1c1956dde"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:646d663eb2232d7909e6601f1a9107e66f9791f290a1b3dc7057818fe44fc2b6"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:aff634b15beff8902d1f918012fc2a42e0dbae6f469fce134c8a0dc51ca423bb"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a83503934c6273806aed765035716216cc9ab4e0364f7f066227e1aaea90b8d0"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b25322201585c69abc7b0e89e72790469f7dad90d26754717f3310bfe30331c2"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:22a94666751778629f1ec4280b08eb11815783c63f52092a5953faf73be24191"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8ec53a0ea2a80c5cd1ab397925f94bff59222aa3cf9c6da938ce05c9ec20428d"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:159d81f22d7a43e6eabc36d7194cb53f2f15f498dbbfa8edc8a3239350f59fe7"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:832b7e711027c114d79dffb92576acd1bd2decc467dec60e1cac96912602d0e6"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:95d2ecefbcf4e744ea952d073c6922e72ee650ffc79028eb1e320e732898d7e8"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:d4e2c6d555e77b37288eaf45b8f60f0737c9efa3452c6c44626a5455aeb250b9"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:783185c75c12a017cc345015ea359cc801c3b29a2966c2655cd12b233bf5a2be"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:b8cc1863402472f16c600e3e93d542b7e7542a540f95c30afd472e8e549fc3f7"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:822b30a0f22e588b32d3120f6d41e4ed021806418b4c9f0bc3048b8c8cb3f92a"}, - {file = "yarl-1.9.2-cp311-cp311-win32.whl", hash = "sha256:a60347f234c2212a9f0361955007fcf4033a75bf600a33c88a0a8e91af77c0e8"}, - {file = "yarl-1.9.2-cp311-cp311-win_amd64.whl", hash = "sha256:be6b3fdec5c62f2a67cb3f8c6dbf56bbf3f61c0f046f84645cd1ca73532ea051"}, - {file = "yarl-1.9.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:38a3928ae37558bc1b559f67410df446d1fbfa87318b124bf5032c31e3447b74"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ac9bb4c5ce3975aeac288cfcb5061ce60e0d14d92209e780c93954076c7c4367"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3da8a678ca8b96c8606bbb8bfacd99a12ad5dd288bc6f7979baddd62f71c63ef"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:13414591ff516e04fcdee8dc051c13fd3db13b673c7a4cb1350e6b2ad9639ad3"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bf74d08542c3a9ea97bb8f343d4fcbd4d8f91bba5ec9d5d7f792dbe727f88938"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6e7221580dc1db478464cfeef9b03b95c5852cc22894e418562997df0d074ccc"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:494053246b119b041960ddcd20fd76224149cfea8ed8777b687358727911dd33"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:52a25809fcbecfc63ac9ba0c0fb586f90837f5425edfd1ec9f3372b119585e45"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:e65610c5792870d45d7b68c677681376fcf9cc1c289f23e8e8b39c1485384185"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:1b1bba902cba32cdec51fca038fd53f8beee88b77efc373968d1ed021024cc04"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:662e6016409828ee910f5d9602a2729a8a57d74b163c89a837de3fea050c7582"}, - {file = "yarl-1.9.2-cp37-cp37m-win32.whl", hash = "sha256:f364d3480bffd3aa566e886587eaca7c8c04d74f6e8933f3f2c996b7f09bee1b"}, - {file = "yarl-1.9.2-cp37-cp37m-win_amd64.whl", hash = "sha256:6a5883464143ab3ae9ba68daae8e7c5c95b969462bbe42e2464d60e7e2698368"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5610f80cf43b6202e2c33ba3ec2ee0a2884f8f423c8f4f62906731d876ef4fac"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b9a4e67ad7b646cd6f0938c7ebfd60e481b7410f574c560e455e938d2da8e0f4"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:83fcc480d7549ccebe9415d96d9263e2d4226798c37ebd18c930fce43dfb9574"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5fcd436ea16fee7d4207c045b1e340020e58a2597301cfbcfdbe5abd2356c2fb"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:84e0b1599334b1e1478db01b756e55937d4614f8654311eb26012091be109d59"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3458a24e4ea3fd8930e934c129b676c27452e4ebda80fbe47b56d8c6c7a63a9e"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:838162460b3a08987546e881a2bfa573960bb559dfa739e7800ceeec92e64417"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f4e2d08f07a3d7d3e12549052eb5ad3eab1c349c53ac51c209a0e5991bbada78"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:de119f56f3c5f0e2fb4dee508531a32b069a5f2c6e827b272d1e0ff5ac040333"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:149ddea5abf329752ea5051b61bd6c1d979e13fbf122d3a1f9f0c8be6cb6f63c"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:674ca19cbee4a82c9f54e0d1eee28116e63bc6fd1e96c43031d11cbab8b2afd5"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:9b3152f2f5677b997ae6c804b73da05a39daa6a9e85a512e0e6823d81cdad7cc"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5415d5a4b080dc9612b1b63cba008db84e908b95848369aa1da3686ae27b6d2b"}, - {file = "yarl-1.9.2-cp38-cp38-win32.whl", hash = "sha256:f7a3d8146575e08c29ed1cd287068e6d02f1c7bdff8970db96683b9591b86ee7"}, - {file = "yarl-1.9.2-cp38-cp38-win_amd64.whl", hash = "sha256:63c48f6cef34e6319a74c727376e95626f84ea091f92c0250a98e53e62c77c72"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:75df5ef94c3fdc393c6b19d80e6ef1ecc9ae2f4263c09cacb178d871c02a5ba9"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c027a6e96ef77d401d8d5a5c8d6bc478e8042f1e448272e8d9752cb0aff8b5c8"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f3b078dbe227f79be488ffcfc7a9edb3409d018e0952cf13f15fd6512847f3f7"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:59723a029760079b7d991a401386390c4be5bfec1e7dd83e25a6a0881859e716"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b03917871bf859a81ccb180c9a2e6c1e04d2f6a51d953e6a5cdd70c93d4e5a2a"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c1012fa63eb6c032f3ce5d2171c267992ae0c00b9e164efe4d73db818465fac3"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a74dcbfe780e62f4b5a062714576f16c2f3493a0394e555ab141bf0d746bb955"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c56986609b057b4839968ba901944af91b8e92f1725d1a2d77cbac6972b9ed1"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:2c315df3293cd521033533d242d15eab26583360b58f7ee5d9565f15fee1bef4"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:b7232f8dfbd225d57340e441d8caf8652a6acd06b389ea2d3222b8bc89cbfca6"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:53338749febd28935d55b41bf0bcc79d634881195a39f6b2f767870b72514caf"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:066c163aec9d3d073dc9ffe5dd3ad05069bcb03fcaab8d221290ba99f9f69ee3"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8288d7cd28f8119b07dd49b7230d6b4562f9b61ee9a4ab02221060d21136be80"}, - {file = "yarl-1.9.2-cp39-cp39-win32.whl", hash = "sha256:b124e2a6d223b65ba8768d5706d103280914d61f5cae3afbc50fc3dfcc016623"}, - {file = "yarl-1.9.2-cp39-cp39-win_amd64.whl", hash = "sha256:61016e7d582bc46a5378ffdd02cd0314fb8ba52f40f9cf4d9a5e7dbef88dee18"}, - {file = "yarl-1.9.2.tar.gz", hash = "sha256:04ab9d4b9f587c06d801c2abfe9317b77cdf996c65a90d5e84ecc45010823571"}, + {file = "yarl-1.9.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a8c1df72eb746f4136fe9a2e72b0c9dc1da1cbd23b5372f94b5820ff8ae30e0e"}, + {file = "yarl-1.9.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a3a6ed1d525bfb91b3fc9b690c5a21bb52de28c018530ad85093cc488bee2dd2"}, + {file = "yarl-1.9.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c38c9ddb6103ceae4e4498f9c08fac9b590c5c71b0370f98714768e22ac6fa66"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d9e09c9d74f4566e905a0b8fa668c58109f7624db96a2171f21747abc7524234"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b8477c1ee4bd47c57d49621a062121c3023609f7a13b8a46953eb6c9716ca392"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d5ff2c858f5f6a42c2a8e751100f237c5e869cbde669a724f2062d4c4ef93551"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:357495293086c5b6d34ca9616a43d329317feab7917518bc97a08f9e55648455"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:54525ae423d7b7a8ee81ba189f131054defdb122cde31ff17477951464c1691c"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:801e9264d19643548651b9db361ce3287176671fb0117f96b5ac0ee1c3530d53"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e516dc8baf7b380e6c1c26792610230f37147bb754d6426462ab115a02944385"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:7d5aaac37d19b2904bb9dfe12cdb08c8443e7ba7d2852894ad448d4b8f442863"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:54beabb809ffcacbd9d28ac57b0db46e42a6e341a030293fb3185c409e626b8b"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bac8d525a8dbc2a1507ec731d2867025d11ceadcb4dd421423a5d42c56818541"}, + {file = "yarl-1.9.4-cp310-cp310-win32.whl", hash = "sha256:7855426dfbddac81896b6e533ebefc0af2f132d4a47340cee6d22cac7190022d"}, + {file = "yarl-1.9.4-cp310-cp310-win_amd64.whl", hash = "sha256:848cd2a1df56ddbffeb375535fb62c9d1645dde33ca4d51341378b3f5954429b"}, + {file = "yarl-1.9.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:35a2b9396879ce32754bd457d31a51ff0a9d426fd9e0e3c33394bf4b9036b099"}, + {file = "yarl-1.9.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4c7d56b293cc071e82532f70adcbd8b61909eec973ae9d2d1f9b233f3d943f2c"}, + {file = "yarl-1.9.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d8a1c6c0be645c745a081c192e747c5de06e944a0d21245f4cf7c05e457c36e0"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4b3c1ffe10069f655ea2d731808e76e0f452fc6c749bea04781daf18e6039525"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:549d19c84c55d11687ddbd47eeb348a89df9cb30e1993f1b128f4685cd0ebbf8"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a7409f968456111140c1c95301cadf071bd30a81cbd7ab829169fb9e3d72eae9"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e23a6d84d9d1738dbc6e38167776107e63307dfc8ad108e580548d1f2c587f42"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d8b889777de69897406c9fb0b76cdf2fd0f31267861ae7501d93003d55f54fbe"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:03caa9507d3d3c83bca08650678e25364e1843b484f19986a527630ca376ecce"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:4e9035df8d0880b2f1c7f5031f33f69e071dfe72ee9310cfc76f7b605958ceb9"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:c0ec0ed476f77db9fb29bca17f0a8fcc7bc97ad4c6c1d8959c507decb22e8572"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:ee04010f26d5102399bd17f8df8bc38dc7ccd7701dc77f4a68c5b8d733406958"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:49a180c2e0743d5d6e0b4d1a9e5f633c62eca3f8a86ba5dd3c471060e352ca98"}, + {file = "yarl-1.9.4-cp311-cp311-win32.whl", hash = "sha256:81eb57278deb6098a5b62e88ad8281b2ba09f2f1147c4767522353eaa6260b31"}, + {file = "yarl-1.9.4-cp311-cp311-win_amd64.whl", hash = "sha256:d1d2532b340b692880261c15aee4dc94dd22ca5d61b9db9a8a361953d36410b1"}, + {file = "yarl-1.9.4-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0d2454f0aef65ea81037759be5ca9947539667eecebca092733b2eb43c965a81"}, + {file = "yarl-1.9.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:44d8ffbb9c06e5a7f529f38f53eda23e50d1ed33c6c869e01481d3fafa6b8142"}, + {file = "yarl-1.9.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:aaaea1e536f98754a6e5c56091baa1b6ce2f2700cc4a00b0d49eca8dea471074"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3777ce5536d17989c91696db1d459574e9a9bd37660ea7ee4d3344579bb6f129"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9fc5fc1eeb029757349ad26bbc5880557389a03fa6ada41703db5e068881e5f2"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea65804b5dc88dacd4a40279af0cdadcfe74b3e5b4c897aa0d81cf86927fee78"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aa102d6d280a5455ad6a0f9e6d769989638718e938a6a0a2ff3f4a7ff8c62cc4"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:09efe4615ada057ba2d30df871d2f668af661e971dfeedf0c159927d48bbeff0"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:008d3e808d03ef28542372d01057fd09168419cdc8f848efe2804f894ae03e51"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:6f5cb257bc2ec58f437da2b37a8cd48f666db96d47b8a3115c29f316313654ff"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:992f18e0ea248ee03b5a6e8b3b4738850ae7dbb172cc41c966462801cbf62cf7"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:0e9d124c191d5b881060a9e5060627694c3bdd1fe24c5eecc8d5d7d0eb6faabc"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3986b6f41ad22988e53d5778f91855dc0399b043fc8946d4f2e68af22ee9ff10"}, + {file = "yarl-1.9.4-cp312-cp312-win32.whl", hash = "sha256:4b21516d181cd77ebd06ce160ef8cc2a5e9ad35fb1c5930882baff5ac865eee7"}, + {file = "yarl-1.9.4-cp312-cp312-win_amd64.whl", hash = "sha256:a9bd00dc3bc395a662900f33f74feb3e757429e545d831eef5bb280252631984"}, + {file = "yarl-1.9.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:63b20738b5aac74e239622d2fe30df4fca4942a86e31bf47a81a0e94c14df94f"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7d7f7de27b8944f1fee2c26a88b4dabc2409d2fea7a9ed3df79b67277644e17"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c74018551e31269d56fab81a728f683667e7c28c04e807ba08f8c9e3bba32f14"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ca06675212f94e7a610e85ca36948bb8fc023e458dd6c63ef71abfd482481aa5"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5aef935237d60a51a62b86249839b51345f47564208c6ee615ed2a40878dccdd"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2b134fd795e2322b7684155b7855cc99409d10b2e408056db2b93b51a52accc7"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:d25039a474c4c72a5ad4b52495056f843a7ff07b632c1b92ea9043a3d9950f6e"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:f7d6b36dd2e029b6bcb8a13cf19664c7b8e19ab3a58e0fefbb5b8461447ed5ec"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:957b4774373cf6f709359e5c8c4a0af9f6d7875db657adb0feaf8d6cb3c3964c"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:d7eeb6d22331e2fd42fce928a81c697c9ee2d51400bd1a28803965883e13cead"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:6a962e04b8f91f8c4e5917e518d17958e3bdee71fd1d8b88cdce74dd0ebbf434"}, + {file = "yarl-1.9.4-cp37-cp37m-win32.whl", hash = "sha256:f3bc6af6e2b8f92eced34ef6a96ffb248e863af20ef4fde9448cc8c9b858b749"}, + {file = "yarl-1.9.4-cp37-cp37m-win_amd64.whl", hash = "sha256:ad4d7a90a92e528aadf4965d685c17dacff3df282db1121136c382dc0b6014d2"}, + {file = "yarl-1.9.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:ec61d826d80fc293ed46c9dd26995921e3a82146feacd952ef0757236fc137be"}, + {file = "yarl-1.9.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:8be9e837ea9113676e5754b43b940b50cce76d9ed7d2461df1af39a8ee674d9f"}, + {file = "yarl-1.9.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:bef596fdaa8f26e3d66af846bbe77057237cb6e8efff8cd7cc8dff9a62278bbf"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2d47552b6e52c3319fede1b60b3de120fe83bde9b7bddad11a69fb0af7db32f1"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:84fc30f71689d7fc9168b92788abc977dc8cefa806909565fc2951d02f6b7d57"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4aa9741085f635934f3a2583e16fcf62ba835719a8b2b28fb2917bb0537c1dfa"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:206a55215e6d05dbc6c98ce598a59e6fbd0c493e2de4ea6cc2f4934d5a18d130"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:07574b007ee20e5c375a8fe4a0789fad26db905f9813be0f9fef5a68080de559"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:5a2e2433eb9344a163aced6a5f6c9222c0786e5a9e9cac2c89f0b28433f56e23"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:6ad6d10ed9b67a382b45f29ea028f92d25bc0bc1daf6c5b801b90b5aa70fb9ec"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:6fe79f998a4052d79e1c30eeb7d6c1c1056ad33300f682465e1b4e9b5a188b78"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:a825ec844298c791fd28ed14ed1bffc56a98d15b8c58a20e0e08c1f5f2bea1be"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8619d6915b3b0b34420cf9b2bb6d81ef59d984cb0fde7544e9ece32b4b3043c3"}, + {file = "yarl-1.9.4-cp38-cp38-win32.whl", hash = "sha256:686a0c2f85f83463272ddffd4deb5e591c98aac1897d65e92319f729c320eece"}, + {file = "yarl-1.9.4-cp38-cp38-win_amd64.whl", hash = "sha256:a00862fb23195b6b8322f7d781b0dc1d82cb3bcac346d1e38689370cc1cc398b"}, + {file = "yarl-1.9.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:604f31d97fa493083ea21bd9b92c419012531c4e17ea6da0f65cacdcf5d0bd27"}, + {file = "yarl-1.9.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:8a854227cf581330ffa2c4824d96e52ee621dd571078a252c25e3a3b3d94a1b1"}, + {file = "yarl-1.9.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ba6f52cbc7809cd8d74604cce9c14868306ae4aa0282016b641c661f981a6e91"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a6327976c7c2f4ee6816eff196e25385ccc02cb81427952414a64811037bbc8b"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8397a3817d7dcdd14bb266283cd1d6fc7264a48c186b986f32e86d86d35fbac5"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e0381b4ce23ff92f8170080c97678040fc5b08da85e9e292292aba67fdac6c34"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:23d32a2594cb5d565d358a92e151315d1b2268bc10f4610d098f96b147370136"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ddb2a5c08a4eaaba605340fdee8fc08e406c56617566d9643ad8bf6852778fc7"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:26a1dc6285e03f3cc9e839a2da83bcbf31dcb0d004c72d0730e755b33466c30e"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:18580f672e44ce1238b82f7fb87d727c4a131f3a9d33a5e0e82b793362bf18b4"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:29e0f83f37610f173eb7e7b5562dd71467993495e568e708d99e9d1944f561ec"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:1f23e4fe1e8794f74b6027d7cf19dc25f8b63af1483d91d595d4a07eca1fb26c"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:db8e58b9d79200c76956cefd14d5c90af54416ff5353c5bfd7cbe58818e26ef0"}, + {file = "yarl-1.9.4-cp39-cp39-win32.whl", hash = "sha256:c7224cab95645c7ab53791022ae77a4509472613e839dab722a72abe5a684575"}, + {file = "yarl-1.9.4-cp39-cp39-win_amd64.whl", hash = "sha256:824d6c50492add5da9374875ce72db7a0733b29c2394890aef23d533106e2b15"}, + {file = "yarl-1.9.4-py3-none-any.whl", hash = "sha256:928cecb0ef9d5a7946eb6ff58417ad2fe9375762382f1bf5c55e61645f2c43ad"}, + {file = "yarl-1.9.4.tar.gz", hash = "sha256:566db86717cf8080b99b58b083b773a908ae40f06681e87e589a976faf8246bf"}, ] [package.dependencies] From e6a54ddb1e1eb20e2312045374047380cf9e7a68 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 25 Dec 2023 16:59:01 -0300 Subject: [PATCH 70/83] (feat) Added all endpoint for chain bank module --- examples/chain_client/50_SpendableBalances.py | 16 + .../51_SpendableBalancesByDenom.py | 17 + examples/chain_client/52_TotalSupply.py | 18 + examples/chain_client/53_SupplyOf.py | 15 + examples/chain_client/54_DenomMetadata.py | 16 + examples/chain_client/55_DenomsMetadata.py | 18 + examples/chain_client/56_DenomOwners.py | 20 ++ examples/chain_client/57_SendEnabled.py | 20 ++ pyinjective/async_client.py | 36 ++ .../client/chain/grpc/chain_grpc_bank_api.py | 82 ++++- .../grpc/configurable_bank_query_servicer.py | 32 ++ .../chain/grpc/test_chain_grpc_bank_api.py | 325 ++++++++++++++++++ 12 files changed, 612 insertions(+), 3 deletions(-) create mode 100644 examples/chain_client/50_SpendableBalances.py create mode 100644 examples/chain_client/51_SpendableBalancesByDenom.py create mode 100644 examples/chain_client/52_TotalSupply.py create mode 100644 examples/chain_client/53_SupplyOf.py create mode 100644 examples/chain_client/54_DenomMetadata.py create mode 100644 examples/chain_client/55_DenomsMetadata.py create mode 100644 examples/chain_client/56_DenomOwners.py create mode 100644 examples/chain_client/57_SendEnabled.py diff --git a/examples/chain_client/50_SpendableBalances.py b/examples/chain_client/50_SpendableBalances.py new file mode 100644 index 00000000..d13836e0 --- /dev/null +++ b/examples/chain_client/50_SpendableBalances.py @@ -0,0 +1,16 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r" + spendable_balances = await client.fetch_spendable_balances(address=address) + print(spendable_balances) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/51_SpendableBalancesByDenom.py b/examples/chain_client/51_SpendableBalancesByDenom.py new file mode 100644 index 00000000..639d7933 --- /dev/null +++ b/examples/chain_client/51_SpendableBalancesByDenom.py @@ -0,0 +1,17 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r" + denom = "inj" + spendable_balances = await client.fetch_spendable_balances_by_denom(address=address, denom=denom) + print(spendable_balances) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/52_TotalSupply.py b/examples/chain_client/52_TotalSupply.py new file mode 100644 index 00000000..8156c54b --- /dev/null +++ b/examples/chain_client/52_TotalSupply.py @@ -0,0 +1,18 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + total_supply = await client.fetch_total_supply( + pagination=PaginationOption(limit=10), + ) + print(total_supply) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/53_SupplyOf.py b/examples/chain_client/53_SupplyOf.py new file mode 100644 index 00000000..225b9db7 --- /dev/null +++ b/examples/chain_client/53_SupplyOf.py @@ -0,0 +1,15 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + supply_of = await client.fetch_supply_of(denom="inj") + print(supply_of) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/54_DenomMetadata.py b/examples/chain_client/54_DenomMetadata.py new file mode 100644 index 00000000..ff8a9337 --- /dev/null +++ b/examples/chain_client/54_DenomMetadata.py @@ -0,0 +1,16 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denom = "factory/inj107aqkjc3t5r3l9j4n9lgrma5tm3jav8qgppz6m/position" + metadata = await client.fetch_denom_metadata(denom=denom) + print(metadata) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/55_DenomsMetadata.py b/examples/chain_client/55_DenomsMetadata.py new file mode 100644 index 00000000..26402f49 --- /dev/null +++ b/examples/chain_client/55_DenomsMetadata.py @@ -0,0 +1,18 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denoms = await client.fetch_denoms_metadata( + pagination=PaginationOption(limit=10), + ) + print(denoms) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/56_DenomOwners.py b/examples/chain_client/56_DenomOwners.py new file mode 100644 index 00000000..3204cc34 --- /dev/null +++ b/examples/chain_client/56_DenomOwners.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denom = "inj" + owners = await client.fetch_denom_owners( + denom=denom, + pagination=PaginationOption(limit=10), + ) + print(owners) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/57_SendEnabled.py b/examples/chain_client/57_SendEnabled.py new file mode 100644 index 00000000..03ed41d9 --- /dev/null +++ b/examples/chain_client/57_SendEnabled.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denom = "inj" + enabled = await client.fetch_send_enabled( + denoms=[denom], + pagination=PaginationOption(limit=10), + ) + print(enabled) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 3bfd30d1..f437db7f 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -522,6 +522,42 @@ async def get_bank_balance(self, address: str, denom: str): async def fetch_bank_balance(self, address: str, denom: str) -> Dict[str, Any]: return await self.bank_api.fetch_balance(account_address=address, denom=denom) + async def fetch_spendable_balances( + self, + address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.bank_api.fetch_spendable_balances(account_address=address, pagination=pagination) + + async def fetch_spendable_balances_by_denom( + self, + address: str, + denom: str, + ) -> Dict[str, Any]: + return await self.bank_api.fetch_spendable_balances_by_denom(account_address=address, denom=denom) + + async def fetch_total_supply(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + return await self.bank_api.fetch_total_supply(pagination=pagination) + + async def fetch_supply_of(self, denom: str) -> Dict[str, Any]: + return await self.bank_api.fetch_supply_of(denom=denom) + + async def fetch_denom_metadata(self, denom: str) -> Dict[str, Any]: + return await self.bank_api.fetch_denom_metadata(denom=denom) + + async def fetch_denoms_metadata(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + return await self.bank_api.fetch_denoms_metadata(pagination=pagination) + + async def fetch_denom_owners(self, denom: str, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + return await self.bank_api.fetch_denom_owners(denom=denom, pagination=pagination) + + async def fetch_send_enabled( + self, + denoms: Optional[List[str]] = None, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.bank_api.fetch_send_enabled(denoms=denoms, pagination=pagination) + # Injective Exchange client methods # Auction RPC diff --git a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py index b774707f..69d0cd0e 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py @@ -1,7 +1,8 @@ -from typing import Any, Callable, Dict +from typing import Any, Callable, Dict, List, Optional from grpc.aio import Channel +from pyinjective.client.model.pagination import PaginationOption 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 @@ -29,11 +30,86 @@ async def fetch_balances(self, account_address: str) -> Dict[str, Any]: return response - async def fetch_total_supply(self) -> Dict[str, Any]: - request = bank_query_pb.QueryTotalSupplyRequest() + async def fetch_spendable_balances( + self, + account_address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QuerySpendableBalancesRequest( + address=account_address, + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.SpendableBalances, request=request) + + return response + + async def fetch_spendable_balances_by_denom( + self, + account_address: str, + denom: str, + ) -> Dict[str, Any]: + request = bank_query_pb.QuerySpendableBalanceByDenomRequest( + address=account_address, + denom=denom, + ) + response = await self._execute_call(call=self._stub.SpendableBalanceByDenom, request=request) + + return response + + async def fetch_total_supply(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QueryTotalSupplyRequest(pagination=pagination_request) response = await self._execute_call(call=self._stub.TotalSupply, request=request) return response + async def fetch_supply_of(self, denom: str) -> Dict[str, Any]: + request = bank_query_pb.QuerySupplyOfRequest(denom=denom) + response = await self._execute_call(call=self._stub.SupplyOf, request=request) + + return response + + async def fetch_denom_metadata(self, denom: str) -> Dict[str, Any]: + request = bank_query_pb.QueryDenomMetadataRequest(denom=denom) + response = await self._execute_call(call=self._stub.DenomMetadata, request=request) + + return response + + async def fetch_denoms_metadata(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QueryDenomsMetadataRequest(pagination=pagination_request) + response = await self._execute_call(call=self._stub.DenomsMetadata, request=request) + + return response + + async def fetch_denom_owners(self, denom: str, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QueryDenomOwnersRequest(denom=denom, pagination=pagination_request) + response = await self._execute_call(call=self._stub.DenomOwners, request=request) + + return response + + async def fetch_send_enabled( + self, + denoms: Optional[List[str]] = None, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = bank_query_pb.QuerySendEnabledRequest(denoms=denoms, pagination=pagination_request) + response = await self._execute_call(call=self._stub.SendEnabled, 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/tests/client/chain/grpc/configurable_bank_query_servicer.py b/tests/client/chain/grpc/configurable_bank_query_servicer.py index 015ce2c8..314a6622 100644 --- a/tests/client/chain/grpc/configurable_bank_query_servicer.py +++ b/tests/client/chain/grpc/configurable_bank_query_servicer.py @@ -9,7 +9,14 @@ def __init__(self): self.bank_params = deque() self.balance_responses = deque() self.balances_responses = deque() + self.spendable_balances_responses = deque() + self.spendable_balances_by_denom_responses = deque() self.total_supply_responses = deque() + self.supply_of_responses = deque() + self.denom_metadata_responses = deque() + self.denoms_metadata_responses = deque() + self.denom_owners_responses = deque() + self.send_enabled_responses = deque() async def Params(self, request: bank_query_pb.QueryParamsRequest, context=None, metadata=None): return self.bank_params.pop() @@ -20,5 +27,30 @@ async def Balance(self, request: bank_query_pb.QueryBalanceRequest, context=None async def AllBalances(self, request: bank_query_pb.QueryAllBalancesRequest, context=None, metadata=None): return self.balances_responses.pop() + async def SpendableBalances( + self, request: bank_query_pb.QuerySpendableBalancesRequest, context=None, metadata=None + ): + return self.spendable_balances_responses.pop() + + async def SpendableBalanceByDenom( + self, request: bank_query_pb.QuerySpendableBalanceByDenomRequest, context=None, metadata=None + ): + return self.spendable_balances_by_denom_responses.pop() + async def TotalSupply(self, request: bank_query_pb.QueryTotalSupplyRequest, context=None, metadata=None): return self.total_supply_responses.pop() + + async def SupplyOf(self, request: bank_query_pb.QuerySupplyOfRequest, context=None, metadata=None): + return self.supply_of_responses.pop() + + async def DenomMetadata(self, request: bank_query_pb.QueryDenomMetadataRequest, context=None, metadata=None): + return self.denom_metadata_responses.pop() + + async def DenomsMetadata(self, request: bank_query_pb.QueryDenomsMetadataRequest, context=None, metadata=None): + return self.denoms_metadata_responses.pop() + + async def DenomOwners(self, request: bank_query_pb.QueryDenomOwnersRequest, context=None, metadata=None): + return self.denom_owners_responses.pop() + + async def SendEnabled(self, request: bank_query_pb.QuerySendEnabledRequest, context=None, metadata=None): + return self.send_enabled_responses.pop() 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 1c8c0ffa..f2c6cbdd 100644 --- a/tests/client/chain/grpc/test_chain_grpc_bank_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_bank_api.py @@ -4,6 +4,7 @@ import pytest from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi +from pyinjective.client.model.pagination import PaginationOption from pyinjective.core.network import 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 @@ -120,6 +121,69 @@ async def test_fetch_balances( assert expected_balances == bank_balances + @pytest.mark.asyncio + async def test_fetch_spendable_balances( + self, + bank_servicer, + ): + first_balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + second_balance = coin_pb.Coin(denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", amount="54497408") + pagination = pagination_pb.PageResponse(total=2) + + bank_servicer.spendable_balances_responses.append( + bank_query_pb.QuerySpendableBalancesResponse( + balances=[first_balance, second_balance], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + balances = await api.fetch_spendable_balances( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_balances = { + "balances": [{"denom": coin.denom, "amount": coin.amount} for coin in [first_balance, second_balance]], + "pagination": {"nextKey": "", "total": "2"}, + } + + assert expected_balances == balances + + @pytest.mark.asyncio + async def test_fetch_spendable_balances_by_denom( + self, + bank_servicer, + ): + first_balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + + bank_servicer.spendable_balances_by_denom_responses.append( + bank_query_pb.QuerySpendableBalanceByDenomResponse(balance=first_balance) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + balances = await api.fetch_spendable_balances_by_denom( + account_address="inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", + denom=first_balance.denom, + ) + expected_balances = { + "balance": {"denom": first_balance.denom, "amount": first_balance.amount}, + } + + assert expected_balances == balances + @pytest.mark.asyncio async def test_fetch_total_supply( self, @@ -164,5 +228,266 @@ async def test_fetch_total_supply( assert expected_supply == total_supply + @pytest.mark.asyncio + async def test_fetch_supply_of( + self, + bank_servicer, + ): + first_supply = coin_pb.Coin( + denom="factory/inj108t3mlej0dph8er6ca2lq5cs9pdgzva5mqsn5p/position", amount="5556700000000000000" + ) + + bank_servicer.supply_of_responses.append( + bank_query_pb.QuerySupplyOfResponse( + amount=first_supply, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + total_supply = await api.fetch_supply_of(denom=first_supply.denom) + expected_supply = {"amount": {"denom": first_supply.denom, "amount": first_supply.amount}} + + assert expected_supply == total_supply + + @pytest.mark.asyncio + async def test_fetch_denom_metadata( + self, + bank_servicer, + ): + first_denom_unit = bank_pb.DenomUnit( + denom="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", exponent=0, aliases=["microSMART"] + ) + second_denom_unit = bank_pb.DenomUnit(denom="SMART", exponent=6, aliases=["SMART"]) + metadata = bank_pb.Metadata( + description="SMART", + denom_units=[first_denom_unit, second_denom_unit], + base="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", + display="SMART", + name="SMART", + symbol="SMART", + uri=( + "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/" + "Flag_of_the_People%27s_Republic_of_China.svg/" + "2560px-Flag_of_the_People%27s_Republic_of_China.svg.png" + ), + uri_hash="", + ) + + bank_servicer.denom_metadata_responses.append( + bank_query_pb.QueryDenomMetadataResponse( + metadata=metadata, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denom_metadata = await api.fetch_denom_metadata(denom=metadata.base) + + expected_denom_metadata = { + "metadata": { + "description": metadata.description, + "denomUnits": [ + {"denom": denom.denom, "exponent": denom.exponent, "aliases": denom.aliases} + for denom in [first_denom_unit, second_denom_unit] + ], + "base": metadata.base, + "display": metadata.display, + "name": metadata.name, + "symbol": metadata.symbol, + "uri": metadata.uri, + "uriHash": metadata.uri_hash, + } + } + + assert expected_denom_metadata == denom_metadata + + @pytest.mark.asyncio + async def test_fetch_denoms_metadata( + self, + bank_servicer, + ): + first_denom_unit = bank_pb.DenomUnit( + denom="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", exponent=0, aliases=["microSMART"] + ) + second_denom_unit = bank_pb.DenomUnit(denom="SMART", exponent=6, aliases=["SMART"]) + metadata = bank_pb.Metadata( + description="SMART", + denom_units=[first_denom_unit, second_denom_unit], + base="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", + display="SMART", + name="SMART", + symbol="SMART", + uri=( + "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/" + "Flag_of_the_People%27s_Republic_of_China.svg/" + "2560px-Flag_of_the_People%27s_Republic_of_China.svg.png" + ), + uri_hash="", + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + bank_servicer.denoms_metadata_responses.append( + bank_query_pb.QueryDenomsMetadataResponse( + metadatas=[metadata], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denoms_metadata = await api.fetch_denoms_metadata( + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + next_key = "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + expected_denoms_metadata = { + "metadatas": [ + { + "description": metadata.description, + "denomUnits": [ + {"denom": denom.denom, "exponent": denom.exponent, "aliases": denom.aliases} + for denom in [first_denom_unit, second_denom_unit] + ], + "base": metadata.base, + "display": metadata.display, + "name": metadata.name, + "symbol": metadata.symbol, + "uri": metadata.uri, + "uriHash": metadata.uri_hash, + }, + ], + "pagination": { + "nextKey": base64.b64encode(next_key.encode()).decode(), + "total": "179", + }, + } + + assert expected_denoms_metadata == denoms_metadata + + @pytest.mark.asyncio + async def test_fetch_denom_owners( + self, + bank_servicer, + ): + balance = coin_pb.Coin(denom="inj", amount="988987297011197594664") + denom_owner = bank_query_pb.DenomOwner(address="inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", balance=balance) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + bank_servicer.denom_owners_responses.append( + bank_query_pb.QueryDenomOwnersResponse( + denom_owners=[denom_owner], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denoms_metadata = await api.fetch_denom_owners( + denom=balance.denom, + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + next_key = "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + expected_denoms_metadata = { + "denomOwners": [ + { + "address": denom_owner.address, + "balance": { + "denom": balance.denom, + "amount": balance.amount, + }, + }, + ], + "pagination": { + "nextKey": base64.b64encode(next_key.encode()).decode(), + "total": "179", + }, + } + + assert expected_denoms_metadata == denoms_metadata + + @pytest.mark.asyncio + async def test_fetch_send_enabled( + self, + bank_servicer, + ): + send_enabled = bank_pb.SendEnabled( + denom="inj", + enabled=True, + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + bank_servicer.send_enabled_responses.append( + bank_query_pb.QuerySendEnabledResponse( + send_enabled=[send_enabled], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcBankApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = bank_servicer + + denoms_metadata = await api.fetch_send_enabled( + denoms=[send_enabled.denom], + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + next_key = "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + expected_denoms_metadata = { + "sendEnabled": [ + { + "denom": send_enabled.denom, + "enabled": send_enabled.enabled, + }, + ], + "pagination": { + "nextKey": base64.b64encode(next_key.encode()).decode(), + "total": "179", + }, + } + + assert expected_denoms_metadata == denoms_metadata + async def _dummy_metadata_provider(self): return None From 35281456126a393349178137dbcf15b7c7bd7780 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 25 Dec 2023 23:26:52 -0300 Subject: [PATCH 71/83] (feat) Added logic to initialize tokens in AsyncClient using the denoms metadata from chain bank module --- pyinjective/async_client.py | 46 ++++++++++++++++++ pyinjective/client/model/pagination.py | 2 +- tests/rpc_fixtures/markets_fixtures.py | 26 ++++++++++ tests/test_async_client.py | 66 ++++++++++++++++++++++---- 4 files changed, 131 insertions(+), 9 deletions(-) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index f437db7f..50eddecf 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -1,4 +1,5 @@ import asyncio +import base64 import time from copy import deepcopy from decimal import Decimal @@ -2497,6 +2498,51 @@ async def composer(self): tokens=await self.all_tokens(), ) + async def initialize_tokens_from_chain_denoms(self): + # force initialization of markets and tokens + await self.all_tokens() + + all_denoms_metadata = [] + + query_result = await self.fetch_denoms_metadata() + + all_denoms_metadata.extend(query_result.get("metadatas", [])) + next_key = query_result.get("pagination", {}).get("nextKey", "") + + while next_key != "": + query_result = await self.fetch_denoms_metadata(pagination=PaginationOption(key=next_key)) + + all_denoms_metadata.extend(query_result.get("metadatas", [])) + result_next_key = query_result.get("pagination", {}).get("nextKey", "") + next_key = base64.b64decode(result_next_key).decode() + + for token_metadata in all_denoms_metadata: + symbol = token_metadata["symbol"] + denom = token_metadata["base"] + + if denom != "" and symbol != "" and denom not in self._tokens_by_denom: + name = token_metadata["name"] or symbol + decimals = max({denom_unit["exponent"] for denom_unit in token_metadata["denomUnits"]}) + + unique_symbol = denom + for symbol_candidate in [symbol, name]: + if symbol_candidate not in self._tokens_by_symbol: + unique_symbol = symbol_candidate + break + + token = Token( + name=name, + symbol=symbol, + denom=denom, + address="", + decimals=decimals, + logo=token_metadata["uri"], + updated=-1, + ) + + self._tokens_by_denom[denom] = token + self._tokens_by_symbol[unique_symbol] = token + async def _initialize_tokens_and_markets(self): spot_markets = dict() derivative_markets = dict() diff --git a/pyinjective/client/model/pagination.py b/pyinjective/client/model/pagination.py index f3607c17..906a6060 100644 --- a/pyinjective/client/model/pagination.py +++ b/pyinjective/client/model/pagination.py @@ -31,7 +31,7 @@ def create_pagination_request(self) -> pagination_pb.PageRequest: page_request = pagination_pb.PageRequest() if self.key is not None: - page_request.key = bytes.fromhex(self.key) + page_request.key = self.key.encode() if self.skip is not None: page_request.offset = self.skip if self.limit is not None: diff --git a/tests/rpc_fixtures/markets_fixtures.py b/tests/rpc_fixtures/markets_fixtures.py index 69f835df..9c3a56ad 100644 --- a/tests/rpc_fixtures/markets_fixtures.py +++ b/tests/rpc_fixtures/markets_fixtures.py @@ -1,6 +1,32 @@ import pytest +@pytest.fixture +def smart_denom_metadata(): + from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as bank_pb + + first_denom_unit = bank_pb.DenomUnit( + denom="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", exponent=0, aliases=["microSMART"] + ) + second_denom_unit = bank_pb.DenomUnit(denom="SMART", exponent=6, aliases=["SMART"]) + metadata = bank_pb.Metadata( + description="SMART", + denom_units=[first_denom_unit, second_denom_unit], + base="factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART", + display="SMART", + name="SMART", + symbol="SMART", + uri=( + "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/" + "Flag_of_the_People%27s_Republic_of_China.svg/" + "2560px-Flag_of_the_People%27s_Republic_of_China.svg.png" + ), + uri_hash="", + ) + + return metadata + + @pytest.fixture def inj_token_meta(): from pyinjective.proto.exchange.injective_spot_exchange_rpc_pb2 import TokenMeta diff --git a/tests/test_async_client.py b/tests/test_async_client.py index 7780e088..b7b597ed 100644 --- a/tests/test_async_client.py +++ b/tests/test_async_client.py @@ -4,22 +4,31 @@ from pyinjective.async_client import AsyncClient from pyinjective.core.network import Network +from pyinjective.proto.cosmos.bank.v1beta1 import query_pb2 as bank_query_pb +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb from pyinjective.proto.exchange import injective_derivative_exchange_rpc_pb2, injective_spot_exchange_rpc_pb2 +from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer from tests.client.indexer.configurable_derivative_query_servicer import ConfigurableDerivativeQueryServicer from tests.client.indexer.configurable_spot_query_servicer import ConfigurableSpotQueryServicer -from tests.rpc_fixtures.markets_fixtures import ape_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import ape_usdt_spot_market_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import btc_usdt_perp_market_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import inj_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import inj_usdt_spot_market_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import usdt_perp_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import usdt_token_meta # noqa: F401 -from tests.rpc_fixtures.markets_fixtures import ( # noqa: F401; noqa: F401; noqa: F401 +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 +def bank_servicer(): + return ConfigurableBankQueryServicer() + + @pytest.fixture def spot_servicer(): return ConfigurableSpotQueryServicer() @@ -127,3 +136,44 @@ async def test_initialize_tokens_and_markets( assert any( (first_match_bet_market_meta.market_id == market.id for market in all_binary_option_markets.values()) ) + + @pytest.mark.asyncio + async def test_initialize_tokens_from_chain_denoms( + self, + bank_servicer, + spot_servicer, + derivative_servicer, + smart_denom_metadata, + ): + pagination = pagination_pb.PageResponse( + total=1, + ) + + bank_servicer.denoms_metadata_responses.append( + bank_query_pb.QueryDenomsMetadataResponse( + metadatas=[smart_denom_metadata], + pagination=pagination, + ) + ) + + spot_servicer.markets_responses.append(injective_spot_exchange_rpc_pb2.MarketsResponse(markets=[])) + derivative_servicer.markets_responses.append(injective_derivative_exchange_rpc_pb2.MarketsResponse(markets=[])) + derivative_servicer.binary_options_markets_responses.append( + injective_derivative_exchange_rpc_pb2.BinaryOptionsMarketsResponse(markets=[]) + ) + + client = AsyncClient( + network=Network.local(), + insecure=False, + ) + + client.bank_api._stub = bank_servicer + client.exchange_spot_api._stub = spot_servicer + client.exchange_derivative_api._stub = derivative_servicer + + await client._initialize_tokens_and_markets() + await client.initialize_tokens_from_chain_denoms() + + all_tokens = await client.all_tokens() + assert 1 == len(all_tokens) + assert smart_denom_metadata.symbol in all_tokens From f72b7dc963c5283b264254b38fa4dc86071934e9 Mon Sep 17 00:00:00 2001 From: abel Date: Tue, 2 Jan 2024 15:35:21 -0300 Subject: [PATCH 72/83] (feat) Added support for missing bank module endpoints --- examples/chain_client/58_ContractInfo.py | 16 + examples/chain_client/59_ContractHistory.py | 20 + examples/chain_client/60_ContractsByCode.py | 20 + examples/chain_client/61_AllContractsState.py | 20 + examples/chain_client/62_RawContractState.py | 17 + .../chain_client/63_SmartContractState.py | 17 + examples/chain_client/64_SmartContractCode.py | 20 + .../chain_client/65_SmartContractCodes.py | 19 + .../66_SmartContractPinnedCodes.py | 19 + .../chain_client/67_ContractsByCreator.py | 20 + pyinjective/async_client.py | 76 +++ .../client/chain/grpc/chain_grpc_wasm_api.py | 144 +++++ .../grpc/configurable_wasm_query_servicer.py | 56 ++ .../chain/grpc/test_chain_grpc_wasm_api.py | 508 ++++++++++++++++++ 14 files changed, 972 insertions(+) create mode 100644 examples/chain_client/58_ContractInfo.py create mode 100644 examples/chain_client/59_ContractHistory.py create mode 100644 examples/chain_client/60_ContractsByCode.py create mode 100644 examples/chain_client/61_AllContractsState.py create mode 100644 examples/chain_client/62_RawContractState.py create mode 100644 examples/chain_client/63_SmartContractState.py create mode 100644 examples/chain_client/64_SmartContractCode.py create mode 100644 examples/chain_client/65_SmartContractCodes.py create mode 100644 examples/chain_client/66_SmartContractPinnedCodes.py create mode 100644 examples/chain_client/67_ContractsByCreator.py create mode 100644 pyinjective/client/chain/grpc/chain_grpc_wasm_api.py create mode 100644 tests/client/chain/grpc/configurable_wasm_query_servicer.py create mode 100644 tests/client/chain/grpc/test_chain_grpc_wasm_api.py diff --git a/examples/chain_client/58_ContractInfo.py b/examples/chain_client/58_ContractInfo.py new file mode 100644 index 00000000..9cee904c --- /dev/null +++ b/examples/chain_client/58_ContractInfo.py @@ -0,0 +1,16 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + contract_info = await client.fetch_contract_info(address=address) + print(contract_info) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/59_ContractHistory.py b/examples/chain_client/59_ContractHistory.py new file mode 100644 index 00000000..460056a8 --- /dev/null +++ b/examples/chain_client/59_ContractHistory.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + address = "inj18pp4vjwucpgg4nw3rr4wh4zyjg9ct5t8v9wqgj" + limit = 2 + pagination = PaginationOption(limit=limit) + contract_history = await client.fetch_contract_history(address=address, pagination=pagination) + print(contract_history) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/60_ContractsByCode.py b/examples/chain_client/60_ContractsByCode.py new file mode 100644 index 00000000..1994ce87 --- /dev/null +++ b/examples/chain_client/60_ContractsByCode.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + code_id = 3770 + limit = 2 + pagination = PaginationOption(limit=limit) + contracts = await client.fetch_contracts_by_code(code_id=code_id, pagination=pagination) + print(contracts) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/61_AllContractsState.py b/examples/chain_client/61_AllContractsState.py new file mode 100644 index 00000000..a96bfe40 --- /dev/null +++ b/examples/chain_client/61_AllContractsState.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + address = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + limit = 2 + pagination = PaginationOption(limit=limit) + contract_history = await client.fetch_all_contracts_state(address=address, pagination=pagination) + print(contract_history) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/62_RawContractState.py b/examples/chain_client/62_RawContractState.py new file mode 100644 index 00000000..5c9bce71 --- /dev/null +++ b/examples/chain_client/62_RawContractState.py @@ -0,0 +1,17 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + query_data = '{"get_count": {}}' + contract_state = await client.fetch_raw_contract_state(address=address, query_data=query_data) + print(contract_state) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/63_SmartContractState.py b/examples/chain_client/63_SmartContractState.py new file mode 100644 index 00000000..b416d88c --- /dev/null +++ b/examples/chain_client/63_SmartContractState.py @@ -0,0 +1,17 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + query_data = '{"get_count": {}}' + contract_state = await client.fetch_smart_contract_state(address=address, query_data=query_data) + print(contract_state) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/64_SmartContractCode.py b/examples/chain_client/64_SmartContractCode.py new file mode 100644 index 00000000..d523605d --- /dev/null +++ b/examples/chain_client/64_SmartContractCode.py @@ -0,0 +1,20 @@ +import asyncio +import base64 + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + response = await client.fetch_code(code_id=290) + print(response) + + code = base64.b64decode(response["data"]).decode(encoding="utf-8", errors="replace") + + print(f"\n\n\n{code}") + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/65_SmartContractCodes.py b/examples/chain_client/65_SmartContractCodes.py new file mode 100644 index 00000000..96135ba3 --- /dev/null +++ b/examples/chain_client/65_SmartContractCodes.py @@ -0,0 +1,19 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + limit = 2 + pagination = PaginationOption(limit=limit) + response = await client.fetch_codes(pagination=pagination) + print(response) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/66_SmartContractPinnedCodes.py b/examples/chain_client/66_SmartContractPinnedCodes.py new file mode 100644 index 00000000..9d435314 --- /dev/null +++ b/examples/chain_client/66_SmartContractPinnedCodes.py @@ -0,0 +1,19 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + limit = 2 + pagination = PaginationOption(limit=limit) + response = await client.fetch_pinned_codes(pagination=pagination) + print(response) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/67_ContractsByCreator.py b/examples/chain_client/67_ContractsByCreator.py new file mode 100644 index 00000000..2014eee1 --- /dev/null +++ b/examples/chain_client/67_ContractsByCreator.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + creator = "inj1h3gepa4tszh66ee67he53jzmprsqc2l9npq3ty" + limit = 2 + pagination = PaginationOption(limit=limit) + response = await client.fetch_contracts_by_creator(creator_address=creator, pagination=pagination) + print(response) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 50eddecf..66892d89 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -13,6 +13,7 @@ from pyinjective.client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi from pyinjective.client.chain.grpc.chain_grpc_authz_api import ChainGrpcAuthZApi from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi +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 @@ -183,6 +184,12 @@ def __init__( metadata_query_provider=self._chain_cookie_metadata_requestor ), ) + self.wasm_api = ChainGrpcWasmApi( + channel=self.chain_channel, + metadata_provider=lambda: self.network.chain_metadata( + metadata_query_provider=self._chain_cookie_metadata_requestor + ), + ) self.chain_stream_api = ChainGrpcChainStream( channel=self.chain_stream_channel, @@ -662,6 +669,75 @@ async def listen_keepalive( on_status_callback=on_status_callback, ) + # Wasm module + async def fetch_contract_info(self, address: str) -> Dict[str, Any]: + return await self.wasm_api.fetch_contract_info(address=address) + + async def fetch_contract_history( + self, + address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_contract_history( + address=address, + pagination=pagination, + ) + + async def fetch_contracts_by_code( + self, + code_id: int, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_contracts_by_code( + code_id=code_id, + pagination=pagination, + ) + + async def fetch_all_contracts_state( + self, + address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_all_contracts_state( + address=address, + pagination=pagination, + ) + + async def fetch_raw_contract_state(self, address: str, query_data: str) -> Dict[str, Any]: + return await self.wasm_api.fetch_raw_contract_state(address=address, query_data=query_data) + + async def fetch_smart_contract_state(self, address: str, query_data: str) -> Dict[str, Any]: + return await self.wasm_api.fetch_smart_contract_state(address=address, query_data=query_data) + + async def fetch_code(self, code_id: int) -> Dict[str, Any]: + return await self.wasm_api.fetch_code(code_id=code_id) + + async def fetch_codes( + self, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_codes( + pagination=pagination, + ) + + async def fetch_pinned_codes( + self, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_pinned_codes( + pagination=pagination, + ) + + async def fetch_contracts_by_creator( + self, + creator_address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_contracts_by_creator( + creator_address=creator_address, + pagination=pagination, + ) + # Explorer RPC async def get_tx_by_hash(self, tx_hash: str): diff --git a/pyinjective/client/chain/grpc/chain_grpc_wasm_api.py b/pyinjective/client/chain/grpc/chain_grpc_wasm_api.py new file mode 100644 index 00000000..1d08e1c3 --- /dev/null +++ b/pyinjective/client/chain/grpc/chain_grpc_wasm_api.py @@ -0,0 +1,144 @@ +from typing import Any, Callable, Dict, Optional + +from grpc.aio import Channel + +from pyinjective.client.model.pagination import PaginationOption +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 + + +class ChainGrpcWasmApi: + def __init__(self, channel: Channel, metadata_provider: Callable): + self._stub = wasm_query_grpc.QueryStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + async def fetch_module_params(self) -> Dict[str, Any]: + request = wasm_query_pb.QueryParamsRequest() + response = await self._execute_call(call=self._stub.Params, request=request) + + return response + + async def fetch_contract_info(self, address: str) -> Dict[str, Any]: + request = wasm_query_pb.QueryContractInfoRequest(address=address) + response = await self._execute_call(call=self._stub.ContractInfo, request=request) + + return response + + async def fetch_contract_history( + self, + address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryContractHistoryRequest( + address=address, + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.ContractHistory, request=request) + + return response + + async def fetch_contracts_by_code( + self, + code_id: int, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryContractsByCodeRequest( + code_id=code_id, + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.ContractsByCode, request=request) + + return response + + async def fetch_all_contracts_state( + self, + address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryAllContractStateRequest( + address=address, + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.AllContractState, request=request) + + return response + + async def fetch_raw_contract_state(self, address: str, query_data: str) -> Dict[str, Any]: + request = wasm_query_pb.QueryRawContractStateRequest( + address=address, + query_data=query_data.encode(), + ) + response = await self._execute_call(call=self._stub.RawContractState, request=request) + + return response + + async def fetch_smart_contract_state(self, address: str, query_data: str) -> Dict[str, Any]: + request = wasm_query_pb.QuerySmartContractStateRequest( + address=address, + query_data=query_data.encode(), + ) + response = await self._execute_call(call=self._stub.SmartContractState, request=request) + + return response + + async def fetch_code(self, code_id: int) -> Dict[str, Any]: + request = wasm_query_pb.QueryCodeRequest(code_id=code_id) + response = await self._execute_call(call=self._stub.Code, request=request) + + return response + + async def fetch_codes( + self, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryCodesRequest( + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.Codes, request=request) + + return response + + async def fetch_pinned_codes( + self, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryPinnedCodesRequest( + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.PinnedCodes, request=request) + + return response + + async def fetch_contracts_by_creator( + self, + creator_address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryContractsByCreatorRequest( + creator_address=creator_address, + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.ContractsByCreator, 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/tests/client/chain/grpc/configurable_wasm_query_servicer.py b/tests/client/chain/grpc/configurable_wasm_query_servicer.py new file mode 100644 index 00000000..8b087e4c --- /dev/null +++ b/tests/client/chain/grpc/configurable_wasm_query_servicer.py @@ -0,0 +1,56 @@ +from collections import deque + +from pyinjective.proto.cosmwasm.wasm.v1 import query_pb2 as wasm_query_pb, query_pb2_grpc as wasm_query_grpc + + +class ConfigurableWasmQueryServicer(wasm_query_grpc.QueryServicer): + def __init__(self): + super().__init__() + self.params_responses = deque() + self.contract_info_responses = deque() + self.contract_history_responses = deque() + self.contracts_by_code_responses = deque() + self.all_contracts_state_responses = deque() + self.raw_contract_state_responses = deque() + self.smart_contract_state_responses = deque() + self.code_responses = deque() + self.codes_responses = deque() + self.pinned_codes_responses = deque() + self.contracts_by_creator_responses = deque() + + async def Params(self, request: wasm_query_pb.QueryParamsRequest, context=None, metadata=None): + return self.params_responses.pop() + + async def ContractInfo(self, request: wasm_query_pb.QueryContractInfoRequest, context=None, metadata=None): + return self.contract_info_responses.pop() + + async def ContractHistory(self, request: wasm_query_pb.QueryContractHistoryRequest, context=None, metadata=None): + return self.contract_history_responses.pop() + + async def ContractsByCode(self, request: wasm_query_pb.QueryContractsByCodeRequest, context=None, metadata=None): + return self.contracts_by_code_responses.pop() + + async def AllContractState(self, request: wasm_query_pb.QueryAllContractStateRequest, context=None, metadata=None): + return self.all_contracts_state_responses.pop() + + async def RawContractState(self, request: wasm_query_pb.QueryRawContractStateRequest, context=None, metadata=None): + return self.raw_contract_state_responses.pop() + + async def SmartContractState( + self, request: wasm_query_pb.QuerySmartContractStateRequest, context=None, metadata=None + ): + return self.smart_contract_state_responses.pop() + + async def Code(self, request: wasm_query_pb.QueryCodeRequest, context=None, metadata=None): + return self.code_responses.pop() + + async def Codes(self, request: wasm_query_pb.QueryCodesRequest, context=None, metadata=None): + return self.codes_responses.pop() + + async def PinnedCodes(self, request: wasm_query_pb.QueryPinnedCodesRequest, context=None, metadata=None): + return self.pinned_codes_responses.pop() + + async def ContractsByCreator( + self, request: wasm_query_pb.QueryContractsByCreatorRequest, context=None, metadata=None + ): + return self.contracts_by_creator_responses.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_wasm_api.py b/tests/client/chain/grpc/test_chain_grpc_wasm_api.py new file mode 100644 index 00000000..9822d1ee --- /dev/null +++ b/tests/client/chain/grpc/test_chain_grpc_wasm_api.py @@ -0,0 +1,508 @@ +import base64 +import json + +import grpc +import pytest + +from pyinjective.client.chain.grpc.chain_grpc_wasm_api import ChainGrpcWasmApi +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import 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 +from tests.client.chain.grpc.configurable_wasm_query_servicer import ConfigurableWasmQueryServicer + + +@pytest.fixture +def wasm_servicer(): + return ConfigurableWasmQueryServicer() + + +class TestChainGrpcBankApi: + @pytest.mark.asyncio + async def test_fetch_module_params( + self, + wasm_servicer, + ): + access_config = wasm_types_pb.AccessConfig( + permission=0, + addresses=["inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7"], + ) + params = wasm_types_pb.Params( + code_upload_access=access_config, + instantiate_default_permission=0, + ) + wasm_servicer.params_responses.append(wasm_query_pb.QueryParamsResponse(params=params)) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + module_params = await api.fetch_module_params() + expected_params = { + "params": { + "codeUploadAccess": { + "permission": wasm_types_pb.AccessType.Name(access_config.permission), + "address": "", + "addresses": access_config.addresses, + }, + "instantiateDefaultPermission": wasm_types_pb.AccessType.Name(params.instantiate_default_permission), + } + } + + assert expected_params == module_params + + @pytest.mark.asyncio + async def test_fetch_contract_info( + self, + wasm_servicer, + ): + address = "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r" + tx_position = wasm_types_pb.AbsoluteTxPosition( + block_height=1234, + tx_index=9999, + ) + contract_info = wasm_types_pb.ContractInfo( + code_id=10, + creator="inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", + admin="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + label="test label", + created=tx_position, + ibc_port_id="ibc port id", + ) + wasm_servicer.contract_info_responses.append( + wasm_query_pb.QueryContractInfoResponse( + address=address, + contract_info=contract_info, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_contract_info(address=address) + expected_contract_info = { + "address": address, + "contractInfo": { + "codeId": str(contract_info.code_id), + "creator": contract_info.creator, + "admin": contract_info.admin, + "label": contract_info.label, + "created": { + "blockHeight": str(tx_position.block_height), + "txIndex": str(tx_position.tx_index), + }, + "ibcPortId": contract_info.ibc_port_id, + }, + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_contract_history( + self, + wasm_servicer, + ): + tx_position = wasm_types_pb.AbsoluteTxPosition( + block_height=1234, + tx_index=9999, + ) + history_entry = wasm_types_pb.ContractCodeHistoryEntry( + operation=0, + code_id=3770, + updated=tx_position, + msg="raw message test".encode(), + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.contract_history_responses.append( + wasm_query_pb.QueryContractHistoryResponse( + entries=[history_entry], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_contract_history( + address="inj18pp4vjwucpgg4nw3rr4wh4zyjg9ct5t8v9wqgj", + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_contract_info = { + "entries": [ + { + "operation": wasm_types_pb.ContractCodeHistoryOperationType.Name(history_entry.operation), + "codeId": str(history_entry.code_id), + "updated": { + "blockHeight": str(tx_position.block_height), + "txIndex": str(tx_position.tx_index), + }, + "msg": base64.b64encode(history_entry.msg).decode(), + } + ], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_contracts_by_code( + self, + wasm_servicer, + ): + contract = "inj1z4l7jc8dj3y9484aqcrmf6y8mcctvkmm9zkf7n" + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.contracts_by_code_responses.append( + wasm_query_pb.QueryContractsByCodeResponse( + contracts=[contract], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_contracts_by_code( + code_id=3770, + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_contract_info = { + "contracts": [contract], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_all_contracts_state( + self, + wasm_servicer, + ): + model = wasm_types_pb.Model( + key=( + "\x00\x08redeemed\x00*inj13t085sclq8fxy8d3gcjt3jap45j4fwlc79lykw" "\x00\x00\x00\x00\x00\x00\x00\x00" + ).encode(), + value='{"phase_id":0,"redeemed":1,"mint_limit":1}'.encode(), + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.all_contracts_state_responses.append( + wasm_query_pb.QueryAllContractStateResponse( + models=[model], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_all_contracts_state( + address="inj1z4l7jc8dj3y9484aqcrmf6y8mcctvkmm9zkf7n", + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_contract_info = { + "models": [{"key": base64.b64encode(model.key).decode(), "value": base64.b64encode(model.value).decode()}], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_raw_contract_state( + self, + wasm_servicer, + ): + data = "test data".encode() + wasm_servicer.raw_contract_state_responses.append( + wasm_query_pb.QueryRawContractStateResponse( + data=data, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_raw_contract_state( + address="inj1z4l7jc8dj3y9484aqcrmf6y8mcctvkmm9zkf7n", + query_data="query data", + ) + expected_contract_info = { + "data": base64.b64encode(data).decode(), + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_smart_contract_state( + self, + wasm_servicer, + ): + data = json.dumps({"count": 1037}).encode() + wasm_servicer.smart_contract_state_responses.append( + wasm_query_pb.QuerySmartContractStateResponse( + data=data, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_smart_contract_state( + address="inj1z4l7jc8dj3y9484aqcrmf6y8mcctvkmm9zkf7n", + query_data="query data", + ) + expected_contract_info = { + "data": base64.b64encode(data).decode(), + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_code( + self, + wasm_servicer, + ): + access_config = wasm_types_pb.AccessConfig( + permission=0, + addresses=["inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7"], + ) + code_info_response = wasm_query_pb.CodeInfoResponse( + code_id=290, + creator="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + data_hash="0xf8e7689e23ac0c9d53f44a8fd98c686c20b0140a8d76d600e2c546bfbba7758d".encode(), + instantiate_permission=access_config, + ) + data = "code".encode() + wasm_servicer.code_responses.append( + wasm_query_pb.QueryCodeResponse( + code_info=code_info_response, + data=data, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_code(code_id=code_info_response.code_id) + expected_contract_info = { + "codeInfo": { + "codeId": str(code_info_response.code_id), + "creator": code_info_response.creator, + "dataHash": base64.b64encode(code_info_response.data_hash).decode(), + "instantiatePermission": { + "permission": wasm_types_pb.AccessType.Name(access_config.permission), + "address": "", + "addresses": access_config.addresses, + }, + }, + "data": base64.b64encode(data).decode(), + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_codes( + self, + wasm_servicer, + ): + access_config = wasm_types_pb.AccessConfig( + permission=0, + addresses=["inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7"], + ) + code_info_response = wasm_query_pb.CodeInfoResponse( + code_id=290, + creator="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + data_hash="0xf8e7689e23ac0c9d53f44a8fd98c686c20b0140a8d76d600e2c546bfbba7758d".encode(), + instantiate_permission=access_config, + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.codes_responses.append( + wasm_query_pb.QueryCodesResponse( + code_infos=[code_info_response], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + codes = await api.fetch_codes( + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_codes = { + "codeInfos": [ + { + "codeId": str(code_info_response.code_id), + "creator": code_info_response.creator, + "dataHash": base64.b64encode(code_info_response.data_hash).decode(), + "instantiatePermission": { + "permission": wasm_types_pb.AccessType.Name(access_config.permission), + "address": "", + "addresses": access_config.addresses, + }, + }, + ], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert codes == expected_codes + + @pytest.mark.asyncio + async def test_fetch_pinned_codes( + self, + wasm_servicer, + ): + code_id = 290 + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.pinned_codes_responses.append( + wasm_query_pb.QueryPinnedCodesResponse( + code_ids=[code_id], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + codes = await api.fetch_pinned_codes( + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_codes = { + "codeIds": [str(code_id)], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert codes == expected_codes + + @pytest.mark.asyncio + async def test_contracts_by_creator( + self, + wasm_servicer, + ): + contract_address = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.contracts_by_creator_responses.append( + wasm_query_pb.QueryContractsByCreatorResponse( + contract_addresses=[contract_address], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + codes = await api.fetch_contracts_by_creator( + creator_address="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_codes = { + "contractAddresses": [contract_address], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert codes == expected_codes + + async def _dummy_metadata_provider(self): + return None From 4f14a69a9bcc3230c2d3eee92461108a47bf48f1 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 3 Jan 2024 12:36:32 -0300 Subject: [PATCH 73/83] (feat) Implemented all TokenFactory query module endpoints --- .../chain_client/68_AuthorityDenomMetadata.py | 15 ++ examples/chain_client/69_DenomsFromCreator.py | 15 ++ .../70_TokenfactoryModuleState.py | 15 ++ pyinjective/async_client.py | 25 +++ .../grpc/chain_grpc_token_factory_api.py | 51 ++++++ ...nfigurable_token_factory_query_servicer.py | 33 ++++ .../grpc/test_chain_grpc_token_factory_api.py | 159 ++++++++++++++++++ 7 files changed, 313 insertions(+) create mode 100644 examples/chain_client/68_AuthorityDenomMetadata.py create mode 100644 examples/chain_client/69_DenomsFromCreator.py create mode 100644 examples/chain_client/70_TokenfactoryModuleState.py create mode 100644 pyinjective/client/chain/grpc/chain_grpc_token_factory_api.py create mode 100644 tests/client/chain/grpc/configurable_token_factory_query_servicer.py create mode 100644 tests/client/chain/grpc/test_chain_grpc_token_factory_api.py diff --git a/examples/chain_client/68_AuthorityDenomMetadata.py b/examples/chain_client/68_AuthorityDenomMetadata.py new file mode 100644 index 00000000..f5ebaab5 --- /dev/null +++ b/examples/chain_client/68_AuthorityDenomMetadata.py @@ -0,0 +1,15 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + metadata = await client.fetch_denom_authority_metadata(creator="inj1zvy8xrlhe7ex9scer868clfstdv7j6vz790kwa") + print(metadata) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/69_DenomsFromCreator.py b/examples/chain_client/69_DenomsFromCreator.py new file mode 100644 index 00000000..17a486d1 --- /dev/null +++ b/examples/chain_client/69_DenomsFromCreator.py @@ -0,0 +1,15 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denoms = await client.fetch_denoms_from_creator(creator="inj1maeyvxfamtn8lfyxpjca8kuvauuf2qeu6gtxm3") + print(denoms) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/70_TokenfactoryModuleState.py b/examples/chain_client/70_TokenfactoryModuleState.py new file mode 100644 index 00000000..8f9b08f3 --- /dev/null +++ b/examples/chain_client/70_TokenfactoryModuleState.py @@ -0,0 +1,15 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + state = await client.fetch_tokenfactory_module_state() + print(state) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 66892d89..ec42c2ce 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -13,6 +13,7 @@ from pyinjective.client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi from pyinjective.client.chain.grpc.chain_grpc_authz_api import ChainGrpcAuthZApi from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi +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 @@ -178,6 +179,12 @@ def __init__( metadata_query_provider=self._chain_cookie_metadata_requestor ), ) + self.token_factory_api = ChainGrpcTokenFactoryApi( + channel=self.chain_channel, + metadata_provider=lambda: self.network.chain_metadata( + metadata_query_provider=self._chain_cookie_metadata_requestor + ), + ) self.tx_api = TxGrpcApi( channel=self.chain_channel, metadata_provider=lambda: self.network.chain_metadata( @@ -738,6 +745,24 @@ async def fetch_contracts_by_creator( pagination=pagination, ) + # Token Factory module + + async def fetch_denom_authority_metadata( + self, + creator: str, + sub_denom: Optional[str] = None, + ) -> Dict[str, Any]: + return await self.token_factory_api.fetch_denom_authority_metadata(creator=creator, sub_denom=sub_denom) + + async def fetch_denoms_from_creator( + self, + creator: str, + ) -> Dict[str, Any]: + return await self.token_factory_api.fetch_denoms_from_creator(creator=creator) + + async def fetch_tokenfactory_module_state(self) -> Dict[str, Any]: + return await self.token_factory_api.fetch_tokenfactory_module_state() + # Explorer RPC async def get_tx_by_hash(self, tx_hash: str): diff --git a/pyinjective/client/chain/grpc/chain_grpc_token_factory_api.py b/pyinjective/client/chain/grpc/chain_grpc_token_factory_api.py new file mode 100644 index 00000000..48e1df1c --- /dev/null +++ b/pyinjective/client/chain/grpc/chain_grpc_token_factory_api.py @@ -0,0 +1,51 @@ +from typing import Any, Callable, Dict, Optional + +from grpc.aio import Channel + +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + query_pb2 as token_factory_query_pb, + query_pb2_grpc as token_factory_query_grpc, + tx_pb2_grpc as token_factory_tx_grpc, +) +from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant + + +class ChainGrpcTokenFactoryApi: + def __init__(self, channel: Channel, metadata_provider: Callable): + self._query_stub = token_factory_query_grpc.QueryStub(channel) + self._tx_stub = token_factory_tx_grpc.MsgStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + async def fetch_module_params(self) -> Dict[str, Any]: + request = token_factory_query_pb.QueryParamsRequest() + response = await self._execute_call(call=self._query_stub.Params, request=request) + + return response + + async def fetch_denom_authority_metadata( + self, + creator: str, + sub_denom: Optional[str] = None, + ) -> Dict[str, Any]: + request = token_factory_query_pb.QueryDenomAuthorityMetadataRequest( + creator=creator, + sub_denom=sub_denom, + ) + response = await self._execute_call(call=self._query_stub.DenomAuthorityMetadata, request=request) + + return response + + async def fetch_denoms_from_creator(self, creator: str) -> Dict[str, Any]: + request = token_factory_query_pb.QueryDenomsFromCreatorRequest(creator=creator) + response = await self._execute_call(call=self._query_stub.DenomsFromCreator, request=request) + + return response + + async def fetch_tokenfactory_module_state(self) -> Dict[str, Any]: + request = token_factory_query_pb.QueryModuleStateRequest() + response = await self._execute_call(call=self._query_stub.TokenfactoryModuleState, 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/tests/client/chain/grpc/configurable_token_factory_query_servicer.py b/tests/client/chain/grpc/configurable_token_factory_query_servicer.py new file mode 100644 index 00000000..56fb8d58 --- /dev/null +++ b/tests/client/chain/grpc/configurable_token_factory_query_servicer.py @@ -0,0 +1,33 @@ +from collections import deque + +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + query_pb2 as token_factory_query_pb, + query_pb2_grpc as token_factory_query_grpc, +) + + +class ConfigurableTokenFactoryQueryServicer(token_factory_query_grpc.QueryServicer): + def __init__(self): + super().__init__() + self.params_responses = deque() + self.denom_authority_metadata_responses = deque() + self.denoms_from_creator_responses = deque() + self.tokenfactory_module_state_responses = deque() + + async def Params(self, request: token_factory_query_pb.QueryParamsRequest, context=None, metadata=None): + return self.params_responses.pop() + + async def DenomAuthorityMetadata( + self, request: token_factory_query_pb.QueryDenomAuthorityMetadataRequest, context=None, metadata=None + ): + return self.denom_authority_metadata_responses.pop() + + async def DenomsFromCreator( + self, request: token_factory_query_pb.QueryDenomsFromCreatorRequest, context=None, metadata=None + ): + return self.denoms_from_creator_responses.pop() + + async def TokenfactoryModuleState( + self, request: token_factory_query_pb.QueryModuleStateRequest, context=None, metadata=None + ): + return self.tokenfactory_module_state_responses.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_token_factory_api.py b/tests/client/chain/grpc/test_chain_grpc_token_factory_api.py new file mode 100644 index 00000000..418dfb35 --- /dev/null +++ b/tests/client/chain/grpc/test_chain_grpc_token_factory_api.py @@ -0,0 +1,159 @@ +import grpc +import pytest + +from pyinjective.client.chain.grpc.chain_grpc_token_factory_api import ChainGrpcTokenFactoryApi +from pyinjective.core.network import Network +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + authorityMetadata_pb2 as token_factory_authority_metadata_pb, + genesis_pb2 as token_factory_genesis_pb, + params_pb2 as token_factory_params_pb, + query_pb2 as token_factory_query_pb, +) +from tests.client.chain.grpc.configurable_token_factory_query_servicer import ConfigurableTokenFactoryQueryServicer + + +@pytest.fixture +def token_factory_query_servicer(): + return ConfigurableTokenFactoryQueryServicer() + + +class TestChainGrpcTokenFactoryApi: + @pytest.mark.asyncio + async def test_fetch_module_params( + self, + token_factory_query_servicer, + ): + coin = coin_pb.Coin(denom="inj", amount="988987297011197594664") + params = token_factory_params_pb.Params( + denom_creation_fee=[coin], + ) + token_factory_query_servicer.params_responses.append(token_factory_query_pb.QueryParamsResponse(params=params)) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcTokenFactoryApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._query_stub = token_factory_query_servicer + + module_params = await api.fetch_module_params() + expected_params = { + "params": { + "denomCreationFee": [ + {"denom": coin.denom, "amount": coin.amount}, + ], + } + } + + assert module_params == expected_params + + @pytest.mark.asyncio + async def test_fetch_denom_authority_metadata( + self, + token_factory_query_servicer, + ): + authority_metadata = token_factory_authority_metadata_pb.DenomAuthorityMetadata( + admin="inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7", + ) + token_factory_query_servicer.denom_authority_metadata_responses.append( + token_factory_query_pb.QueryDenomAuthorityMetadataResponse( + authority_metadata=authority_metadata, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcTokenFactoryApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._query_stub = token_factory_query_servicer + + metadata = await api.fetch_denom_authority_metadata( + creator=authority_metadata.admin, + sub_denom="inj", + ) + expected_metadata = { + "authorityMetadata": { + "admin": authority_metadata.admin, + }, + } + + assert metadata == expected_metadata + + @pytest.mark.asyncio + async def test_fetch_denoms_from_creator( + self, + token_factory_query_servicer, + ): + denom = "factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth" + token_factory_query_servicer.denoms_from_creator_responses.append( + token_factory_query_pb.QueryDenomsFromCreatorResponse(denoms=[denom]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcTokenFactoryApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._query_stub = token_factory_query_servicer + + denoms = await api.fetch_denoms_from_creator(creator="inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7") + expected_denoms = {"denoms": [denom]} + + assert denoms == expected_denoms + + @pytest.mark.asyncio + async def test_fetch_tokenfactory_module_state( + self, + token_factory_query_servicer, + ): + coin = coin_pb.Coin(denom="inj", amount="988987297011197594664") + params = token_factory_params_pb.Params( + denom_creation_fee=[coin], + ) + authority_metadata = token_factory_authority_metadata_pb.DenomAuthorityMetadata( + admin="inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0", + ) + genesis_denom = token_factory_genesis_pb.GenesisDenom( + denom="factory/inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0/ninja", + authority_metadata=authority_metadata, + name="Dog Wif Nunchucks", + symbol="NINJA", + ) + state = token_factory_genesis_pb.GenesisState( + params=params, + factory_denoms=[genesis_denom], + ) + token_factory_query_servicer.tokenfactory_module_state_responses.append( + token_factory_query_pb.QueryModuleStateResponse(state=state) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcTokenFactoryApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._query_stub = token_factory_query_servicer + + state = await api.fetch_tokenfactory_module_state() + expected_state = { + "state": { + "params": { + "denomCreationFee": [ + {"denom": coin.denom, "amount": coin.amount}, + ], + }, + "factoryDenoms": [ + { + "denom": genesis_denom.denom, + "authorityMetadata": { + "admin": authority_metadata.admin, + }, + "name": genesis_denom.name, + "symbol": genesis_denom.symbol, + } + ], + } + } + + assert state == expected_state + + async def _dummy_metadata_provider(self): + return None From e733927023ce94023baa896054372f3c8e5dba72 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 3 Jan 2024 16:50:41 -0300 Subject: [PATCH 74/83] (feat) Added logic in Composer to create the Tokenfactory related messages to admin tokens. Added new example scripts for all the messages. --- examples/chain_client/71_CreateDenom.py | 35 ++++++ examples/chain_client/72_MsgMint.py | 38 ++++++ examples/chain_client/73_MsgBurn.py | 38 ++++++ .../chain_client/74_MsgSetDenomMetadata.py | 53 ++++++++ examples/chain_client/75_MsgUpdateParams.py | 37 ++++++ examples/chain_client/76_MsgChangeAdmin.py | 37 ++++++ pyinjective/composer.py | 95 +++++++++++++- tests/test_composer.py | 116 ++++++++++++++++++ 8 files changed, 448 insertions(+), 1 deletion(-) create mode 100644 examples/chain_client/71_CreateDenom.py create mode 100644 examples/chain_client/72_MsgMint.py create mode 100644 examples/chain_client/73_MsgBurn.py create mode 100644 examples/chain_client/74_MsgSetDenomMetadata.py create mode 100644 examples/chain_client/75_MsgUpdateParams.py create mode 100644 examples/chain_client/76_MsgChangeAdmin.py diff --git a/examples/chain_client/71_CreateDenom.py b/examples/chain_client/71_CreateDenom.py new file mode 100644 index 00000000..61e76dbf --- /dev/null +++ b/examples/chain_client/71_CreateDenom.py @@ -0,0 +1,35 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_using_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + message = composer.msg_create_denom( + sender=address.to_acc_bech32(), subdenom="inj_test", name="Injective Test Token", symbol="INJTEST" + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/72_MsgMint.py b/examples/chain_client/72_MsgMint.py new file mode 100644 index 00000000..e96bad93 --- /dev/null +++ b/examples/chain_client/72_MsgMint.py @@ -0,0 +1,38 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_using_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + amount = composer.Coin(amount=1_000_000_000, denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test") + + message = composer.msg_mint( + sender=address.to_acc_bech32(), + amount=amount, + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/73_MsgBurn.py b/examples/chain_client/73_MsgBurn.py new file mode 100644 index 00000000..cff5a1b4 --- /dev/null +++ b/examples/chain_client/73_MsgBurn.py @@ -0,0 +1,38 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_using_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + amount = composer.Coin(amount=100, denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test") + + message = composer.msg_burn( + sender=address.to_acc_bech32(), + amount=amount, + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/74_MsgSetDenomMetadata.py b/examples/chain_client/74_MsgSetDenomMetadata.py new file mode 100644 index 00000000..58fa30c0 --- /dev/null +++ b/examples/chain_client/74_MsgSetDenomMetadata.py @@ -0,0 +1,53 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_without_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + sender = address.to_acc_bech32() + description = "Injective Test Token" + subdenom = "inj_test" + denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test" + token_decimals = 6 + name = "Injective Test" + symbol = "INJTEST" + uri = "http://injective-test.com/icon.jpg" + uri_hash = "" + + message = composer.msg_set_denom_metadata( + sender=sender, + description=description, + denom=denom, + subdenom=subdenom, + token_decimals=token_decimals, + name=name, + symbol=symbol, + uri=uri, + uri_hash=uri_hash, + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/75_MsgUpdateParams.py b/examples/chain_client/75_MsgUpdateParams.py new file mode 100644 index 00000000..0d53231b --- /dev/null +++ b/examples/chain_client/75_MsgUpdateParams.py @@ -0,0 +1,37 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_using_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + message = composer.msg_update_params( + authority=address.to_acc_bech32(), + denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test", + amount=1000, + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/76_MsgChangeAdmin.py b/examples/chain_client/76_MsgChangeAdmin.py new file mode 100644 index 00000000..2abc6ec6 --- /dev/null +++ b/examples/chain_client/76_MsgChangeAdmin.py @@ -0,0 +1,37 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_without_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + message = composer.msg_change_admin( + sender=address.to_acc_bech32(), + denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test", + new_admin="inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49", # This is the zero address to remove admin permissions + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/composer.py b/pyinjective/composer.py index 56491b50..e7d2deff 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -11,7 +11,7 @@ from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from pyinjective.core.token import Token from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_authz_pb, tx_pb2 as cosmos_authz_tx_pb -from pyinjective.proto.cosmos.bank.v1beta1 import tx_pb2 as cosmos_bank_tx_pb +from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as bank_pb, tx_pb2 as cosmos_bank_tx_pb 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 tx_pb2 as cosmos_distribution_tx_pb from pyinjective.proto.cosmos.gov.v1beta1 import tx_pb2 as cosmos_gov_tx_pb @@ -28,6 +28,10 @@ from pyinjective.proto.injective.oracle.v1beta1 import tx_pb2 as injective_oracle_tx_pb from pyinjective.proto.injective.peggy.v1 import msgs_pb2 as injective_peggy_tx_pb from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as chain_stream_query +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + params_pb2 as token_factory_params_pb, + tx_pb2 as token_factory_tx_pb, +) REQUEST_TO_RESPONSE_TYPE_MAP = { "MsgCreateSpotLimitOrder": injective_exchange_tx_pb.MsgCreateSpotLimitOrderResponse, @@ -957,6 +961,95 @@ def MsgInstantiateContract( # The coins in the list must be sorted in alphabetical order by denoms. ) + def msg_create_denom( + self, + sender: str, + subdenom: str, + name: str, + symbol: str, + ) -> token_factory_tx_pb.MsgCreateDenom: + return token_factory_tx_pb.MsgCreateDenom( + sender=sender, + subdenom=subdenom, + name=name, + symbol=symbol, + ) + + def msg_mint( + self, + sender: str, + amount: cosmos_dot_base_dot_v1beta1_dot_coin__pb2.Coin, + ) -> token_factory_tx_pb.MsgMint: + return token_factory_tx_pb.MsgMint(sender=sender, amount=amount) + + def msg_burn( + self, + sender: str, + amount: cosmos_dot_base_dot_v1beta1_dot_coin__pb2.Coin, + ) -> token_factory_tx_pb.MsgBurn: + return token_factory_tx_pb.MsgBurn(sender=sender, amount=amount) + + def msg_set_denom_metadata( + self, + sender: str, + description: str, + denom: str, + subdenom: str, + token_decimals: int, + name: str, + symbol: str, + uri: str, + uri_hash: str, + ) -> token_factory_tx_pb.MsgSetDenomMetadata: + micro_denom_unit = bank_pb.DenomUnit( + denom=denom, + exponent=0, + aliases=[f"micro{subdenom}"], + ) + denom_unit = bank_pb.DenomUnit( + denom=subdenom, + exponent=token_decimals, + aliases=[subdenom], + ) + metadata = bank_pb.Metadata( + description=description, + denom_units=[micro_denom_unit, denom_unit], + base=denom, + display=subdenom, + name=name, + symbol=symbol, + uri=uri, + uri_hash=uri_hash, + ) + return token_factory_tx_pb.MsgSetDenomMetadata(sender=sender, metadata=metadata) + + def msg_update_params( + self, + authority: str, + denom: str, + amount: int, + ) -> token_factory_tx_pb.MsgUpdateParams: + coin = self.Coin(amount=amount, denom=denom) + params = token_factory_params_pb.Params( + denom_creation_fee=[coin], + ) + return token_factory_tx_pb.MsgUpdateParams( + authority=authority, + params=params, + ) + + def msg_change_admin( + self, + sender: str, + denom: str, + new_admin: str, + ) -> token_factory_tx_pb.MsgChangeAdmin: + return token_factory_tx_pb.MsgChangeAdmin( + sender=sender, + denom=denom, + new_admin=new_admin, + ) + def chain_stream_bank_balances_filter( self, accounts: Optional[List[str]] = None ) -> chain_stream_query.BankBalancesFilter: diff --git a/tests/test_composer.py b/tests/test_composer.py index f3a9bdc2..392d0e7a 100644 --- a/tests/test_composer.py +++ b/tests/test_composer.py @@ -260,3 +260,119 @@ def test_buy_binary_option_order_creation_without_fixed_denom( assert order.order_type == exchange_pb2.OrderType.BUY assert order.margin == str(int(expected_margin)) assert order.trigger_price == "0" + + def test_msg_create_denom(self, basic_composer: Composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + subdenom = "inj-test" + name = "Injective Test" + symbol = "INJTEST" + + message = basic_composer.msg_create_denom( + sender=sender, + subdenom=subdenom, + name=name, + symbol=symbol, + ) + + assert message.sender == sender + assert message.subdenom == subdenom + assert message.name == name + assert message.symbol == symbol + + def test_msg_mint(self, basic_composer: Composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + amount = basic_composer.Coin( + amount=1_000_000, + denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test", + ) + + message = basic_composer.msg_mint( + sender=sender, + amount=amount, + ) + + assert message.sender == sender + assert message.amount == amount + + def test_msg_burn(self, basic_composer: Composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + amount = basic_composer.Coin( + amount=100, + denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test", + ) + + message = basic_composer.msg_burn( + sender=sender, + amount=amount, + ) + + assert message.sender == sender + assert message.amount == amount + + def test_msg_set_denom_metadata(self, basic_composer: Composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + description = "Injective Test Token" + subdenom = "inj_test" + denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test" + token_decimals = 6 + name = "Injective Test" + symbol = "INJTEST" + uri = "http://injective-test.com/icon.jpg" + uri_hash = "" + + message = basic_composer.msg_set_denom_metadata( + sender=sender, + description=description, + denom=denom, + subdenom=subdenom, + token_decimals=token_decimals, + name=name, + symbol=symbol, + uri=uri, + uri_hash=uri_hash, + ) + + assert message.sender == sender + assert message.metadata.description == description + assert message.metadata.denom_units[0].denom == denom + assert message.metadata.denom_units[0].exponent == 0 + assert message.metadata.denom_units[0].aliases == [f"micro{subdenom}"] + assert message.metadata.denom_units[1].denom == subdenom + assert message.metadata.denom_units[1].exponent == token_decimals + assert message.metadata.denom_units[1].aliases == [subdenom] + assert message.metadata.base == denom + assert message.metadata.display == subdenom + assert message.metadata.name == name + assert message.metadata.symbol == symbol + assert message.metadata.uri == uri + assert message.metadata.uri_hash == uri_hash + + def test_msg_update_params(self, basic_composer: Composer): + authority = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + amount = 1000 + denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test" + + message = basic_composer.msg_update_params( + authority=authority, + denom=denom, + amount=amount, + ) + + assert message.authority == authority + assert message.params.denom_creation_fee[0].amount == str(amount) + assert message.params.denom_creation_fee[0].denom == denom + + def test_msg_change_admin(self, basic_composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test" + new_admin = "inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49" + + message = basic_composer.msg_change_admin( + sender=sender, + denom=denom, + new_admin=new_admin, + ) + + assert message.sender == sender + assert message.denom == denom + assert message.new_admin == new_admin From 012ae22f1cac688682755f80fc82fa8fd7dc3e21 Mon Sep 17 00:00:00 2001 From: abel Date: Tue, 2 Jan 2024 15:35:21 -0300 Subject: [PATCH 75/83] (feat) Added support for missing bank module endpoints --- examples/chain_client/58_ContractInfo.py | 16 + examples/chain_client/59_ContractHistory.py | 20 + examples/chain_client/60_ContractsByCode.py | 20 + examples/chain_client/61_AllContractsState.py | 20 + examples/chain_client/62_RawContractState.py | 17 + .../chain_client/63_SmartContractState.py | 17 + examples/chain_client/64_SmartContractCode.py | 20 + .../chain_client/65_SmartContractCodes.py | 19 + .../66_SmartContractPinnedCodes.py | 19 + .../chain_client/67_ContractsByCreator.py | 20 + pyinjective/async_client.py | 76 +++ .../client/chain/grpc/chain_grpc_wasm_api.py | 144 +++++ .../grpc/configurable_wasm_query_servicer.py | 56 ++ .../chain/grpc/test_chain_grpc_wasm_api.py | 508 ++++++++++++++++++ 14 files changed, 972 insertions(+) create mode 100644 examples/chain_client/58_ContractInfo.py create mode 100644 examples/chain_client/59_ContractHistory.py create mode 100644 examples/chain_client/60_ContractsByCode.py create mode 100644 examples/chain_client/61_AllContractsState.py create mode 100644 examples/chain_client/62_RawContractState.py create mode 100644 examples/chain_client/63_SmartContractState.py create mode 100644 examples/chain_client/64_SmartContractCode.py create mode 100644 examples/chain_client/65_SmartContractCodes.py create mode 100644 examples/chain_client/66_SmartContractPinnedCodes.py create mode 100644 examples/chain_client/67_ContractsByCreator.py create mode 100644 pyinjective/client/chain/grpc/chain_grpc_wasm_api.py create mode 100644 tests/client/chain/grpc/configurable_wasm_query_servicer.py create mode 100644 tests/client/chain/grpc/test_chain_grpc_wasm_api.py diff --git a/examples/chain_client/58_ContractInfo.py b/examples/chain_client/58_ContractInfo.py new file mode 100644 index 00000000..9cee904c --- /dev/null +++ b/examples/chain_client/58_ContractInfo.py @@ -0,0 +1,16 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + contract_info = await client.fetch_contract_info(address=address) + print(contract_info) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/59_ContractHistory.py b/examples/chain_client/59_ContractHistory.py new file mode 100644 index 00000000..460056a8 --- /dev/null +++ b/examples/chain_client/59_ContractHistory.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + address = "inj18pp4vjwucpgg4nw3rr4wh4zyjg9ct5t8v9wqgj" + limit = 2 + pagination = PaginationOption(limit=limit) + contract_history = await client.fetch_contract_history(address=address, pagination=pagination) + print(contract_history) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/60_ContractsByCode.py b/examples/chain_client/60_ContractsByCode.py new file mode 100644 index 00000000..1994ce87 --- /dev/null +++ b/examples/chain_client/60_ContractsByCode.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + code_id = 3770 + limit = 2 + pagination = PaginationOption(limit=limit) + contracts = await client.fetch_contracts_by_code(code_id=code_id, pagination=pagination) + print(contracts) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/61_AllContractsState.py b/examples/chain_client/61_AllContractsState.py new file mode 100644 index 00000000..a96bfe40 --- /dev/null +++ b/examples/chain_client/61_AllContractsState.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + address = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + limit = 2 + pagination = PaginationOption(limit=limit) + contract_history = await client.fetch_all_contracts_state(address=address, pagination=pagination) + print(contract_history) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/62_RawContractState.py b/examples/chain_client/62_RawContractState.py new file mode 100644 index 00000000..5c9bce71 --- /dev/null +++ b/examples/chain_client/62_RawContractState.py @@ -0,0 +1,17 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + query_data = '{"get_count": {}}' + contract_state = await client.fetch_raw_contract_state(address=address, query_data=query_data) + print(contract_state) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/63_SmartContractState.py b/examples/chain_client/63_SmartContractState.py new file mode 100644 index 00000000..b416d88c --- /dev/null +++ b/examples/chain_client/63_SmartContractState.py @@ -0,0 +1,17 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + address = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + query_data = '{"get_count": {}}' + contract_state = await client.fetch_smart_contract_state(address=address, query_data=query_data) + print(contract_state) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/64_SmartContractCode.py b/examples/chain_client/64_SmartContractCode.py new file mode 100644 index 00000000..d523605d --- /dev/null +++ b/examples/chain_client/64_SmartContractCode.py @@ -0,0 +1,20 @@ +import asyncio +import base64 + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + response = await client.fetch_code(code_id=290) + print(response) + + code = base64.b64decode(response["data"]).decode(encoding="utf-8", errors="replace") + + print(f"\n\n\n{code}") + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/65_SmartContractCodes.py b/examples/chain_client/65_SmartContractCodes.py new file mode 100644 index 00000000..96135ba3 --- /dev/null +++ b/examples/chain_client/65_SmartContractCodes.py @@ -0,0 +1,19 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + limit = 2 + pagination = PaginationOption(limit=limit) + response = await client.fetch_codes(pagination=pagination) + print(response) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/66_SmartContractPinnedCodes.py b/examples/chain_client/66_SmartContractPinnedCodes.py new file mode 100644 index 00000000..9d435314 --- /dev/null +++ b/examples/chain_client/66_SmartContractPinnedCodes.py @@ -0,0 +1,19 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + limit = 2 + pagination = PaginationOption(limit=limit) + response = await client.fetch_pinned_codes(pagination=pagination) + print(response) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/67_ContractsByCreator.py b/examples/chain_client/67_ContractsByCreator.py new file mode 100644 index 00000000..2014eee1 --- /dev/null +++ b/examples/chain_client/67_ContractsByCreator.py @@ -0,0 +1,20 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import Network + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + client = AsyncClient(network) + creator = "inj1h3gepa4tszh66ee67he53jzmprsqc2l9npq3ty" + limit = 2 + pagination = PaginationOption(limit=limit) + response = await client.fetch_contracts_by_creator(creator_address=creator, pagination=pagination) + print(response) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 50eddecf..66892d89 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -13,6 +13,7 @@ from pyinjective.client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi from pyinjective.client.chain.grpc.chain_grpc_authz_api import ChainGrpcAuthZApi from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi +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 @@ -183,6 +184,12 @@ def __init__( metadata_query_provider=self._chain_cookie_metadata_requestor ), ) + self.wasm_api = ChainGrpcWasmApi( + channel=self.chain_channel, + metadata_provider=lambda: self.network.chain_metadata( + metadata_query_provider=self._chain_cookie_metadata_requestor + ), + ) self.chain_stream_api = ChainGrpcChainStream( channel=self.chain_stream_channel, @@ -662,6 +669,75 @@ async def listen_keepalive( on_status_callback=on_status_callback, ) + # Wasm module + async def fetch_contract_info(self, address: str) -> Dict[str, Any]: + return await self.wasm_api.fetch_contract_info(address=address) + + async def fetch_contract_history( + self, + address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_contract_history( + address=address, + pagination=pagination, + ) + + async def fetch_contracts_by_code( + self, + code_id: int, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_contracts_by_code( + code_id=code_id, + pagination=pagination, + ) + + async def fetch_all_contracts_state( + self, + address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_all_contracts_state( + address=address, + pagination=pagination, + ) + + async def fetch_raw_contract_state(self, address: str, query_data: str) -> Dict[str, Any]: + return await self.wasm_api.fetch_raw_contract_state(address=address, query_data=query_data) + + async def fetch_smart_contract_state(self, address: str, query_data: str) -> Dict[str, Any]: + return await self.wasm_api.fetch_smart_contract_state(address=address, query_data=query_data) + + async def fetch_code(self, code_id: int) -> Dict[str, Any]: + return await self.wasm_api.fetch_code(code_id=code_id) + + async def fetch_codes( + self, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_codes( + pagination=pagination, + ) + + async def fetch_pinned_codes( + self, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_pinned_codes( + pagination=pagination, + ) + + async def fetch_contracts_by_creator( + self, + creator_address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + return await self.wasm_api.fetch_contracts_by_creator( + creator_address=creator_address, + pagination=pagination, + ) + # Explorer RPC async def get_tx_by_hash(self, tx_hash: str): diff --git a/pyinjective/client/chain/grpc/chain_grpc_wasm_api.py b/pyinjective/client/chain/grpc/chain_grpc_wasm_api.py new file mode 100644 index 00000000..1d08e1c3 --- /dev/null +++ b/pyinjective/client/chain/grpc/chain_grpc_wasm_api.py @@ -0,0 +1,144 @@ +from typing import Any, Callable, Dict, Optional + +from grpc.aio import Channel + +from pyinjective.client.model.pagination import PaginationOption +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 + + +class ChainGrpcWasmApi: + def __init__(self, channel: Channel, metadata_provider: Callable): + self._stub = wasm_query_grpc.QueryStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + async def fetch_module_params(self) -> Dict[str, Any]: + request = wasm_query_pb.QueryParamsRequest() + response = await self._execute_call(call=self._stub.Params, request=request) + + return response + + async def fetch_contract_info(self, address: str) -> Dict[str, Any]: + request = wasm_query_pb.QueryContractInfoRequest(address=address) + response = await self._execute_call(call=self._stub.ContractInfo, request=request) + + return response + + async def fetch_contract_history( + self, + address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryContractHistoryRequest( + address=address, + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.ContractHistory, request=request) + + return response + + async def fetch_contracts_by_code( + self, + code_id: int, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryContractsByCodeRequest( + code_id=code_id, + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.ContractsByCode, request=request) + + return response + + async def fetch_all_contracts_state( + self, + address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryAllContractStateRequest( + address=address, + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.AllContractState, request=request) + + return response + + async def fetch_raw_contract_state(self, address: str, query_data: str) -> Dict[str, Any]: + request = wasm_query_pb.QueryRawContractStateRequest( + address=address, + query_data=query_data.encode(), + ) + response = await self._execute_call(call=self._stub.RawContractState, request=request) + + return response + + async def fetch_smart_contract_state(self, address: str, query_data: str) -> Dict[str, Any]: + request = wasm_query_pb.QuerySmartContractStateRequest( + address=address, + query_data=query_data.encode(), + ) + response = await self._execute_call(call=self._stub.SmartContractState, request=request) + + return response + + async def fetch_code(self, code_id: int) -> Dict[str, Any]: + request = wasm_query_pb.QueryCodeRequest(code_id=code_id) + response = await self._execute_call(call=self._stub.Code, request=request) + + return response + + async def fetch_codes( + self, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryCodesRequest( + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.Codes, request=request) + + return response + + async def fetch_pinned_codes( + self, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryPinnedCodesRequest( + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.PinnedCodes, request=request) + + return response + + async def fetch_contracts_by_creator( + self, + creator_address: str, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + pagination_request = None + if pagination is not None: + pagination_request = pagination.create_pagination_request() + request = wasm_query_pb.QueryContractsByCreatorRequest( + creator_address=creator_address, + pagination=pagination_request, + ) + response = await self._execute_call(call=self._stub.ContractsByCreator, 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/tests/client/chain/grpc/configurable_wasm_query_servicer.py b/tests/client/chain/grpc/configurable_wasm_query_servicer.py new file mode 100644 index 00000000..8b087e4c --- /dev/null +++ b/tests/client/chain/grpc/configurable_wasm_query_servicer.py @@ -0,0 +1,56 @@ +from collections import deque + +from pyinjective.proto.cosmwasm.wasm.v1 import query_pb2 as wasm_query_pb, query_pb2_grpc as wasm_query_grpc + + +class ConfigurableWasmQueryServicer(wasm_query_grpc.QueryServicer): + def __init__(self): + super().__init__() + self.params_responses = deque() + self.contract_info_responses = deque() + self.contract_history_responses = deque() + self.contracts_by_code_responses = deque() + self.all_contracts_state_responses = deque() + self.raw_contract_state_responses = deque() + self.smart_contract_state_responses = deque() + self.code_responses = deque() + self.codes_responses = deque() + self.pinned_codes_responses = deque() + self.contracts_by_creator_responses = deque() + + async def Params(self, request: wasm_query_pb.QueryParamsRequest, context=None, metadata=None): + return self.params_responses.pop() + + async def ContractInfo(self, request: wasm_query_pb.QueryContractInfoRequest, context=None, metadata=None): + return self.contract_info_responses.pop() + + async def ContractHistory(self, request: wasm_query_pb.QueryContractHistoryRequest, context=None, metadata=None): + return self.contract_history_responses.pop() + + async def ContractsByCode(self, request: wasm_query_pb.QueryContractsByCodeRequest, context=None, metadata=None): + return self.contracts_by_code_responses.pop() + + async def AllContractState(self, request: wasm_query_pb.QueryAllContractStateRequest, context=None, metadata=None): + return self.all_contracts_state_responses.pop() + + async def RawContractState(self, request: wasm_query_pb.QueryRawContractStateRequest, context=None, metadata=None): + return self.raw_contract_state_responses.pop() + + async def SmartContractState( + self, request: wasm_query_pb.QuerySmartContractStateRequest, context=None, metadata=None + ): + return self.smart_contract_state_responses.pop() + + async def Code(self, request: wasm_query_pb.QueryCodeRequest, context=None, metadata=None): + return self.code_responses.pop() + + async def Codes(self, request: wasm_query_pb.QueryCodesRequest, context=None, metadata=None): + return self.codes_responses.pop() + + async def PinnedCodes(self, request: wasm_query_pb.QueryPinnedCodesRequest, context=None, metadata=None): + return self.pinned_codes_responses.pop() + + async def ContractsByCreator( + self, request: wasm_query_pb.QueryContractsByCreatorRequest, context=None, metadata=None + ): + return self.contracts_by_creator_responses.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_wasm_api.py b/tests/client/chain/grpc/test_chain_grpc_wasm_api.py new file mode 100644 index 00000000..9822d1ee --- /dev/null +++ b/tests/client/chain/grpc/test_chain_grpc_wasm_api.py @@ -0,0 +1,508 @@ +import base64 +import json + +import grpc +import pytest + +from pyinjective.client.chain.grpc.chain_grpc_wasm_api import ChainGrpcWasmApi +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import 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 +from tests.client.chain.grpc.configurable_wasm_query_servicer import ConfigurableWasmQueryServicer + + +@pytest.fixture +def wasm_servicer(): + return ConfigurableWasmQueryServicer() + + +class TestChainGrpcBankApi: + @pytest.mark.asyncio + async def test_fetch_module_params( + self, + wasm_servicer, + ): + access_config = wasm_types_pb.AccessConfig( + permission=0, + addresses=["inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7"], + ) + params = wasm_types_pb.Params( + code_upload_access=access_config, + instantiate_default_permission=0, + ) + wasm_servicer.params_responses.append(wasm_query_pb.QueryParamsResponse(params=params)) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + module_params = await api.fetch_module_params() + expected_params = { + "params": { + "codeUploadAccess": { + "permission": wasm_types_pb.AccessType.Name(access_config.permission), + "address": "", + "addresses": access_config.addresses, + }, + "instantiateDefaultPermission": wasm_types_pb.AccessType.Name(params.instantiate_default_permission), + } + } + + assert expected_params == module_params + + @pytest.mark.asyncio + async def test_fetch_contract_info( + self, + wasm_servicer, + ): + address = "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r" + tx_position = wasm_types_pb.AbsoluteTxPosition( + block_height=1234, + tx_index=9999, + ) + contract_info = wasm_types_pb.ContractInfo( + code_id=10, + creator="inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", + admin="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + label="test label", + created=tx_position, + ibc_port_id="ibc port id", + ) + wasm_servicer.contract_info_responses.append( + wasm_query_pb.QueryContractInfoResponse( + address=address, + contract_info=contract_info, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_contract_info(address=address) + expected_contract_info = { + "address": address, + "contractInfo": { + "codeId": str(contract_info.code_id), + "creator": contract_info.creator, + "admin": contract_info.admin, + "label": contract_info.label, + "created": { + "blockHeight": str(tx_position.block_height), + "txIndex": str(tx_position.tx_index), + }, + "ibcPortId": contract_info.ibc_port_id, + }, + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_contract_history( + self, + wasm_servicer, + ): + tx_position = wasm_types_pb.AbsoluteTxPosition( + block_height=1234, + tx_index=9999, + ) + history_entry = wasm_types_pb.ContractCodeHistoryEntry( + operation=0, + code_id=3770, + updated=tx_position, + msg="raw message test".encode(), + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.contract_history_responses.append( + wasm_query_pb.QueryContractHistoryResponse( + entries=[history_entry], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_contract_history( + address="inj18pp4vjwucpgg4nw3rr4wh4zyjg9ct5t8v9wqgj", + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_contract_info = { + "entries": [ + { + "operation": wasm_types_pb.ContractCodeHistoryOperationType.Name(history_entry.operation), + "codeId": str(history_entry.code_id), + "updated": { + "blockHeight": str(tx_position.block_height), + "txIndex": str(tx_position.tx_index), + }, + "msg": base64.b64encode(history_entry.msg).decode(), + } + ], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_contracts_by_code( + self, + wasm_servicer, + ): + contract = "inj1z4l7jc8dj3y9484aqcrmf6y8mcctvkmm9zkf7n" + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.contracts_by_code_responses.append( + wasm_query_pb.QueryContractsByCodeResponse( + contracts=[contract], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_contracts_by_code( + code_id=3770, + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_contract_info = { + "contracts": [contract], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_all_contracts_state( + self, + wasm_servicer, + ): + model = wasm_types_pb.Model( + key=( + "\x00\x08redeemed\x00*inj13t085sclq8fxy8d3gcjt3jap45j4fwlc79lykw" "\x00\x00\x00\x00\x00\x00\x00\x00" + ).encode(), + value='{"phase_id":0,"redeemed":1,"mint_limit":1}'.encode(), + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.all_contracts_state_responses.append( + wasm_query_pb.QueryAllContractStateResponse( + models=[model], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_all_contracts_state( + address="inj1z4l7jc8dj3y9484aqcrmf6y8mcctvkmm9zkf7n", + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_contract_info = { + "models": [{"key": base64.b64encode(model.key).decode(), "value": base64.b64encode(model.value).decode()}], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_raw_contract_state( + self, + wasm_servicer, + ): + data = "test data".encode() + wasm_servicer.raw_contract_state_responses.append( + wasm_query_pb.QueryRawContractStateResponse( + data=data, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_raw_contract_state( + address="inj1z4l7jc8dj3y9484aqcrmf6y8mcctvkmm9zkf7n", + query_data="query data", + ) + expected_contract_info = { + "data": base64.b64encode(data).decode(), + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_smart_contract_state( + self, + wasm_servicer, + ): + data = json.dumps({"count": 1037}).encode() + wasm_servicer.smart_contract_state_responses.append( + wasm_query_pb.QuerySmartContractStateResponse( + data=data, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_smart_contract_state( + address="inj1z4l7jc8dj3y9484aqcrmf6y8mcctvkmm9zkf7n", + query_data="query data", + ) + expected_contract_info = { + "data": base64.b64encode(data).decode(), + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_code( + self, + wasm_servicer, + ): + access_config = wasm_types_pb.AccessConfig( + permission=0, + addresses=["inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7"], + ) + code_info_response = wasm_query_pb.CodeInfoResponse( + code_id=290, + creator="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + data_hash="0xf8e7689e23ac0c9d53f44a8fd98c686c20b0140a8d76d600e2c546bfbba7758d".encode(), + instantiate_permission=access_config, + ) + data = "code".encode() + wasm_servicer.code_responses.append( + wasm_query_pb.QueryCodeResponse( + code_info=code_info_response, + data=data, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + info = await api.fetch_code(code_id=code_info_response.code_id) + expected_contract_info = { + "codeInfo": { + "codeId": str(code_info_response.code_id), + "creator": code_info_response.creator, + "dataHash": base64.b64encode(code_info_response.data_hash).decode(), + "instantiatePermission": { + "permission": wasm_types_pb.AccessType.Name(access_config.permission), + "address": "", + "addresses": access_config.addresses, + }, + }, + "data": base64.b64encode(data).decode(), + } + + assert info == expected_contract_info + + @pytest.mark.asyncio + async def test_fetch_codes( + self, + wasm_servicer, + ): + access_config = wasm_types_pb.AccessConfig( + permission=0, + addresses=["inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7"], + ) + code_info_response = wasm_query_pb.CodeInfoResponse( + code_id=290, + creator="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + data_hash="0xf8e7689e23ac0c9d53f44a8fd98c686c20b0140a8d76d600e2c546bfbba7758d".encode(), + instantiate_permission=access_config, + ) + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.codes_responses.append( + wasm_query_pb.QueryCodesResponse( + code_infos=[code_info_response], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + codes = await api.fetch_codes( + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_codes = { + "codeInfos": [ + { + "codeId": str(code_info_response.code_id), + "creator": code_info_response.creator, + "dataHash": base64.b64encode(code_info_response.data_hash).decode(), + "instantiatePermission": { + "permission": wasm_types_pb.AccessType.Name(access_config.permission), + "address": "", + "addresses": access_config.addresses, + }, + }, + ], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert codes == expected_codes + + @pytest.mark.asyncio + async def test_fetch_pinned_codes( + self, + wasm_servicer, + ): + code_id = 290 + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.pinned_codes_responses.append( + wasm_query_pb.QueryPinnedCodesResponse( + code_ids=[code_id], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + codes = await api.fetch_pinned_codes( + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_codes = { + "codeIds": [str(code_id)], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert codes == expected_codes + + @pytest.mark.asyncio + async def test_contracts_by_creator( + self, + wasm_servicer, + ): + contract_address = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + pagination = pagination_pb.PageResponse( + next_key=( + "factory/inj1vkrp72xd67plcggcfjtjelqa4t5a093xljf2vj/" "inj1spw6nd0pj3kd3fgjljhuqpc8tv72a9v89myuja" + ).encode(), + total=179, + ) + + wasm_servicer.contracts_by_creator_responses.append( + wasm_query_pb.QueryContractsByCreatorResponse( + contract_addresses=[contract_address], + pagination=pagination, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcWasmApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._stub = wasm_servicer + + codes = await api.fetch_contracts_by_creator( + creator_address="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", + pagination=PaginationOption( + skip=0, + limit=100, + ), + ) + expected_codes = { + "contractAddresses": [contract_address], + "pagination": { + "nextKey": base64.b64encode(pagination.next_key).decode(), + "total": "179", + }, + } + + assert codes == expected_codes + + async def _dummy_metadata_provider(self): + return None From a9e14d8728196a4597ccbd3090ecbce590c244c3 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 3 Jan 2024 12:36:32 -0300 Subject: [PATCH 76/83] (feat) Implemented all TokenFactory query module endpoints --- .../chain_client/68_AuthorityDenomMetadata.py | 15 ++ examples/chain_client/69_DenomsFromCreator.py | 15 ++ .../70_TokenfactoryModuleState.py | 15 ++ pyinjective/async_client.py | 25 +++ .../grpc/chain_grpc_token_factory_api.py | 51 ++++++ ...nfigurable_token_factory_query_servicer.py | 33 ++++ .../grpc/test_chain_grpc_token_factory_api.py | 159 ++++++++++++++++++ 7 files changed, 313 insertions(+) create mode 100644 examples/chain_client/68_AuthorityDenomMetadata.py create mode 100644 examples/chain_client/69_DenomsFromCreator.py create mode 100644 examples/chain_client/70_TokenfactoryModuleState.py create mode 100644 pyinjective/client/chain/grpc/chain_grpc_token_factory_api.py create mode 100644 tests/client/chain/grpc/configurable_token_factory_query_servicer.py create mode 100644 tests/client/chain/grpc/test_chain_grpc_token_factory_api.py diff --git a/examples/chain_client/68_AuthorityDenomMetadata.py b/examples/chain_client/68_AuthorityDenomMetadata.py new file mode 100644 index 00000000..f5ebaab5 --- /dev/null +++ b/examples/chain_client/68_AuthorityDenomMetadata.py @@ -0,0 +1,15 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + metadata = await client.fetch_denom_authority_metadata(creator="inj1zvy8xrlhe7ex9scer868clfstdv7j6vz790kwa") + print(metadata) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/69_DenomsFromCreator.py b/examples/chain_client/69_DenomsFromCreator.py new file mode 100644 index 00000000..17a486d1 --- /dev/null +++ b/examples/chain_client/69_DenomsFromCreator.py @@ -0,0 +1,15 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + denoms = await client.fetch_denoms_from_creator(creator="inj1maeyvxfamtn8lfyxpjca8kuvauuf2qeu6gtxm3") + print(denoms) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/70_TokenfactoryModuleState.py b/examples/chain_client/70_TokenfactoryModuleState.py new file mode 100644 index 00000000..8f9b08f3 --- /dev/null +++ b/examples/chain_client/70_TokenfactoryModuleState.py @@ -0,0 +1,15 @@ +import asyncio + +from pyinjective.async_client import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + network = Network.testnet() + client = AsyncClient(network) + state = await client.fetch_tokenfactory_module_state() + print(state) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 66892d89..ec42c2ce 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -13,6 +13,7 @@ from pyinjective.client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi from pyinjective.client.chain.grpc.chain_grpc_authz_api import ChainGrpcAuthZApi from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi +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 @@ -178,6 +179,12 @@ def __init__( metadata_query_provider=self._chain_cookie_metadata_requestor ), ) + self.token_factory_api = ChainGrpcTokenFactoryApi( + channel=self.chain_channel, + metadata_provider=lambda: self.network.chain_metadata( + metadata_query_provider=self._chain_cookie_metadata_requestor + ), + ) self.tx_api = TxGrpcApi( channel=self.chain_channel, metadata_provider=lambda: self.network.chain_metadata( @@ -738,6 +745,24 @@ async def fetch_contracts_by_creator( pagination=pagination, ) + # Token Factory module + + async def fetch_denom_authority_metadata( + self, + creator: str, + sub_denom: Optional[str] = None, + ) -> Dict[str, Any]: + return await self.token_factory_api.fetch_denom_authority_metadata(creator=creator, sub_denom=sub_denom) + + async def fetch_denoms_from_creator( + self, + creator: str, + ) -> Dict[str, Any]: + return await self.token_factory_api.fetch_denoms_from_creator(creator=creator) + + async def fetch_tokenfactory_module_state(self) -> Dict[str, Any]: + return await self.token_factory_api.fetch_tokenfactory_module_state() + # Explorer RPC async def get_tx_by_hash(self, tx_hash: str): diff --git a/pyinjective/client/chain/grpc/chain_grpc_token_factory_api.py b/pyinjective/client/chain/grpc/chain_grpc_token_factory_api.py new file mode 100644 index 00000000..48e1df1c --- /dev/null +++ b/pyinjective/client/chain/grpc/chain_grpc_token_factory_api.py @@ -0,0 +1,51 @@ +from typing import Any, Callable, Dict, Optional + +from grpc.aio import Channel + +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + query_pb2 as token_factory_query_pb, + query_pb2_grpc as token_factory_query_grpc, + tx_pb2_grpc as token_factory_tx_grpc, +) +from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant + + +class ChainGrpcTokenFactoryApi: + def __init__(self, channel: Channel, metadata_provider: Callable): + self._query_stub = token_factory_query_grpc.QueryStub(channel) + self._tx_stub = token_factory_tx_grpc.MsgStub(channel) + self._assistant = GrpcApiRequestAssistant(metadata_provider=metadata_provider) + + async def fetch_module_params(self) -> Dict[str, Any]: + request = token_factory_query_pb.QueryParamsRequest() + response = await self._execute_call(call=self._query_stub.Params, request=request) + + return response + + async def fetch_denom_authority_metadata( + self, + creator: str, + sub_denom: Optional[str] = None, + ) -> Dict[str, Any]: + request = token_factory_query_pb.QueryDenomAuthorityMetadataRequest( + creator=creator, + sub_denom=sub_denom, + ) + response = await self._execute_call(call=self._query_stub.DenomAuthorityMetadata, request=request) + + return response + + async def fetch_denoms_from_creator(self, creator: str) -> Dict[str, Any]: + request = token_factory_query_pb.QueryDenomsFromCreatorRequest(creator=creator) + response = await self._execute_call(call=self._query_stub.DenomsFromCreator, request=request) + + return response + + async def fetch_tokenfactory_module_state(self) -> Dict[str, Any]: + request = token_factory_query_pb.QueryModuleStateRequest() + response = await self._execute_call(call=self._query_stub.TokenfactoryModuleState, 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/tests/client/chain/grpc/configurable_token_factory_query_servicer.py b/tests/client/chain/grpc/configurable_token_factory_query_servicer.py new file mode 100644 index 00000000..56fb8d58 --- /dev/null +++ b/tests/client/chain/grpc/configurable_token_factory_query_servicer.py @@ -0,0 +1,33 @@ +from collections import deque + +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + query_pb2 as token_factory_query_pb, + query_pb2_grpc as token_factory_query_grpc, +) + + +class ConfigurableTokenFactoryQueryServicer(token_factory_query_grpc.QueryServicer): + def __init__(self): + super().__init__() + self.params_responses = deque() + self.denom_authority_metadata_responses = deque() + self.denoms_from_creator_responses = deque() + self.tokenfactory_module_state_responses = deque() + + async def Params(self, request: token_factory_query_pb.QueryParamsRequest, context=None, metadata=None): + return self.params_responses.pop() + + async def DenomAuthorityMetadata( + self, request: token_factory_query_pb.QueryDenomAuthorityMetadataRequest, context=None, metadata=None + ): + return self.denom_authority_metadata_responses.pop() + + async def DenomsFromCreator( + self, request: token_factory_query_pb.QueryDenomsFromCreatorRequest, context=None, metadata=None + ): + return self.denoms_from_creator_responses.pop() + + async def TokenfactoryModuleState( + self, request: token_factory_query_pb.QueryModuleStateRequest, context=None, metadata=None + ): + return self.tokenfactory_module_state_responses.pop() diff --git a/tests/client/chain/grpc/test_chain_grpc_token_factory_api.py b/tests/client/chain/grpc/test_chain_grpc_token_factory_api.py new file mode 100644 index 00000000..418dfb35 --- /dev/null +++ b/tests/client/chain/grpc/test_chain_grpc_token_factory_api.py @@ -0,0 +1,159 @@ +import grpc +import pytest + +from pyinjective.client.chain.grpc.chain_grpc_token_factory_api import ChainGrpcTokenFactoryApi +from pyinjective.core.network import Network +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + authorityMetadata_pb2 as token_factory_authority_metadata_pb, + genesis_pb2 as token_factory_genesis_pb, + params_pb2 as token_factory_params_pb, + query_pb2 as token_factory_query_pb, +) +from tests.client.chain.grpc.configurable_token_factory_query_servicer import ConfigurableTokenFactoryQueryServicer + + +@pytest.fixture +def token_factory_query_servicer(): + return ConfigurableTokenFactoryQueryServicer() + + +class TestChainGrpcTokenFactoryApi: + @pytest.mark.asyncio + async def test_fetch_module_params( + self, + token_factory_query_servicer, + ): + coin = coin_pb.Coin(denom="inj", amount="988987297011197594664") + params = token_factory_params_pb.Params( + denom_creation_fee=[coin], + ) + token_factory_query_servicer.params_responses.append(token_factory_query_pb.QueryParamsResponse(params=params)) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcTokenFactoryApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._query_stub = token_factory_query_servicer + + module_params = await api.fetch_module_params() + expected_params = { + "params": { + "denomCreationFee": [ + {"denom": coin.denom, "amount": coin.amount}, + ], + } + } + + assert module_params == expected_params + + @pytest.mark.asyncio + async def test_fetch_denom_authority_metadata( + self, + token_factory_query_servicer, + ): + authority_metadata = token_factory_authority_metadata_pb.DenomAuthorityMetadata( + admin="inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7", + ) + token_factory_query_servicer.denom_authority_metadata_responses.append( + token_factory_query_pb.QueryDenomAuthorityMetadataResponse( + authority_metadata=authority_metadata, + ) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcTokenFactoryApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._query_stub = token_factory_query_servicer + + metadata = await api.fetch_denom_authority_metadata( + creator=authority_metadata.admin, + sub_denom="inj", + ) + expected_metadata = { + "authorityMetadata": { + "admin": authority_metadata.admin, + }, + } + + assert metadata == expected_metadata + + @pytest.mark.asyncio + async def test_fetch_denoms_from_creator( + self, + token_factory_query_servicer, + ): + denom = "factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth" + token_factory_query_servicer.denoms_from_creator_responses.append( + token_factory_query_pb.QueryDenomsFromCreatorResponse(denoms=[denom]) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcTokenFactoryApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._query_stub = token_factory_query_servicer + + denoms = await api.fetch_denoms_from_creator(creator="inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7") + expected_denoms = {"denoms": [denom]} + + assert denoms == expected_denoms + + @pytest.mark.asyncio + async def test_fetch_tokenfactory_module_state( + self, + token_factory_query_servicer, + ): + coin = coin_pb.Coin(denom="inj", amount="988987297011197594664") + params = token_factory_params_pb.Params( + denom_creation_fee=[coin], + ) + authority_metadata = token_factory_authority_metadata_pb.DenomAuthorityMetadata( + admin="inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0", + ) + genesis_denom = token_factory_genesis_pb.GenesisDenom( + denom="factory/inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0/ninja", + authority_metadata=authority_metadata, + name="Dog Wif Nunchucks", + symbol="NINJA", + ) + state = token_factory_genesis_pb.GenesisState( + params=params, + factory_denoms=[genesis_denom], + ) + token_factory_query_servicer.tokenfactory_module_state_responses.append( + token_factory_query_pb.QueryModuleStateResponse(state=state) + ) + + network = Network.devnet() + channel = grpc.aio.insecure_channel(network.grpc_endpoint) + + api = ChainGrpcTokenFactoryApi(channel=channel, metadata_provider=lambda: self._dummy_metadata_provider()) + api._query_stub = token_factory_query_servicer + + state = await api.fetch_tokenfactory_module_state() + expected_state = { + "state": { + "params": { + "denomCreationFee": [ + {"denom": coin.denom, "amount": coin.amount}, + ], + }, + "factoryDenoms": [ + { + "denom": genesis_denom.denom, + "authorityMetadata": { + "admin": authority_metadata.admin, + }, + "name": genesis_denom.name, + "symbol": genesis_denom.symbol, + } + ], + } + } + + assert state == expected_state + + async def _dummy_metadata_provider(self): + return None From e94940d8dcd9cd2a41c7c1c13cf82947f51c526e Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 3 Jan 2024 16:50:41 -0300 Subject: [PATCH 77/83] (feat) Added logic in Composer to create the Tokenfactory related messages to admin tokens. Added new example scripts for all the messages. --- examples/chain_client/71_CreateDenom.py | 35 ++++++ examples/chain_client/72_MsgMint.py | 38 ++++++ examples/chain_client/73_MsgBurn.py | 38 ++++++ .../chain_client/74_MsgSetDenomMetadata.py | 53 ++++++++ examples/chain_client/75_MsgUpdateParams.py | 37 ++++++ examples/chain_client/76_MsgChangeAdmin.py | 37 ++++++ pyinjective/composer.py | 95 +++++++++++++- tests/test_composer.py | 116 ++++++++++++++++++ 8 files changed, 448 insertions(+), 1 deletion(-) create mode 100644 examples/chain_client/71_CreateDenom.py create mode 100644 examples/chain_client/72_MsgMint.py create mode 100644 examples/chain_client/73_MsgBurn.py create mode 100644 examples/chain_client/74_MsgSetDenomMetadata.py create mode 100644 examples/chain_client/75_MsgUpdateParams.py create mode 100644 examples/chain_client/76_MsgChangeAdmin.py diff --git a/examples/chain_client/71_CreateDenom.py b/examples/chain_client/71_CreateDenom.py new file mode 100644 index 00000000..61e76dbf --- /dev/null +++ b/examples/chain_client/71_CreateDenom.py @@ -0,0 +1,35 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_using_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + message = composer.msg_create_denom( + sender=address.to_acc_bech32(), subdenom="inj_test", name="Injective Test Token", symbol="INJTEST" + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/72_MsgMint.py b/examples/chain_client/72_MsgMint.py new file mode 100644 index 00000000..e96bad93 --- /dev/null +++ b/examples/chain_client/72_MsgMint.py @@ -0,0 +1,38 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_using_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + amount = composer.Coin(amount=1_000_000_000, denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test") + + message = composer.msg_mint( + sender=address.to_acc_bech32(), + amount=amount, + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/73_MsgBurn.py b/examples/chain_client/73_MsgBurn.py new file mode 100644 index 00000000..cff5a1b4 --- /dev/null +++ b/examples/chain_client/73_MsgBurn.py @@ -0,0 +1,38 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_using_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + amount = composer.Coin(amount=100, denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test") + + message = composer.msg_burn( + sender=address.to_acc_bech32(), + amount=amount, + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/74_MsgSetDenomMetadata.py b/examples/chain_client/74_MsgSetDenomMetadata.py new file mode 100644 index 00000000..58fa30c0 --- /dev/null +++ b/examples/chain_client/74_MsgSetDenomMetadata.py @@ -0,0 +1,53 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_without_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + sender = address.to_acc_bech32() + description = "Injective Test Token" + subdenom = "inj_test" + denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test" + token_decimals = 6 + name = "Injective Test" + symbol = "INJTEST" + uri = "http://injective-test.com/icon.jpg" + uri_hash = "" + + message = composer.msg_set_denom_metadata( + sender=sender, + description=description, + denom=denom, + subdenom=subdenom, + token_decimals=token_decimals, + name=name, + symbol=symbol, + uri=uri, + uri_hash=uri_hash, + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/75_MsgUpdateParams.py b/examples/chain_client/75_MsgUpdateParams.py new file mode 100644 index 00000000..0d53231b --- /dev/null +++ b/examples/chain_client/75_MsgUpdateParams.py @@ -0,0 +1,37 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_using_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + message = composer.msg_update_params( + authority=address.to_acc_bech32(), + denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test", + amount=1000, + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/76_MsgChangeAdmin.py b/examples/chain_client/76_MsgChangeAdmin.py new file mode 100644 index 00000000..2abc6ec6 --- /dev/null +++ b/examples/chain_client/76_MsgChangeAdmin.py @@ -0,0 +1,37 @@ +import asyncio + +from pyinjective.composer import Composer as ProtoMsgComposer +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + composer = ProtoMsgComposer(network=network.string()) + private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" + + message_broadcaster = MsgBroadcasterWithPk.new_without_simulation( + network=network, + private_key=private_key_in_hexa, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + + message = composer.msg_change_admin( + sender=address.to_acc_bech32(), + denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test", + new_admin="inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49", # This is the zero address to remove admin permissions + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([message]) + print("---Transaction Response---") + print(result) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/composer.py b/pyinjective/composer.py index 56491b50..e7d2deff 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -11,7 +11,7 @@ from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from pyinjective.core.token import Token from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_authz_pb, tx_pb2 as cosmos_authz_tx_pb -from pyinjective.proto.cosmos.bank.v1beta1 import tx_pb2 as cosmos_bank_tx_pb +from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as bank_pb, tx_pb2 as cosmos_bank_tx_pb 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 tx_pb2 as cosmos_distribution_tx_pb from pyinjective.proto.cosmos.gov.v1beta1 import tx_pb2 as cosmos_gov_tx_pb @@ -28,6 +28,10 @@ from pyinjective.proto.injective.oracle.v1beta1 import tx_pb2 as injective_oracle_tx_pb from pyinjective.proto.injective.peggy.v1 import msgs_pb2 as injective_peggy_tx_pb from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as chain_stream_query +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + params_pb2 as token_factory_params_pb, + tx_pb2 as token_factory_tx_pb, +) REQUEST_TO_RESPONSE_TYPE_MAP = { "MsgCreateSpotLimitOrder": injective_exchange_tx_pb.MsgCreateSpotLimitOrderResponse, @@ -957,6 +961,95 @@ def MsgInstantiateContract( # The coins in the list must be sorted in alphabetical order by denoms. ) + def msg_create_denom( + self, + sender: str, + subdenom: str, + name: str, + symbol: str, + ) -> token_factory_tx_pb.MsgCreateDenom: + return token_factory_tx_pb.MsgCreateDenom( + sender=sender, + subdenom=subdenom, + name=name, + symbol=symbol, + ) + + def msg_mint( + self, + sender: str, + amount: cosmos_dot_base_dot_v1beta1_dot_coin__pb2.Coin, + ) -> token_factory_tx_pb.MsgMint: + return token_factory_tx_pb.MsgMint(sender=sender, amount=amount) + + def msg_burn( + self, + sender: str, + amount: cosmos_dot_base_dot_v1beta1_dot_coin__pb2.Coin, + ) -> token_factory_tx_pb.MsgBurn: + return token_factory_tx_pb.MsgBurn(sender=sender, amount=amount) + + def msg_set_denom_metadata( + self, + sender: str, + description: str, + denom: str, + subdenom: str, + token_decimals: int, + name: str, + symbol: str, + uri: str, + uri_hash: str, + ) -> token_factory_tx_pb.MsgSetDenomMetadata: + micro_denom_unit = bank_pb.DenomUnit( + denom=denom, + exponent=0, + aliases=[f"micro{subdenom}"], + ) + denom_unit = bank_pb.DenomUnit( + denom=subdenom, + exponent=token_decimals, + aliases=[subdenom], + ) + metadata = bank_pb.Metadata( + description=description, + denom_units=[micro_denom_unit, denom_unit], + base=denom, + display=subdenom, + name=name, + symbol=symbol, + uri=uri, + uri_hash=uri_hash, + ) + return token_factory_tx_pb.MsgSetDenomMetadata(sender=sender, metadata=metadata) + + def msg_update_params( + self, + authority: str, + denom: str, + amount: int, + ) -> token_factory_tx_pb.MsgUpdateParams: + coin = self.Coin(amount=amount, denom=denom) + params = token_factory_params_pb.Params( + denom_creation_fee=[coin], + ) + return token_factory_tx_pb.MsgUpdateParams( + authority=authority, + params=params, + ) + + def msg_change_admin( + self, + sender: str, + denom: str, + new_admin: str, + ) -> token_factory_tx_pb.MsgChangeAdmin: + return token_factory_tx_pb.MsgChangeAdmin( + sender=sender, + denom=denom, + new_admin=new_admin, + ) + def chain_stream_bank_balances_filter( self, accounts: Optional[List[str]] = None ) -> chain_stream_query.BankBalancesFilter: diff --git a/tests/test_composer.py b/tests/test_composer.py index f3a9bdc2..392d0e7a 100644 --- a/tests/test_composer.py +++ b/tests/test_composer.py @@ -260,3 +260,119 @@ def test_buy_binary_option_order_creation_without_fixed_denom( assert order.order_type == exchange_pb2.OrderType.BUY assert order.margin == str(int(expected_margin)) assert order.trigger_price == "0" + + def test_msg_create_denom(self, basic_composer: Composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + subdenom = "inj-test" + name = "Injective Test" + symbol = "INJTEST" + + message = basic_composer.msg_create_denom( + sender=sender, + subdenom=subdenom, + name=name, + symbol=symbol, + ) + + assert message.sender == sender + assert message.subdenom == subdenom + assert message.name == name + assert message.symbol == symbol + + def test_msg_mint(self, basic_composer: Composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + amount = basic_composer.Coin( + amount=1_000_000, + denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test", + ) + + message = basic_composer.msg_mint( + sender=sender, + amount=amount, + ) + + assert message.sender == sender + assert message.amount == amount + + def test_msg_burn(self, basic_composer: Composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + amount = basic_composer.Coin( + amount=100, + denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test", + ) + + message = basic_composer.msg_burn( + sender=sender, + amount=amount, + ) + + assert message.sender == sender + assert message.amount == amount + + def test_msg_set_denom_metadata(self, basic_composer: Composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + description = "Injective Test Token" + subdenom = "inj_test" + denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test" + token_decimals = 6 + name = "Injective Test" + symbol = "INJTEST" + uri = "http://injective-test.com/icon.jpg" + uri_hash = "" + + message = basic_composer.msg_set_denom_metadata( + sender=sender, + description=description, + denom=denom, + subdenom=subdenom, + token_decimals=token_decimals, + name=name, + symbol=symbol, + uri=uri, + uri_hash=uri_hash, + ) + + assert message.sender == sender + assert message.metadata.description == description + assert message.metadata.denom_units[0].denom == denom + assert message.metadata.denom_units[0].exponent == 0 + assert message.metadata.denom_units[0].aliases == [f"micro{subdenom}"] + assert message.metadata.denom_units[1].denom == subdenom + assert message.metadata.denom_units[1].exponent == token_decimals + assert message.metadata.denom_units[1].aliases == [subdenom] + assert message.metadata.base == denom + assert message.metadata.display == subdenom + assert message.metadata.name == name + assert message.metadata.symbol == symbol + assert message.metadata.uri == uri + assert message.metadata.uri_hash == uri_hash + + def test_msg_update_params(self, basic_composer: Composer): + authority = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + amount = 1000 + denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test" + + message = basic_composer.msg_update_params( + authority=authority, + denom=denom, + amount=amount, + ) + + assert message.authority == authority + assert message.params.denom_creation_fee[0].amount == str(amount) + assert message.params.denom_creation_fee[0].denom == denom + + def test_msg_change_admin(self, basic_composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test" + new_admin = "inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49" + + message = basic_composer.msg_change_admin( + sender=sender, + denom=denom, + new_admin=new_admin, + ) + + assert message.sender == sender + assert message.denom == denom + assert message.new_admin == new_admin From 8d08a224e5a1819b5d7ef037a9bfca26d2220e39 Mon Sep 17 00:00:00 2001 From: abel Date: Thu, 4 Jan 2024 11:46:08 -0300 Subject: [PATCH 78/83] (feat) Updated versions of proto files projects dependencies. Added support in Composer for MsgExecuteContractCompat. Added a new example script showing how to use it. --- Makefile | 10 +- .../77_MsgExecuteContractCompat.py | 84 +++++++ pyinjective/composer.py | 9 + .../proto/cosmwasm/wasm/v1/authz_pb2.py | 47 ++-- .../cosmwasm/wasm/v1/proposal_legacy_pb2.py | 150 +++++++++++ ...b2_grpc.py => proposal_legacy_pb2_grpc.py} | 0 .../proto/cosmwasm/wasm/v1/proposal_pb2.py | 134 ---------- pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 50 +++- .../proto/cosmwasm/wasm/v1/tx_pb2_grpc.py | 147 ++++++++++- .../proto/cosmwasm/wasm/v1/types_pb2.py | 56 ++--- .../injective_derivative_exchange_rpc_pb2.py | 152 ++++++------ .../tokenfactory/v1beta1/events_pb2.py | 18 +- .../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 | 56 +++++ .../injective/wasmx/v1/proposal_pb2_grpc.py | 4 + .../proto/injective/wasmx/v1/query_pb2.py | 51 ++++ .../injective/wasmx/v1/query_pb2_grpc.py | 138 +++++++++++ .../proto/injective/wasmx/v1/tx_pb2.py | 77 ++++++ .../proto/injective/wasmx/v1/tx_pb2_grpc.py | 234 ++++++++++++++++++ .../proto/injective/wasmx/v1/wasmx_pb2.py | 41 +++ .../injective/wasmx/v1/wasmx_pb2_grpc.py | 4 + .../chain/grpc/test_chain_grpc_wasm_api.py | 5 +- .../grpc/test_indexer_grpc_derivative_api.py | 2 + tests/test_composer.py | 19 ++ 27 files changed, 1284 insertions(+), 281 deletions(-) create mode 100644 examples/chain_client/77_MsgExecuteContractCompat.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py rename pyinjective/proto/cosmwasm/wasm/v1/{proposal_pb2_grpc.py => proposal_legacy_pb2_grpc.py} (100%) delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.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 diff --git a/Makefile b/Makefile index 6f1690a6..df6ea1ea 100644 --- a/Makefile +++ b/Makefile @@ -28,19 +28,19 @@ clean-all: $(call clean_repos) clone-injective-core: - git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.8-testnet --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.9-testnet --depth 1 --single-branch clone-injective-indexer: - git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.67 --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.72 --depth 1 --single-branch clone-cometbft: - git clone https://github.com/cometbft/cometbft.git -b v0.37.2 --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/cometbft.git -b v0.37.2-inj --depth 1 --single-branch clone-wasmd: - git clone https://github.com/InjectiveLabs/wasmd.git -b v0.40.2-inj --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/wasmd.git -b v0.45.0-inj --depth 1 --single-branch clone-cosmos-sdk: - git clone https://github.com/InjectiveLabs/cosmos-sdk.git -b v0.47.3-inj-6 --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/cosmos-sdk.git -b v0.47.3-inj-9 --depth 1 --single-branch clone-ibc-go: git clone https://github.com/InjectiveLabs/ibc-go.git -b v7.2.0-inj --depth 1 --single-branch diff --git a/examples/chain_client/77_MsgExecuteContractCompat.py b/examples/chain_client/77_MsgExecuteContractCompat.py new file mode 100644 index 00000000..978ff115 --- /dev/null +++ b/examples/chain_client/77_MsgExecuteContractCompat.py @@ -0,0 +1,84 @@ +import asyncio +import json + +from grpc import RpcError + +from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE +from pyinjective.core.network import Network +from pyinjective.transaction import Transaction +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + + client = AsyncClient(network) + composer = await client.composer() + await client.sync_timeout_height() + + # load account + priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + await client.fetch_account(address.to_acc_bech32()) + + # prepare tx msg + # NOTE: COIN MUST BE SORTED IN ALPHABETICAL ORDER BY DENOMS + funds = ( + "69factory/inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6/inj12ngevx045zpvacus9s6anr258gkwpmthnz80e9," + "420peggy0x44C21afAaF20c270EBbF5914Cfc3b5022173FEB7," + "1peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5" + ) + + msg = composer.msg_execute_contract_compat( + sender=address.to_acc_bech32(), + contract="inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7", + msg=json.dumps({"increment": {}}), + funds=funds, + ) + + # build sim tx + tx = ( + Transaction() + .with_messages(msg) + .with_sequence(client.get_sequence()) + .with_account_num(client.get_number()) + .with_chain_id(network.chain_id) + ) + sim_sign_doc = tx.get_sign_doc(pub_key) + sim_sig = priv_key.sign(sim_sign_doc.SerializeToString()) + sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) + + # simulate tx + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) + return + + # build tx + gas_price = GAS_PRICE + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation + gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") + fee = [ + composer.Coin( + amount=gas_price * gas_limit, + denom=network.fee_denom, + ) + ] + tx = tx.with_gas(gas_limit).with_fee(fee).with_memo("").with_timeout_height(client.timeout_height) + sign_doc = tx.get_sign_doc(pub_key) + sig = priv_key.sign(sign_doc.SerializeToString()) + tx_raw_bytes = tx.get_tx_data(sig, pub_key) + + # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) + print(res) + print("gas wanted: {}".format(gas_limit)) + print("gas fee: {} INJ".format(gas_fee)) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/composer.py b/pyinjective/composer.py index e7d2deff..ed58cfe2 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -32,6 +32,7 @@ params_pb2 as token_factory_params_pb, tx_pb2 as token_factory_tx_pb, ) +from pyinjective.proto.injective.wasmx.v1 import tx_pb2 as wasmx_tx_pb REQUEST_TO_RESPONSE_TYPE_MAP = { "MsgCreateSpotLimitOrder": injective_exchange_tx_pb.MsgCreateSpotLimitOrderResponse, @@ -1050,6 +1051,14 @@ def msg_change_admin( new_admin=new_admin, ) + def msg_execute_contract_compat(self, sender: str, contract: str, msg: str, funds: str): + return wasmx_tx_pb.MsgExecuteContractCompat( + sender=sender, + contract=contract, + msg=msg, + funds=funds, + ) + def chain_stream_bank_balances_filter( self, accounts: Optional[List[str]] = None ) -> chain_stream_query.BankBalancesFilter: diff --git a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py index cf25dbc3..99a8a4b5 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py @@ -14,11 +14,12 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"\xc1\x01\n\rContractGrant\x12\x10\n\x08\x63ontract\x18\x01 \x01(\t\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/CombinedLimit\"c\n\x16\x41llowAllMessagesFilter:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\x98\x01\n\x16StoreCodeAuthorization\x12\x36\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmwasm.wasm.v1.CodeGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:F\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1bwasm/StoreCodeAuthorization\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"^\n\tCodeGrant\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12>\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\"\xc1\x01\n\rContractGrant\x12\x10\n\x08\x63ontract\x18\x01 \x01(\t\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/CombinedLimit\"c\n\x16\x41llowAllMessagesFilter:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,6 +28,10 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000' + _STORECODEAUTHORIZATION.fields_by_name['grants']._options = None + _STORECODEAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _STORECODEAUTHORIZATION._options = None + _STORECODEAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\033wasm/StoreCodeAuthorization' _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._options = None _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTEXECUTIONAUTHORIZATION._options = None @@ -57,22 +62,26 @@ _ACCEPTEDMESSAGESFILTER.fields_by_name['messages']._serialized_options = b'\372\336\037\022RawContractMessage' _ACCEPTEDMESSAGESFILTER._options = None _ACCEPTEDMESSAGESFILTER._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter' - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=178 - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=350 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=353 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=525 - _globals['_CONTRACTGRANT']._serialized_start=528 - _globals['_CONTRACTGRANT']._serialized_end=721 - _globals['_MAXCALLSLIMIT']._serialized_start=723 - _globals['_MAXCALLSLIMIT']._serialized_end=822 - _globals['_MAXFUNDSLIMIT']._serialized_start=825 - _globals['_MAXFUNDSLIMIT']._serialized_end=1004 - _globals['_COMBINEDLIMIT']._serialized_start=1007 - _globals['_COMBINEDLIMIT']._serialized_end=1211 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1213 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1312 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1314 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1433 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1436 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=1577 + _globals['_STORECODEAUTHORIZATION']._serialized_start=208 + _globals['_STORECODEAUTHORIZATION']._serialized_end=360 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=363 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=535 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=538 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=710 + _globals['_CODEGRANT']._serialized_start=712 + _globals['_CODEGRANT']._serialized_end=806 + _globals['_CONTRACTGRANT']._serialized_start=809 + _globals['_CONTRACTGRANT']._serialized_end=1002 + _globals['_MAXCALLSLIMIT']._serialized_start=1004 + _globals['_MAXCALLSLIMIT']._serialized_end=1103 + _globals['_MAXFUNDSLIMIT']._serialized_start=1106 + _globals['_MAXFUNDSLIMIT']._serialized_end=1285 + _globals['_COMBINEDLIMIT']._serialized_start=1288 + _globals['_COMBINEDLIMIT']._serialized_end=1492 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1494 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1593 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1595 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1714 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1717 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=1858 # @@protoc_insertion_point(module_scope) 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..1a826e2c --- /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 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 +from amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&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\"\xdc\x02\n\x11StoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x08 \x01(\x08\x12\x0e\n\x06source\x18\t \x01(\t\x12\x0f\n\x07\x62uilder\x18\n \x01(\t\x12\x11\n\tcode_hash\x18\x0b \x01(\x0c:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\x8d\x03\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\xae\x03\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\t \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\n \x01(\x08:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xee\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x06 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xcb\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xdc\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\xe5\x01\n\x13UpdateAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12?\n\tnew_admin\x18\x03 \x01(\tB,\xf2\xde\x1f\x10yaml:\"new_admin\"\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\xa2\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xa4\x01\n\x10PinCodesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xa8\x01\n\x12UnpinCodesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x02\n\x1fUpdateInstantiateConfigProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12N\n\x15\x61\x63\x63\x65ss_config_updates\x18\x03 \x03(\x0b\x32$.cosmwasm.wasm.v1.AccessConfigUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\x98\x04\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x06 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x07 \x01(\t\x12\r\n\x05label\x18\x08 \x01(\t\x12#\n\x03msg\x18\t \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0c \x01(\t\x12\x11\n\tcode_hash\x18\r \x01(\x0c:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB4Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_legacy_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\330\341\036\000\250\342\036\001' + _STORECODEPROPOSAL.fields_by_name['run_as']._options = None + _STORECODEPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._options = None + _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _STORECODEPROPOSAL._options = None + _STORECODEPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['admin']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _INSTANTIATECONTRACTPROPOSAL._options = None + _INSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['run_as']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['admin']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _INSTANTIATECONTRACT2PROPOSAL._options = None + _INSTANTIATECONTRACT2PROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' + _MIGRATECONTRACTPROPOSAL.fields_by_name['contract']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _MIGRATECONTRACTPROPOSAL._options = None + _MIGRATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' + _SUDOCONTRACTPROPOSAL.fields_by_name['contract']._options = None + _SUDOCONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._options = None + _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _SUDOCONTRACTPROPOSAL._options = None + _SUDOCONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' + _EXECUTECONTRACTPROPOSAL.fields_by_name['run_as']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _EXECUTECONTRACTPROPOSAL.fields_by_name['contract']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _EXECUTECONTRACTPROPOSAL._options = None + _EXECUTECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' + _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._options = None + _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"\322\264-\024cosmos.AddressString' + _UPDATEADMINPROPOSAL.fields_by_name['contract']._options = None + _UPDATEADMINPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _UPDATEADMINPROPOSAL._options = None + _UPDATEADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' + _CLEARADMINPROPOSAL.fields_by_name['contract']._options = None + _CLEARADMINPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _CLEARADMINPROPOSAL._options = None + _CLEARADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' + _PINCODESPROPOSAL.fields_by_name['code_ids']._options = None + _PINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _PINCODESPROPOSAL._options = None + _PINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' + _UNPINCODESPROPOSAL.fields_by_name['code_ids']._options = None + _UNPINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _UNPINCODESPROPOSAL._options = None + _UNPINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' + _ACCESSCONFIGUPDATE.fields_by_name['code_id']._options = None + _ACCESSCONFIGUPDATE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._options = None + _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _UPDATEINSTANTIATECONFIGPROPOSAL._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _STOREANDINSTANTIATECONTRACTPROPOSAL._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' + _globals['_STORECODEPROPOSAL']._serialized_start=191 + _globals['_STORECODEPROPOSAL']._serialized_end=539 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=542 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=939 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=942 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1372 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1375 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1613 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1616 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=1819 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=1822 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=2170 + _globals['_UPDATEADMINPROPOSAL']._serialized_start=2173 + _globals['_UPDATEADMINPROPOSAL']._serialized_end=2402 + _globals['_CLEARADMINPROPOSAL']._serialized_start=2405 + _globals['_CLEARADMINPROPOSAL']._serialized_end=2567 + _globals['_PINCODESPROPOSAL']._serialized_start=2570 + _globals['_PINCODESPROPOSAL']._serialized_end=2734 + _globals['_UNPINCODESPROPOSAL']._serialized_start=2737 + _globals['_UNPINCODESPROPOSAL']._serialized_end=2905 + _globals['_ACCESSCONFIGUPDATE']._serialized_start=2907 + _globals['_ACCESSCONFIGUPDATE']._serialized_end=3031 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=3034 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3300 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=3303 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=3839 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py similarity index 100% rename from pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2_grpc.py rename to pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py deleted file mode 100644 index 49b6692c..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py +++ /dev/null @@ -1,134 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmwasm/wasm/v1/proposal.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 -from amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmwasm/wasm/v1/proposal.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xc2\x02\n\x11StoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x08 \x01(\x08\x12\x0e\n\x06source\x18\t \x01(\t\x12\x0f\n\x07\x62uilder\x18\n \x01(\t\x12\x11\n\tcode_hash\x18\x0b \x01(\x0c:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\xd9\x02\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\xfa\x02\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\t \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\n \x01(\x08:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xd4\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x06 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xb1\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xa8\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\xb3\x01\n\x13UpdateAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\'\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\"\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\x88\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xce\x01\n\x10PinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xd2\x01\n\x12UnpinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x02\n\x1fUpdateInstantiateConfigProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12N\n\x15\x61\x63\x63\x65ss_config_updates\x18\x03 \x03(\x0b\x32$.cosmwasm.wasm.v1.AccessConfigUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\xfe\x03\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x06 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x07 \x01(\t\x12\r\n\x05label\x18\x08 \x01(\t\x12#\n\x03msg\x18\t \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0c \x01(\t\x12\x11\n\tcode_hash\x18\r \x01(\x0c:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB4Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\330\341\036\000\250\342\036\001' - _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._options = None - _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _STORECODEPROPOSAL._options = None - _STORECODEPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _INSTANTIATECONTRACTPROPOSAL._options = None - _INSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _INSTANTIATECONTRACT2PROPOSAL._options = None - _INSTANTIATECONTRACT2PROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' - _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None - _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _MIGRATECONTRACTPROPOSAL._options = None - _MIGRATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' - _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._options = None - _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _SUDOCONTRACTPROPOSAL._options = None - _SUDOCONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' - _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _EXECUTECONTRACTPROPOSAL._options = None - _EXECUTECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' - _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._options = None - _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"' - _UPDATEADMINPROPOSAL._options = None - _UPDATEADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' - _CLEARADMINPROPOSAL._options = None - _CLEARADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' - _PINCODESPROPOSAL.fields_by_name['title']._options = None - _PINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' - _PINCODESPROPOSAL.fields_by_name['description']._options = None - _PINCODESPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' - _PINCODESPROPOSAL.fields_by_name['code_ids']._options = None - _PINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _PINCODESPROPOSAL._options = None - _PINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' - _UNPINCODESPROPOSAL.fields_by_name['title']._options = None - _UNPINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' - _UNPINCODESPROPOSAL.fields_by_name['description']._options = None - _UNPINCODESPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' - _UNPINCODESPROPOSAL.fields_by_name['code_ids']._options = None - _UNPINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _UNPINCODESPROPOSAL._options = None - _UNPINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' - _ACCESSCONFIGUPDATE.fields_by_name['code_id']._options = None - _ACCESSCONFIGUPDATE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._options = None - _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _UPDATEINSTANTIATECONFIGPROPOSAL._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _STOREANDINSTANTIATECONTRACTPROPOSAL._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' - _globals['_STORECODEPROPOSAL']._serialized_start=184 - _globals['_STORECODEPROPOSAL']._serialized_end=506 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=509 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=854 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=857 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1235 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1238 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1450 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1453 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=1630 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=1633 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=1929 - _globals['_UPDATEADMINPROPOSAL']._serialized_start=1932 - _globals['_UPDATEADMINPROPOSAL']._serialized_end=2111 - _globals['_CLEARADMINPROPOSAL']._serialized_start=2114 - _globals['_CLEARADMINPROPOSAL']._serialized_end=2250 - _globals['_PINCODESPROPOSAL']._serialized_start=2253 - _globals['_PINCODESPROPOSAL']._serialized_end=2459 - _globals['_UNPINCODESPROPOSAL']._serialized_start=2462 - _globals['_UNPINCODESPROPOSAL']._serialized_end=2672 - _globals['_ACCESSCONFIGUPDATE']._serialized_start=2674 - _globals['_ACCESSCONFIGUPDATE']._serialized_end=2798 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=2801 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3067 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=3070 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=3580 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py index 22104afe..0a1d749b 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py @@ -19,7 +19,7 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb7\x01\n\x0cMsgStoreCode\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\x96\x02\n\x16MsgInstantiateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"?\n\x1eMsgInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb7\x02\n\x17MsgInstantiateContract2\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"@\n\x1fMsgInstantiateContract2Response\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xe5\x01\n\x12MsgExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xa1\x01\n\x12MsgMigrateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"j\n\x0eMsgUpdateAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"U\n\rMsgClearAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\xbe\x01\n\x1aMsgUpdateInstantiateConfig\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9e\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xdb\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x06 \x01(\t\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"G\n&MsgStoreAndInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x32\xb5\n\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponseB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb7\x01\n\x0cMsgStoreCode\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\x96\x02\n\x16MsgInstantiateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"?\n\x1eMsgInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb7\x02\n\x17MsgInstantiateContract2\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"@\n\x1fMsgInstantiateContract2Response\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xe5\x01\n\x12MsgExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xa1\x01\n\x12MsgMigrateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"j\n\x0eMsgUpdateAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"U\n\rMsgClearAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\xbe\x01\n\x1aMsgUpdateInstantiateConfig\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9e\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xdb\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x06 \x01(\t\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"G\n&MsgStoreAndInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb0\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xb6\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse\"\x9e\x02\n\x1aMsgStoreAndMigrateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract\"a\n\"MsgStoreAndMigrateContractResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\xae\x01\n\x16MsgUpdateContractLabel\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x11\n\tnew_label\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgUpdateContractLabel\" \n\x1eMsgUpdateContractLabelResponse2\xce\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.MsgUpdateContractLabelResponseB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -104,6 +104,34 @@ _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGSTOREANDINSTANTIATECONTRACT._options = None _MSGSTOREANDINSTANTIATECONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract' + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._options = None + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._options = None + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _MSGADDCODEUPLOADPARAMSADDRESSES._options = None + _MSGADDCODEUPLOADPARAMSADDRESSES._serialized_options = b'\202\347\260*\tauthority\212\347\260*$wasm/MsgAddCodeUploadParamsAddresses' + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._options = None + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._options = None + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _MSGREMOVECODEUPLOADPARAMSADDRESSES._options = None + _MSGREMOVECODEUPLOADPARAMSADDRESSES._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'wasm/MsgRemoveCodeUploadParamsAddresses' + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['authority']._options = None + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['wasm_byte_code']._options = None + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['msg']._options = None + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _MSGSTOREANDMIGRATECONTRACT._options = None + _MSGSTOREANDMIGRATECONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*\037wasm/MsgStoreAndMigrateContract' + _MSGSTOREANDMIGRATECONTRACTRESPONSE.fields_by_name['code_id']._options = None + _MSGSTOREANDMIGRATECONTRACTRESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _MSGUPDATECONTRACTLABEL.fields_by_name['sender']._options = None + _MSGUPDATECONTRACTLABEL.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATECONTRACTLABEL.fields_by_name['contract']._options = None + _MSGUPDATECONTRACTLABEL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATECONTRACTLABEL._options = None + _MSGUPDATECONTRACTLABEL._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgUpdateContractLabel' _globals['_MSGSTORECODE']._serialized_start=203 _globals['_MSGSTORECODE']._serialized_end=386 _globals['_MSGSTORECODERESPONSE']._serialized_start=388 @@ -156,6 +184,22 @@ _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3358 _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3360 _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=3431 - _globals['_MSG']._serialized_start=3434 - _globals['_MSG']._serialized_end=4767 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=3434 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=3610 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=3612 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=3653 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=3656 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=3838 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=3840 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=3884 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=3887 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=4173 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=4175 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=4272 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=4275 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=4449 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=4451 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=4483 + _globals['_MSG']._serialized_start=4486 + _globals['_MSG']._serialized_end=6356 # @@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 ac3b86e9..c0074e43 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py @@ -80,6 +80,26 @@ def __init__(self, channel): request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, ) + self.RemoveCodeUploadParamsAddresses = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, + ) + self.AddCodeUploadParamsAddresses = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, + ) + self.StoreAndMigrateContract = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/StoreAndMigrateContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.FromString, + ) + self.UpdateContractLabel = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/UpdateContractLabel', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.FromString, + ) class MsgServicer(object): @@ -124,7 +144,7 @@ def MigrateContract(self, request, context): raise NotImplementedError('Method not implemented!') def UpdateAdmin(self, request, context): - """UpdateAdmin sets a new admin for a smart contract + """UpdateAdmin sets a new admin for a smart contract """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -194,6 +214,43 @@ def StoreAndInstantiateContract(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def RemoveCodeUploadParamsAddresses(self, request, context): + """RemoveCodeUploadParamsAddresses defines a governance operation for + removing addresses from code upload params. + The authority is defined in the keeper. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddCodeUploadParamsAddresses(self, request, context): + """AddCodeUploadParamsAddresses defines a governance operation for + adding addresses to code upload params. + The authority is defined in the keeper. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def StoreAndMigrateContract(self, request, context): + """StoreAndMigrateContract defines a governance operation for storing + and migrating the contract. The authority is defined in the keeper. + + Since: 0.42 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateContractLabel(self, request, context): + """UpdateContractLabel sets a new label for a smart contract + + Since: 0.43 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -262,6 +319,26 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.FromString, response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.SerializeToString, ), + 'RemoveCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( + servicer.RemoveCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.SerializeToString, + ), + 'AddCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( + servicer.AddCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, + ), + 'StoreAndMigrateContract': grpc.unary_unary_rpc_method_handler( + servicer.StoreAndMigrateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.SerializeToString, + ), + 'UpdateContractLabel': grpc.unary_unary_rpc_method_handler( + servicer.UpdateContractLabel, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'cosmwasm.wasm.v1.Msg', rpc_method_handlers) @@ -493,3 +570,71 @@ def StoreAndInstantiateContract(request, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def RemoveCodeUploadParamsAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def AddCodeUploadParamsAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def StoreAndMigrateContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/StoreAndMigrateContract', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateContractLabel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/UpdateContractLabel', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py index 3c1ecf7c..3dd8d425 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py @@ -18,7 +18,7 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\xab\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12#\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"address\"\x12\'\n\taddresses\x18\x03 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":\x04\x98\xa0\x1f\x01\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"code_upload_access\"\xa8\xe7\xb0*\x01\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x81\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x90\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\r\n\x05\x61\x64min\x18\x03 \x01(\t\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x88\x01\n\x0f\x45ventCodeStored\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x35\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63hecksum\x18\x04 \x01(\x0c\"\x82\x02\n\x19\x45ventContractInstantiated\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12Z\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12\r\n\x05label\x18\x06 \x01(\t\x12\x0f\n\x07\x63reator\x18\x07 \x01(\t\"s\n\x15\x45ventContractMigrated\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"D\n\x15\x45ventContractAdminSet\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t*\xa9\x02\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x37\n\x18\x41\x43\x43\x45SS_TYPE_ONLY_ADDRESS\x10\x02\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeOnlyAddress\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\x8c\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12\'\n\taddresses\x18\x03 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"code_upload_access\"\xa8\xe7\xb0*\x01\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x81\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x90\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\r\n\x05\x61\x64min\x18\x03 \x01(\t\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x88\x01\n\x0f\x45ventCodeStored\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x35\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63hecksum\x18\x04 \x01(\x0c\"\x82\x02\n\x19\x45ventContractInstantiated\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12Z\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12\r\n\x05label\x18\x06 \x01(\t\x12\x0f\n\x07\x63reator\x18\x07 \x01(\t\"s\n\x15\x45ventContractMigrated\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"D\n\x15\x45ventContractAdminSet\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t*\xf6\x01\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\"\x04\x08\x02\x10\x02*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -33,8 +33,6 @@ _ACCESSTYPE.values_by_name["ACCESS_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \025AccessTypeUnspecified' _ACCESSTYPE.values_by_name["ACCESS_TYPE_NOBODY"]._options = None _ACCESSTYPE.values_by_name["ACCESS_TYPE_NOBODY"]._serialized_options = b'\212\235 \020AccessTypeNobody' - _ACCESSTYPE.values_by_name["ACCESS_TYPE_ONLY_ADDRESS"]._options = None - _ACCESSTYPE.values_by_name["ACCESS_TYPE_ONLY_ADDRESS"]._serialized_options = b'\212\235 \025AccessTypeOnlyAddress' _ACCESSTYPE.values_by_name["ACCESS_TYPE_EVERYBODY"]._options = None _ACCESSTYPE.values_by_name["ACCESS_TYPE_EVERYBODY"]._serialized_options = b'\212\235 \023AccessTypeEverybody' _ACCESSTYPE.values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._options = None @@ -55,8 +53,6 @@ _ACCESSTYPEPARAM._serialized_options = b'\230\240\037\001' _ACCESSCONFIG.fields_by_name['permission']._options = None _ACCESSCONFIG.fields_by_name['permission']._serialized_options = b'\362\336\037\021yaml:\"permission\"' - _ACCESSCONFIG.fields_by_name['address']._options = None - _ACCESSCONFIG.fields_by_name['address']._serialized_options = b'\362\336\037\016yaml:\"address\"' _ACCESSCONFIG.fields_by_name['addresses']._options = None _ACCESSCONFIG.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' _ACCESSCONFIG._options = None @@ -95,32 +91,32 @@ _EVENTCONTRACTMIGRATED.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _EVENTCONTRACTMIGRATED.fields_by_name['msg']._options = None _EVENTCONTRACTMIGRATED.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _globals['_ACCESSTYPE']._serialized_start=2038 - _globals['_ACCESSTYPE']._serialized_end=2335 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=2338 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2760 + _globals['_ACCESSTYPE']._serialized_start=2007 + _globals['_ACCESSTYPE']._serialized_end=2253 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=2256 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2678 _globals['_ACCESSTYPEPARAM']._serialized_start=177 _globals['_ACCESSTYPEPARAM']._serialized_end=263 _globals['_ACCESSCONFIG']._serialized_start=266 - _globals['_ACCESSCONFIG']._serialized_end=437 - _globals['_PARAMS']._serialized_start=440 - _globals['_PARAMS']._serialized_end=667 - _globals['_CODEINFO']._serialized_start=670 - _globals['_CODEINFO']._serialized_end=799 - _globals['_CONTRACTINFO']._serialized_start=802 - _globals['_CONTRACTINFO']._serialized_end=1074 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1077 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1295 - _globals['_ABSOLUTETXPOSITION']._serialized_start=1297 - _globals['_ABSOLUTETXPOSITION']._serialized_end=1357 - _globals['_MODEL']._serialized_start=1359 - _globals['_MODEL']._serialized_end=1448 - _globals['_EVENTCODESTORED']._serialized_start=1451 - _globals['_EVENTCODESTORED']._serialized_end=1587 - _globals['_EVENTCONTRACTINSTANTIATED']._serialized_start=1590 - _globals['_EVENTCONTRACTINSTANTIATED']._serialized_end=1848 - _globals['_EVENTCONTRACTMIGRATED']._serialized_start=1850 - _globals['_EVENTCONTRACTMIGRATED']._serialized_end=1965 - _globals['_EVENTCONTRACTADMINSET']._serialized_start=1967 - _globals['_EVENTCONTRACTADMINSET']._serialized_end=2035 + _globals['_ACCESSCONFIG']._serialized_end=406 + _globals['_PARAMS']._serialized_start=409 + _globals['_PARAMS']._serialized_end=636 + _globals['_CODEINFO']._serialized_start=639 + _globals['_CODEINFO']._serialized_end=768 + _globals['_CONTRACTINFO']._serialized_start=771 + _globals['_CONTRACTINFO']._serialized_end=1043 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1046 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1264 + _globals['_ABSOLUTETXPOSITION']._serialized_start=1266 + _globals['_ABSOLUTETXPOSITION']._serialized_end=1326 + _globals['_MODEL']._serialized_start=1328 + _globals['_MODEL']._serialized_end=1417 + _globals['_EVENTCODESTORED']._serialized_start=1420 + _globals['_EVENTCODESTORED']._serialized_end=1556 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_start=1559 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_end=1817 + _globals['_EVENTCONTRACTMIGRATED']._serialized_start=1819 + _globals['_EVENTCONTRACTMIGRATED']._serialized_end=1934 + _globals['_EVENTCONTRACTADMINSET']._serialized_start=1936 + _globals['_EVENTCONTRACTADMINSET']._serialized_end=2004 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py index b591863c..652b5201 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"\xcc\x01\n\x12PositionsV2Request\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x9c\x01\n\x13PositionsV2Response\x12J\n\tpositions\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativePositionV2\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xdd\x01\n\x14\x44\x65rivativePositionV2\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12\x12\n\nupdated_at\x18\x0b \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcf\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\x12\x0b\n\x03\x63id\x18\r \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\xa6\x02\n\x0fTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x91\x01\n\x10TradesV2Response\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xac\x02\n\x15StreamTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x86\x01\n\x16StreamTradesV2Response\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xe3\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\x12\x17\n\x0f\x61\x63\x63ount_address\x18\n \x01(\t\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"\xe5\x01\n\x12PositionsV2Request\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\x12\x17\n\x0f\x61\x63\x63ount_address\x18\n \x01(\t\"\x9c\x01\n\x13PositionsV2Response\x12J\n\tpositions\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativePositionV2\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xec\x01\n\x14\x44\x65rivativePositionV2\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12\x12\n\nupdated_at\x18\x0b \x01(\x12\x12\r\n\x05\x64\x65nom\x18\x0c \x01(\t\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x87\x01\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x05 \x01(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcf\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\x12\x0b\n\x03\x63id\x18\r \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\xa6\x02\n\x0fTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x91\x01\n\x10TradesV2Response\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xac\x02\n\x15StreamTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x86\x01\n\x16StreamTradesV2Response\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -89,79 +89,79 @@ _globals['_DERIVATIVELIMITORDER']._serialized_start=4737 _globals['_DERIVATIVELIMITORDER']._serialized_end=5209 _globals['_POSITIONSREQUEST']._serialized_start=5212 - _globals['_POSITIONSREQUEST']._serialized_end=5414 - _globals['_POSITIONSRESPONSE']._serialized_start=5417 - _globals['_POSITIONSRESPONSE']._serialized_end=5569 - _globals['_DERIVATIVEPOSITION']._serialized_start=5572 - _globals['_DERIVATIVEPOSITION']._serialized_end=5851 - _globals['_POSITIONSV2REQUEST']._serialized_start=5854 - _globals['_POSITIONSV2REQUEST']._serialized_end=6058 - _globals['_POSITIONSV2RESPONSE']._serialized_start=6061 - _globals['_POSITIONSV2RESPONSE']._serialized_end=6217 - _globals['_DERIVATIVEPOSITIONV2']._serialized_start=6220 - _globals['_DERIVATIVEPOSITIONV2']._serialized_end=6441 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=6443 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=6519 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=6521 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6624 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6627 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6760 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6763 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6916 - _globals['_FUNDINGPAYMENT']._serialized_start=6918 - _globals['_FUNDINGPAYMENT']._serialized_end=7011 - _globals['_FUNDINGRATESREQUEST']._serialized_start=7013 - _globals['_FUNDINGRATESREQUEST']._serialized_end=7100 - _globals['_FUNDINGRATESRESPONSE']._serialized_start=7103 - _globals['_FUNDINGRATESRESPONSE']._serialized_end=7255 - _globals['_FUNDINGRATE']._serialized_start=7257 - _globals['_FUNDINGRATE']._serialized_end=7322 - _globals['_STREAMPOSITIONSREQUEST']._serialized_start=7324 - _globals['_STREAMPOSITIONSREQUEST']._serialized_end=7434 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=7436 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=7553 - _globals['_STREAMORDERSREQUEST']._serialized_start=7556 - _globals['_STREAMORDERSREQUEST']._serialized_end=7860 - _globals['_STREAMORDERSRESPONSE']._serialized_start=7863 - _globals['_STREAMORDERSRESPONSE']._serialized_end=8000 - _globals['_TRADESREQUEST']._serialized_start=8003 - _globals['_TRADESREQUEST']._serialized_end=8295 - _globals['_TRADESRESPONSE']._serialized_start=8298 - _globals['_TRADESRESPONSE']._serialized_end=8441 - _globals['_DERIVATIVETRADE']._serialized_start=8444 - _globals['_DERIVATIVETRADE']._serialized_end=8779 - _globals['_POSITIONDELTA']._serialized_start=8781 - _globals['_POSITIONDELTA']._serialized_end=8900 - _globals['_TRADESV2REQUEST']._serialized_start=8903 - _globals['_TRADESV2REQUEST']._serialized_end=9197 - _globals['_TRADESV2RESPONSE']._serialized_start=9200 - _globals['_TRADESV2RESPONSE']._serialized_end=9345 - _globals['_STREAMTRADESREQUEST']._serialized_start=9348 - _globals['_STREAMTRADESREQUEST']._serialized_end=9646 - _globals['_STREAMTRADESRESPONSE']._serialized_start=9649 - _globals['_STREAMTRADESRESPONSE']._serialized_end=9781 - _globals['_STREAMTRADESV2REQUEST']._serialized_start=9784 - _globals['_STREAMTRADESV2REQUEST']._serialized_end=10084 - _globals['_STREAMTRADESV2RESPONSE']._serialized_start=10087 - _globals['_STREAMTRADESV2RESPONSE']._serialized_end=10221 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=10223 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=10323 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=10326 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=10488 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=10491 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=10634 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=10636 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=10734 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=10737 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=11072 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=11075 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=11232 - _globals['_DERIVATIVEORDERHISTORY']._serialized_start=11235 - _globals['_DERIVATIVEORDERHISTORY']._serialized_end=11680 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=11683 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=11833 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=11836 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=11982 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=11985 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=15381 + _globals['_POSITIONSREQUEST']._serialized_end=5439 + _globals['_POSITIONSRESPONSE']._serialized_start=5442 + _globals['_POSITIONSRESPONSE']._serialized_end=5594 + _globals['_DERIVATIVEPOSITION']._serialized_start=5597 + _globals['_DERIVATIVEPOSITION']._serialized_end=5876 + _globals['_POSITIONSV2REQUEST']._serialized_start=5879 + _globals['_POSITIONSV2REQUEST']._serialized_end=6108 + _globals['_POSITIONSV2RESPONSE']._serialized_start=6111 + _globals['_POSITIONSV2RESPONSE']._serialized_end=6267 + _globals['_DERIVATIVEPOSITIONV2']._serialized_start=6270 + _globals['_DERIVATIVEPOSITIONV2']._serialized_end=6506 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=6508 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=6584 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=6586 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6689 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6692 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6825 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6828 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6981 + _globals['_FUNDINGPAYMENT']._serialized_start=6983 + _globals['_FUNDINGPAYMENT']._serialized_end=7076 + _globals['_FUNDINGRATESREQUEST']._serialized_start=7078 + _globals['_FUNDINGRATESREQUEST']._serialized_end=7165 + _globals['_FUNDINGRATESRESPONSE']._serialized_start=7168 + _globals['_FUNDINGRATESRESPONSE']._serialized_end=7320 + _globals['_FUNDINGRATE']._serialized_start=7322 + _globals['_FUNDINGRATE']._serialized_end=7387 + _globals['_STREAMPOSITIONSREQUEST']._serialized_start=7390 + _globals['_STREAMPOSITIONSREQUEST']._serialized_end=7525 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=7527 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=7644 + _globals['_STREAMORDERSREQUEST']._serialized_start=7647 + _globals['_STREAMORDERSREQUEST']._serialized_end=7951 + _globals['_STREAMORDERSRESPONSE']._serialized_start=7954 + _globals['_STREAMORDERSRESPONSE']._serialized_end=8091 + _globals['_TRADESREQUEST']._serialized_start=8094 + _globals['_TRADESREQUEST']._serialized_end=8386 + _globals['_TRADESRESPONSE']._serialized_start=8389 + _globals['_TRADESRESPONSE']._serialized_end=8532 + _globals['_DERIVATIVETRADE']._serialized_start=8535 + _globals['_DERIVATIVETRADE']._serialized_end=8870 + _globals['_POSITIONDELTA']._serialized_start=8872 + _globals['_POSITIONDELTA']._serialized_end=8991 + _globals['_TRADESV2REQUEST']._serialized_start=8994 + _globals['_TRADESV2REQUEST']._serialized_end=9288 + _globals['_TRADESV2RESPONSE']._serialized_start=9291 + _globals['_TRADESV2RESPONSE']._serialized_end=9436 + _globals['_STREAMTRADESREQUEST']._serialized_start=9439 + _globals['_STREAMTRADESREQUEST']._serialized_end=9737 + _globals['_STREAMTRADESRESPONSE']._serialized_start=9740 + _globals['_STREAMTRADESRESPONSE']._serialized_end=9872 + _globals['_STREAMTRADESV2REQUEST']._serialized_start=9875 + _globals['_STREAMTRADESV2REQUEST']._serialized_end=10175 + _globals['_STREAMTRADESV2RESPONSE']._serialized_start=10178 + _globals['_STREAMTRADESV2RESPONSE']._serialized_end=10312 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=10314 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=10414 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=10417 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=10579 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=10582 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=10725 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=10727 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=10825 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=10828 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=11163 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=11166 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=11323 + _globals['_DERIVATIVEORDERHISTORY']._serialized_start=11326 + _globals['_DERIVATIVEORDERHISTORY']._serialized_end=11771 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=11774 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=11924 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=11927 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=12073 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=12076 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=15472 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py index 3cf78b33..94001e8d 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py @@ -17,7 +17,7 @@ from 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\"4\n\x12\x45ventCreateTFDenom\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"^\n\x10\x45ventMintTFDenom\x12\x19\n\x11recipient_address\x18\x01 \x01(\t\x12/\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"[\n\x10\x45ventBurnTFDenom\x12\x16\n\x0e\x62urner_address\x18\x01 \x01(\t\x12/\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\">\n\x12\x45ventChangeTFAdmin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x19\n\x11new_admin_address\x18\x02 \x01(\t\"_\n\x17\x45ventSetTFDenomMetadata\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x35\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x04\xc8\xde\x1f\x00\x42TZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\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\"4\n\x12\x45ventCreateTFDenom\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"^\n\x10\x45ventMintTFDenom\x12\x19\n\x11recipient_address\x18\x01 \x01(\t\x12/\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"Y\n\x0e\x45ventBurnDenom\x12\x16\n\x0e\x62urner_address\x18\x01 \x01(\t\x12/\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\">\n\x12\x45ventChangeTFAdmin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x19\n\x11new_admin_address\x18\x02 \x01(\t\"_\n\x17\x45ventSetTFDenomMetadata\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x35\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x04\xc8\xde\x1f\x00\x42TZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,18 +28,18 @@ DESCRIPTOR._serialized_options = b'ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types' _EVENTMINTTFDENOM.fields_by_name['amount']._options = None _EVENTMINTTFDENOM.fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _EVENTBURNTFDENOM.fields_by_name['amount']._options = None - _EVENTBURNTFDENOM.fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _EVENTBURNDENOM.fields_by_name['amount']._options = None + _EVENTBURNDENOM.fields_by_name['amount']._serialized_options = b'\310\336\037\000' _EVENTSETTFDENOMMETADATA.fields_by_name['metadata']._options = None _EVENTSETTFDENOMMETADATA.fields_by_name['metadata']._serialized_options = b'\310\336\037\000' _globals['_EVENTCREATETFDENOM']._serialized_start=221 _globals['_EVENTCREATETFDENOM']._serialized_end=273 _globals['_EVENTMINTTFDENOM']._serialized_start=275 _globals['_EVENTMINTTFDENOM']._serialized_end=369 - _globals['_EVENTBURNTFDENOM']._serialized_start=371 - _globals['_EVENTBURNTFDENOM']._serialized_end=462 - _globals['_EVENTCHANGETFADMIN']._serialized_start=464 - _globals['_EVENTCHANGETFADMIN']._serialized_end=526 - _globals['_EVENTSETTFDENOMMETADATA']._serialized_start=528 - _globals['_EVENTSETTFDENOMMETADATA']._serialized_end=623 + _globals['_EVENTBURNDENOM']._serialized_start=371 + _globals['_EVENTBURNDENOM']._serialized_end=460 + _globals['_EVENTCHANGETFADMIN']._serialized_start=462 + _globals['_EVENTCHANGETFADMIN']._serialized_end=524 + _globals['_EVENTSETTFDENOMMETADATA']._serialized_start=526 + _globals['_EVENTSETTFDENOMMETADATA']._serialized_end=621 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2.py b/pyinjective/proto/injective/wasmx/v1/events_pb2.py new file mode 100644 index 00000000..98439a5e --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/events_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/events.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"r\n\x16\x45ventContractExecution\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x10\n\x08response\x18\x02 \x01(\x0c\x12\x13\n\x0bother_error\x18\x03 \x01(\t\x12\x17\n\x0f\x65xecution_error\x18\x04 \x01(\t\"\xf9\x01\n\x17\x45ventContractRegistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode\"5\n\x19\x45ventContractDeregistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _globals['_EVENTCONTRACTEXECUTION']._serialized_start=144 + _globals['_EVENTCONTRACTEXECUTION']._serialized_end=258 + _globals['_EVENTCONTRACTREGISTERED']._serialized_start=261 + _globals['_EVENTCONTRACTREGISTERED']._serialized_end=510 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_start=512 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_end=565 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/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..458ed453 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/genesis.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto\"u\n\x1dRegisteredContractWithAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x43\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract\"\x97\x01\n\x0cGenesisState\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\x12U\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.genesis_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _GENESISSTATE.fields_by_name['params']._options = None + _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['registered_contracts']._options = None + _GENESISSTATE.fields_by_name['registered_contracts']._serialized_options = b'\310\336\037\000' + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_start=110 + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_end=227 + _globals['_GENESISSTATE']._serialized_start=230 + _globals['_GENESISSTATE']._serialized_end=381 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/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..0caaef7d --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/proposal.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmwasm.wasm.v1 import proposal_legacy_pb2 as cosmwasm_dot_wasm_dot_v1_dot_proposal__legacy__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a&cosmwasm/wasm/v1/proposal_legacy.proto\x1a\x14gogoproto/gogo.proto\"\xcf\x01\n#ContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd5\x01\n(BatchContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12]\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x84\x01\n#BatchContractDeregistrationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tcontracts\x18\x03 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb0\x02\n\x1b\x43ontractRegistrationRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12<\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.proposal_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._options = None + _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _CONTRACTREGISTRATIONREQUESTPROPOSAL._options = None + _CONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._options = None + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._serialized_options = b'\310\336\037\000' + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._options = None + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCONTRACTDEREGISTRATIONPROPOSAL._options = None + _BATCHCONTRACTDEREGISTRATIONPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _CONTRACTREGISTRATIONREQUEST._options = None + _CONTRACTREGISTRATIONREQUEST._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._options = None + _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._serialized_options = b'\310\336\037\000' + _BATCHSTORECODEPROPOSAL._options = None + _BATCHSTORECODEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_FUNDINGMODE']._serialized_start=1179 + _globals['_FUNDINGMODE']._serialized_end=1250 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=147 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=354 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=357 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=570 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_start=573 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_end=705 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_start=708 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_end=1012 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_start=1015 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_end=1177 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2.py b/pyinjective/proto/injective/wasmx/v1/query_pb2.py new file mode 100644 index 00000000..5edd5832 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/query.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import genesis_pb2 as injective_dot_wasmx_dot_v1_dot_genesis__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto\"\x19\n\x17QueryWasmxParamsRequest\"L\n\x18QueryWasmxParamsResponse\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\"\x19\n\x17QueryModuleStateRequest\"K\n\x18QueryModuleStateResponse\x12/\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisState\"@\n$QueryContractRegistrationInfoRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"a\n%QueryContractRegistrationInfoResponse\x12\x38\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/wasmx/v1/module_stateBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.query_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _QUERYWASMXPARAMSRESPONSE.fields_by_name['params']._options = None + _QUERYWASMXPARAMSRESPONSE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _QUERY.methods_by_name['WasmxParams']._options = None + _QUERY.methods_by_name['WasmxParams']._serialized_options = b'\202\323\344\223\002\034\022\032/injective/wasmx/v1/params' + _QUERY.methods_by_name['ContractRegistrationInfo']._options = None + _QUERY.methods_by_name['ContractRegistrationInfo']._serialized_options = b'\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}' + _QUERY.methods_by_name['WasmxModuleState']._options = None + _QUERY.methods_by_name['WasmxModuleState']._serialized_options = b'\202\323\344\223\002\"\022 /injective/wasmx/v1/module_state' + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_start=172 + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_end=197 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_start=199 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_end=275 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=277 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=302 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=304 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=379 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_start=381 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_end=445 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_start=447 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_end=544 + _globals['_QUERY']._serialized_start=547 + _globals['_QUERY']._serialized_end=1063 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py new file mode 100644 index 00000000..d43e993c --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py @@ -0,0 +1,138 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from injective.wasmx.v1 import query_pb2 as injective_dot_wasmx_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.WasmxParams = channel.unary_unary( + '/injective.wasmx.v1.Query/WasmxParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + ) + self.ContractRegistrationInfo = channel.unary_unary( + '/injective.wasmx.v1.Query/ContractRegistrationInfo', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + ) + self.WasmxModuleState = channel.unary_unary( + '/injective.wasmx.v1.Query/WasmxModuleState', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + ) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def WasmxParams(self, request, context): + """Retrieves wasmx params + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ContractRegistrationInfo(self, request, context): + """Retrieves contract registration info + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def WasmxModuleState(self, request, context): + """Retrieves the entire wasmx module's state + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'WasmxParams': grpc.unary_unary_rpc_method_handler( + servicer.WasmxParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.SerializeToString, + ), + 'ContractRegistrationInfo': grpc.unary_unary_rpc_method_handler( + servicer.ContractRegistrationInfo, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.SerializeToString, + ), + 'WasmxModuleState': grpc.unary_unary_rpc_method_handler( + servicer.WasmxModuleState, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def WasmxParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/WasmxParams', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ContractRegistrationInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/ContractRegistrationInfo', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def WasmxModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/WasmxModuleState', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py new file mode 100644 index 00000000..205467f5 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py @@ -0,0 +1,77 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/tx.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\"e\n\x18MsgExecuteContractCompat\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x0b\n\x03msg\x18\x03 \x01(\t\x12\r\n\x05\x66unds\x18\x04 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"0\n MsgExecuteContractCompatResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x8d\x01\n\x11MsgUpdateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x11\n\tgas_limit\x18\x03 \x01(\x04\x12\x11\n\tgas_price\x18\x04 \x01(\x04\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1b\n\x19MsgUpdateContractResponse\"L\n\x13MsgActivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgActivateContractResponse\"N\n\x15MsgDeactivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgDeactivateContractResponse\"\x80\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x90\x01\n\x13MsgRegisterContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgRegisterContractResponse2\xba\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponseBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.tx_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _MSGEXECUTECONTRACTCOMPAT._options = None + _MSGEXECUTECONTRACTCOMPAT._serialized_options = b'\202\347\260*\006sender' + _MSGUPDATECONTRACT.fields_by_name['admin_address']._options = None + _MSGUPDATECONTRACT.fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _MSGUPDATECONTRACT._options = None + _MSGUPDATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGACTIVATECONTRACT._options = None + _MSGACTIVATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGDEACTIVATECONTRACT._options = None + _MSGDEACTIVATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGUPDATEPARAMS.fields_by_name['authority']._options = None + _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATEPARAMS.fields_by_name['params']._options = None + _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _MSGUPDATEPARAMS._options = None + _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSGREGISTERCONTRACT.fields_by_name['contract_registration_request']._options = None + _MSGREGISTERCONTRACT.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _MSGREGISTERCONTRACT._options = None + _MSGREGISTERCONTRACT._serialized_options = b'\202\347\260*\006sender' + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_start=219 + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_end=320 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_start=322 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_end=370 + _globals['_MSGUPDATECONTRACT']._serialized_start=373 + _globals['_MSGUPDATECONTRACT']._serialized_end=514 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_start=516 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_end=543 + _globals['_MSGACTIVATECONTRACT']._serialized_start=545 + _globals['_MSGACTIVATECONTRACT']._serialized_end=621 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_start=623 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_end=652 + _globals['_MSGDEACTIVATECONTRACT']._serialized_start=654 + _globals['_MSGDEACTIVATECONTRACT']._serialized_end=732 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_start=734 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_end=765 + _globals['_MSGUPDATEPARAMS']._serialized_start=768 + _globals['_MSGUPDATEPARAMS']._serialized_end=896 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=898 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=923 + _globals['_MSGREGISTERCONTRACT']._serialized_start=926 + _globals['_MSGREGISTERCONTRACT']._serialized_end=1070 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_start=1072 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_end=1101 + _globals['_MSG']._serialized_start=1104 + _globals['_MSG']._serialized_end=1802 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..fe1b58d0 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py @@ -0,0 +1,234 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from injective.wasmx.v1 import tx_pb2 as injective_dot_wasmx_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the wasmx Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdateRegistryContractParams = channel.unary_unary( + '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + ) + self.ActivateRegistryContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/ActivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + ) + self.DeactivateRegistryContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + ) + self.ExecuteContractCompat = channel.unary_unary( + '/injective.wasmx.v1.Msg/ExecuteContractCompat', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + ) + self.UpdateParams = channel.unary_unary( + '/injective.wasmx.v1.Msg/UpdateParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + ) + self.RegisterContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/RegisterContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + ) + + +class MsgServicer(object): + """Msg defines the wasmx Msg service. + """ + + def UpdateRegistryContractParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ActivateRegistryContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeactivateRegistryContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExecuteContractCompat(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RegisterContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdateRegistryContractParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateRegistryContractParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.SerializeToString, + ), + 'ActivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.ActivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.SerializeToString, + ), + 'DeactivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.DeactivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.SerializeToString, + ), + 'ExecuteContractCompat': grpc.unary_unary_rpc_method_handler( + servicer.ExecuteContractCompat, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'RegisterContract': grpc.unary_unary_rpc_method_handler( + servicer.RegisterContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the wasmx Msg service. + """ + + @staticmethod + def UpdateRegistryContractParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ActivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/ActivateRegistryContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DeactivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ExecuteContractCompat(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/ExecuteContractCompat', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/UpdateParams', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def RegisterContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/RegisterContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py new file mode 100644 index 00000000..707f0df4 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/wasmx.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a!injective/wasmx/v1/proposal.proto\"\x86\x01\n\x06Params\x12\x1c\n\x14is_execution_enabled\x18\x01 \x01(\x08\x12!\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04\x12\x1e\n\x16max_contract_gas_limit\x18\x03 \x01(\x04\x12\x15\n\rmin_gas_price\x18\x04 \x01(\x04:\x04\xe8\xa0\x1f\x01\"\xde\x01\n\x12RegisteredContract\x12\x11\n\tgas_limit\x18\x01 \x01(\x04\x12\x11\n\tgas_price\x18\x02 \x01(\x04\x12\x15\n\ris_executable\x18\x03 \x01(\x08\x12\x15\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x1d\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x32\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x04\xe8\xa0\x1f\x01\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.wasmx_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _PARAMS._options = None + _PARAMS._serialized_options = b'\350\240\037\001' + _REGISTEREDCONTRACT.fields_by_name['code_id']._options = None + _REGISTEREDCONTRACT.fields_by_name['code_id']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT.fields_by_name['admin_address']._options = None + _REGISTEREDCONTRACT.fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT.fields_by_name['granter_address']._options = None + _REGISTEREDCONTRACT.fields_by_name['granter_address']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT._options = None + _REGISTEREDCONTRACT._serialized_options = b'\350\240\037\001' + _globals['_PARAMS']._serialized_start=112 + _globals['_PARAMS']._serialized_end=246 + _globals['_REGISTEREDCONTRACT']._serialized_start=249 + _globals['_REGISTEREDCONTRACT']._serialized_end=471 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/tests/client/chain/grpc/test_chain_grpc_wasm_api.py b/tests/client/chain/grpc/test_chain_grpc_wasm_api.py index 9822d1ee..254f382f 100644 --- a/tests/client/chain/grpc/test_chain_grpc_wasm_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_wasm_api.py @@ -44,14 +44,13 @@ async def test_fetch_module_params( "params": { "codeUploadAccess": { "permission": wasm_types_pb.AccessType.Name(access_config.permission), - "address": "", "addresses": access_config.addresses, }, "instantiateDefaultPermission": wasm_types_pb.AccessType.Name(params.instantiate_default_permission), } } - assert expected_params == module_params + assert module_params == expected_params @pytest.mark.asyncio async def test_fetch_contract_info( @@ -348,7 +347,6 @@ async def test_fetch_code( "dataHash": base64.b64encode(code_info_response.data_hash).decode(), "instantiatePermission": { "permission": wasm_types_pb.AccessType.Name(access_config.permission), - "address": "", "addresses": access_config.addresses, }, }, @@ -406,7 +404,6 @@ async def test_fetch_codes( "dataHash": base64.b64encode(code_info_response.data_hash).decode(), "instantiatePermission": { "permission": wasm_types_pb.AccessType.Name(access_config.permission), - "address": "", "addresses": access_config.addresses, }, }, diff --git a/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py b/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py index 21f83f75..932596ca 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py @@ -716,6 +716,7 @@ async def test_fetch_positions_v2( 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"]) @@ -759,6 +760,7 @@ async def test_fetch_positions_v2( "liquidationPrice": position.liquidation_price, "markPrice": position.mark_price, "updatedAt": str(position.updated_at), + "denom": position.denom, }, ], "paging": { diff --git a/tests/test_composer.py b/tests/test_composer.py index 392d0e7a..7325dcf9 100644 --- a/tests/test_composer.py +++ b/tests/test_composer.py @@ -1,3 +1,4 @@ +import json from decimal import Decimal import pytest @@ -376,3 +377,21 @@ def test_msg_change_admin(self, basic_composer): assert message.sender == sender assert message.denom == denom assert message.new_admin == new_admin + + def test_msg_execute_contract_compat(self, basic_composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + contract = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + msg = json.dumps({"increment": {}}) + funds = "100inj,420peggy0x44C21afAaF20c270EBbF5914Cfc3b5022173FEB7" + + message = basic_composer.msg_execute_contract_compat( + sender=sender, + contract=contract, + msg=msg, + funds=funds, + ) + + assert message.sender == sender + assert message.contract == contract + assert message.msg == msg + assert message.funds == funds From 1e359f312e85f7aa9153a8e60cc049c2434d5133 Mon Sep 17 00:00:00 2001 From: abel Date: Thu, 4 Jan 2024 13:01:07 -0300 Subject: [PATCH 79/83] (fix) Removed support for MsgUpdateParams as requested in the PR review --- ...MsgChangeAdmin.py => 75_MsgChangeAdmin.py} | 0 examples/chain_client/75_MsgUpdateParams.py | 37 ------------------- pyinjective/composer.py | 20 +--------- tests/test_composer.py | 15 -------- 4 files changed, 1 insertion(+), 71 deletions(-) rename examples/chain_client/{76_MsgChangeAdmin.py => 75_MsgChangeAdmin.py} (100%) delete mode 100644 examples/chain_client/75_MsgUpdateParams.py diff --git a/examples/chain_client/76_MsgChangeAdmin.py b/examples/chain_client/75_MsgChangeAdmin.py similarity index 100% rename from examples/chain_client/76_MsgChangeAdmin.py rename to examples/chain_client/75_MsgChangeAdmin.py diff --git a/examples/chain_client/75_MsgUpdateParams.py b/examples/chain_client/75_MsgUpdateParams.py deleted file mode 100644 index 0d53231b..00000000 --- a/examples/chain_client/75_MsgUpdateParams.py +++ /dev/null @@ -1,37 +0,0 @@ -import asyncio - -from pyinjective.composer import Composer as ProtoMsgComposer -from pyinjective.core.broadcaster import MsgBroadcasterWithPk -from pyinjective.core.network import Network -from pyinjective.wallet import PrivateKey - - -async def main() -> None: - # select network: local, testnet, mainnet - network = Network.testnet() - composer = ProtoMsgComposer(network=network.string()) - private_key_in_hexa = "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3" - - message_broadcaster = MsgBroadcasterWithPk.new_using_simulation( - network=network, - private_key=private_key_in_hexa, - ) - - priv_key = PrivateKey.from_hex(private_key_in_hexa) - pub_key = priv_key.to_public_key() - address = pub_key.to_address() - - message = composer.msg_update_params( - authority=address.to_acc_bech32(), - denom="factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test", - amount=1000, - ) - - # broadcast the transaction - result = await message_broadcaster.broadcast([message]) - print("---Transaction Response---") - print(result) - - -if __name__ == "__main__": - asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/composer.py b/pyinjective/composer.py index e7d2deff..4c35b07e 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -28,10 +28,7 @@ from pyinjective.proto.injective.oracle.v1beta1 import tx_pb2 as injective_oracle_tx_pb from pyinjective.proto.injective.peggy.v1 import msgs_pb2 as injective_peggy_tx_pb from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as chain_stream_query -from pyinjective.proto.injective.tokenfactory.v1beta1 import ( - params_pb2 as token_factory_params_pb, - tx_pb2 as token_factory_tx_pb, -) +from pyinjective.proto.injective.tokenfactory.v1beta1 import tx_pb2 as token_factory_tx_pb REQUEST_TO_RESPONSE_TYPE_MAP = { "MsgCreateSpotLimitOrder": injective_exchange_tx_pb.MsgCreateSpotLimitOrderResponse, @@ -1023,21 +1020,6 @@ def msg_set_denom_metadata( ) return token_factory_tx_pb.MsgSetDenomMetadata(sender=sender, metadata=metadata) - def msg_update_params( - self, - authority: str, - denom: str, - amount: int, - ) -> token_factory_tx_pb.MsgUpdateParams: - coin = self.Coin(amount=amount, denom=denom) - params = token_factory_params_pb.Params( - denom_creation_fee=[coin], - ) - return token_factory_tx_pb.MsgUpdateParams( - authority=authority, - params=params, - ) - def msg_change_admin( self, sender: str, diff --git a/tests/test_composer.py b/tests/test_composer.py index 392d0e7a..05810389 100644 --- a/tests/test_composer.py +++ b/tests/test_composer.py @@ -347,21 +347,6 @@ def test_msg_set_denom_metadata(self, basic_composer: Composer): assert message.metadata.uri == uri assert message.metadata.uri_hash == uri_hash - def test_msg_update_params(self, basic_composer: Composer): - authority = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" - amount = 1000 - denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test" - - message = basic_composer.msg_update_params( - authority=authority, - denom=denom, - amount=amount, - ) - - assert message.authority == authority - assert message.params.denom_creation_fee[0].amount == str(amount) - assert message.params.denom_creation_fee[0].denom == denom - def test_msg_change_admin(self, basic_composer): sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test" From 28ac2e824651aa4e6bea18c681aa8462ca8b096b Mon Sep 17 00:00:00 2001 From: abel Date: Thu, 4 Jan 2024 11:46:08 -0300 Subject: [PATCH 80/83] (feat) Updated versions of proto files projects dependencies. Added support in Composer for MsgExecuteContractCompat. Added a new example script showing how to use it. --- Makefile | 10 +- .../77_MsgExecuteContractCompat.py | 84 +++++++ pyinjective/composer.py | 9 + .../proto/cosmwasm/wasm/v1/authz_pb2.py | 47 ++-- .../cosmwasm/wasm/v1/proposal_legacy_pb2.py | 150 +++++++++++ ...b2_grpc.py => proposal_legacy_pb2_grpc.py} | 0 .../proto/cosmwasm/wasm/v1/proposal_pb2.py | 134 ---------- pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 50 +++- .../proto/cosmwasm/wasm/v1/tx_pb2_grpc.py | 147 ++++++++++- .../proto/cosmwasm/wasm/v1/types_pb2.py | 56 ++--- .../injective_derivative_exchange_rpc_pb2.py | 152 ++++++------ .../tokenfactory/v1beta1/events_pb2.py | 18 +- .../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 | 56 +++++ .../injective/wasmx/v1/proposal_pb2_grpc.py | 4 + .../proto/injective/wasmx/v1/query_pb2.py | 51 ++++ .../injective/wasmx/v1/query_pb2_grpc.py | 138 +++++++++++ .../proto/injective/wasmx/v1/tx_pb2.py | 77 ++++++ .../proto/injective/wasmx/v1/tx_pb2_grpc.py | 234 ++++++++++++++++++ .../proto/injective/wasmx/v1/wasmx_pb2.py | 41 +++ .../injective/wasmx/v1/wasmx_pb2_grpc.py | 4 + .../chain/grpc/test_chain_grpc_wasm_api.py | 5 +- .../grpc/test_indexer_grpc_derivative_api.py | 2 + tests/test_composer.py | 19 ++ 27 files changed, 1284 insertions(+), 281 deletions(-) create mode 100644 examples/chain_client/77_MsgExecuteContractCompat.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py rename pyinjective/proto/cosmwasm/wasm/v1/{proposal_pb2_grpc.py => proposal_legacy_pb2_grpc.py} (100%) delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.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 diff --git a/Makefile b/Makefile index 6f1690a6..df6ea1ea 100644 --- a/Makefile +++ b/Makefile @@ -28,19 +28,19 @@ clean-all: $(call clean_repos) clone-injective-core: - git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.8-testnet --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.9-testnet --depth 1 --single-branch clone-injective-indexer: - git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.67 --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.72 --depth 1 --single-branch clone-cometbft: - git clone https://github.com/cometbft/cometbft.git -b v0.37.2 --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/cometbft.git -b v0.37.2-inj --depth 1 --single-branch clone-wasmd: - git clone https://github.com/InjectiveLabs/wasmd.git -b v0.40.2-inj --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/wasmd.git -b v0.45.0-inj --depth 1 --single-branch clone-cosmos-sdk: - git clone https://github.com/InjectiveLabs/cosmos-sdk.git -b v0.47.3-inj-6 --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/cosmos-sdk.git -b v0.47.3-inj-9 --depth 1 --single-branch clone-ibc-go: git clone https://github.com/InjectiveLabs/ibc-go.git -b v7.2.0-inj --depth 1 --single-branch diff --git a/examples/chain_client/77_MsgExecuteContractCompat.py b/examples/chain_client/77_MsgExecuteContractCompat.py new file mode 100644 index 00000000..978ff115 --- /dev/null +++ b/examples/chain_client/77_MsgExecuteContractCompat.py @@ -0,0 +1,84 @@ +import asyncio +import json + +from grpc import RpcError + +from pyinjective.async_client import AsyncClient +from pyinjective.constant import GAS_FEE_BUFFER_AMOUNT, GAS_PRICE +from pyinjective.core.network import Network +from pyinjective.transaction import Transaction +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + # select network: local, testnet, mainnet + network = Network.testnet() + + client = AsyncClient(network) + composer = await client.composer() + await client.sync_timeout_height() + + # load account + priv_key = PrivateKey.from_hex("f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3") + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + await client.fetch_account(address.to_acc_bech32()) + + # prepare tx msg + # NOTE: COIN MUST BE SORTED IN ALPHABETICAL ORDER BY DENOMS + funds = ( + "69factory/inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6/inj12ngevx045zpvacus9s6anr258gkwpmthnz80e9," + "420peggy0x44C21afAaF20c270EBbF5914Cfc3b5022173FEB7," + "1peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5" + ) + + msg = composer.msg_execute_contract_compat( + sender=address.to_acc_bech32(), + contract="inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7", + msg=json.dumps({"increment": {}}), + funds=funds, + ) + + # build sim tx + tx = ( + Transaction() + .with_messages(msg) + .with_sequence(client.get_sequence()) + .with_account_num(client.get_number()) + .with_chain_id(network.chain_id) + ) + sim_sign_doc = tx.get_sign_doc(pub_key) + sim_sig = priv_key.sign(sim_sign_doc.SerializeToString()) + sim_tx_raw_bytes = tx.get_tx_data(sim_sig, pub_key) + + # simulate tx + try: + sim_res = await client.simulate(sim_tx_raw_bytes) + except RpcError as ex: + print(ex) + return + + # build tx + gas_price = GAS_PRICE + gas_limit = int(sim_res["gasInfo"]["gasUsed"]) + GAS_FEE_BUFFER_AMOUNT # add buffer for gas fee computation + gas_fee = "{:.18f}".format((gas_price * gas_limit) / pow(10, 18)).rstrip("0") + fee = [ + composer.Coin( + amount=gas_price * gas_limit, + denom=network.fee_denom, + ) + ] + tx = tx.with_gas(gas_limit).with_fee(fee).with_memo("").with_timeout_height(client.timeout_height) + sign_doc = tx.get_sign_doc(pub_key) + sig = priv_key.sign(sign_doc.SerializeToString()) + tx_raw_bytes = tx.get_tx_data(sig, pub_key) + + # broadcast tx: send_tx_async_mode, send_tx_sync_mode, send_tx_block_mode + res = await client.broadcast_tx_sync_mode(tx_raw_bytes) + print(res) + print("gas wanted: {}".format(gas_limit)) + print("gas fee: {} INJ".format(gas_fee)) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/pyinjective/composer.py b/pyinjective/composer.py index 4c35b07e..e40e36e2 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -29,6 +29,7 @@ from pyinjective.proto.injective.peggy.v1 import msgs_pb2 as injective_peggy_tx_pb from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as chain_stream_query from pyinjective.proto.injective.tokenfactory.v1beta1 import tx_pb2 as token_factory_tx_pb +from pyinjective.proto.injective.wasmx.v1 import tx_pb2 as wasmx_tx_pb REQUEST_TO_RESPONSE_TYPE_MAP = { "MsgCreateSpotLimitOrder": injective_exchange_tx_pb.MsgCreateSpotLimitOrderResponse, @@ -1032,6 +1033,14 @@ def msg_change_admin( new_admin=new_admin, ) + def msg_execute_contract_compat(self, sender: str, contract: str, msg: str, funds: str): + return wasmx_tx_pb.MsgExecuteContractCompat( + sender=sender, + contract=contract, + msg=msg, + funds=funds, + ) + def chain_stream_bank_balances_filter( self, accounts: Optional[List[str]] = None ) -> chain_stream_query.BankBalancesFilter: diff --git a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py index cf25dbc3..99a8a4b5 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py @@ -14,11 +14,12 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"\xc1\x01\n\rContractGrant\x12\x10\n\x08\x63ontract\x18\x01 \x01(\t\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/CombinedLimit\"c\n\x16\x41llowAllMessagesFilter:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\x98\x01\n\x16StoreCodeAuthorization\x12\x36\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmwasm.wasm.v1.CodeGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:F\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1bwasm/StoreCodeAuthorization\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"^\n\tCodeGrant\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12>\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\"\xc1\x01\n\rContractGrant\x12\x10\n\x08\x63ontract\x18\x01 \x01(\t\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/CombinedLimit\"c\n\x16\x41llowAllMessagesFilter:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,6 +28,10 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000' + _STORECODEAUTHORIZATION.fields_by_name['grants']._options = None + _STORECODEAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _STORECODEAUTHORIZATION._options = None + _STORECODEAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\033wasm/StoreCodeAuthorization' _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._options = None _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTEXECUTIONAUTHORIZATION._options = None @@ -57,22 +62,26 @@ _ACCEPTEDMESSAGESFILTER.fields_by_name['messages']._serialized_options = b'\372\336\037\022RawContractMessage' _ACCEPTEDMESSAGESFILTER._options = None _ACCEPTEDMESSAGESFILTER._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter' - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=178 - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=350 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=353 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=525 - _globals['_CONTRACTGRANT']._serialized_start=528 - _globals['_CONTRACTGRANT']._serialized_end=721 - _globals['_MAXCALLSLIMIT']._serialized_start=723 - _globals['_MAXCALLSLIMIT']._serialized_end=822 - _globals['_MAXFUNDSLIMIT']._serialized_start=825 - _globals['_MAXFUNDSLIMIT']._serialized_end=1004 - _globals['_COMBINEDLIMIT']._serialized_start=1007 - _globals['_COMBINEDLIMIT']._serialized_end=1211 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1213 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1312 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1314 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1433 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1436 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=1577 + _globals['_STORECODEAUTHORIZATION']._serialized_start=208 + _globals['_STORECODEAUTHORIZATION']._serialized_end=360 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=363 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=535 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=538 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=710 + _globals['_CODEGRANT']._serialized_start=712 + _globals['_CODEGRANT']._serialized_end=806 + _globals['_CONTRACTGRANT']._serialized_start=809 + _globals['_CONTRACTGRANT']._serialized_end=1002 + _globals['_MAXCALLSLIMIT']._serialized_start=1004 + _globals['_MAXCALLSLIMIT']._serialized_end=1103 + _globals['_MAXFUNDSLIMIT']._serialized_start=1106 + _globals['_MAXFUNDSLIMIT']._serialized_end=1285 + _globals['_COMBINEDLIMIT']._serialized_start=1288 + _globals['_COMBINEDLIMIT']._serialized_end=1492 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1494 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1593 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1595 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1714 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1717 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=1858 # @@protoc_insertion_point(module_scope) 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..1a826e2c --- /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 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 +from amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&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\"\xdc\x02\n\x11StoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x08 \x01(\x08\x12\x0e\n\x06source\x18\t \x01(\t\x12\x0f\n\x07\x62uilder\x18\n \x01(\t\x12\x11\n\tcode_hash\x18\x0b \x01(\x0c:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\x8d\x03\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\xae\x03\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\t \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\n \x01(\x08:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xee\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x06 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xcb\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xdc\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\xe5\x01\n\x13UpdateAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12?\n\tnew_admin\x18\x03 \x01(\tB,\xf2\xde\x1f\x10yaml:\"new_admin\"\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\xa2\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xa4\x01\n\x10PinCodesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xa8\x01\n\x12UnpinCodesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x02\n\x1fUpdateInstantiateConfigProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12N\n\x15\x61\x63\x63\x65ss_config_updates\x18\x03 \x03(\x0b\x32$.cosmwasm.wasm.v1.AccessConfigUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\x98\x04\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x06 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x07 \x01(\t\x12\r\n\x05label\x18\x08 \x01(\t\x12#\n\x03msg\x18\t \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0c \x01(\t\x12\x11\n\tcode_hash\x18\r \x01(\x0c:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB4Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_legacy_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\330\341\036\000\250\342\036\001' + _STORECODEPROPOSAL.fields_by_name['run_as']._options = None + _STORECODEPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._options = None + _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _STORECODEPROPOSAL._options = None + _STORECODEPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['admin']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _INSTANTIATECONTRACTPROPOSAL._options = None + _INSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['run_as']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['admin']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _INSTANTIATECONTRACT2PROPOSAL._options = None + _INSTANTIATECONTRACT2PROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' + _MIGRATECONTRACTPROPOSAL.fields_by_name['contract']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _MIGRATECONTRACTPROPOSAL._options = None + _MIGRATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' + _SUDOCONTRACTPROPOSAL.fields_by_name['contract']._options = None + _SUDOCONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._options = None + _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _SUDOCONTRACTPROPOSAL._options = None + _SUDOCONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' + _EXECUTECONTRACTPROPOSAL.fields_by_name['run_as']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _EXECUTECONTRACTPROPOSAL.fields_by_name['contract']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _EXECUTECONTRACTPROPOSAL._options = None + _EXECUTECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' + _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._options = None + _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"\322\264-\024cosmos.AddressString' + _UPDATEADMINPROPOSAL.fields_by_name['contract']._options = None + _UPDATEADMINPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _UPDATEADMINPROPOSAL._options = None + _UPDATEADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' + _CLEARADMINPROPOSAL.fields_by_name['contract']._options = None + _CLEARADMINPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _CLEARADMINPROPOSAL._options = None + _CLEARADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' + _PINCODESPROPOSAL.fields_by_name['code_ids']._options = None + _PINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _PINCODESPROPOSAL._options = None + _PINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' + _UNPINCODESPROPOSAL.fields_by_name['code_ids']._options = None + _UNPINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _UNPINCODESPROPOSAL._options = None + _UNPINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' + _ACCESSCONFIGUPDATE.fields_by_name['code_id']._options = None + _ACCESSCONFIGUPDATE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._options = None + _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _UPDATEINSTANTIATECONFIGPROPOSAL._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _STOREANDINSTANTIATECONTRACTPROPOSAL._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' + _globals['_STORECODEPROPOSAL']._serialized_start=191 + _globals['_STORECODEPROPOSAL']._serialized_end=539 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=542 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=939 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=942 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1372 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1375 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1613 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1616 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=1819 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=1822 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=2170 + _globals['_UPDATEADMINPROPOSAL']._serialized_start=2173 + _globals['_UPDATEADMINPROPOSAL']._serialized_end=2402 + _globals['_CLEARADMINPROPOSAL']._serialized_start=2405 + _globals['_CLEARADMINPROPOSAL']._serialized_end=2567 + _globals['_PINCODESPROPOSAL']._serialized_start=2570 + _globals['_PINCODESPROPOSAL']._serialized_end=2734 + _globals['_UNPINCODESPROPOSAL']._serialized_start=2737 + _globals['_UNPINCODESPROPOSAL']._serialized_end=2905 + _globals['_ACCESSCONFIGUPDATE']._serialized_start=2907 + _globals['_ACCESSCONFIGUPDATE']._serialized_end=3031 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=3034 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3300 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=3303 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=3839 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py similarity index 100% rename from pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2_grpc.py rename to pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py deleted file mode 100644 index 49b6692c..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py +++ /dev/null @@ -1,134 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmwasm/wasm/v1/proposal.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 -from amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmwasm/wasm/v1/proposal.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xc2\x02\n\x11StoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x08 \x01(\x08\x12\x0e\n\x06source\x18\t \x01(\t\x12\x0f\n\x07\x62uilder\x18\n \x01(\t\x12\x11\n\tcode_hash\x18\x0b \x01(\x0c:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\xd9\x02\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\xfa\x02\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\t \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\n \x01(\x08:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xd4\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x06 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xb1\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xa8\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\xb3\x01\n\x13UpdateAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\'\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\"\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\x88\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xce\x01\n\x10PinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xd2\x01\n\x12UnpinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x02\n\x1fUpdateInstantiateConfigProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12N\n\x15\x61\x63\x63\x65ss_config_updates\x18\x03 \x03(\x0b\x32$.cosmwasm.wasm.v1.AccessConfigUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\xfe\x03\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x06 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x07 \x01(\t\x12\r\n\x05label\x18\x08 \x01(\t\x12#\n\x03msg\x18\t \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0c \x01(\t\x12\x11\n\tcode_hash\x18\r \x01(\x0c:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB4Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\330\341\036\000\250\342\036\001' - _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._options = None - _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _STORECODEPROPOSAL._options = None - _STORECODEPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _INSTANTIATECONTRACTPROPOSAL._options = None - _INSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._options = None - _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _INSTANTIATECONTRACT2PROPOSAL._options = None - _INSTANTIATECONTRACT2PROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' - _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None - _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _MIGRATECONTRACTPROPOSAL._options = None - _MIGRATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' - _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._options = None - _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _SUDOCONTRACTPROPOSAL._options = None - _SUDOCONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' - _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _EXECUTECONTRACTPROPOSAL._options = None - _EXECUTECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' - _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._options = None - _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"' - _UPDATEADMINPROPOSAL._options = None - _UPDATEADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' - _CLEARADMINPROPOSAL._options = None - _CLEARADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' - _PINCODESPROPOSAL.fields_by_name['title']._options = None - _PINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' - _PINCODESPROPOSAL.fields_by_name['description']._options = None - _PINCODESPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' - _PINCODESPROPOSAL.fields_by_name['code_ids']._options = None - _PINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _PINCODESPROPOSAL._options = None - _PINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' - _UNPINCODESPROPOSAL.fields_by_name['title']._options = None - _UNPINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' - _UNPINCODESPROPOSAL.fields_by_name['description']._options = None - _UNPINCODESPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' - _UNPINCODESPROPOSAL.fields_by_name['code_ids']._options = None - _UNPINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _UNPINCODESPROPOSAL._options = None - _UNPINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' - _ACCESSCONFIGUPDATE.fields_by_name['code_id']._options = None - _ACCESSCONFIGUPDATE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._options = None - _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _UPDATEINSTANTIATECONFIGPROPOSAL._options = None - _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _STOREANDINSTANTIATECONTRACTPROPOSAL._options = None - _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' - _globals['_STORECODEPROPOSAL']._serialized_start=184 - _globals['_STORECODEPROPOSAL']._serialized_end=506 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=509 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=854 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=857 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1235 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1238 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1450 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1453 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=1630 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=1633 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=1929 - _globals['_UPDATEADMINPROPOSAL']._serialized_start=1932 - _globals['_UPDATEADMINPROPOSAL']._serialized_end=2111 - _globals['_CLEARADMINPROPOSAL']._serialized_start=2114 - _globals['_CLEARADMINPROPOSAL']._serialized_end=2250 - _globals['_PINCODESPROPOSAL']._serialized_start=2253 - _globals['_PINCODESPROPOSAL']._serialized_end=2459 - _globals['_UNPINCODESPROPOSAL']._serialized_start=2462 - _globals['_UNPINCODESPROPOSAL']._serialized_end=2672 - _globals['_ACCESSCONFIGUPDATE']._serialized_start=2674 - _globals['_ACCESSCONFIGUPDATE']._serialized_end=2798 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=2801 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3067 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=3070 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=3580 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py index 22104afe..0a1d749b 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py @@ -19,7 +19,7 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb7\x01\n\x0cMsgStoreCode\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\x96\x02\n\x16MsgInstantiateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"?\n\x1eMsgInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb7\x02\n\x17MsgInstantiateContract2\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"@\n\x1fMsgInstantiateContract2Response\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xe5\x01\n\x12MsgExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xa1\x01\n\x12MsgMigrateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"j\n\x0eMsgUpdateAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"U\n\rMsgClearAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\xbe\x01\n\x1aMsgUpdateInstantiateConfig\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9e\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xdb\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x06 \x01(\t\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"G\n&MsgStoreAndInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x32\xb5\n\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponseB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb7\x01\n\x0cMsgStoreCode\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\x96\x02\n\x16MsgInstantiateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"?\n\x1eMsgInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb7\x02\n\x17MsgInstantiateContract2\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"@\n\x1fMsgInstantiateContract2Response\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xe5\x01\n\x12MsgExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xa1\x01\n\x12MsgMigrateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"j\n\x0eMsgUpdateAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"U\n\rMsgClearAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\xbe\x01\n\x1aMsgUpdateInstantiateConfig\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9e\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xdb\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x06 \x01(\t\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"G\n&MsgStoreAndInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb0\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xb6\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse\"\x9e\x02\n\x1aMsgStoreAndMigrateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract\"a\n\"MsgStoreAndMigrateContractResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\xae\x01\n\x16MsgUpdateContractLabel\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x11\n\tnew_label\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgUpdateContractLabel\" \n\x1eMsgUpdateContractLabelResponse2\xce\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.MsgUpdateContractLabelResponseB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -104,6 +104,34 @@ _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGSTOREANDINSTANTIATECONTRACT._options = None _MSGSTOREANDINSTANTIATECONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract' + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._options = None + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._options = None + _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _MSGADDCODEUPLOADPARAMSADDRESSES._options = None + _MSGADDCODEUPLOADPARAMSADDRESSES._serialized_options = b'\202\347\260*\tauthority\212\347\260*$wasm/MsgAddCodeUploadParamsAddresses' + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._options = None + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._options = None + _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _MSGREMOVECODEUPLOADPARAMSADDRESSES._options = None + _MSGREMOVECODEUPLOADPARAMSADDRESSES._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'wasm/MsgRemoveCodeUploadParamsAddresses' + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['authority']._options = None + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['wasm_byte_code']._options = None + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['msg']._options = None + _MSGSTOREANDMIGRATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _MSGSTOREANDMIGRATECONTRACT._options = None + _MSGSTOREANDMIGRATECONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*\037wasm/MsgStoreAndMigrateContract' + _MSGSTOREANDMIGRATECONTRACTRESPONSE.fields_by_name['code_id']._options = None + _MSGSTOREANDMIGRATECONTRACTRESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _MSGUPDATECONTRACTLABEL.fields_by_name['sender']._options = None + _MSGUPDATECONTRACTLABEL.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATECONTRACTLABEL.fields_by_name['contract']._options = None + _MSGUPDATECONTRACTLABEL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATECONTRACTLABEL._options = None + _MSGUPDATECONTRACTLABEL._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgUpdateContractLabel' _globals['_MSGSTORECODE']._serialized_start=203 _globals['_MSGSTORECODE']._serialized_end=386 _globals['_MSGSTORECODERESPONSE']._serialized_start=388 @@ -156,6 +184,22 @@ _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3358 _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3360 _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=3431 - _globals['_MSG']._serialized_start=3434 - _globals['_MSG']._serialized_end=4767 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=3434 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=3610 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=3612 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=3653 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=3656 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=3838 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=3840 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=3884 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=3887 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=4173 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=4175 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=4272 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=4275 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=4449 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=4451 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=4483 + _globals['_MSG']._serialized_start=4486 + _globals['_MSG']._serialized_end=6356 # @@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 ac3b86e9..c0074e43 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py @@ -80,6 +80,26 @@ def __init__(self, channel): request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, ) + self.RemoveCodeUploadParamsAddresses = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, + ) + self.AddCodeUploadParamsAddresses = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, + ) + self.StoreAndMigrateContract = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/StoreAndMigrateContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.FromString, + ) + self.UpdateContractLabel = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/UpdateContractLabel', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.FromString, + ) class MsgServicer(object): @@ -124,7 +144,7 @@ def MigrateContract(self, request, context): raise NotImplementedError('Method not implemented!') def UpdateAdmin(self, request, context): - """UpdateAdmin sets a new admin for a smart contract + """UpdateAdmin sets a new admin for a smart contract """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -194,6 +214,43 @@ def StoreAndInstantiateContract(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def RemoveCodeUploadParamsAddresses(self, request, context): + """RemoveCodeUploadParamsAddresses defines a governance operation for + removing addresses from code upload params. + The authority is defined in the keeper. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddCodeUploadParamsAddresses(self, request, context): + """AddCodeUploadParamsAddresses defines a governance operation for + adding addresses to code upload params. + The authority is defined in the keeper. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def StoreAndMigrateContract(self, request, context): + """StoreAndMigrateContract defines a governance operation for storing + and migrating the contract. The authority is defined in the keeper. + + Since: 0.42 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateContractLabel(self, request, context): + """UpdateContractLabel sets a new label for a smart contract + + Since: 0.43 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -262,6 +319,26 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.FromString, response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.SerializeToString, ), + 'RemoveCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( + servicer.RemoveCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.SerializeToString, + ), + 'AddCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( + servicer.AddCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, + ), + 'StoreAndMigrateContract': grpc.unary_unary_rpc_method_handler( + servicer.StoreAndMigrateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.SerializeToString, + ), + 'UpdateContractLabel': grpc.unary_unary_rpc_method_handler( + servicer.UpdateContractLabel, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'cosmwasm.wasm.v1.Msg', rpc_method_handlers) @@ -493,3 +570,71 @@ def StoreAndInstantiateContract(request, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def RemoveCodeUploadParamsAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def AddCodeUploadParamsAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def StoreAndMigrateContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/StoreAndMigrateContract', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateContractLabel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/UpdateContractLabel', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py index 3c1ecf7c..3dd8d425 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py @@ -18,7 +18,7 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\xab\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12#\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"address\"\x12\'\n\taddresses\x18\x03 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":\x04\x98\xa0\x1f\x01\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"code_upload_access\"\xa8\xe7\xb0*\x01\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x81\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x90\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\r\n\x05\x61\x64min\x18\x03 \x01(\t\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x88\x01\n\x0f\x45ventCodeStored\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x35\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63hecksum\x18\x04 \x01(\x0c\"\x82\x02\n\x19\x45ventContractInstantiated\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12Z\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12\r\n\x05label\x18\x06 \x01(\t\x12\x0f\n\x07\x63reator\x18\x07 \x01(\t\"s\n\x15\x45ventContractMigrated\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"D\n\x15\x45ventContractAdminSet\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t*\xa9\x02\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x37\n\x18\x41\x43\x43\x45SS_TYPE_ONLY_ADDRESS\x10\x02\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeOnlyAddress\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\x8c\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12\'\n\taddresses\x18\x03 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"code_upload_access\"\xa8\xe7\xb0*\x01\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x81\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x90\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\r\n\x05\x61\x64min\x18\x03 \x01(\t\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x88\x01\n\x0f\x45ventCodeStored\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x35\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63hecksum\x18\x04 \x01(\x0c\"\x82\x02\n\x19\x45ventContractInstantiated\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12Z\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12\r\n\x05label\x18\x06 \x01(\t\x12\x0f\n\x07\x63reator\x18\x07 \x01(\t\"s\n\x15\x45ventContractMigrated\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"D\n\x15\x45ventContractAdminSet\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t*\xf6\x01\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\"\x04\x08\x02\x10\x02*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -33,8 +33,6 @@ _ACCESSTYPE.values_by_name["ACCESS_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \025AccessTypeUnspecified' _ACCESSTYPE.values_by_name["ACCESS_TYPE_NOBODY"]._options = None _ACCESSTYPE.values_by_name["ACCESS_TYPE_NOBODY"]._serialized_options = b'\212\235 \020AccessTypeNobody' - _ACCESSTYPE.values_by_name["ACCESS_TYPE_ONLY_ADDRESS"]._options = None - _ACCESSTYPE.values_by_name["ACCESS_TYPE_ONLY_ADDRESS"]._serialized_options = b'\212\235 \025AccessTypeOnlyAddress' _ACCESSTYPE.values_by_name["ACCESS_TYPE_EVERYBODY"]._options = None _ACCESSTYPE.values_by_name["ACCESS_TYPE_EVERYBODY"]._serialized_options = b'\212\235 \023AccessTypeEverybody' _ACCESSTYPE.values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._options = None @@ -55,8 +53,6 @@ _ACCESSTYPEPARAM._serialized_options = b'\230\240\037\001' _ACCESSCONFIG.fields_by_name['permission']._options = None _ACCESSCONFIG.fields_by_name['permission']._serialized_options = b'\362\336\037\021yaml:\"permission\"' - _ACCESSCONFIG.fields_by_name['address']._options = None - _ACCESSCONFIG.fields_by_name['address']._serialized_options = b'\362\336\037\016yaml:\"address\"' _ACCESSCONFIG.fields_by_name['addresses']._options = None _ACCESSCONFIG.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' _ACCESSCONFIG._options = None @@ -95,32 +91,32 @@ _EVENTCONTRACTMIGRATED.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _EVENTCONTRACTMIGRATED.fields_by_name['msg']._options = None _EVENTCONTRACTMIGRATED.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _globals['_ACCESSTYPE']._serialized_start=2038 - _globals['_ACCESSTYPE']._serialized_end=2335 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=2338 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2760 + _globals['_ACCESSTYPE']._serialized_start=2007 + _globals['_ACCESSTYPE']._serialized_end=2253 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=2256 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2678 _globals['_ACCESSTYPEPARAM']._serialized_start=177 _globals['_ACCESSTYPEPARAM']._serialized_end=263 _globals['_ACCESSCONFIG']._serialized_start=266 - _globals['_ACCESSCONFIG']._serialized_end=437 - _globals['_PARAMS']._serialized_start=440 - _globals['_PARAMS']._serialized_end=667 - _globals['_CODEINFO']._serialized_start=670 - _globals['_CODEINFO']._serialized_end=799 - _globals['_CONTRACTINFO']._serialized_start=802 - _globals['_CONTRACTINFO']._serialized_end=1074 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1077 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1295 - _globals['_ABSOLUTETXPOSITION']._serialized_start=1297 - _globals['_ABSOLUTETXPOSITION']._serialized_end=1357 - _globals['_MODEL']._serialized_start=1359 - _globals['_MODEL']._serialized_end=1448 - _globals['_EVENTCODESTORED']._serialized_start=1451 - _globals['_EVENTCODESTORED']._serialized_end=1587 - _globals['_EVENTCONTRACTINSTANTIATED']._serialized_start=1590 - _globals['_EVENTCONTRACTINSTANTIATED']._serialized_end=1848 - _globals['_EVENTCONTRACTMIGRATED']._serialized_start=1850 - _globals['_EVENTCONTRACTMIGRATED']._serialized_end=1965 - _globals['_EVENTCONTRACTADMINSET']._serialized_start=1967 - _globals['_EVENTCONTRACTADMINSET']._serialized_end=2035 + _globals['_ACCESSCONFIG']._serialized_end=406 + _globals['_PARAMS']._serialized_start=409 + _globals['_PARAMS']._serialized_end=636 + _globals['_CODEINFO']._serialized_start=639 + _globals['_CODEINFO']._serialized_end=768 + _globals['_CONTRACTINFO']._serialized_start=771 + _globals['_CONTRACTINFO']._serialized_end=1043 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1046 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1264 + _globals['_ABSOLUTETXPOSITION']._serialized_start=1266 + _globals['_ABSOLUTETXPOSITION']._serialized_end=1326 + _globals['_MODEL']._serialized_start=1328 + _globals['_MODEL']._serialized_end=1417 + _globals['_EVENTCODESTORED']._serialized_start=1420 + _globals['_EVENTCODESTORED']._serialized_end=1556 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_start=1559 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_end=1817 + _globals['_EVENTCONTRACTMIGRATED']._serialized_start=1819 + _globals['_EVENTCONTRACTMIGRATED']._serialized_end=1934 + _globals['_EVENTCONTRACTADMINSET']._serialized_start=1936 + _globals['_EVENTCONTRACTADMINSET']._serialized_end=2004 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py index b591863c..652b5201 100644 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xca\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"\xcc\x01\n\x12PositionsV2Request\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\"\x9c\x01\n\x13PositionsV2Response\x12J\n\tpositions\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativePositionV2\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xdd\x01\n\x14\x44\x65rivativePositionV2\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12\x12\n\nupdated_at\x18\x0b \x01(\x12\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"n\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcf\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\x12\x0b\n\x03\x63id\x18\r \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\xa6\x02\n\x0fTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x91\x01\n\x10TradesV2Response\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xac\x02\n\x15StreamTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x86\x01\n\x16StreamTradesV2Response\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"U\n\x0eMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x17\n\x0fmarket_statuses\x18\x03 \x03(\t\"[\n\x0fMarketsResponse\x12H\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\"\xff\x05\n\x14\x44\x65rivativeMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x13\n\x0boracle_base\x18\x04 \x01(\t\x12\x14\n\x0coracle_quote\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14initial_margin_ratio\x18\x08 \x01(\t\x12 \n\x18maintenance_margin_ratio\x18\t \x01(\t\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x14\n\x0cis_perpetual\x18\x0f \x01(\x08\x12\x1b\n\x13min_price_tick_size\x18\x10 \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x11 \x01(\t\x12U\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfo\x12[\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFunding\x12^\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfo\"n\n\tTokenMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11\x12\x12\n\nupdated_at\x18\x06 \x01(\x12\"\x8e\x01\n\x13PerpetualMarketInfo\x12\x1f\n\x17hourly_funding_rate_cap\x18\x01 \x01(\t\x12\x1c\n\x14hourly_interest_rate\x18\x02 \x01(\t\x12\x1e\n\x16next_funding_timestamp\x18\x03 \x01(\x12\x12\x18\n\x10\x66unding_interval\x18\x04 \x01(\x12\"f\n\x16PerpetualMarketFunding\x12\x1a\n\x12\x63umulative_funding\x18\x01 \x01(\t\x12\x18\n\x10\x63umulative_price\x18\x02 \x01(\t\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x12\"Q\n\x17\x45xpiryFuturesMarketInfo\x12\x1c\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12\x12\x18\n\x10settlement_price\x18\x02 \x01(\t\"\"\n\rMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"Y\n\x0eMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\")\n\x13StreamMarketRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\x8a\x01\n\x14StreamMarketResponse\x12G\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfo\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"f\n\x1b\x42inaryOptionsMarketsRequest\x12\x15\n\rmarket_status\x18\x01 \x01(\t\x12\x13\n\x0bquote_denom\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa6\x01\n\x1c\x42inaryOptionsMarketsResponse\x12K\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xf3\x03\n\x17\x42inaryOptionsMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_status\x18\x02 \x01(\t\x12\x0e\n\x06ticker\x18\x03 \x01(\t\x12\x15\n\roracle_symbol\x18\x04 \x01(\t\x12\x17\n\x0foracle_provider\x18\x05 \x01(\t\x12\x13\n\x0boracle_type\x18\x06 \x01(\t\x12\x1b\n\x13oracle_scale_factor\x18\x07 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12\x12\x1c\n\x14settlement_timestamp\x18\t \x01(\x12\x12\x13\n\x0bquote_denom\x18\n \x01(\t\x12\x46\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMeta\x12\x16\n\x0emaker_fee_rate\x18\x0c \x01(\t\x12\x16\n\x0etaker_fee_rate\x18\r \x01(\t\x12\x1c\n\x14service_provider_fee\x18\x0e \x01(\t\x12\x1b\n\x13min_price_tick_size\x18\x0f \x01(\t\x12\x1e\n\x16min_quantity_tick_size\x18\x10 \x01(\t\x12\x18\n\x10settlement_price\x18\x11 \x01(\t\"\\\n\x06Paging\x12\r\n\x05total\x18\x01 \x01(\x12\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x11\x12\n\n\x02to\x18\x03 \x01(\x11\x12\x1b\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12\x12\x0c\n\x04next\x18\x05 \x03(\t\"/\n\x1a\x42inaryOptionsMarketRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"i\n\x1b\x42inaryOptionsMarketResponse\x12J\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfo\"\'\n\x12OrderbookV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\"g\n\x13OrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\"\xbc\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12<\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevel\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"@\n\nPriceLevel\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\")\n\x13OrderbooksV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2\"\x87\x01\n SingleDerivativeLimitOrderbookV2\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12P\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\".\n\x18StreamOrderbookV2Request\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xab\x01\n\x19StreamOrderbookV2Response\x12P\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"2\n\x1cStreamOrderbookUpdateRequest\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"\xb8\x01\n\x1dStreamOrderbookUpdateResponse\x12Y\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdates\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x12\x11\n\tmarket_id\x18\x04 \x01(\t\"\xd7\x01\n\x15OrderbookLevelUpdates\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x42\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdate\x12\x12\n\nupdated_at\x18\x05 \x01(\x12\"Y\n\x10PriceLevelUpdate\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"\xaa\x02\n\rOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x94\x01\n\x0eOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xd8\x03\n\x14\x44\x65rivativeLimitOrder\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0eis_reduce_only\x18\x05 \x01(\x08\x12\x0e\n\x06margin\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x19\n\x11unfilled_quantity\x18\t \x01(\t\x12\x15\n\rtrigger_price\x18\n \x01(\t\x12\x15\n\rfee_recipient\x18\x0b \x01(\t\x12\r\n\x05state\x18\x0c \x01(\t\x12\x12\n\ncreated_at\x18\r \x01(\x12\x12\x12\n\nupdated_at\x18\x0e \x01(\x12\x12\x14\n\x0corder_number\x18\x0f \x01(\x12\x12\x12\n\norder_type\x18\x10 \x01(\t\x12\x16\n\x0eis_conditional\x18\x11 \x01(\x08\x12\x12\n\ntrigger_at\x18\x12 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x13 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x14 \x01(\t\x12\x0f\n\x07tx_hash\x18\x15 \x01(\t\x12\x0b\n\x03\x63id\x18\x16 \x01(\t\"\xe3\x01\n\x10PositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\x12\x17\n\x0f\x61\x63\x63ount_address\x18\n \x01(\t\"\x98\x01\n\x11PositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"\xe5\x01\n\x12PositionsV2Request\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x12\n\nstart_time\x18\x05 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x12\x12\x12\n\nmarket_ids\x18\x07 \x03(\t\x12\x11\n\tdirection\x18\x08 \x01(\t\x12\"\n\x1asubaccount_total_positions\x18\t \x01(\x08\x12\x17\n\x0f\x61\x63\x63ount_address\x18\n \x01(\t\"\x9c\x01\n\x13PositionsV2Response\x12J\n\tpositions\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativePositionV2\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xec\x01\n\x14\x44\x65rivativePositionV2\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12\x12\n\nupdated_at\x18\x0b \x01(\x12\x12\r\n\x05\x64\x65nom\x18\x0c \x01(\t\"L\n\x1aLiquidablePositionsRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\"g\n\x1bLiquidablePositionsResponse\x12H\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\"\x85\x01\n\x16\x46undingPaymentsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x05 \x01(\x12\x12\x12\n\nmarket_ids\x18\x06 \x03(\t\"\x99\x01\n\x17\x46undingPaymentsResponse\x12\x43\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPayment\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"]\n\x0e\x46undingPayment\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x11\n\ttimestamp\x18\x04 \x01(\x12\"W\n\x13\x46undingRatesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04skip\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\x11\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x12\"\x98\x01\n\x14\x46undingRatesResponse\x12\x45\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRate\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"A\n\x0b\x46undingRate\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\x87\x01\n\x16StreamPositionsRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x12\n\nmarket_ids\x18\x03 \x03(\t\x12\x16\n\x0esubaccount_ids\x18\x04 \x03(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x05 \x01(\t\"u\n\x17StreamPositionsResponse\x12G\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePosition\x12\x11\n\ttimestamp\x18\x02 \x01(\x12\"\xb0\x02\n\x13StreamOrdersRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x12\n\norder_side\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x0c\n\x04skip\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\x11\x12\x12\n\nstart_time\x18\x06 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x07 \x01(\x12\x12\x12\n\nmarket_ids\x18\x08 \x03(\t\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\x18\n\x10include_inactive\x18\x0b \x01(\x08\x12\x1f\n\x17subaccount_total_orders\x18\x0c \x01(\x08\x12\x10\n\x08trade_id\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x89\x01\n\x14StreamOrdersResponse\x12\x46\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xa4\x02\n\rTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x8f\x01\n\x0eTradesResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xcf\x02\n\x0f\x44\x65rivativeTrade\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\t\x12\x1c\n\x14trade_execution_type\x18\x04 \x01(\t\x12\x16\n\x0eis_liquidation\x18\x05 \x01(\x08\x12H\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDelta\x12\x0e\n\x06payout\x18\x07 \x01(\t\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\t\x12\x13\n\x0b\x65xecuted_at\x18\t \x01(\x12\x12\x15\n\rfee_recipient\x18\n \x01(\t\x12\x10\n\x08trade_id\x18\x0b \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x0c \x01(\t\x12\x0b\n\x03\x63id\x18\r \x01(\t\"w\n\rPositionDelta\x12\x17\n\x0ftrade_direction\x18\x01 \x01(\t\x12\x17\n\x0f\x65xecution_price\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecution_quantity\x18\x03 \x01(\t\x12\x18\n\x10\x65xecution_margin\x18\x04 \x01(\t\"\xa6\x02\n\x0fTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x91\x01\n\x10TradesV2Response\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xaa\x02\n\x13StreamTradesRequest\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x84\x01\n\x14StreamTradesResponse\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"\xac\x02\n\x15StreamTradesV2Request\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x16\n\x0e\x65xecution_side\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x12\n\nmarket_ids\x18\t \x03(\t\x12\x16\n\x0esubaccount_ids\x18\n \x03(\t\x12\x17\n\x0f\x65xecution_types\x18\x0b \x03(\t\x12\x10\n\x08trade_id\x18\x0c \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\r \x01(\t\x12\x0b\n\x03\x63id\x18\x0e \x01(\t\"\x86\x01\n\x16StreamTradesV2Response\x12\x41\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\"d\n\x1bSubaccountOrdersListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\"\xa2\x01\n\x1cSubaccountOrdersListResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrder\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\x8f\x01\n\x1bSubaccountTradesListRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x0c\n\x04skip\x18\x05 \x01(\x04\x12\r\n\x05limit\x18\x06 \x01(\x11\"b\n\x1cSubaccountTradesListResponse\x12\x42\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTrade\"\xcf\x02\n\x14OrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x0c\n\x04skip\x18\x03 \x01(\x04\x12\r\n\x05limit\x18\x04 \x01(\x11\x12\x13\n\x0border_types\x18\x05 \x03(\t\x12\x11\n\tdirection\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x12\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x12\x12\x16\n\x0eis_conditional\x18\t \x01(\t\x12\x12\n\norder_type\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x0c \x03(\t\x12\x12\n\nmarket_ids\x18\r \x03(\t\x12\x10\n\x08trade_id\x18\x0e \x01(\t\x12\x1b\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08\x12\x0b\n\x03\x63id\x18\x10 \x01(\t\"\x9d\x01\n\x15OrdersHistoryResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x39\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.Paging\"\xbd\x03\n\x16\x44\x65rivativeOrderHistory\x12\x12\n\norder_hash\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x11\n\tis_active\x18\x03 \x01(\x08\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x16\n\x0e\x65xecution_type\x18\x05 \x01(\t\x12\x12\n\norder_type\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\t\x12\x15\n\rtrigger_price\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\t\x12\x17\n\x0f\x66illed_quantity\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_at\x18\x0c \x01(\x12\x12\x12\n\nupdated_at\x18\r \x01(\x12\x12\x16\n\x0eis_reduce_only\x18\x0e \x01(\x08\x12\x11\n\tdirection\x18\x0f \x01(\t\x12\x16\n\x0eis_conditional\x18\x10 \x01(\x08\x12\x12\n\ntrigger_at\x18\x11 \x01(\x04\x12\x19\n\x11placed_order_hash\x18\x12 \x01(\t\x12\x0e\n\x06margin\x18\x13 \x01(\t\x12\x0f\n\x07tx_hash\x18\x14 \x01(\t\x12\x0b\n\x03\x63id\x18\x15 \x01(\t\"\x96\x01\n\x1aStreamOrdersHistoryRequest\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x13\n\x0border_types\x18\x03 \x03(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\r\n\x05state\x18\x05 \x01(\t\x12\x17\n\x0f\x65xecution_types\x18\x06 \x03(\t\"\x92\x01\n\x1bStreamOrdersHistoryResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistory\x12\x16\n\x0eoperation_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x12\x32\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&Z$/injective_derivative_exchange_rpcpbb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -89,79 +89,79 @@ _globals['_DERIVATIVELIMITORDER']._serialized_start=4737 _globals['_DERIVATIVELIMITORDER']._serialized_end=5209 _globals['_POSITIONSREQUEST']._serialized_start=5212 - _globals['_POSITIONSREQUEST']._serialized_end=5414 - _globals['_POSITIONSRESPONSE']._serialized_start=5417 - _globals['_POSITIONSRESPONSE']._serialized_end=5569 - _globals['_DERIVATIVEPOSITION']._serialized_start=5572 - _globals['_DERIVATIVEPOSITION']._serialized_end=5851 - _globals['_POSITIONSV2REQUEST']._serialized_start=5854 - _globals['_POSITIONSV2REQUEST']._serialized_end=6058 - _globals['_POSITIONSV2RESPONSE']._serialized_start=6061 - _globals['_POSITIONSV2RESPONSE']._serialized_end=6217 - _globals['_DERIVATIVEPOSITIONV2']._serialized_start=6220 - _globals['_DERIVATIVEPOSITIONV2']._serialized_end=6441 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=6443 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=6519 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=6521 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6624 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6627 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6760 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6763 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6916 - _globals['_FUNDINGPAYMENT']._serialized_start=6918 - _globals['_FUNDINGPAYMENT']._serialized_end=7011 - _globals['_FUNDINGRATESREQUEST']._serialized_start=7013 - _globals['_FUNDINGRATESREQUEST']._serialized_end=7100 - _globals['_FUNDINGRATESRESPONSE']._serialized_start=7103 - _globals['_FUNDINGRATESRESPONSE']._serialized_end=7255 - _globals['_FUNDINGRATE']._serialized_start=7257 - _globals['_FUNDINGRATE']._serialized_end=7322 - _globals['_STREAMPOSITIONSREQUEST']._serialized_start=7324 - _globals['_STREAMPOSITIONSREQUEST']._serialized_end=7434 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=7436 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=7553 - _globals['_STREAMORDERSREQUEST']._serialized_start=7556 - _globals['_STREAMORDERSREQUEST']._serialized_end=7860 - _globals['_STREAMORDERSRESPONSE']._serialized_start=7863 - _globals['_STREAMORDERSRESPONSE']._serialized_end=8000 - _globals['_TRADESREQUEST']._serialized_start=8003 - _globals['_TRADESREQUEST']._serialized_end=8295 - _globals['_TRADESRESPONSE']._serialized_start=8298 - _globals['_TRADESRESPONSE']._serialized_end=8441 - _globals['_DERIVATIVETRADE']._serialized_start=8444 - _globals['_DERIVATIVETRADE']._serialized_end=8779 - _globals['_POSITIONDELTA']._serialized_start=8781 - _globals['_POSITIONDELTA']._serialized_end=8900 - _globals['_TRADESV2REQUEST']._serialized_start=8903 - _globals['_TRADESV2REQUEST']._serialized_end=9197 - _globals['_TRADESV2RESPONSE']._serialized_start=9200 - _globals['_TRADESV2RESPONSE']._serialized_end=9345 - _globals['_STREAMTRADESREQUEST']._serialized_start=9348 - _globals['_STREAMTRADESREQUEST']._serialized_end=9646 - _globals['_STREAMTRADESRESPONSE']._serialized_start=9649 - _globals['_STREAMTRADESRESPONSE']._serialized_end=9781 - _globals['_STREAMTRADESV2REQUEST']._serialized_start=9784 - _globals['_STREAMTRADESV2REQUEST']._serialized_end=10084 - _globals['_STREAMTRADESV2RESPONSE']._serialized_start=10087 - _globals['_STREAMTRADESV2RESPONSE']._serialized_end=10221 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=10223 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=10323 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=10326 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=10488 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=10491 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=10634 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=10636 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=10734 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=10737 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=11072 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=11075 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=11232 - _globals['_DERIVATIVEORDERHISTORY']._serialized_start=11235 - _globals['_DERIVATIVEORDERHISTORY']._serialized_end=11680 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=11683 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=11833 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=11836 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=11982 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=11985 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=15381 + _globals['_POSITIONSREQUEST']._serialized_end=5439 + _globals['_POSITIONSRESPONSE']._serialized_start=5442 + _globals['_POSITIONSRESPONSE']._serialized_end=5594 + _globals['_DERIVATIVEPOSITION']._serialized_start=5597 + _globals['_DERIVATIVEPOSITION']._serialized_end=5876 + _globals['_POSITIONSV2REQUEST']._serialized_start=5879 + _globals['_POSITIONSV2REQUEST']._serialized_end=6108 + _globals['_POSITIONSV2RESPONSE']._serialized_start=6111 + _globals['_POSITIONSV2RESPONSE']._serialized_end=6267 + _globals['_DERIVATIVEPOSITIONV2']._serialized_start=6270 + _globals['_DERIVATIVEPOSITIONV2']._serialized_end=6506 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=6508 + _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=6584 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=6586 + _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=6689 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=6692 + _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=6825 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=6828 + _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=6981 + _globals['_FUNDINGPAYMENT']._serialized_start=6983 + _globals['_FUNDINGPAYMENT']._serialized_end=7076 + _globals['_FUNDINGRATESREQUEST']._serialized_start=7078 + _globals['_FUNDINGRATESREQUEST']._serialized_end=7165 + _globals['_FUNDINGRATESRESPONSE']._serialized_start=7168 + _globals['_FUNDINGRATESRESPONSE']._serialized_end=7320 + _globals['_FUNDINGRATE']._serialized_start=7322 + _globals['_FUNDINGRATE']._serialized_end=7387 + _globals['_STREAMPOSITIONSREQUEST']._serialized_start=7390 + _globals['_STREAMPOSITIONSREQUEST']._serialized_end=7525 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=7527 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=7644 + _globals['_STREAMORDERSREQUEST']._serialized_start=7647 + _globals['_STREAMORDERSREQUEST']._serialized_end=7951 + _globals['_STREAMORDERSRESPONSE']._serialized_start=7954 + _globals['_STREAMORDERSRESPONSE']._serialized_end=8091 + _globals['_TRADESREQUEST']._serialized_start=8094 + _globals['_TRADESREQUEST']._serialized_end=8386 + _globals['_TRADESRESPONSE']._serialized_start=8389 + _globals['_TRADESRESPONSE']._serialized_end=8532 + _globals['_DERIVATIVETRADE']._serialized_start=8535 + _globals['_DERIVATIVETRADE']._serialized_end=8870 + _globals['_POSITIONDELTA']._serialized_start=8872 + _globals['_POSITIONDELTA']._serialized_end=8991 + _globals['_TRADESV2REQUEST']._serialized_start=8994 + _globals['_TRADESV2REQUEST']._serialized_end=9288 + _globals['_TRADESV2RESPONSE']._serialized_start=9291 + _globals['_TRADESV2RESPONSE']._serialized_end=9436 + _globals['_STREAMTRADESREQUEST']._serialized_start=9439 + _globals['_STREAMTRADESREQUEST']._serialized_end=9737 + _globals['_STREAMTRADESRESPONSE']._serialized_start=9740 + _globals['_STREAMTRADESRESPONSE']._serialized_end=9872 + _globals['_STREAMTRADESV2REQUEST']._serialized_start=9875 + _globals['_STREAMTRADESV2REQUEST']._serialized_end=10175 + _globals['_STREAMTRADESV2RESPONSE']._serialized_start=10178 + _globals['_STREAMTRADESV2RESPONSE']._serialized_end=10312 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=10314 + _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=10414 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=10417 + _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=10579 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=10582 + _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=10725 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=10727 + _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=10825 + _globals['_ORDERSHISTORYREQUEST']._serialized_start=10828 + _globals['_ORDERSHISTORYREQUEST']._serialized_end=11163 + _globals['_ORDERSHISTORYRESPONSE']._serialized_start=11166 + _globals['_ORDERSHISTORYRESPONSE']._serialized_end=11323 + _globals['_DERIVATIVEORDERHISTORY']._serialized_start=11326 + _globals['_DERIVATIVEORDERHISTORY']._serialized_end=11771 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=11774 + _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=11924 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=11927 + _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=12073 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=12076 + _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=15472 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py index 3cf78b33..94001e8d 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py @@ -17,7 +17,7 @@ from 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\"4\n\x12\x45ventCreateTFDenom\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"^\n\x10\x45ventMintTFDenom\x12\x19\n\x11recipient_address\x18\x01 \x01(\t\x12/\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"[\n\x10\x45ventBurnTFDenom\x12\x16\n\x0e\x62urner_address\x18\x01 \x01(\t\x12/\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\">\n\x12\x45ventChangeTFAdmin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x19\n\x11new_admin_address\x18\x02 \x01(\t\"_\n\x17\x45ventSetTFDenomMetadata\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x35\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x04\xc8\xde\x1f\x00\x42TZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\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\"4\n\x12\x45ventCreateTFDenom\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"^\n\x10\x45ventMintTFDenom\x12\x19\n\x11recipient_address\x18\x01 \x01(\t\x12/\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"Y\n\x0e\x45ventBurnDenom\x12\x16\n\x0e\x62urner_address\x18\x01 \x01(\t\x12/\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\">\n\x12\x45ventChangeTFAdmin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x19\n\x11new_admin_address\x18\x02 \x01(\t\"_\n\x17\x45ventSetTFDenomMetadata\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x35\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x04\xc8\xde\x1f\x00\x42TZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,18 +28,18 @@ DESCRIPTOR._serialized_options = b'ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types' _EVENTMINTTFDENOM.fields_by_name['amount']._options = None _EVENTMINTTFDENOM.fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _EVENTBURNTFDENOM.fields_by_name['amount']._options = None - _EVENTBURNTFDENOM.fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _EVENTBURNDENOM.fields_by_name['amount']._options = None + _EVENTBURNDENOM.fields_by_name['amount']._serialized_options = b'\310\336\037\000' _EVENTSETTFDENOMMETADATA.fields_by_name['metadata']._options = None _EVENTSETTFDENOMMETADATA.fields_by_name['metadata']._serialized_options = b'\310\336\037\000' _globals['_EVENTCREATETFDENOM']._serialized_start=221 _globals['_EVENTCREATETFDENOM']._serialized_end=273 _globals['_EVENTMINTTFDENOM']._serialized_start=275 _globals['_EVENTMINTTFDENOM']._serialized_end=369 - _globals['_EVENTBURNTFDENOM']._serialized_start=371 - _globals['_EVENTBURNTFDENOM']._serialized_end=462 - _globals['_EVENTCHANGETFADMIN']._serialized_start=464 - _globals['_EVENTCHANGETFADMIN']._serialized_end=526 - _globals['_EVENTSETTFDENOMMETADATA']._serialized_start=528 - _globals['_EVENTSETTFDENOMMETADATA']._serialized_end=623 + _globals['_EVENTBURNDENOM']._serialized_start=371 + _globals['_EVENTBURNDENOM']._serialized_end=460 + _globals['_EVENTCHANGETFADMIN']._serialized_start=462 + _globals['_EVENTCHANGETFADMIN']._serialized_end=524 + _globals['_EVENTSETTFDENOMMETADATA']._serialized_start=526 + _globals['_EVENTSETTFDENOMMETADATA']._serialized_end=621 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2.py b/pyinjective/proto/injective/wasmx/v1/events_pb2.py new file mode 100644 index 00000000..98439a5e --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/events_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/events.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"r\n\x16\x45ventContractExecution\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x10\n\x08response\x18\x02 \x01(\x0c\x12\x13\n\x0bother_error\x18\x03 \x01(\t\x12\x17\n\x0f\x65xecution_error\x18\x04 \x01(\t\"\xf9\x01\n\x17\x45ventContractRegistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode\"5\n\x19\x45ventContractDeregistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _globals['_EVENTCONTRACTEXECUTION']._serialized_start=144 + _globals['_EVENTCONTRACTEXECUTION']._serialized_end=258 + _globals['_EVENTCONTRACTREGISTERED']._serialized_start=261 + _globals['_EVENTCONTRACTREGISTERED']._serialized_end=510 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_start=512 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_end=565 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/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..458ed453 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/genesis.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto\"u\n\x1dRegisteredContractWithAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x43\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract\"\x97\x01\n\x0cGenesisState\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\x12U\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.genesis_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _GENESISSTATE.fields_by_name['params']._options = None + _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['registered_contracts']._options = None + _GENESISSTATE.fields_by_name['registered_contracts']._serialized_options = b'\310\336\037\000' + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_start=110 + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_end=227 + _globals['_GENESISSTATE']._serialized_start=230 + _globals['_GENESISSTATE']._serialized_end=381 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/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..0caaef7d --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/proposal.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmwasm.wasm.v1 import proposal_legacy_pb2 as cosmwasm_dot_wasm_dot_v1_dot_proposal__legacy__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a&cosmwasm/wasm/v1/proposal_legacy.proto\x1a\x14gogoproto/gogo.proto\"\xcf\x01\n#ContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd5\x01\n(BatchContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12]\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x84\x01\n#BatchContractDeregistrationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tcontracts\x18\x03 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb0\x02\n\x1b\x43ontractRegistrationRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12<\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.proposal_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._options = None + _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _CONTRACTREGISTRATIONREQUESTPROPOSAL._options = None + _CONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._options = None + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._serialized_options = b'\310\336\037\000' + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._options = None + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCONTRACTDEREGISTRATIONPROPOSAL._options = None + _BATCHCONTRACTDEREGISTRATIONPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _CONTRACTREGISTRATIONREQUEST._options = None + _CONTRACTREGISTRATIONREQUEST._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._options = None + _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._serialized_options = b'\310\336\037\000' + _BATCHSTORECODEPROPOSAL._options = None + _BATCHSTORECODEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_FUNDINGMODE']._serialized_start=1179 + _globals['_FUNDINGMODE']._serialized_end=1250 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=147 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=354 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=357 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=570 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_start=573 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_end=705 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_start=708 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_end=1012 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_start=1015 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_end=1177 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2.py b/pyinjective/proto/injective/wasmx/v1/query_pb2.py new file mode 100644 index 00000000..5edd5832 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/query.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import genesis_pb2 as injective_dot_wasmx_dot_v1_dot_genesis__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto\"\x19\n\x17QueryWasmxParamsRequest\"L\n\x18QueryWasmxParamsResponse\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\"\x19\n\x17QueryModuleStateRequest\"K\n\x18QueryModuleStateResponse\x12/\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisState\"@\n$QueryContractRegistrationInfoRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"a\n%QueryContractRegistrationInfoResponse\x12\x38\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/wasmx/v1/module_stateBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.query_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _QUERYWASMXPARAMSRESPONSE.fields_by_name['params']._options = None + _QUERYWASMXPARAMSRESPONSE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _QUERY.methods_by_name['WasmxParams']._options = None + _QUERY.methods_by_name['WasmxParams']._serialized_options = b'\202\323\344\223\002\034\022\032/injective/wasmx/v1/params' + _QUERY.methods_by_name['ContractRegistrationInfo']._options = None + _QUERY.methods_by_name['ContractRegistrationInfo']._serialized_options = b'\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}' + _QUERY.methods_by_name['WasmxModuleState']._options = None + _QUERY.methods_by_name['WasmxModuleState']._serialized_options = b'\202\323\344\223\002\"\022 /injective/wasmx/v1/module_state' + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_start=172 + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_end=197 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_start=199 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_end=275 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=277 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=302 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=304 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=379 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_start=381 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_end=445 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_start=447 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_end=544 + _globals['_QUERY']._serialized_start=547 + _globals['_QUERY']._serialized_end=1063 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py new file mode 100644 index 00000000..d43e993c --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py @@ -0,0 +1,138 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from injective.wasmx.v1 import query_pb2 as injective_dot_wasmx_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.WasmxParams = channel.unary_unary( + '/injective.wasmx.v1.Query/WasmxParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + ) + self.ContractRegistrationInfo = channel.unary_unary( + '/injective.wasmx.v1.Query/ContractRegistrationInfo', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + ) + self.WasmxModuleState = channel.unary_unary( + '/injective.wasmx.v1.Query/WasmxModuleState', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + ) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def WasmxParams(self, request, context): + """Retrieves wasmx params + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ContractRegistrationInfo(self, request, context): + """Retrieves contract registration info + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def WasmxModuleState(self, request, context): + """Retrieves the entire wasmx module's state + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'WasmxParams': grpc.unary_unary_rpc_method_handler( + servicer.WasmxParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.SerializeToString, + ), + 'ContractRegistrationInfo': grpc.unary_unary_rpc_method_handler( + servicer.ContractRegistrationInfo, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.SerializeToString, + ), + 'WasmxModuleState': grpc.unary_unary_rpc_method_handler( + servicer.WasmxModuleState, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def WasmxParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/WasmxParams', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ContractRegistrationInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/ContractRegistrationInfo', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def WasmxModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/WasmxModuleState', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py new file mode 100644 index 00000000..205467f5 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py @@ -0,0 +1,77 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/tx.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\"e\n\x18MsgExecuteContractCompat\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x0b\n\x03msg\x18\x03 \x01(\t\x12\r\n\x05\x66unds\x18\x04 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"0\n MsgExecuteContractCompatResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x8d\x01\n\x11MsgUpdateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x11\n\tgas_limit\x18\x03 \x01(\x04\x12\x11\n\tgas_price\x18\x04 \x01(\x04\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1b\n\x19MsgUpdateContractResponse\"L\n\x13MsgActivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgActivateContractResponse\"N\n\x15MsgDeactivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgDeactivateContractResponse\"\x80\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x90\x01\n\x13MsgRegisterContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgRegisterContractResponse2\xba\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponseBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.tx_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _MSGEXECUTECONTRACTCOMPAT._options = None + _MSGEXECUTECONTRACTCOMPAT._serialized_options = b'\202\347\260*\006sender' + _MSGUPDATECONTRACT.fields_by_name['admin_address']._options = None + _MSGUPDATECONTRACT.fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _MSGUPDATECONTRACT._options = None + _MSGUPDATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGACTIVATECONTRACT._options = None + _MSGACTIVATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGDEACTIVATECONTRACT._options = None + _MSGDEACTIVATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGUPDATEPARAMS.fields_by_name['authority']._options = None + _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATEPARAMS.fields_by_name['params']._options = None + _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _MSGUPDATEPARAMS._options = None + _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSGREGISTERCONTRACT.fields_by_name['contract_registration_request']._options = None + _MSGREGISTERCONTRACT.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _MSGREGISTERCONTRACT._options = None + _MSGREGISTERCONTRACT._serialized_options = b'\202\347\260*\006sender' + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_start=219 + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_end=320 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_start=322 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_end=370 + _globals['_MSGUPDATECONTRACT']._serialized_start=373 + _globals['_MSGUPDATECONTRACT']._serialized_end=514 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_start=516 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_end=543 + _globals['_MSGACTIVATECONTRACT']._serialized_start=545 + _globals['_MSGACTIVATECONTRACT']._serialized_end=621 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_start=623 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_end=652 + _globals['_MSGDEACTIVATECONTRACT']._serialized_start=654 + _globals['_MSGDEACTIVATECONTRACT']._serialized_end=732 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_start=734 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_end=765 + _globals['_MSGUPDATEPARAMS']._serialized_start=768 + _globals['_MSGUPDATEPARAMS']._serialized_end=896 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=898 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=923 + _globals['_MSGREGISTERCONTRACT']._serialized_start=926 + _globals['_MSGREGISTERCONTRACT']._serialized_end=1070 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_start=1072 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_end=1101 + _globals['_MSG']._serialized_start=1104 + _globals['_MSG']._serialized_end=1802 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..fe1b58d0 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py @@ -0,0 +1,234 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from injective.wasmx.v1 import tx_pb2 as injective_dot_wasmx_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the wasmx Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdateRegistryContractParams = channel.unary_unary( + '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + ) + self.ActivateRegistryContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/ActivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + ) + self.DeactivateRegistryContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + ) + self.ExecuteContractCompat = channel.unary_unary( + '/injective.wasmx.v1.Msg/ExecuteContractCompat', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + ) + self.UpdateParams = channel.unary_unary( + '/injective.wasmx.v1.Msg/UpdateParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + ) + self.RegisterContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/RegisterContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + ) + + +class MsgServicer(object): + """Msg defines the wasmx Msg service. + """ + + def UpdateRegistryContractParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ActivateRegistryContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeactivateRegistryContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExecuteContractCompat(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RegisterContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdateRegistryContractParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateRegistryContractParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.SerializeToString, + ), + 'ActivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.ActivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.SerializeToString, + ), + 'DeactivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.DeactivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.SerializeToString, + ), + 'ExecuteContractCompat': grpc.unary_unary_rpc_method_handler( + servicer.ExecuteContractCompat, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'RegisterContract': grpc.unary_unary_rpc_method_handler( + servicer.RegisterContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the wasmx Msg service. + """ + + @staticmethod + def UpdateRegistryContractParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ActivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/ActivateRegistryContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DeactivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ExecuteContractCompat(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/ExecuteContractCompat', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/UpdateParams', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def RegisterContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/RegisterContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py new file mode 100644 index 00000000..707f0df4 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/wasmx.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a!injective/wasmx/v1/proposal.proto\"\x86\x01\n\x06Params\x12\x1c\n\x14is_execution_enabled\x18\x01 \x01(\x08\x12!\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04\x12\x1e\n\x16max_contract_gas_limit\x18\x03 \x01(\x04\x12\x15\n\rmin_gas_price\x18\x04 \x01(\x04:\x04\xe8\xa0\x1f\x01\"\xde\x01\n\x12RegisteredContract\x12\x11\n\tgas_limit\x18\x01 \x01(\x04\x12\x11\n\tgas_price\x18\x02 \x01(\x04\x12\x15\n\ris_executable\x18\x03 \x01(\x08\x12\x15\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x1d\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x32\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x04\xe8\xa0\x1f\x01\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.wasmx_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _PARAMS._options = None + _PARAMS._serialized_options = b'\350\240\037\001' + _REGISTEREDCONTRACT.fields_by_name['code_id']._options = None + _REGISTEREDCONTRACT.fields_by_name['code_id']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT.fields_by_name['admin_address']._options = None + _REGISTEREDCONTRACT.fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT.fields_by_name['granter_address']._options = None + _REGISTEREDCONTRACT.fields_by_name['granter_address']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT._options = None + _REGISTEREDCONTRACT._serialized_options = b'\350\240\037\001' + _globals['_PARAMS']._serialized_start=112 + _globals['_PARAMS']._serialized_end=246 + _globals['_REGISTEREDCONTRACT']._serialized_start=249 + _globals['_REGISTEREDCONTRACT']._serialized_end=471 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/tests/client/chain/grpc/test_chain_grpc_wasm_api.py b/tests/client/chain/grpc/test_chain_grpc_wasm_api.py index 9822d1ee..254f382f 100644 --- a/tests/client/chain/grpc/test_chain_grpc_wasm_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_wasm_api.py @@ -44,14 +44,13 @@ async def test_fetch_module_params( "params": { "codeUploadAccess": { "permission": wasm_types_pb.AccessType.Name(access_config.permission), - "address": "", "addresses": access_config.addresses, }, "instantiateDefaultPermission": wasm_types_pb.AccessType.Name(params.instantiate_default_permission), } } - assert expected_params == module_params + assert module_params == expected_params @pytest.mark.asyncio async def test_fetch_contract_info( @@ -348,7 +347,6 @@ async def test_fetch_code( "dataHash": base64.b64encode(code_info_response.data_hash).decode(), "instantiatePermission": { "permission": wasm_types_pb.AccessType.Name(access_config.permission), - "address": "", "addresses": access_config.addresses, }, }, @@ -406,7 +404,6 @@ async def test_fetch_codes( "dataHash": base64.b64encode(code_info_response.data_hash).decode(), "instantiatePermission": { "permission": wasm_types_pb.AccessType.Name(access_config.permission), - "address": "", "addresses": access_config.addresses, }, }, diff --git a/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py b/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py index 21f83f75..932596ca 100644 --- a/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py +++ b/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py @@ -716,6 +716,7 @@ async def test_fetch_positions_v2( 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"]) @@ -759,6 +760,7 @@ async def test_fetch_positions_v2( "liquidationPrice": position.liquidation_price, "markPrice": position.mark_price, "updatedAt": str(position.updated_at), + "denom": position.denom, }, ], "paging": { diff --git a/tests/test_composer.py b/tests/test_composer.py index 05810389..4f756c79 100644 --- a/tests/test_composer.py +++ b/tests/test_composer.py @@ -1,3 +1,4 @@ +import json from decimal import Decimal import pytest @@ -361,3 +362,21 @@ def test_msg_change_admin(self, basic_composer): assert message.sender == sender assert message.denom == denom assert message.new_admin == new_admin + + def test_msg_execute_contract_compat(self, basic_composer): + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + contract = "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7" + msg = json.dumps({"increment": {}}) + funds = "100inj,420peggy0x44C21afAaF20c270EBbF5914Cfc3b5022173FEB7" + + message = basic_composer.msg_execute_contract_compat( + sender=sender, + contract=contract, + msg=msg, + funds=funds, + ) + + assert message.sender == sender + assert message.contract == contract + assert message.msg == msg + assert message.funds == funds From d6910b699daad1948250ccea3e2a61c30e584fab Mon Sep 17 00:00:00 2001 From: abel Date: Fri, 5 Jan 2024 10:05:58 -0300 Subject: [PATCH 81/83] (fix) Change number in example script --- ...MsgExecuteContractCompat.py => 76_MsgExecuteContractCompat.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename examples/chain_client/{77_MsgExecuteContractCompat.py => 76_MsgExecuteContractCompat.py} (100%) diff --git a/examples/chain_client/77_MsgExecuteContractCompat.py b/examples/chain_client/76_MsgExecuteContractCompat.py similarity index 100% rename from examples/chain_client/77_MsgExecuteContractCompat.py rename to examples/chain_client/76_MsgExecuteContractCompat.py From 6fba3c4bd092c3ae3f94fc16baf86a2dd49dc54a Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 8 Jan 2024 12:49:13 -0300 Subject: [PATCH 82/83] (feat) Migrated all proto definitions to injective-core and injective-indexer for the chain upgrade to v1.12 --- Makefile | 2 +- ...tadata.py => 68_DenomAuthorityMetadata.py} | 5 +- .../injective/insurance/v1beta1/events_pb2.py | 46 +++++++++++++++++++ .../insurance/v1beta1/events_pb2_grpc.py | 4 ++ .../insurance/v1beta1/insurance_pb2.py | 16 +------ 5 files changed, 56 insertions(+), 17 deletions(-) rename examples/chain_client/{68_AuthorityDenomMetadata.py => 68_DenomAuthorityMetadata.py} (66%) create mode 100644 pyinjective/proto/injective/insurance/v1beta1/events_pb2.py create mode 100644 pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py diff --git a/Makefile b/Makefile index df6ea1ea..c8c904d6 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ clean-all: $(call clean_repos) clone-injective-core: - git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.9-testnet --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.0 --depth 1 --single-branch clone-injective-indexer: git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.72 --depth 1 --single-branch diff --git a/examples/chain_client/68_AuthorityDenomMetadata.py b/examples/chain_client/68_DenomAuthorityMetadata.py similarity index 66% rename from examples/chain_client/68_AuthorityDenomMetadata.py rename to examples/chain_client/68_DenomAuthorityMetadata.py index f5ebaab5..0abd7801 100644 --- a/examples/chain_client/68_AuthorityDenomMetadata.py +++ b/examples/chain_client/68_DenomAuthorityMetadata.py @@ -7,7 +7,10 @@ async def main() -> None: network = Network.testnet() client = AsyncClient(network) - metadata = await client.fetch_denom_authority_metadata(creator="inj1zvy8xrlhe7ex9scer868clfstdv7j6vz790kwa") + metadata = await client.fetch_denom_authority_metadata( + creator="inj1uv6psuupldve0c9n3uezqlecadszqexv5vxx04", + sub_denom="position", + ) print(metadata) 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..2ee48628 --- /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 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from 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\"T\n\x18\x45ventInsuranceFundUpdate\x12\x38\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFund\"[\n\x16\x45ventRequestRedemption\x12\x41\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionSchedule\"\x92\x01\n\x17\x45ventWithdrawRedemption\x12\x41\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionSchedule\x12\x34\n\x0bredeem_coin\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"\x9b\x01\n\x0f\x45ventUnderwrite\x12\x13\n\x0bunderwriter\x18\x01 \x01(\t\x12\x10\n\x08marketId\x18\x02 \x01(\t\x12\x30\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12/\n\x06shares\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"w\n\x16\x45ventInsuranceWithdraw\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rmarket_ticker\x18\x02 \x01(\t\x12\x33\n\nwithdrawal\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x42QZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types' + _EVENTWITHDRAWREDEMPTION.fields_by_name['redeem_coin']._options = None + _EVENTWITHDRAWREDEMPTION.fields_by_name['redeem_coin']._serialized_options = b'\310\336\037\000' + _EVENTUNDERWRITE.fields_by_name['deposit']._options = None + _EVENTUNDERWRITE.fields_by_name['deposit']._serialized_options = b'\310\336\037\000' + _EVENTUNDERWRITE.fields_by_name['shares']._options = None + _EVENTUNDERWRITE.fields_by_name['shares']._serialized_options = b'\310\336\037\000' + _EVENTINSURANCEWITHDRAW.fields_by_name['withdrawal']._options = None + _EVENTINSURANCEWITHDRAW.fields_by_name['withdrawal']._serialized_options = b'\310\336\037\000' + _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_start=172 + _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_end=256 + _globals['_EVENTREQUESTREDEMPTION']._serialized_start=258 + _globals['_EVENTREQUESTREDEMPTION']._serialized_end=349 + _globals['_EVENTWITHDRAWREDEMPTION']._serialized_start=352 + _globals['_EVENTWITHDRAWREDEMPTION']._serialized_end=498 + _globals['_EVENTUNDERWRITE']._serialized_start=501 + _globals['_EVENTUNDERWRITE']._serialized_end=656 + _globals['_EVENTINSURANCEWITHDRAW']._serialized_start=658 + _globals['_EVENTINSURANCEWITHDRAW']._serialized_end=777 +# @@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/insurance_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py index 4c10b109..a0f4c9ba 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py @@ -18,7 +18,7 @@ from injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__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\"\x9b\x01\n\x06Params\x12\x8a\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\x01:\x04\xe8\xa0\x1f\x01\"\xec\x03\n\rInsuranceFund\x12\x15\n\rdeposit_denom\x18\x01 \x01(\t\x12\"\n\x1ainsurance_pool_token_denom\x18\x02 \x01(\t\x12z\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\x01\x12?\n\x07\x62\x61lance\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x43\n\x0btotal_share\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x11\n\tmarket_id\x18\x06 \x01(\t\x12\x15\n\rmarket_ticker\x18\x07 \x01(\t\x12\x13\n\x0boracle_base\x18\x08 \x01(\t\x12\x14\n\x0coracle_quote\x18\t \x01(\t\x12\x39\n\x0boracle_type\x18\n \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\x0b \x01(\x03\"\xed\x01\n\x12RedemptionSchedule\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x10\n\x08marketId\x18\x02 \x01(\t\x12\x10\n\x08redeemer\x18\x03 \x01(\t\x12k\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\x01\x12:\n\x11redemption_amount\x18\x05 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"T\n\x18\x45ventInsuranceFundUpdate\x12\x38\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFund\"[\n\x16\x45ventRequestRedemption\x12\x41\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionSchedule\"\x92\x01\n\x17\x45ventWithdrawRedemption\x12\x41\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionSchedule\x12\x34\n\x0bredeem_coin\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\"\x9b\x01\n\x0f\x45ventUnderwrite\x12\x13\n\x0bunderwriter\x18\x01 \x01(\t\x12\x10\n\x08marketId\x18\x02 \x01(\t\x12\x30\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12/\n\x06shares\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x42QZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/typesb\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\"\x9b\x01\n\x06Params\x12\x8a\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\x01:\x04\xe8\xa0\x1f\x01\"\xec\x03\n\rInsuranceFund\x12\x15\n\rdeposit_denom\x18\x01 \x01(\t\x12\"\n\x1ainsurance_pool_token_denom\x18\x02 \x01(\t\x12z\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\x01\x12?\n\x07\x62\x61lance\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x43\n\x0btotal_share\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12\x11\n\tmarket_id\x18\x06 \x01(\t\x12\x15\n\rmarket_ticker\x18\x07 \x01(\t\x12\x13\n\x0boracle_base\x18\x08 \x01(\t\x12\x14\n\x0coracle_quote\x18\t \x01(\t\x12\x39\n\x0boracle_type\x18\n \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x0e\n\x06\x65xpiry\x18\x0b \x01(\x03\"\xed\x01\n\x12RedemptionSchedule\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x10\n\x08marketId\x18\x02 \x01(\t\x12\x10\n\x08redeemer\x18\x03 \x01(\t\x12k\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\x01\x12:\n\x11redemption_amount\x18\x05 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x42QZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -41,24 +41,10 @@ _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' _REDEMPTIONSCHEDULE.fields_by_name['redemption_amount']._options = None _REDEMPTIONSCHEDULE.fields_by_name['redemption_amount']._serialized_options = b'\310\336\037\000' - _EVENTWITHDRAWREDEMPTION.fields_by_name['redeem_coin']._options = None - _EVENTWITHDRAWREDEMPTION.fields_by_name['redeem_coin']._serialized_options = b'\310\336\037\000' - _EVENTUNDERWRITE.fields_by_name['deposit']._options = None - _EVENTUNDERWRITE.fields_by_name['deposit']._serialized_options = b'\310\336\037\000' - _EVENTUNDERWRITE.fields_by_name['shares']._options = None - _EVENTUNDERWRITE.fields_by_name['shares']._serialized_options = b'\310\336\037\000' _globals['_PARAMS']._serialized_start=235 _globals['_PARAMS']._serialized_end=390 _globals['_INSURANCEFUND']._serialized_start=393 _globals['_INSURANCEFUND']._serialized_end=885 _globals['_REDEMPTIONSCHEDULE']._serialized_start=888 _globals['_REDEMPTIONSCHEDULE']._serialized_end=1125 - _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_start=1127 - _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_end=1211 - _globals['_EVENTREQUESTREDEMPTION']._serialized_start=1213 - _globals['_EVENTREQUESTREDEMPTION']._serialized_end=1304 - _globals['_EVENTWITHDRAWREDEMPTION']._serialized_start=1307 - _globals['_EVENTWITHDRAWREDEMPTION']._serialized_end=1453 - _globals['_EVENTUNDERWRITE']._serialized_start=1456 - _globals['_EVENTUNDERWRITE']._serialized_end=1611 # @@protoc_insertion_point(module_scope) From 29ca088995196c0f343e80661341050555e808f3 Mon Sep 17 00:00:00 2001 From: abel Date: Mon, 8 Jan 2024 12:52:28 -0300 Subject: [PATCH 83/83] (feat) Updated version number and changelog --- CHANGELOG.md | 6 ++++-- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d470639..8a521897 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,14 @@ All notable changes to this project will be documented in this file. -## [1.0.1] - 2023-12-11 +## [1.0.1] - 2024-01-08 ### Added - Added low level API components for all modules (chain, exchain and explorer) to make the Python SDK compatible with the TypeScript SDK. +- Added support for all wasm module messages. +- Added support for all token factory module messages. ### Changed -- Updated proto definitions to injective-core v1.12.2-testnet and injective-indexer v1.12.45-rc3 +- Updated proto definitions to injective-core v1.12.0 and injective-indexer v1.12.72 - Added new functions in AsyncClient to interact with chain, exchange and explorer using the low level API components - Marked old function sin AsyncClient as deprecated (the functions will be removed in a future version) - Updated all API examples to use the new AsyncClient functions diff --git a/pyproject.toml b/pyproject.toml index 662df1da..ead03c5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.0.1-rc5" +version = "1.0.1" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0"